226 Commits

Author SHA1 Message Date
Jenkins
afaf0031ed Merge "Deprecate Fedora based Docker images" 2016-10-09 08:50:52 +00:00
Steven Dake
e1ca39db92 Build source from Newton rather then Master
TrivialFix

Change-Id: Icce60b4fda4dc86858893be4a8fa3b159c3680aa
2016-10-08 03:25:09 -04:00
Steven Dake
aeb86de6fc Move RDO to Newton branches
RDO Newton is available.  Lets use it and test with it this final week.

TrivialFix

Change-Id: I2a761366da7c2cf209adaceb73ac7fa9c9aa3cba
2016-10-07 03:40:10 -04:00
Jeffrey Zhang
e8e1ad7089 Handle the KeyboardInterrunpt properly for build.py script
* set the push queue worker daemon
* force exit when using twice Ctrl + c in build.py script.

Change-Id: Ib3278ee9909f94a5129854c3c6fc9720a91a19f3
Closes-Bug: #1629654
2016-10-03 07:53:45 +00:00
Christian Berendt
febc13edfd Deprecate Fedora based Docker images
Change-Id: I84f01a93656ed9c9d828b4619753cb1bb806f74f
Partial-bug: #1616387
2016-09-29 11:49:55 +02:00
Jenkins
344318f584 Merge "Fix a docstring typo in build.py" 2016-09-27 13:54:12 +00:00
Jenkins
c241e2adf6 Merge "Changed docker_restart_policy to unless-stopped" 2016-09-27 13:53:46 +00:00
Kobi Samoray
566c19c887 Fix a docstring typo in build.py
TrivialFix

Change-Id: I556b1563e8abecb14baacd4c84fc72f4bd3cd140
2016-09-27 14:19:57 +03:00
Sajauddin Mohammad
3f134d0f53 Changed docker_restart_policy to unless-stopped
Current implementation has docker_restart_policy "always" and
docker_restart_policy_retry:"10" which should be mutually exclusive.
"unless-stopped" will restart the containers on any exit state
but not start on daemon startup if container was put to stopped state before.
Closes-Bug: #1621187

Change-Id: I4d881cd123a55625121b7a9047385e9b54e2e129
2016-09-26 04:32:28 -04:00
Waldemar Znoinski
326327acba fix ironic-inspector setup
* add ironic-inspector(-archive) source to docker image
* pip install from above source code
* move in-container config files to /etc/ironic-inspector
* add sudoers file to allow ironic-rootwrap
* copy rootwrap conf and filters from source repo

Change-Id: Ie3cce19810b9940d06bb636b28015160fea6ddfb
Closes-bug: #1624457
Closes-bug: #1624833
Closes-bug: #1624845
2016-09-25 22:15:04 +00:00
Jenkins
9f1f735b4e Merge "Mark include-footer and include-header deprecated for removal" 2016-09-22 07:01:41 +00:00
Jeffrey Zhang
ae54ae8ef0 Mark include-footer and include-header deprecated for removal
As we talked in mail list, these two options should be marked for
deprecated and removed in future[0]. Customization footer/header block
are recommended to use.

[0] http://lists.openstack.org/pipermail/openstack-dev/2016-September/102793.html

TrivialFix

Change-Id: I9d0b83b31b3680cf5083eafc2ae491348d3b084b
2016-09-22 00:24:51 +08:00
Jenkins
c57642f649 Merge "Remove no-cache option in build.py" 2016-09-21 12:06:43 +00:00
Jeffrey Zhang
156abd6b6a Remove no-cache option in build.py
no-cache is marked for removal. we should move to cache parameter
instead. Ie6d5ab380a22c32eb6a5cee29ff7912e9f4cfe74 handle this parameter
for mistak.

TrivialFix

Change-Id: I4a6bc3eca07e9930381091fcf735529019523975
2016-09-20 13:48:49 +08:00
Andrew Widdersheim
879b446398 Fix using rhel as a base build image
Using rhel as a base build image is not a supported option. This seems
to have gotten lost during some code rearchitecture. Also, rename from
redhat to rhel to match the references in the documentation.

Closes-bug: #1625229

Change-Id: If950b20717205dd0e336e6171971e25a9d07df13
2016-09-19 11:18:16 -04:00
Hui Kang
4fabd37e31 Add kuryr-libnetwork Dockerfile
Kuryr repo has been split to kuryr and kuryr-libnetwork

Change-Id: I6d05adf1de89611e2cb0f8469ed42ca1401ace56
Co-authored-by: Mohammad Banikazemi <mb@us.ibm.com>
Partially-implements: bp kuryr-docker-plugin
2016-09-14 22:27:36 +00:00
Jenkins
37ec5ecb52 Merge "Add Networking-SFC role" 2016-09-14 20:03:12 +00:00
Jenkins
56da49b561 Merge "Add neutron-vpnaas-agent container" 2016-09-14 18:18:58 +00:00
Christian Berendt
ce2a00a0e9 Add neutron-vpnaas-agent container
This implements the neutron-vpnaas-agent container for Ubuntu/Debian
with installation from source packages.

Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>

