543 Commits

Author SHA1 Message Date
Jenkins
aace9b69c8 Merge "Pull kolla images from tarballs.o.o" 2017-01-18 12:29:23 +00:00
Jeffrey Zhang
4fdac509c6 Pull kolla images from tarballs.o.o
Pull images from tarballs.openstack.org site[0] when there is no
Depends-On in current commit message.

[0] http://tarballs.openstack.org/kolla/images/

Change-Id: I2e5d4d7ed6418624494121e0a530ec95fd045970
2017-01-18 10:39:52 +08:00
caowei
1063f73620 Fix cleanup-containers
qemu-ga should be excluded

Change-Id: I89474758a45e52c6c2da7307764344863e065aed
Closes-Bug: #1655838
2017-01-12 18:22:38 +08:00
Jenkins
b8df00bb95 Merge "Fix ovs-cleanup issue at cleanup scripts" 2017-01-09 14:28:52 +00:00
Paul Bourke
f4b5c2db74 Update init-runonce to use openstack commands
Change-Id: I522feee353a7afcdca6862ce4e262e14e36df3a2
2017-01-06 13:49:49 +00:00
Jeffrey Zhang
d5406a04f5 Fix gate in iax-ord node when using libvirt 2.0
Change-Id: Ifacc2462db2bcd7c8091a23c30e9442ec0140c97
Closes-Bug: #1653863
2017-01-04 11:21:13 +08:00
Jenkins
6b37f73ace Merge "Enable horizon deployment in gate" 2017-01-03 16:44:39 +00:00
Eduardo Gonzalez
da83802b1b Fix ovs-cleanup issue at cleanup scripts
Move ovs-cleanup step to cleanup-containers,
otherwise bridges will not be removed because neutron_openvswitch_agent
container does not exists after running cleanup-containers.

Add logic to cleanup ovs bridges only when openvswitch_db
is removed and openvswitch-agent is running,
so when removing other container from a parameter at script
invocation ovs-cleanup will not be executed.

Change-Id: Ie5fea40426df0e9e465fc173aba185f61098f676
Closes-Bug: #1640178
2016-12-30 14:10:30 +01:00
Jeffrey Zhang
38da0b3dc2 Enable horizon deployment in gate
horizon is a key service and need to be test in the gate.

Change-Id: I89fc1a32b54483c4331c31fb6349dee317c1bc2a
2016-12-21 08:09:06 +00:00
Sam Yaple
fc2bb3f37f Switch Ubuntu to overlay2 docker driver
With 4.4 kernel we can use the improved overlay2 driver instead of
btrfs for significantly better performance when creating layers.

Change-Id: I0b84a2b34fdb71c07798d94b546d3105a2742321
Related-Id: I3b0dfd6db5298dfb34ec160eed910ca76feeb423
2016-12-20 14:42:26 +00:00
Jeffrey Zhang
444dbb48cc Read EXTRA_OPTS from env in kolla-ansible script
Read EXTRA_OPTS from env make it possible that using arbitrary
ansible-playbook parameters in kolla-ansible script. like

    EXTRA_OPTS='--limit control' kolla-ansible deploy

Change-Id: I10e0dafb6138d91facdb66a2f487cdeca4689c28
2016-12-05 10:25:42 +08:00
Jenkins
1c31349cbe Merge "clean up kolla related files" 2016-12-01 20:52:42 +00:00
caoyuan
2f21d2a88d Remove the deprecated command and the useless "if" condition
TrivialFix

Change-Id: I22970a9885eda670ec17d6b8c1b368ed2e10a732
2016-12-01 15:35:07 +00:00
Jenkins
15a917a62a Merge "Added support for a stop playbook in kolla" 2016-12-01 13:59:07 +00:00
Jeffrey Zhang
27ee3973a7 Install ansible with OpenStack requirements constrains
OpenStack requirements constrains is well tested. Use it in case of
installing upstream broken package.

This also fixes latest requests 2.12.2 break docker-py, which makes
kolla gate red.

Change-Id: I3e4ec4af2a6e1280313733e8f31f2eea7669dbc1
2016-12-01 18:50:42 +08:00
Jenkins
c5289bb111 Merge "Ignore dom0 qemu processes during destroy" 2016-11-30 17:32:35 +00:00
Jeffrey Zhang
92ff63f3e0 clean up kolla related files
* rename package name from kolla to kolla-ansible
* remove docker for data_files
* remove kolla docker
* remove kolla-build console_scripts

