253 Commits

Author SHA1 Message Date
Jenkins
e7dbbded65 Merge "Show the rendered docker file" 2016-11-11 17:03:42 +00:00
caowei
769b631a5f Add freezer to PROFILE_OPTS of common/config.py
TrivialFix

Change-Id: I56ade075af387412eb10190fb460a561e794b339
2016-11-10 20:20:30 +08:00
Jenkins
d15eb07ba8 Merge "Skip queuing build tasks for UNMATCHED images" 2016-11-10 09:22:51 +00:00
Jenkins
7d0403077e Merge "add panko dockerfile" 2016-11-09 16:14:34 +00:00
zhubingbing
fabb22d505 add panko dockerfile
Change-Id: Ibf74db39348dfb6f56f4fca0aff142a75ef53d38
Partially-Implements: blueprint add-panko
2016-11-09 05:15:27 -05:00
Joshua Harlow
8df37b6ea1 Show the rendered docker file
It can be quite useful (especially while debugging)
to see exactly what the final rendered Dockerfile
actually is; so when it is being rendered, log it
at DEBUG level (so that users running with DEBUG)
can see it.

Change-Id: I28b6f49a7d2f01d155f7885b6ab275c03c4e14af
2016-11-08 16:34:17 -08:00
Joshua Harlow
27a16ccf76 Skip queuing build tasks for UNMATCHED images
Closes-Bug: #1639989

Change-Id: I7bad2b784d2ac02a5af0d790ea32d35f90a681ec
2016-11-07 17:08:01 -08:00
Jenkins
14b5636e0c Merge "Load all sections defined in code and conf file" 2016-11-07 13:50:54 +00:00
Jenkins
bdacdd9bbe Merge "Add freezer container" 2016-11-06 21:07:07 +00:00
Jenkins
31c2a255fc Merge "Fix plugin parsing for base images" 2016-11-06 06:16:46 +00:00
caowei
51663a7c31 Add freezer container
Change-Id: I9f95bac3f74827f0918f174fc0113736b92cbc0c
Partially-implements: bp freezer-container
2016-11-06 11:11:51 +08:00
Jeffrey Zhang
6e7d73be16 Load all sections defined in code and conf file
oslo.config has two method, _groups and list_all_sections. the former
return all sections defined in config file and the latter one return all
sections defined in code.

Change-Id: Ib05a6dffc2463fd30f183ae5bfb3fc20f475a0bc
Closes-Bug: #1639323
2016-11-05 20:28:30 +08:00
caowei
f270f0c589 Add solum container
Change-Id: If2a959a037c1c67f48a6f9e56e49c435050b0aab
Partially-implements: bp solum-support
2016-11-04 21:59:50 +08:00
Jenkins
d69ab19701 Merge "Remove Fedora support" 2016-11-04 13:39:07 +00:00
Paul Bourke
5ddba7892d Fix plugin parsing for base images
If we try to add a plugin to a base image, e.g.

[neutron-base-plugin-neutron-fwaas]
type = git
location = https://github.com/openstack/neutron-fwaas
reference = master

The build will fail as it parses the above as both
"neutron-base-plugin-neutron-fwaas" and "base-plugin-neutron-fwaas".

Update the regex to ensure the image name is anchored to the beginning of the
conf section.

Change-Id: I4099ebd0d25cd28a9bb3bdc4fcfbf311ce22a3fd
Closes-Bug: #1638900
2016-11-04 10:27:39 +00:00
Jeffrey Zhang
86a5c8cb79 Add chrony docker image
Partially-implements: blueprint add-chrony-service
Change-Id: If8045c62656ffc0090d0c02ca0fbe58ab8c5f29f
2016-11-04 07:19:11 +00:00
Christian Berendt
5cd30d4914 Remove Fedora support
Closes-bug: #1616387
Change-Id: Id97f88b9baa3d48d33ce120962450a374282d044
2016-11-03 10:50:22 +01:00
Jenkins
6548e43537 Merge "Revert "Build source from Newton rather then Master"" 2016-11-02 18:38:44 +00:00
Steven Dake
a3737384aa Revert "Build source from Newton rather then Master"
Revert Note: Move back to master for the master branch.

This reverts commit e1ca39db92ed438991782be091efbdd91747fe8c.

Change-Id: I00758fe44b525efdc21e55ffe0f1b4d040abd63b
2016-11-02 03:30:42 -07:00
Steven Dake
e714a745c6 Revert "Move RDO to Newton branches"
Revert note: Get RDO back on master instead of the newton branch

This reverts commit aeb86de6fc644a514d060b4ac869cab364266f03.

Change-Id: I765ba60c3bd09fe3978570b7921a084c9b90c7d0
2016-11-02 03:28:15 -07:00
Jenkins
c3ae6f5d82 Merge "Remove default=None when set value in config" 2016-10-19 16:55:11 +00:00
Jenkins
039eb8d79a Merge "Consistently set sys path when using local tools" 2016-10-19 16:02:12 +00:00
Jenkins
65b8b17e8d Merge "Support Searchlight Docker container" 2016-10-19 15:22:44 +00:00
liyingjun
1fe4513623 Support Searchlight Docker container
This patch adds Searchlight Dockerfile to build container from source.

Change-Id: Ia28f54ddd9793699153e254b6379f3b6334482b0
Partial-implements: bp support-searchlight-deployment
2016-10-19 00:49:46 +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
Jeffrey Zhang
c0fd4389c6 Move graphviz dependency to test stage
Graphviz is only helpful and used for developer. It is useless for
deployment. So move it to test-requirements.txt file and warning users
when he wants to save dependency feature.

TrivialFix

Change-Id: Id8de76baa6f1455ad032abe4738d9779cf0cc5a6
2016-10-13 02:14:31 +08:00
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
Duong Ha-Quang
61c02917f9 Remove default=None when set value in config
Due to oslo.config update [1], the default argument
is set to None by default.

[1] http://docs.openstack.org/developer/oslo.config/api/oslo.config.cfg.html

TrivialFix

Change-Id: I935a9a05f1ad13810ee748b89a5ca63c189cd79d
2016-09-27 16:14:04 +07: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