2436 Commits

Author SHA1 Message Date
Jenkins
64b1e80ec3 Merge "Add trove containers" 2015-12-19 19:54:18 +00:00
Jenkins
64a39a6cec Merge "Simplify logic of set_configs.py a little bit" 2015-12-18 12:35:24 +00:00
Jenkins
50f4bc52ee Merge "Create empty file by using os.mknod" 2015-12-18 11:22:30 +00:00
Jenkins
348a4847f6 Merge "Remove wrong comment description" 2015-12-18 10:31:52 +00:00
Jenkins
c4f802bdad Merge "Updated from global requirements" 2015-12-18 09:20:02 +00:00
Jenkins
9f9ef4854c Merge "Add kolla version to base container" 2015-12-18 09:06:07 +00:00
Swapnil Kulkarni (coolsvap)
1b8e9e729d Add trove containers
Implements blueprint trove-container

Change-Id: I2c5d48af3fe4a5297ab13c8cfccc86ce247a9414
2015-12-18 12:47:28 +05:30
Martin André
735deace15 Simplify logic of set_configs.py a little bit
TrivialFix

Change-Id: Ic1c9fc76f4a5725ee76460c727197a96fe5d5359
2015-12-18 16:10:48 +09:00
Jenkins
011da7c1d2 Merge "Move the admin account creation to register.yml" 2015-12-18 06:33:36 +00:00
Jeffrey Zhang
cbb7f0503e Create empty file by using os.mknod
it is more safe and pythonic.

Change-Id: I728649af37cee8d1e255bb0a389cbc532e551c74
2015-12-18 14:14:48 +08:00
Jeffrey Zhang
e4b71a745e Remove wrong comment description
Base on the code logic, all the source, dest, owner and perm field
is required.

Change-Id: Iba5b4b2c2bd3ca0b97a3c29655e87c9701a84350
2015-12-18 12:46:11 +08:00
OpenStack Proposal Bot
b496a11b7d Updated from global requirements
Change-Id: I934c54cff79f38bdac1b0a5548a93a8fa18fcefb
2015-12-18 02:45:53 +00:00
Michal Jastrzebski
9cd603dfde Add kolla version to base container
We want to record kolla version of running containers to be able to
detect whether or not we need to perform certain downtime-causing
actions during upgrade.

Change-Id: Ie113029da98303e6809d56edbf6d8de37be128d7
Implements: blueprint record-version
2015-12-17 17:55:04 +00:00
Jenkins
03fd08d867 Merge "Add setup.cfg to kolla tools pip data dir" 2015-12-16 10:36:47 +00:00
Jenkins
e30fb74554 Merge "import the rpm gpg key" 2015-12-16 08:33:57 +00:00
Jeffrey Zhang
551c0fa2ce import the rpm gpg key
this will purge the package pgp key warning

Closes-Bug: #1525276
Change-Id: I956c8b0b6f1e1bfbceaa6abc06da16a980f023c1
2015-12-16 14:17:16 +08:00
Jeffrey Zhang
7479df9d71 Bump the ansible version to v2.0.0-0.7.rc2
The keystone_user is deprecated and the os_user module is added since
v2.0.0-0.4.beta2[0], which should be used for keystone user creation.

[0]
cdf7117f7e

Closes-Bug: #1526589
Change-Id: Ibe791913af52df5eb22eecdfc0f0156e2d0019a4
2015-12-16 13:09:05 +08:00
Jeffrey Zhang
b35ba2b1b1 do not replace the systemd-container with systemd
Systemd-container no longer exist in centos latest docker image.