Implements: blueprint neutron-vpnaas-agent

Change-Id: I3e4b513fb8e1670c4df0edb4951610f777ff72e6
2016-09-14 14:03:16 +00:00
Jenkins
afe4209bb2 Merge "Add iter function to change list into iterator" 2016-09-14 09:49:05 +00:00
prithiv
8a01ed3270 Add Networking-SFC role
Networking-SFC is a neutron big-tent project support Service Function
Chaining in Neutron.

* Rename the image from neutron-networking-sfc-agent to
  neutron-sfc-agent.
* Add networking-sfc role in playbooks.

Co-Authored-by: Jeffrey Zhang <zhang.lei.fly@gmail.com>
Change-Id: I1f99650eed85f59929d4ab6b2226603c54f29577
Implements: blueprint enable-networking-sfc-support
2016-09-14 15:41:03 +08:00
gong yong sheng
2660bbee8f Call filter_images before save dependencies
save_dependency function needs the image status which is set
by filter_images.

Change-Id: I7aa097c94d59de9389d8a53babe63d8b991a6e23
Closes-bug: 1623291
2016-09-14 10:46:04 +08:00
gong yong sheng
dd57e1df5a Add iter function to change list into iterator
Change-Id: Ia141a54b1bc0b1742a396b7029ee0b56ead648db
Closes-bug: 1623288
2016-09-14 10:04:10 +08:00
Jenkins
8d5080407e Merge "Add extra methods in template when using template override" 2016-09-13 14:31:00 +00:00
Vladislav Belogrudov
80bdb458ee Build process outputs each line twice
Don't propagate logs going to stdout to avoid duplicate messages

Co-Authored-By: Jeffrey Zhang <jeffrey.zhang@99cloud.net>
Change-Id: I52da42adc40aa5d468d1c0c1134e65689916a2a8
Closes-Bug: #1620239
2016-09-13 07:15:34 +00:00
Jenkins
b10e29281a Merge "Remove the deprecated kolla-build group name" 2016-09-08 07:10:18 +00:00
Jeffrey Zhang
363fa659e4
Remove the deprecated kolla-build group name
TrivialFix

Change-Id: Ie6d5ab380a22c32eb6a5cee29ff7912e9f4cfe74
Signed-off-by: Jeffrey Zhang <zhang.lei.fly@gmail.com>
2016-09-08 12:30:23 +08:00
Jenkins
33ace47bd3 Merge "Ensure doesn't use LOG.warn" 2016-09-07 15:57:22 +00:00
Jeffrey Zhang
754a0cef25
Add extra methods in template when using template override
Add the Kolla template methods when using --template-override parameter

TrivialFix

Change-Id: I67ab579817fc5462143e5742d78db4a202debf2e
Signed-off-by: Jeffrey Zhang <zhang.lei.fly@gmail.com>
2016-09-07 20:20:27 +08:00
Jenkins
5fca91c6fd Merge "Add cloudkitty containers for type source" 2016-09-07 07:42:58 +00:00
Jenkins
9d9f3eea04 Merge "Add Barbican container dockerfile" 2016-09-07 03:25:08 +00:00
zhubingbing
89392f4f6a Add gnocchi ansible role
Partially-Implements: blueprint ansible-gnocchi

Change-Id: I8dd0460bd21ac0a233fab0142ec7b6079459bdc2
2016-09-06 13:17:47 +00:00
Christian Berendt
aa4b49a2c3 Add cloudkitty containers for type source
Change-Id: I548c20afd7ce7ba27a5475c69c78c7d267ccc24b
Partially-Implements: blueprint cloudkitty-docker
2016-09-06 08:54:21 +02:00
zhubingbing
97ca36ca06 Add Barbican container dockerfile
Partially-Implements: blueprint barbican-container

Change-Id: I2c4d5df1b35be95f75413067efacc0b401e7ce08
2016-09-05 10:18:01 +00:00
Nguyen Phuong An
23921f11eb Ensure doesn't use LOG.warn
This patchs ensure doesn't use LOG.warn because LOG.warn deprecated
in Python 3 [1]. Using LOG.warning should be used instead.

[1] https://docs.python.org/3/library/logging.html#logging.warning

TrivialFix

Change-Id: I464314b33b8d4f31b6be0a765019e1f5668cc6d9
2016-09-05 04:27:29 +00:00
Jenkins
fdb33d04ec Merge "Install neutron-lbaas-dashboard from source in horizon container" 2016-09-01 09:47:41 +00:00
Sean Mooney
538dbac24a adds bifrost ssh key generation
- This change extend the genpwd.py
  command to generate an ssh key pair
  bifrost.
