2477 Commits

Author SHA1 Message Date
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
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
SamYaple
4199634e98 pep8 the ansible modules
By ignoring the appropriate tests that pep8 does we can properly run
*most* of the pep8 tests on all of our modules allowing for a more
consistent coding style.

Closes-Bug: #1528431
Change-Id: I33f27a250d06d4f044267aa3ad189e092789b8df
2015-12-22 04:29:13 +00:00
SamYaple
ed82afa8e9 Simplify config creation
Convert config creation from a playbook to an action_plugin. This
reduces the complexity and confusion while retaining the same augment
structure and flexibility.

This allows us to remove the 0-byte files as requirements. They will
still be used if they are present (this means we require additional
documentation around them).

DocImpact
Closes-Bug: #1528430
Change-Id: I2c789f6be9f195c7771ca093a6d59499564b4740
2015-12-22 04:28:53 +00:00
Jenkins
635ef667a5 Merge "Use c-style string interpolation for log messages" 2015-12-22 01:32:27 +00:00
Jenkins
29ebed46e3 Merge "Fix retrieving api_interface" 2015-12-21 21:44:41 +00:00
Swapnil Kulkarni (coolsvap)
8ca24896f2 Add trove to aux in build.py
partially implements blueprint trove-container

Change-Id: Ib19064f6c08bc3f6f0ad4092b71c0410059f66db
2015-12-21 08:57:45 +05:30
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
Martin André
a1e3daf55e Use c-style string interpolation for log messages
TrivialFix

Change-Id: I7ddebc7b6f71e50254801324fa2bf093fdaa8ce0
2015-12-18 21:21:06 +09: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