Change-Id: Icbfc7fce99885551f7f4caa707a600b20db849ae
Closes-Bug: #1526606
2015-12-16 12:41:59 +08:00
Jenkins
6c4ba7e7e5 Merge "Alphabetically sort long list of parameters/arguments" 2015-12-16 00:32:38 +00:00
Jenkins
8cf1563a76 Merge "Fast fail unsupported murano-base install types" 2015-12-15 16:41:05 +00:00
David Moreau Simard
70223bb59d Alphabetically sort long list of parameters/arguments
TrivialFix
Change-Id: I39ad214d6a8e1fbdba799076d6a5371cc47824a1
2015-12-15 10:26:51 -05:00
Jeffrey Zhang
b766695f18 Move the admin account creation to register.yml
Create the admin project, user, role and keystone service info by
using ansible task rather than shell script

Closes-Bug: #1526251
Change-Id: Ieee215b9de1618b3d31f3d1a766a9d0ebafdee4d
2015-12-15 23:20:53 +08:00
Jenkins
7f22109d06 Merge "Fix MySQL-python build on Centos" 2015-12-15 10:52:12 +00:00
Martin André
9a2e0e84e4 Fast fail unsupported murano-base install types
The centos-binary murano image will still fail to build, but at least
it will fail with a relevant error message.

Change-Id: I9870f3437fbfad5820eb014173d9ec49813e60d0
Closes-Bug: #1526202
2015-12-15 17:49:42 +09:00
Martin André
b5878b2449 Fix MySQL-python build on Centos
The build of MySQL-python started to fail after the update to
Percona-Server-devel-56-5.6.27-rel76.0.el7.x86_64 with:

  /usr/bin/ld: cannot find -lmysqlclient

It appears Percona-Server-devel package provides a broken
/usr/lib64/libmysqlclient.so that points to nonexistent
libmysqlclient.so.18.

Fix the build by installing MariaDB-shared package from the mariadb
repo that contains the missing file.

Change-Id: Ia95fddfe44f54bd355c6f3d0ac895fdc05cecff9
Closes-Bug: #1526129
2015-12-15 17:35:48 +09:00
Jenkins
5d762a117a Merge "Do not purge yum-plugin-fastestmirror package" 2015-12-15 03:57:55 +00:00
Jenkins
09b14eb2a8 Merge "Remove ironic containers in the cleanup script" 2015-12-14 17:52:59 +00:00
Artur Zarzycki
95c1d7380f Remove ironic containers in the cleanup script
TrivialFix

Change-Id: Ia37369acf8bf7ca7f49fd647f40c6e98f40e93d8
2015-12-14 16:57:04 +01:00
Jenkins
d4224a0dea Merge "Fetch ceph gpg key from more reliable mirror" 2015-12-14 15:37:46 +00:00
Proskurin Kirill
8b5afbf295 Add setup.cfg to kolla tools pip data dir
kolla-build requires setup.cfg to fetch its version and right now it's not
installed to pip data dir.

Change-Id: Id1df6aab72314710d436cd7584c89bcda5d2b1a0
Closes-Bug: 1525949
2015-12-14 18:17:52 +03:00
Jenkins
ba01401a1b Merge "Add ZooKeeper module to kolla-ansible" 2015-12-14 13:32:18 +00:00
Jenkins
1cd8aab94c Merge "Record version on container build" 2015-12-14 13:30:46 +00:00
Michal Rostecki
77593f4c25 Add ZooKeeper module to kolla-ansible
ZooKeeper module already existed, but was not added to the
container.

Closes-Bug: #1525820
TrivialFix

Change-Id: I4de6aea4d4b209c94ed33205b0ec3c339e9ab692
2015-12-14 11:05:15 +01:00
Jenkins
987ae1af77 Merge "Skip gate FS optimization if no secondary disk" 2015-12-14 09:42:33 +00:00
Jeffrey Zhang
aabafd343b Do not purge yum-plugin-fastestmirror package
It will be helpful for speed up the package installation.

Closes-Bug: #1525514
Change-Id: Id40a0afa30dd0a142bee3b13f7622cb0d42d9298
2015-12-12 21:04:12 +08:00
Martin André
ae8b402b4d Fetch ceph gpg key from more reliable mirror
The ceph master repository is slow and the centos build often fails due
to timeouts fetching the ceph repo GPG key.

Switching to a more reliable mirror should improve things.

