Skip to content

OpenStack Ansible AiO @ 16.04

Jan-Henrich Mattfeld edited this page May 11, 2016 · 1 revision

Steps required to install the official openstack-ansible project on Ubuntu 16.04 LTS.

All-in-One Quick Start Guide

More or less useful logs can be found at /openstack/log/instance-info. The host_info*.log contains the most recent output of the installation script (information on setup progress).

Workarounds

Most of the problems occur because of openstack-ansible incompatibilities with the new Ubuntu release 16.04. Read the steps carefully and perform the fixes before trying to start the setup script — if possible.

At the time of writing a lot of bug reports have already been filed. So it might be worthwhile to check if a fix has been committed and accepted for the openstack-ansible master branch.

Missing Ansible Package for Ubuntu 16.04

The ansible package for Ubuntu 16.04 has not been released, see this Feature Request.

W: The repository 'http://ppa.launchpad.net/ansible/ansible/ubuntu xenial Release' does not have a Release file.

Fix: Use the Ubuntu software administration to change distribution for the repository from xenial to wily.

scripts/bootstrap-aio.sh fails

Disc space assertion: set scripts/bootstrap-aio.sh bootstrap_host_data_disk_min_size: 60 to 5

mongodbd failing to start

mongodbd has to be restarted during setup but is not triggered as described here.

E: start: Unknown job: mongodb

Deprecated Fix: Change line 319 in /tests/roles/bootstrap-host/tasks/prepare_mongodb_service.yml to /etc/init.d/mongodb restart or comment the mongodb checks completely.

New: Comment out condition of mongodb restart #38-39

run-playbooks.sh

Modprobe Error

Only on tag 13.0.1 the bug is fixed on master. Apply this commit

LXC Host Creation fails

The correct script for LXC host creation is not found, as the identifier ubuntu-16.04 is unknown. A similar problem is described here.

Fix: sudo cp /etc/ansible/roles/lxc_hosts/vars/ubuntu-14.04.yml /etc/ansible/roles/lxc_hosts/vars/ubuntu.yml

Unsupported locale Setting

The only supported locale is English en_US.UTF-8.

locale.Error: unsupported locale setting

Fix: Set LC_ALL="en_US.UTF-8" in /etc/environment and reboot.

Ctrl-Alt-Del

Skip Task V-38668 in /etc/ansible/roles/openstack-ansible-security/tasks/console.yml Visible for root only

rc-sysinit.conf

Skip two Tasks V-38674 in /etc/ansible/roles/openstack-ansible-security/tasks/misc.yml Visible for root only

iptables install

Bug while executing iptable rules. Quiet install (-y) didn't fix it but commenting #71-81 helped to get further (finished repo-install #92).

WIP

Now stuck at galera-install.yml #99. Some pip installs.