2934 Commits

Author SHA1 Message Date
Jenkins
b479d8db03 Merge "Remove unnecessary patch for oslo.log" 2016-02-10 04:29:03 +00:00
Jenkins
1fdae5b9d0 Merge "Increase ansible verbosity during gate deploy" 2016-02-09 17:37:06 +00:00
Jenkins
c5aaad31dd Merge "Cleanup dependencies for cinder-base" 2016-02-09 17:36:59 +00:00
Jenkins
063fcc41e9 Merge "Cleanup dependencies for nova-base" 2016-02-09 17:36:51 +00:00
Jenkins
48279a3e7a Merge "Cleanup dependencies for neutron-base" 2016-02-09 17:36:27 +00:00
Jenkins
43bbaf7603 Merge "Fix Vagrant provisioning with docker 1.10" 2016-02-09 14:47:12 +00:00
Jenkins
f489768e89 Merge "Add all neutron agents to cleanup-containers script" 2016-02-09 14:30:16 +00:00
Hui Kang
bed9ed97a4 Remove unnecessary patch for oslo.log
Ubuntu binary package includes the fix

TrivialFix

Change-Id: Iaeff250e75565b1f447d97acfffc1b1a3a76c250
2016-02-09 02:35:43 -05:00
Martin André
fd7b431069 Add all neutron agents to cleanup-containers script
When breaking neutron-agents into thin containers, we forgot to update
the cleanup-containers script.

TrivialFix

Change-Id: Idad2eb73a4de7c66109ad5bffcce3173970e2af9
2016-02-09 14:49:39 +09:00
Allen Gao
0ef2a3691f Fix the required min docker version
We are using the mount propagation in Docker 1.10.

TrivialFix

Change-Id: Ic2ef1fbce9dba217eac75f3743cef7f6ac702b00
2016-02-09 13:20:35 +08:00
Martin André
31e0b3454c Fix Vagrant provisioning with docker 1.10
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-09 11:23:24 +09:00
Martin André
e9a64b589e Cleanup dependencies for cinder-base
The python-cinder package now pulls the required dependency on
python-oslo-policy:

a22f32c619/openstack-cinder.spec (L143)

TrivialFix

Change-Id: I504546e75b5a237fc4aac89bd9a5c34f09570817
2016-02-09 09:23:12 +09:00
Martin André
1f280adebe Cleanup dependencies for nova-base
The python-nova package now pulls the required dependency on
python-oslo-policy:

036149e93f/openstack-nova.spec (L389)

TrivialFix

Change-Id: I472f600710cb743ef6ede01e722a79b1451cf295
2016-02-09 09:23:12 +09:00
Martin André
ed8d911881 Cleanup dependencies for neutron-base
The python-neutron package now pulls the required dependency on
python-oslo-reports:

774036f7f9/openstack-neutron.spec (L125)

TrivialFix

Change-Id: I6cb4d0d9601c910cf631dddcf715a7f4fc9754e3
2016-02-09 09:23:01 +09:00
Jenkins
815f040ee8 Merge "Add retry function for Docker keyring" 2016-02-08 21:27:21 +00:00
Martin André
bda91649e8 Increase ansible verbosity during gate deploy
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-08 18:18:05 +09:00
SamYaple
74cd09a3fc Add retry function for Docker keyring
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-08 03:58:23 +00:00
SamYaple
ddb7cd88c5 Convert Neutron to thin containers
*** 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-06 07:13:47 +00:00
SamYaple
2514bcf0c3 Correct issue with virtualenv rootwrap
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-06 06:48:59 +00:00
SamYaple
e8d66766f0 Fix gate for docker 1.10
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-06 06:48:53 +00:00
Jenkins
fbc650e009 Merge "Fix two missing toolbox references" 2016-02-05 20:14:52 +00:00
Jenkins
5d642f1ad1 Merge "Fix manila perms" 2016-02-05 17:53:24 +00:00
Jenkins
1b3480edca Merge "Fix the ugly base directory path" 2016-02-05 17:52:38 +00:00
SamYaple
508f3863cc Fix two missing toolbox references
Two patches merged that did not have teh correct name for
kolla_toolbox

TrivialFix