Change-Id: I53abbf79dffb54eb785a39ba04d375bc4e4f27b0
2016-11-30 11:17:35 +08:00
Vladislav Belogrudov
14f9246fcd Add tool to merge passwords during release upgrade
Typical usage:
   cp /etc/kolla/passwords.yml /etc/kolla/passwords.yml.old
   kolla-genpwd
   kolla-mergepwd --old /etc/kolla/passwords.yml.old \
                  --new /etc/kolla/passwords.yml     \
                  --final /etc/kolla/passwords.yml

Change-Id: Ibbc598909e28e096145841aec929d0cfcf8f7cab
Implements: blueprint kolla-merge-passwords
2016-11-28 12:22:55 +03:00
Borne Mace
eb138539f2 Ignore dom0 qemu processes during destroy
Updates cleanup-containers to disclude lines related to
dom0 qemu processes.

Change-Id: I0b71ed29b9a2f239ebfdaa66b7cbe41eeaf2773c
Partially-Implements: blueprint xen-hypervisor-support
2016-11-23 14:26:57 -08:00
Borne Mace
2cfc069e21 Added support for a stop playbook in kolla
Behavior of stop playbook is very similar to the destroy
playbook.  This is meant when you may just want to bring down
the service for some sort of maintenance but not destroy all
the associated data. Also added support for the new playbook
into the kolla-ansible command.

Change-Id: Icf0ca91de71dc8ead3a024de3e5b9e49116560d1
Implements: blueprint ansible-stop-host-playbook
2016-11-23 11:45:23 +00:00
Jenkins
e651adfcc9 Merge "Remove the disable of ipv6 in gate" 2016-11-22 18:07:13 +00:00
Jeffrey Zhang
05a458a739 Remove the disable of ipv6 in gate
Disable ipv6 will lose the vm

Change-Id: I7316d013d9281946c1c566279cd64ecbe6b67d37
Closes-Bug: #1643858
2016-11-22 20:06:10 +08:00
Jeffrey Zhang
c4cecc2bf4 Use tox to build gate images
Change-Id: I6f9190eccb2e1a1c5bd450ba63833f35f5d09aac
2016-11-21 11:27:07 +00:00
Jeffrey Zhang
db5954e0b3 fix ci gate
* Build kolla image by using kolla project's code
* bump openstack_release to 4.0.0
* Remove tox deploy related env, it is useless now.

Depends-On: I132ee005bce993cbadf411697817c2e95548dc81
Change-Id: Id899eb39d476b95130fbeb43adf4fd49ef32be32
2016-11-21 19:26:44 +08:00
Jenkins
c9808a2e21 Merge "Use openstack_service_workers variable in gate" 2016-11-11 17:08:11 +00:00
Jeffrey Zhang
c8f55a6d08 Use openstack_service_workers variable in gate
set openstack_service_workers to 1 in gate.

Closes-Bug: #1640416
Change-Id: I59560fd543f25e0b60b3f11f1c941adf595b3131
2016-11-09 08:42:51 +00:00
Jenkins
54cc601eed Merge "Adding the steps of generateing ssh key in tools/init-runonce" 2016-11-08 14:16:33 +00:00
Jeffrey Zhang
2392d7e38c Add file validator for *.json.j2 file
All json file in Kolla are json.j2 file, it shold be render as jinja
template, then validate by using json.

Change-Id: Ibabbe435116fd255d68347e00407156db76fedfe
Closes-Bug: #1634447
2016-11-05 01:16:12 +08:00
Jenkins
cc098c19b9 Merge "Improve playbook to setup gate nodes" 2016-11-04 14:52:27 +00:00
Jeffrey Zhang
fa45801946 Move precheck into its own role
* Merge prechecks.yml and site.yml playbook
* Create empty precheck.yml into all roles.

Change-Id: I8a138558a26c0a2a66c5fd48ed37be657c99c1dd
Implements: blueprint condition-pre-check
2016-11-03 14:48:58 +08:00
Jenkins
04eef90e51 Merge "Unpin ARA, update callback location" 2016-11-02 13:03:25 +00:00
caoyuan
ffa552b282 Update the way of loading the admin-openrc.sh file
TrivialFix

Change-Id: I3cfa94d9f6202664a06c24d691376eb8759b922a
2016-10-29 22:21:26 +08:00
Jeffrey Zhang
37f36af5f5 Print all docker images in gate
TrivialFix

Change-Id: I65ba1828fccee52194eb2b76c4055c922236d97b
2016-10-24 20:16:22 +08:00
David Moreau-Simard
fd60d2baf4 Unpin ARA, update callback location
ARA 0.9.2 was released which deprecates the previous callback location
in favor of a new one. The deprecated location still works but let's
move to the new one right away.

