2493 Commits

Author SHA1 Message Date
Jenkins
d08db850ec Merge "use oslo.config instead of raw argparse.ArgumentParser" 2015-12-31 07:35:05 +00:00
Jenkins
1a3e284c2b Merge "Make the logging more safe" 2015-12-31 02:16:27 +00:00
Jeffrey Zhang
3b3d6df0c2 use oslo.config instead of raw argparse.ArgumentParser
* Use oslo.config library
* kolla-build section is deprecated in favor of DEFAULT section
* Remove the deprecated `--template` option
* `--no-cache` is deprecated in favor of `--cache` and `--nocache`
  options, which are using oslo BoolOpt inverse feature[0]

[0] https://github.com/openstack/oslo.config/blob/master/oslo_config/cfg.py#L1074

Closes-Bug: #1528542
Change-Id: I62c5ca3c8e057917d2798256e9d9efc8f6578f60
2015-12-30 18:53:05 +08:00
Jenkins
6fcde0dab1 Merge "Added dockerfiles for mistral." 2015-12-30 09:03:13 +00:00
Jenkins
ff2d0cd7aa Merge "change libvirt sock group to nova" 2015-12-30 09:02:21 +00:00
Jenkins
2dcaf5ed61 Merge "Add RadosGW container" 2015-12-30 08:48:57 +00:00
Jenkins
19e75e8e71 Merge "Base and openstack-base ubuntu binary containers." 2015-12-30 08:45:20 +00:00
Jenkins
44987794de Merge "Keystone ubuntu binary container" 2015-12-30 08:37:02 +00:00
Jenkins
64ca1ce5d9 Merge "Heat ubuntu binary container" 2015-12-30 08:33:27 +00:00
Jeffrey Zhang
991be99c89 Make the logging more safe
TrivialFix

Change-Id: I72c541c1846e503486b402e88d5b29364920fc83
2015-12-30 15:11:43 +08:00
Artur Zarzycki
b4d692fae2 Keystone ubuntu binary container
Change-Id: Ibacbc5e2d3988c646998f6e69e2ea34c69e039f8
Partially-Implements: blueprint binary-ubuntu
2015-12-30 01:46:26 +01:00
Artur Zarzycki
ac3d7c492e Heat ubuntu binary container
Change-Id: Iae54825c48da6b22bc83331918f5734f9821ea03
Partially-Implements: blueprint binary-ubuntu
2015-12-30 00:21:48 +01:00
Artur Zarzycki
918cd10bb0 Base and openstack-base ubuntu binary containers.
Change-Id: I93d7f4227f6b4ac04e1af5afd5e46bdbaba84b4f
Partially-Implements: blueprint binary-ubuntu
2015-12-30 00:11:42 +01:00
Kuo-tung Kao
b54420442e change libvirt sock group to nova
Add `nova` user to nova-libvirt container.
And change libvirt-socket group to nova.

Change-Id: I183c83f4be8b1d7c75d4ac204df7b7e059626aa2
Closes-Bug: #1525583
2015-12-29 15:04:04 +00:00
Andrey Shestakov
1a368c9134 Add RadosGW container
Implements blueprint radosgw-container

Change-Id: Idc88a67a0979be626d3eaa9b2b9a527010aa2006
2015-12-29 12:49:03 +00:00
Jenkins
a5a5b3fd61 Merge "Create ironic-pxe container with ironic-base" 2015-12-29 03:55:52 +00:00
Jenkins
b70be6630f Merge "Fix version in master" 2015-12-29 02:49:49 +00:00
Jenkins
83545d4f0d Merge "Fix pip install settings" 2015-12-29 02:44:03 +00:00
Jenkins
beb8b7ddc4 Merge "Add missing contraints" 2015-12-29 02:37:59 +00:00
Jenkins
25a47ec9e5 Merge "Fix file permissions" 2015-12-29 02:01:59 +00:00
Jenkins
7aec0653f6 Merge "Adjust CMD for data and kolla-ansible" 2015-12-29 01:13:59 +00:00
Andrey Shestakov
56d24970fa Create ironic-pxe container with ironic-base
/tftpboot directory should be writeable by ironic-conductor.

TrivialFix

Change-Id: I870a786d41a6feb8e0786b6e86a5caf1f9ceb079
2015-12-28 19:55:34 +02:00
Jenkins
c5c5c6e444 Merge "Push the image as soon as it is built successfully" 2015-12-28 07:34:47 +00:00
Jenkins
03e672ea8b Merge "Fix logging params" 2015-12-28 03:56:09 +00:00
hparekh
f36b5aef71 Added dockerfiles for mistral.
Change-Id: Ie74a91dccf654da9305722d14af2f0a893dbaaff
Partially-implements: blueprint enable-mistral-container
2015-12-28 02:03:22 +00:00
SamYaple
82fcf8fad0 Fix version in master
Master version was still set to 1.0.0. This became alot more obvious
in a recent patch when we started pulling that version number for the
tag...

TrivialFix

Change-Id: Ie9c95a4dc606d0527c44fcd624b4473e45f7f3cf
2015-12-27 17:59:31 +00:00
Jeffrey Zhang
bdd92da6ae Push the image as soon as it is built successfully
Closes-Bug: #1529327
Change-Id: Iad6c1454f42d3410c82c722b60d0d305b9eec129
2015-12-28 01:11:46 +08:00
SamYaple
cda0459ad1 Fix pip install settings
There were some inconsistencies with pip install instructions
thoughout Kolla. We fix those here.

Additionally, we fix the virtualenv to properly use the site-packages
on the host if a library is not available in the venv.

