aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/nova/tasks/start.yml
AgeCommit message (Collapse)AuthorFilesLines
2016-11-15Remove Ansible from KollaSteven Dake1-6/+0
Change-Id: I5396e4b9927d3e65b6aa4185238a43a4765a996b
2016-02-19Playbook for nova upgradeMichal Jastrzebski1-134/+3
This creates tree and playbook for nova upgrade. Also other service upgrades will follow standard setup here. Change-Id: Ic31759efaee4986eb87b9ff0968f13189d130d48 Partially-Implements: blueprint upgrade-kolla Implements: blueprint upgrade-nova
2016-02-16Move socket binding to named_volumeSamYaple1-9/+9
The extend_start.sh script for rsyslog is removed as it is no longer needed. Docker no longer binds to /dev/log or /run/kolla/log Closes-Bug: #1544545 Change-Id: Ic0a323a26ee4e9e15baf4598285844a8a4955f23
2016-02-06Fix gate for docker 1.10SamYaple1-9/+9
Docker 1.10 has broken the gate and this patch will correct that breakage. The issue comes with rsyslog. Due to a commit in Docker 1.10 [1] we must change the way we get the log socket for rsyslog. The /dev/ folder will no longer populate as we used it. So instead we simply make a new socket in a path we control and share that to the correct location in the containers. Additionally, adjust the gate for new Docker daemon. [1] https://github.com/docker/docker/pull/16639 Partially-Implements: blueprint kolla-upgrade Change-Id: I881a2ecdf6d7b35991e1d38a3f3e60d022d6577f
2016-02-04Make libvirt reestablish connection with qemuSamYaple1-0/+1
Libvirt stores some information in /run at runtime that is needed to automatically reestablish a connection with the VM when a new container is created. Without this information a long (and manual) process is needed to redefine the running vms and reattach to the running qemu process. This mountpoint was removed as "unneeded" in the past, but it does exist in Liberty branch enabling a no-vm-downtime upgrade. TrivialFix Change-Id: I2eb31c602d8d17cbd6a8e405daf4123070794843
2016-01-20Fix permissions to /var/lib/nova/Artur Zarzycki1-3/+2
Due to changes with the drop-root work, we lost the ability to write to /var/lib/nova/*. This fixes those permissions and ensures cross container talk works properly between nova_libvirt and nova_compute Additionally, this fixes another issue introduced which saw that nova-compute could not run sudo commands as it did not have a proper sudoers entry Testing from previous deploys means you need a fresh environment. You have to remove all of the named volumes that kolla created in docker. Check these with `docker volume ls` Signed-off-by: Hui Kang <kangh@us.ibm.com> Signed-off-by: Artur Zarzycki <azarzycki@mirantis.com> Co-Authored-By: Sam Yaple <sam@yaple.net> Co-Authored-By: Hui Kang <kangh@us.ibm.com> Closes-Bug: #1533350 Change-Id: I7f864c448a2414e0b5d89f48337be411b891df35
2016-01-03Convert to named volumes instead of data containerSamYaple1-13/+4
This intentionally leaves out rabbitmq from this patchset. It will require additional work to remove its data container UpgradeImpact Partially-Implements: blueprint docker-named-volumes Change-Id: Id68b8e43a3c077ef4f4f4d67ea34d0692e66eef7
2015-12-31Convert Nova to kolla_dockerSamYaple1-180/+69
Change-Id: I0c6df8e7b732a37ff3cabff8d588f8b7d15df192 Partially-Implements: blueprint kolla-docker-module
2015-12-29Enable nova fake driver in nova containersHui Kang1-1/+30
- See instructions in doc/nova-fake-driver.rst Implements: blueprint nova-fake-driver Change-Id: I553a40c2df39bdcc391eb1b8b2b8fd5f4ed48c33 Signed-off-by: Hui Kang <kangh@us.ibm.com> Signed-off-by: Marcio D. Silva <marcios@us.ibm.com>
2015-12-25Add container for nova-compute-ironicAndrey Shestakov1-0/+24
Implements blueprint ironic-compute-container Change-Id: I110bf3aa94bdfd33038ed39d78bd40ea30b13e57
2015-11-20Only start nova-data on the compute hostsSam Yaple1-0/+1
Change-Id: Icd7aa39556c50a3367c3b9630b24b7195612ba70 Closes-Bug: #1517914
2015-11-09Move data container to start.ymlSam Yaple1-0/+18
The original reason for having the data container in the bootstrap.yml was to keep consistency with rabbitmq and mariadb, but in light of this bug we need to move the data container out of the bootstrap.yml role since we will be limiting the hosts that those tasks can run on. Change-Id: I7f2f5979b01807275908699d1243756cb97d3588 Partial-Bug: #1513598
2015-11-06Finish implementation of spiceSam Yaple1-1/+26
Due bad rebases there is a huge section of the spice patch missing from the implementation unfortunately. This patch finishes the rest of this patch out properly. Change-Id: I693c6745e9594fd91eb6453f6de9dfcbd410e89c Paritally-Implements: blueprint nova-proxies
2015-10-14Add tty to containersSam Yaple1-0/+7
sudo requires a tty to function by default on centos. Instead of tweaking the sudo conf we can just add a tty. This has the added advantage of making the containers more friendly if you have to `docker exec -i <container> bash` into them. Change-Id: If97a02ca1d37c243a787d98ade54bde8d641aecd backport: liberty Partially-Implements: blueprint functional-testing-gate
2015-10-13Bump ansible to 1.9.2Sam Yaple1-7/+0
Ansible 1.9.2 contains the fix needed for docker-py >1.2.0 This is needed for some gate reasons, but it is also a good version bump because it fixes a few issues with delegate_to. Change-Id: Iafbabb3b0232620849d0548c5cd9d8d316c2b0f3 backport: liberty Partially-Implements: blueprint functional-testing-gate
2015-10-06Bring Kolla inline with FHSSam Yaple1-7/+7
This brings Kolla images inline with FHS and should make finding locations of things more consistent and reliable with the linux world at large. Change-Id: Iece5b4da4bace0fb8b1f41a65ab2c852ec73e6f8 Closes-Bug: #1485742
2015-09-25Make OpenStack use CephSam Yaple1-0/+1
This implements all the openstack pieces needed to make ceph work. DocImpact Change-Id: I1d24476a966602cf955e5ef872b0efb01319894a Partially-Implements: blueprint ceph-container Implements: blueprint kolla-live-migration
2015-09-24Nova logging to rsyslogMichal Jastrzebski1-4/+14
Configure nova to use rsyslog container as logging mechanism Change-Id: I9c595e8ac7b4aedc6ba4fe6bb7cfe7e624133c41 Implements: bp logging-container
2015-09-23Replace config-external with a JSON file for Novarthallisey1-7/+7
Change-Id: I38c545484a7b1f3906d844eb3a7486e11c4b276a Partially-Implements: blueprint replace-config-external
2015-09-09Make nova use a data containerSteven Dake1-2/+3
Make nova-libvirt and nova-compute use a data container called nova_data. This data container contains /var/lib/nova/instances data so upgrades to nova-compute work properly. Change-Id: I89362eb0857f7b07503c35178475bc91d0d19ca8 Closes-Bug: #1486333
2015-08-31nova-libvirt requires a /sys/fs/cgroup bindmountSteven Dake1-0/+1
Nova-compute is curerntly generating a backtrace when trying to nova boot a VM. The backtrace is described in the bug log. Bind-mounting /sys/fs/cgroup:/sys/fs/cgroup in the libvirt container resolves the problem. Change-Id: I5a56b61fd260728fb76e19bcbdf403b80a4ec5a6 Closes-Bug: #1490326
2015-08-18Remove Ansible abstraction for NovaSwapnil Kulkarni1-57/+123
Co-Authored-By: Sam Yaple <sam@yaple.net> Change-Id: Iad9fd7010eaf112f169feb54d9a0e97fd693e5f1 Partially-Implements: blueprint remove-abstraction-ansible
2015-07-23Fix compute permissions and start paramsSam Yaple1-0/+4
neutron-server was not properly using ml2_conf.ini nova did not have ovs utils, and it had incorrect libvirt permissions Change-Id: I43d2110d0b5fc1940d887dace95787e1ebbe142d Partitially-Implements: blueprint ansible-service
2015-07-15Add pid_mode to libvirtSteven Dake1-0/+1
Libvirt requires pid_mode to Host to operate on Fedora Hosts. Further we will need this for libvirt upgrade. I am not entirely sure why libvirt running with pid=host gets things working, but it definately has something to do with CentOS's libvirt's integration with systemd. Nailing down the problem, the interface to the Docker module accepts only None or "host". There is no way to generate a None type except with !!null in yml, but this does not work in the jinja2 parser. As a result, one solution is this conditional. A better long term solution would be for the Docker module to take some other argument to indicate None that can be expressed in a string. Change-Id: I54eb87e8ce8679bbf12f671527280c73e195b2e4 Closes-Bug: #1473270
2015-07-12Ansible Nova w/ libvirt supportSam Yaple1-0/+76
Initial support for Nova in Ansible Partially-Implements: blueprint ansible-service Change-Id: I4b0a74bd3e5daa5664f5e1e622bfb40c3285949e