Change-Id: I09e230e29cff496247c32bf227715bfb7caa0a95
2016-02-05 17:24:39 +00:00
Jenkins
b891afd64c Merge "Rename kolla_ansible to kolla_toolbox" 2016-02-05 15:04:37 +00:00
Allen Gao
343e736e62 Fix the ugly base directory path
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-05 16:59:01 +08:00
Jenkins
16630340c7 Merge "Ubuntu custom apt repos" 2016-02-05 08:28:53 +00:00
Jenkins
28ebe4d0a2 Merge "Remove unexisting data_files in setup.cfg" 2016-02-05 07:54:41 +00:00
Jenkins
fd78648393 Merge "Update kernel version in ubuntu-bootstrap.sh" 2016-02-05 06:39:21 +00:00
Jenkins
29833b67e1 Merge "Make libvirt reestablish connection with qemu" 2016-02-04 16:38:02 +00:00
Jenkins
3e586c9bcb Merge "Revert "fix miss rabbitmq config when hostname include special character"" 2016-02-04 16:33:49 +00:00
MD NADEEM
354e674ded Update kernel version in ubuntu-bootstrap.sh
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-04 12:41:26 +00:00
SamYaple
1ca35e688f Make libvirt reestablish connection with qemu
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-04 12:15:36 +00:00
Sam Yaple
84540a0632 Revert "fix miss rabbitmq config when hostname include special character"
This change breaks ubuntu

This reverts commit 04992a3de0a181a658cae2561a3a1adce313bbf1.

Change-Id: I5e38d4c4a37ee90603ad04ab4b9d03298b6b2eb2
2016-02-04 11:47:28 +00:00
Jenkins
e8348d033a Merge "Move the install base type check to kolla-build" 2016-02-04 11:31:01 +00:00
Jenkins
33484d7a79 Merge "gnocchi is busted missing tooz for source" 2016-02-04 11:24:06 +00:00
Allen Gao
db53ad1ddf Move the install base type check to kolla-build
The install type is converted in kolla-build, so it will never
fail in dockerfile, move the check to kolla-build just above
the install type converting.

TrivialFix

Co-Authored-By: Jeffrey Zhang <jeffrey.zhang@99cloud.net>
Change-Id: I1500d3b47e909f94ea9f68c5245297733f63a70b
2016-02-04 16:48:12 +08:00
Jenkins
495a030301 Merge "Add double quotes in ceph_cache_mode" 2016-02-04 07:57:41 +00:00
Jenkins
8725ed652a Merge "Playbook for horizon upgrade" 2016-02-03 21:09:33 +00:00
SamYaple
4ab5ae789d gnocchi is busted missing tooz for source
TrivialFix

Change-Id: I1c0a80f7781aa196023795a6381443d6835d534c
2016-02-03 19:23:36 +00:00
Mauricio Lima
d7ffd1971c Add double quotes in ceph_cache_mode
TrivialFix

Change-Id: I73f780d72fc30ff3adf3e70ed03361dcb76b451d
2016-02-03 12:50:12 -05:00
SamYaple
9dae768e69 Ubuntu custom apt repos
Change-Id: I3afb8a29c4ae2369f29e0cc94d75ff8a3c42594b
Implements: blueprint custom-repos
2016-02-03 15:56:54 +00:00
Jenkins
7c264ca022 Merge "Create nova-api database" 2016-02-03 15:30:49 +00:00
Jenkins
0f002cfff7 Merge "Fix some words spellings" 2016-02-03 13:04:29 +00:00
Allen Gao
682b60b861 Fix config help message
Adding the necessary spaces.
TrivialFix

Change-Id: I3858ed1cb978bcf8aefd4a85f7c802607876b36e
2016-02-03 18:11:21 +08:00
venkatamahesh
23b1a8c03a Fix some words spellings
Trivial Fix

Change-Id: Ic14778bb4e894490a3b6af9471ba01ab4da94601
2016-02-03 10:01:30 +00:00
Jeffrey Zhang
5c1bcb8d16 Playbook for horizon upgrade
Partially-Implements: blueprint upgrade-kolla
Implements: blueprint upgrade-horizon
Change-Id: I11f11a684becd43cb137fe2c5694ca7e887b38ba
2016-02-03 06:18:57 +00:00
SamYaple
e7dfd63bfc Create nova-api database
This is a required patch.

Kilo introduced a nova-api database but didn't use it. [1]
Mitaka now uses it and has broken booting instances. [2]

[1] https://wiki.openstack.org/wiki/ReleaseNotes/Kilo#OpenStack_Compute_.28Nova.29
[2] df0fca62cf/releasenotes/notes/request-spec-api-db-b9cc6e0624d563c5.yaml

Change-Id: If0a7f4ba4937fab8d60f5236ca00db06faa768c7
Closes-Bug: #1540579
2016-02-02 21:56:54 +00:00
Jenkins
262e880b86 Merge "Fix Swift for multinode P+ACO deployment" 2016-02-02 21:39:07 +00:00
Jenkins
572e80e6d0 Merge "Add an ansible role for mongodb" 2016-02-02 21:25:19 +00:00