Change-Id: Ib84d48e8826bb96060338b3fa0782620c98794a8
Related-Bug: #1524684
Closes-Bug: #1529434
2015-12-27 03:35:35 +00:00
SamYaple
4457636167 Add missing contraints
There were some missing constraint caps on our pip installs

TrivialFix

Change-Id: I3d0af9556d08a9a0a99248a9992637d08fd3ad01
2015-12-27 02:22:17 +00:00
SamYaple
9be1799beb Fix file permissions
Throughout the project overtime some of these file permissions have
changed to have an executable bit. They should not have this bit set.

TrivialFix

Change-Id: I1748b5bde813a0fcac36aeecdfd83245b8ee5be3
2015-12-26 17:36:38 +00:00
SamYaple
e95c0d3183 Adjust CMD for data and kolla-ansible
The CMD command for data causes docker to launch it with /bin/sh which
is ugly when viewing the containers statuses. Additionally for
kolla_ansible we were not specifying the CMD at all, forcing us to use
the 'command' param to set the sleep command.

This patch brings the kolla_ansible launch inline with the rest of the
project.

TrivialFix

Change-Id: Ic87a89921674802c15596756526e07f52a782f32
2015-12-26 17:36:38 +00:00
Jenkins
9e9225d8e6 Merge "Add container for nova-compute-ironic" 2015-12-25 21:08:48 +00:00
Jenkins
075ae5d832 Merge "import the gpg public key properly" 2015-12-25 21:06:32 +00:00
Andrey Shestakov
c779511511 Add container for nova-compute-ironic
Implements blueprint ironic-compute-container

Change-Id: I110bf3aa94bdfd33038ed39d78bd40ea30b13e57
2015-12-25 17:09:00 +00:00
SamYaple
73ac472e4e Fix logging params
Something was missed during the logging update

TrivialFix

Change-Id: Ic611b7a0e2a53725b1a3a76aba56faeca5f68dfa
2015-12-25 03:26:27 +00:00
Britt Houser
4b2767ae74 Update to quickstart for CentOS multinode
As I walked through quickstart guide doing a CentOS
multinode deployment, I found a few items that needed
updating.

Change-Id: I3fa6d59ea856ff05be415faffd7f45197be67178
2015-12-24 16:04:48 -05:00
Jeffrey Zhang
b39c8e2918 import the gpg public key properly
include:
* CentOS 7 RPM GPG key
* Percona repo GPG key
* OpenStack Magnum repo GPG key

Closes-Bug: #1528988
Change-Id: I2419d1d130c2cc4466e884e4022b64d81109943b
2015-12-24 15:54:51 +08:00
David Moreau Simard
e8ad7488f6 Make the yum repositories configurable in the base image
- Removed hardcoded yum repository configuration in favor of
  commands dynamically generated based on repo-url and repo-file
  arguments. We maintain a sane default set of repositories.
- Added generic rpm_setup_config parameter to add support for
  installing .rpm or .repo files before building containers.

Co-Authored-By: Ryan Hallisey <rhallise@redhat.com>
Implements: blueprint custom-repos
Change-Id: I1b3a7647a9e7239de3cd162cb6f464f05632bde1
2015-12-24 02:08:52 +00:00
Michal Rostecki
d7095790a2 Use c-style string interpolation for log messages in kolla-build
TrivialFix

Change-Id: I4b01402f8feb029563a90d4941c8d829a05794e0
2015-12-23 16:36:13 +01:00
Jenkins
8eca1155f6 Merge "pep8 the ansible modules" 2015-12-23 13:20:23 +00:00
Jenkins
027e70f9a2 Merge "Simplify config creation" 2015-12-23 13:19:08 +00:00
Jenkins
bd1fdf3b4c Merge "Remove unneeded variables passed into keystone" 2015-12-23 04:20:11 +00:00
Jenkins
2b65839476 Merge "Pin shade and os-client-config" 2015-12-23 04:04:39 +00:00
Jenkins
2a530d5b9e Merge "Add the rhel in the base_distro condition in swift dockerfile" 2015-12-23 03:12:56 +00:00
SamYaple
74e9126fdb Remove unneeded variables passed into keystone
During the bootstrap we no longer need to pass in this info

TrivialFix
Related-Bug: #1526251
Related-Id: Ieee215b9de1618b3d31f3d1a766a9d0ebafdee4d

Change-Id: I82460cf11dea4692c0469bf2b9afddd794a30ec1
2015-12-22 22:19:13 +00:00
SamYaple
451ba5378e Pin shade and os-client-config
Change-Id: I0f6b37ad59a1218d62c5c42c02c63066f44ffed7
Closes-Bug: #1528702
2015-12-22 22:19:13 +00:00
Jenkins
4a2e728688 Merge "Convert to pymysql" 2015-12-22 15:47:02 +00:00
Andrey Shestakov
386bcff4a1 Remove user 'ironic' from ironic-pxe
TFTP server should runs as root user

Change-Id: I80064edf991d5f466a5711f1ab80ec8df43b785b
Closes-bug: 1528341
2015-12-22 08:40:20 +02:00
Jeffrey Zhang
305020c209 Add the rhel in the base_distro condition in swift dockerfile
Closes-Bug: #1528446
Change-Id: I781a1f3617fedc96da5a0837ecf988fb9a366d44
2015-12-22 13:34:30 +08:00
SamYaple
026942e9c5 Convert to pymysql
Closes-Bug: #1528432
Change-Id: I6e56f283521b29678964cb655ac3cff2d13b8246
2015-12-22 04:30:32 +00:00