Change-Id: I7eef31fa9d83413a7c12134d285b3d20d95805e8
Closes-Bug: 1525505
2015-12-12 21:02:43 +09:00
Martin André
de7293833e Add workaround to fix centos-binary-deploy gate
The RDO nova package is missing a dependency on oslo-policy and this is
breaking our centos-binary-deploy gate. Install the missing package in
nova-base until the issue is fixed upstream.

Change-Id: Iece7edd754c6f173635b0e0c437a998f3b9492d3
Closes-Bug: #1525502
2015-12-12 20:47:10 +09:00
Jenkins
265de22e63 Merge "Fix owner of horizon docroot" 2015-12-11 21:33:54 +00:00
Jenkins
335c739a0a Merge "Change nova-compute upgrade level to auto" 2015-12-11 21:25:18 +00:00
Jenkins
431e0f9ff2 Merge "Pass environment variables of proxy to tox" 2015-12-11 19:36:40 +00:00
Jenkins
b2ba81bbdb Merge "Improve ansible deployment failure reporting" 2015-12-11 18:20:11 +00:00
Michal Jastrzebski
3f2a4f2c06 Record version on container build
This changes default behaviour of build.py to instad of putting latest
tag on it, it puts current kolla version as found in setup.cfg

Change-Id: I4d6e9a0159c6a5598abd58072594df4204427308
Partially-Implements: blueprint upgrade-nova
Partially-Implements: blueprint record-version
2015-12-11 11:02:46 -06:00
Michal Jastrzebski
a02bcdcacc Change nova-compute upgrade level to auto
As part of upgrade process we need new services to detect what is the oldest
version running on compute nodes.

Change-Id: Id65f2bc765828054bf5d5562de27255031254821
Partially-Implements: blueprint upgrade-nova
2015-12-11 11:02:46 -06:00
Proskurin Kirill
9f604456be Fix owner of horizon docroot
Horizon starts WSGI deamon from user "horizon", its docroot has "root" user.

Change-Id: Iac424a88a747772a37b2ff2ae94f302a988f7201
Closes-Bug: 1525296
2015-12-11 19:16:25 +03:00
Jenkins
395dce522a Merge "add python-kazoo and python-six when using centos source install type" 2015-12-11 14:46:50 +00:00
Jenkins
6360723586 Merge "install python-cephlibs in venv for glance-base" 2015-12-11 14:44:18 +00:00
Martin André
06794fdc6b Catch exception when directory creation fails
The build script now creates now creates a plugins directory for source
builds to store plugins required for the container, and creates a tar
of all plugins that is extracted at runtime.

However, the creation of the 'plugins' directory is not handled
correctly and generate an exception in the running thread if the
directory exists. This is the case for example if the build script
retries a failing image.

This commit fixes the timeout issues we've experienced with the gate.

Change-Id: Ic5d4fd1ddf71f01c547130518e311fded911c445
Closes-Bug: 1524897
2015-12-11 20:07:02 +09:00
Martin André
6190411d19 Improve ansible deployment failure reporting
Change-Id: I73395afa2a2d8f3dc835e010e3b1959ec725da2a
Closes-Bug: #1525102
Co-Authored-By: Paul Bourke <paul.bourke@oracle.com>
2015-12-11 16:48:14 +09:00
Kuo-tung Kao
a9bd9a1a65 install python-cephlibs in venv for glance-base
install python-cephlibs in venv for glance-base

Change-Id: I2055bbc608c35604bbb727e83d9b74295e643a7d
Closes-Bug: #1524684
2015-12-11 14:32:26 +08:00
Martin André
40b8a0243e Skip gate FS optimization if no secondary disk
This commit removes the assumption that all gate nodes have a secondary
disk, and skip tuning the filesystem if the node doesn't have one.

This fixes gate failures on OVH nodes.

Closes-Bug: #1525047

Change-Id: Ief22f34b32caf7a8b446df888fc5cc1964ad272e
2015-12-11 15:31:35 +09:00