Change-Id: I8a10d5855ab6f813e52cc6efce5bcfe91d9c3f92
2016-10-22 21:52:05 -04:00
David Moreau-Simard
75cc748b09 Pin ARA to 0.9.1 temporarily
The next release of ARA (0.10.0) contains a change to the callback
plugin location that /should/ be backwards compatible but let's
control the update to the newer version to be safe and avoid
breaking the gate needlessly.

Change-Id: I32176166e8ebcbfdf0baa8bd7ec30e5ec6d795a5
2016-10-20 17:53:32 -04:00
Jenkins
a64f88168e Merge "Use xenial repos for Ubuntu in the gate" 2016-10-20 10:58:38 +00:00
Jeffrey Zhang
3e89f987c0 Add validate no new line at end of file
TrivialFix

Change-Id: I817aa52caf56b7d54b266e553db6db1ceb38b773
Signed-off-by: Jeffrey Zhang <zhang.lei.fly@gmail.com>
2016-10-19 17:17:06 +00:00
Paul Bourke
b1e538341f Use xenial repos for Ubuntu in the gate
The gate jobs are using Xenial as the base OS so it seems we should be
using the same non-infra repos as our base image.

TrivialFix

Change-Id: I6e5d27364054c474c16120a3195cae819861c8a1
2016-10-19 17:16:41 +01:00
Jenkins
21634e4444 Merge "Use correct Kibana version on the gates" 2016-10-19 16:06:47 +00:00
Jenkins
039eb8d79a Merge "Consistently set sys path when using local tools" 2016-10-19 16:02:12 +00:00
Christian Berendt
4e073cca0e Use correct Kibana version on the gates
We bumped the Kibana version from 4.4 to 4.6 with
Ia18cb89e0951359226add5cbd96d3a91c7fcfd8a. This version should be
used on the gates as well.

Change-Id: I21ccac9a12e4b604d3cf336c6263f2e4cd925524
Closes-bug: #1634049
2016-10-17 08:50:03 +00:00
Jenkins
22e895dcb9 Merge "Use sudo to create loop device on gate nodes" 2016-10-14 16:14:32 +00:00
Martin André
9660b57864 Consistently set sys path when using local tools
Consistently set the search path to prefer PROJECT_ROOT as the source
of packages to import if we are using local tools instead of pip
installed kolla tools.

TrivialFix

Change-Id: Idd1d98bb82a8f1ddb32d1bdb23f346b461534b9f
2016-10-14 17:01:36 +02:00
Christian Berendt
b725bd09dd Move demos and dev directory into a new contrib directory
TrivialFix

Change-Id: Ifb8f19afa1514488bd288670d08b96f84982a4e1
2016-10-14 12:57:49 +02:00
Jenkins
8f1746c78d Merge "Move loc tool into tools directory" 2016-10-13 15:37:32 +00:00
liyingjun
d5fe8a30f9 Cleanup container script improvement
Currently, when there are some qemu processes which may be some useful
virtual machines running by the operator running on non compute node, the
cleanup script will fail the cleanup operation for that node. We need to
ignore the qemu process check for non compute nodes.

Change-Id: If49a1a30764063935b2a65312de8f3b2357c7fbc
Closes-bug: 1633005
2016-10-13 17:31:17 +08:00
Jeffrey Zhang
1bcb139392 Choose node with largest seqno number for mariadb recovery
When all mariadb nodes are stopped gracefully, mariadb galera will
write it's last executed position into the grastate.dat file. Need find
the node with largest seqno number in that file and recovery from that
node.

Closes-Bug: #1627717
Change-Id: I6e97c190eec99c966bffde0698f783e519ba14bd
2016-10-09 12:08:58 +00:00
Christian Berendt
a0dc58e099 Use sudo to create loop device on gate nodes
TrivialFix

Change-Id: Iaa8ff2592d89a91081383e1f9c23c860bb73bba5
2016-09-30 12:30:32 +02:00
Christian Berendt
ce11216a0e Improve playbook to setup gate nodes
* use become instead of sudo
* use file instead of shell to change file modes
* rename setup_nodes.yml to playbook-setup-nodes.yml

Change-Id: I69eda1f034b97d13be76efc91458b6d762c76baf
2016-09-29 16:34:03 +02:00
Christian Berendt
3c14fe6139 Move loc tool into tools directory
TrivialFix

Change-Id: I95d8d011602556de3dd3591247cc6c63170425f7
2016-09-29 16:23:11 +02:00