- This change bifrost config and bootstrap
  task to install the generated keys.
- This change updates the bifrost guide to
  discribe how to provide your own key.

Change-Id: I05243f58843d9195cace253dff5628fae89c78e8
Implements: blueprint bifrost-support
2016-08-31 13:12:20 +00:00
Christian Berendt
e821f58c9b Install neutron-lbaas-dashboard from source in horizon container
Change-Id: I9bc0288dd436eaaa48c8fd27e0907bbb8dadfe2c
Partial-bug: #1592446
Co-authored-by: Shaun Smekel <shaun.smekel@theorem.net.au>
2016-08-31 12:48:18 +00:00
Sean Mooney
a9e16c8bde introduce bifrost-deploy container
- This change adds support for building and deploying
  a bifrost container for baremetal provisioning.
- This change documents how to manually deploy and bootstrap
  the bifrost container.

Implements: blueprint bifrost-support
Change-Id: I7d895839b11cbf916be33225875465c3358b5aa4
2016-08-31 09:24:24 +00:00
Hui Kang
2973bc7dc5 Add missing container image names to build config file
Change-Id: Ib570bf71a2567653f4643adb3670ecf824d83e61
closes-Bug: #1614354
2016-08-28 23:50:44 -04:00
Jenkins
1fd2d434b1 Merge "Fix bandit gate jobs" 2016-08-28 15:51:00 +00:00
Paul Bourke
fc30d583f9 Fix bandit gate jobs
* Inspected each error and fixed / added nosec where appropriate.
* build-swift-ring.py which was throwing sec errors is no longer used so
  removed it.
* Removed the dev/ directory from being checked.

Closes-Bug: #1617713
Change-Id: I25664cabca4137e5c9f499c1af3f5ce78b86fb56
2016-08-28 08:52:44 +00:00
Jenkins
eb32318e3d Merge "Add dockerfiles for keystone fernet" 2016-08-26 20:09:35 +00:00
Jenkins
1ea09d0752 Merge "Add full support for fernet" 2016-08-26 19:50:58 +00:00
Shaun Smekel
524868c632 Add dockerfiles for keystone fernet
This adds the docker aspects of fernet key bootstrapping as well as
distributed key rotation.

- Bootstrapping is handled in the same way as keystone bootstrap.
- A new keystone-fernet and keystone-ssh container is created to allow
  the nodes to communicate with each other (taken from nova-ssh).
- The keystone-fernet is a keystone container with crontab installed.
  This will handle key rotations through keystone-manage and trigger
  an rsync to push new tokens to other nodes.

The Ansible component is implemented in:
  https://review.openstack.org/#/c/349366

Change-Id: Id610e00e8c63c7f1bc0974c0aa1b3f44c18e1019
Partially-Implements: blueprint keystone-fernet-token
Partially-Implements: blueprint third-party-plugin-support
2016-08-25 20:13:02 +10:00
Shaun Smekel
1c68ae389b Add full support for fernet
This addresses the ansible aspects of fernet key bootstrapping as
well as distributed key rotation.

- Bootstrapping is handled in the same way as keystone bootstrap.
- A new keystone-fernet and keystone-ssh container is created to allow
  the nodes to communicate with each other (taken from nova-ssh).
- The keystone-fernet is a keystone container with crontab installed.
  This will handle key rotations through keystone-manage and trigger
  an rsync to push new tokens to other nodes.
- Key rotation is setup to be balanced across the keystone nodes using
  a round-robbin style. This ensures that any node failures will not
  stop the keys from rotating. This is configured by a desired token
  expiration time which then determines the cron scheduling for each
  node as well as the number of fernet tokens in rotation.
- Ability for recovered node to resync with the cluster. When a node
  starts it will run sanity checks to ensure that its fernet tokens
  are not stale. If they are it will rsync with other nodes to ensure
  its tokens are up to date.

The Docker component is implemented in:
  https://review.openstack.org/#/c/349366

Change-Id: I15052c25a1d1149d364236f10ced2e2346119738
Implements: blueprint keystone-fernet-token
2016-08-25 20:08:22 +10:00
Hui Kang
c096825075 Add etcd container
Change-Id: Ib5a853c0048a45d9085c55804580c7ed2fd0fc07
Partially-implements: bp kuryr-docker-plugin
2016-08-24 13:04:47 -04:00
Jenkins
ed678a829a Merge "add baremetal role to install kolla deps." 2016-08-23 16:28:17 +00:00
Jenkins
20706e223d Merge "Remove log propagate configuration" 2016-08-23 12:02:31 +00:00
Jenkins
e1e28f7505 Merge "Remove Kazoo dependency and Kolla Zookeeper helper" 2016-08-23 10:57:30 +00:00