summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-02-12Ensuring the openvswitch_db is ready before creating bridgesJeffrey Zhang1-0/+14
Change-Id: I42550c57222de4ad5556e95d40bb96528bc1d085 Closes-Bug: #1533942
2016-02-11Make pep8 *the* linting interfaceAndreas Jaeger1-1/+11
According to the PTI (=Python Test Interface, http://governance.openstack.org/reference/cti/python_cti.html), pep8 is the interface for codestyle checks. Move all tests from linters to pep8. This change will be followed by a change to project-config to use pep8 for testing in the gate. Change-Id: I1a48f4b1e0b0950640192bcfc55121619a844b50
2016-02-10Merge "Add missing upgrade stubs for kibana/mongodb"Jenkins2-0/+2
2016-02-10Merge "Remove data docker image"Jenkins2-8/+2
2016-02-10Merge "Trap error exit in deploy aio script"Jenkins1-2/+2
2016-02-10Merge "Safely create directories"Jenkins4-4/+8
2016-02-10Remove data docker imageJeffrey Zhang2-8/+2
we have moved to named volume, the old data container should be removed TrivialFix Change-Id: Ib73205de6566509492568381179814baa7af2d22
2016-02-10Trap error exit in deploy aio scriptJeffrey Zhang1-2/+2
This make sure the check_failure called whenever the script exits unexpectedly. TrivialFix Change-Id: If38e9ad42810deec48afd3f8b57387ae6ffd926c
2016-02-10Ceilometer ubuntu binary containerMD NADEEM6-1/+37
Change-Id: I653b6b994de2f4d374d90a831d7a56eaff667404 Partially-Implements: blueprint binary-ubuntu
2016-02-10Merge "Remove unnecessary patch for oslo.log"Jenkins2-22/+0
2016-02-10Safely create directoriesMartin André4-4/+8
This prevents failure when the directory already exists. This commit fixes a failure in centos-binary because of a change in the RDO packaging, where the required directory is now created for us. Change-Id: Idd3e15802c3e3fd363e1295111ec12948d566781 Closes-Bug: #1543417
2016-02-09Add missing upgrade stubs for kibana/mongodbPaul Bourke2-0/+2
TrivialFix Co-Authored-By: Ryan Hallisey <rhallise@redhat.com> Change-Id: Ia83f642d3817116e2ba99285efc12b583f07bbd1
2016-02-09Merge "Increase ansible verbosity during gate deploy"Jenkins2-4/+12
2016-02-09Merge "Cleanup dependencies for cinder-base"Jenkins1-2/+0
2016-02-09Merge "Cleanup dependencies for nova-base"Jenkins1-4/+0
2016-02-09Merge "Cleanup dependencies for neutron-base"Jenkins1-2/+0
2016-02-09Merge "Fix Vagrant provisioning with docker 1.10"Jenkins1-1/+2
2016-02-09Merge "Add all neutron agents to cleanup-containers script"Jenkins1-1/+1
2016-02-09Remove unnecessary patch for oslo.logHui Kang2-22/+0
Ubuntu binary package includes the fix TrivialFix Change-Id: Iaeff250e75565b1f447d97acfffc1b1a3a76c250
2016-02-09Add all neutron agents to cleanup-containers scriptMartin André1-1/+1
When breaking neutron-agents into thin containers, we forgot to update the cleanup-containers script. TrivialFix Change-Id: Idad2eb73a4de7c66109ad5bffcce3173970e2af9
2016-02-09Switch to docker registry v2Martin André1-1/+1
With docker 1.10, the v2 registry finally has decent performances. TrivialFix Change-Id: I85fde385dba3579abad497e327170d30b8b9fc7c
2016-02-09Fetching IP addresses for vagrant-hostmanager from libvirtMartin André2-1/+132
To fetch the IP address from the interface other than eth0 for vagrant-hostmanager plugin, it must be fetched from the DHCP leases from libvirt network. The previously used one-liner, which was using virsh with awk, returns multiple addresses when VM was destroyed before expiration of its DHCP lease. This script solved this problem by getting only the newest DHCP lease and gives a possibility to destroy Vagrant environment and set up again without worrying about hosts resolving. Co-Authored-By: Michal Rostecki <mrostecki@mirantis.com> Partially-Implements: blueprint vagrant Related-Id: Ic469b46f4d02d873c27114cbd268b86521eef32b Related-Id: I81f07b7e4a202af68fd3cf9fdb308c3734c40a83 Change-Id: I408415e95483c1b8988d0f67c654212de63bece2
2016-02-09Fix the required min docker versionAllen Gao2-2/+2
We are using the mount propagation in Docker 1.10. TrivialFix Change-Id: Ic2ef1fbce9dba217eac75f3743cef7f6ac702b00
2016-02-09Fix Vagrant provisioning with docker 1.10Martin André1-1/+2
docker 1.10 removed the -d flag in favor of "daemon". Also adjust docker config to enable shared mount namespace. Closes-Bug: #1543201 Change-Id: I14cb497e0e02d90cdf74de8a09cca346f68254ab
2016-02-09Cleanup dependencies for cinder-baseMartin André1-2/+0
The python-cinder package now pulls the required dependency on python-oslo-policy: https://github.com/openstack-packages/cinder/blob/a22f32c619c94bf0ac188d4cdcf728c0e71152ea/openstack-cinder.spec#L143 TrivialFix Change-Id: I504546e75b5a237fc4aac89bd9a5c34f09570817
2016-02-09Cleanup dependencies for nova-baseMartin André1-4/+0
The python-nova package now pulls the required dependency on python-oslo-policy: https://github.com/openstack-packages/nova/blob/036149e93fc41649d1e827e163180e7d9e6cbec5/openstack-nova.spec#L389 TrivialFix Change-Id: I472f600710cb743ef6ede01e722a79b1451cf295
2016-02-09Cleanup dependencies for neutron-baseMartin André1-2/+0
The python-neutron package now pulls the required dependency on python-oslo-reports: https://github.com/openstack-packages/neutron/blob/774036f7f99cd54bdd1c94f70d28bfe15f47af83/openstack-neutron.spec#L125 TrivialFix Change-Id: I6cb4d0d9601c910cf631dddcf715a7f4fc9754e3
2016-02-08Merge "Add retry function for Docker keyring"Jenkins1-1/+17
2016-02-08elevates privileges and grants access to /dev/mapper to cinder backupSean Mooney1-0/+2
- sets privileged: true on cinder backup container - adds /dev/mapper to cinder-backup mounts - this change allows the cinder backup manager to access the cinder-volumes lvm volume group via the kernel device mapper. Change-Id: I252ee9cadb5f06c383ac9f48d0b1b16d83037a41 Closes-Bug: #1542574
2016-02-08Increase ansible verbosity during gate deployMartin André2-4/+12
The gate currently doesn't provide any context when ansible fails. This commit adds a new --verbose option to `kolla-ansible` that is passed to `ansible-playbook`, and sets the default to -vvv for `kolla-ansible deploy` in the gate. TrivialFix Change-Id: If248a4186b140e1ec0d2e787c27481cec7e81eec
2016-02-08Designate ubuntu binary containerMD NADEEM7-2/+46
Change-Id: I546d25249527d7f1f7dfa2059ae38e7cc0e0a765 Partially-Implements: blueprint binary-ubuntu
2016-02-08Use Infra provided mirrors in gateSamYaple1-1/+18
Both apt and pip mirrors are added here Related-Id: I26f5fc5cec224cf4f4ea361e0f71cecbf320fbb0 TrivialFix Change-Id: Ib3cb1d2c6fb27887e3ea819d277e21ea3a530f56
2016-02-08Add retry function for Docker keyringSamYaple1-1/+17
Sometimes the keyserver has a mirror failure which results in a failed gate. Add a retry to help prevent that failure. TrivialFix Change-Id: I143626dd6d799b4ea0f82f6649d2155c2f45a115
2016-02-06Convert Neutron to thin containersSamYaple36-265/+325
*** Requires Docker 1.10 which is released *** Documentation will be in the next patch. You must set the following in your docker.service daemon control file for propogation to work: [Service] MountFlags=shared ====================================================================== Thanks to mount propagation in Docker 1.10 we can use thin containers finally! This is extremely useful to operators since now they can access the network namespaces from the hosts (outside the neutron container). But additionally it allows us to implement the VPN agent and other services easier. Neutron containers and the neutron role are brought into the standards of the new Kolla. Completely with drop-root and ansible formating updates. The ip_wrapper.py script was (thankfully) not needed so it has been removed from the repo. Partially-Implements: blueprint upgrade-neutron Change-Id: Iaf5555283240457e1912459f397a6393d886fba1
2016-02-06Correct issue with virtualenv rootwrapSamYaple7-8/+16
Because we use rootwrap in a venv we need to update the exec_dirs. Without doing this *some* commands will break for various reasons that I won't get into in this review in detail. But this is required for neutron-l3-agent in a container + drop-root. Change-Id: I1a09f7188fdd501b7ce251d9f2fb0e5b10222142 Partially-Implements: blueprint drop-root
2016-02-06Fix gate for docker 1.10SamYaple14-49/+52
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-05Merge "Fix two missing toolbox references"Jenkins2-3/+3
2016-02-05Merge "Fix manila perms"Jenkins1-2/+2
2016-02-05Merge "Fix the ugly base directory path"Jenkins1-1/+1
2016-02-05Fix two missing toolbox referencesSamYaple2-3/+3
Two patches merged that did not have teh correct name for kolla_toolbox TrivialFix Change-Id: I09e230e29cff496247c32bf227715bfb7caa0a95
2016-02-05Merge "Rename kolla_ansible to kolla_toolbox"Jenkins39-60/+60
2016-02-05Fix the ugly base directory pathAllen Gao1-1/+1
Remove the '..' in the path like: /home/jenkins/workspace/gate-kolla-dsvm-deploy-centos-binary/tools/../ansible/inventory/all-in-one TrivialFix Change-Id: I80724a9e876ed1826c65e08b55cfa08124d70eb9
2016-02-05Merge "Ubuntu custom apt repos"Jenkins2-1/+17
2016-02-05Merge "Remove unexisting data_files in setup.cfg"Jenkins1-2/+0
2016-02-05Merge "Update kernel version in ubuntu-bootstrap.sh"Jenkins1-2/+2
2016-02-04Merge "Make libvirt reestablish connection with qemu"Jenkins1-0/+1
2016-02-04Merge "Revert "fix miss rabbitmq config when hostname include special ↵Jenkins1-2/+2
character""
2016-02-04Update kernel version in ubuntu-bootstrap.shMD NADEEM1-2/+2
Ubuntu-bootstrap.sh script rebooted my server with message of re-run the script and at re-run it again do the same thing. I find this behavior is due to the below check if [[ $(uname -r) != *"3.19"* ]] As latest ubuntu kernel version is 4.2.0-27-generic, so we should update the script for kernel version 4.2.0-27-generic. This patch fixes the issue. Closes-Bug: #1541797 Change-Id: I01e98d80df60fe8c5f6ac6e644d42261fdd2921c
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-02-04Revert "fix miss rabbitmq config when hostname include special character"Sam Yaple1-2/+2
This change breaks ubuntu This reverts commit 04992a3de0a181a658cae2561a3a1adce313bbf1. Change-Id: I5e38d4c4a37ee90603ad04ab4b9d03298b6b2eb2