195 Commits

Author SHA1 Message Date
Eduardo Gonzalez
7b1e550c3f Implement blazar Docker images
Blazar is a resource reservation service for OpenStack,
allows to reserve compute host for tenants.
Really usefull for HPC, NFV and Scientific environments.

Implements: blueprint blazar-images
Change-Id: If42087a791a7f84105c867509e4bbc7b423cb41e
2017-07-07 08:02:33 +00:00
Juan Antonio Osorio Robles
1ae703e4a4 Add images for novajoin services
novajoin is a nova vendordata service that enables the enrollment of
nova instances into freeIPA.

Change-Id: Ia1c0f896ef45b8bb00d0354e7343c7eb4e060fd1
2017-07-03 09:38:53 -04:00
Jenkins
98e4a4bf56 Merge "Introduce merge and preserve_properties for config_files" 2017-06-28 20:50:46 +00:00
Jenkins
b500866531 Merge "Allow setting copied files group more precisely" 2017-06-28 18:34:04 +00:00
Jenkins
e6a6024e98 Merge "Allow nova plugins install, add blazar plugin" 2017-06-27 09:39:19 +00:00
Martin André
e313c89621 Introduce merge and preserve_properties for config_files
The `merge` option will basically copy all the files recursively inside
the container without removing the existing files or directory, while
the `preserve_properties` option keeps the file attributes
(permissions, ownership, timestamps) in the container.

This is useful if you have extracted some config files from a container
and want to use them in another container based on the same image.

This makes TripleO usage of Kolla much more robust.

Change-Id: I78dcec741a941dc21adba33ba33a6dc6ff1d217c
2017-06-27 08:44:41 +02:00
Martin André
748a056b09 Allow setting copied files group more precisely
Previously with the config_files structure of config.json, the group
name was automatically set to the one of the user name. It is now
possible to set the group name in the same fashion than the
'permissions' structure with:

  owner: 'desired_owner:desired_group'

Closes-Bug: #1696095
Change-Id: Ibae9f74e2351c81a717294467aedc51ea773c41e
2017-06-21 18:17:44 +02:00
Martin André
0cba3b2ccd Permit changing yum configuration in the base image
This commit allows to configure yum settings via a yum.conf file that
is shipped in the base image and make it overridable with the
base_yum_conf jinja2 block.

Change-Id: I76a84ec008fec5696cadefdbdeb4204a32421c4b
Closes-Bug: #1698134
2017-06-15 15:44:41 +02:00
Jenkins
8be89bc7e4 Merge "Use https links for documentation" 2017-06-15 02:39:00 +00:00
Jenkins
7fd650035b Merge "Support OVN docker images" 2017-06-14 17:57:27 +00:00
chenlx
50f75729eb Use https links for documentation
Use https instead of http to ensure the safety.

Change-Id: Iaf09b5b878e117d2333c30b8a769304a4a20f7ee
2017-06-12 23:06:35 +08:00
Jenkins
87c2a058eb Merge "Adds opendaylight specific neutron-server container" 2017-06-07 13:44:29 +00:00
Jenkins
1253c694f0 Merge "Add skydive service" 2017-06-06 10:08:00 +00:00
Tim Rozet
08edd6de05 Adds opendaylight specific neutron-server container
We do not want to break base neutron-server container by adding
extensions that may cause DB upgrade failures, etc.  Therefore it is
better to create a specific ODL neutron-server container which can use
neutron-server as its base and then contain these additional SDN related
packages.

Change-Id: I610b07a3c2bcf1c3288f76112a08b81c50e06913
Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-06-02 14:06:45 -04:00
Mathieu Rohon
6338f8fbb0 Add skydive service
This patch introduces the docker template to build
the skydive container, that can be used to monitor
and troubleshoot networking in an openstack
deployment.
The skydive-analyzer and the skydive-agent will both
rely on the same container.

Implements: blueprint skydive-service

Co-Authored-By: Nicolas Bouron <nicolas.bouron@gmail.com>
Signed-off-by: Mathieu Rohon <mathieu.rohon@gmail.com>

Change-Id: Iab783179c2c3aba496a91debfd38a12215ae9f10
2017-06-02 15:55:07 +02:00
Numan Siddique
367a03284a Support OVN docker images
This patch adds kolla images for
 - ovn-northd
 - ovn-controller
 - ovsdb-server for Northbound DB
 - ovsdb-server for Southbound DB

Change-Id: I97f82395cb14108bdff57543e4847a5ece17fe69
Implements: blueprint ovn-controller-neutron
Signed-off-by: Numan Siddique <nusiddiq@redhat.com>
2017-06-02 17:47:10 +05:30
Jenkins
43048c5be9 Merge "Remove dead code related to the Vagrant dev environment" 2017-06-02 12:08:36 +00:00
Jenkins
082e2f4f8c Merge "Add ceilometer agent ipmi docker file" 2017-06-02 10:59:30 +00:00
Juan J. Martinez
4af4b1ec6f Remove dead code related to the Vagrant dev environment
The Vagrant dev environment is now in kolla-ansible so this code
is not needed any more in kolla repo.

Change-Id: I066f75057f03009810d2bb00ed09e832d328b52c
Depends-On: I6b56822d50472f8eda6fc60f69196d3c9b8b6cf8
Related-Bug: 1693847
2017-06-02 11:19:46 +01:00
Martin Mágr
f413c6b411 Sensu images
This patch adds possibility to have container with sensu-client service.

Implements: blueprint container-healthchecks
Change-Id: I1c659ce38299d5497a80fa96dd2dd39bd40176c3
2017-05-30 13:31:38 +02:00
Sven Anderson
cede69b96d Add ec2-api image
Initial image for EC2-API, a standalone service for OpenStack that
supports AWS EC2 and VPC API.

Change-Id: Ia8d611cc3988499baf15e731fd053f38ad9b5079
2017-05-29 17:13:05 +02:00
Jenkins
e731db2c15 Merge "Add qdrouterd container" 2017-05-23 00:01:40 +00:00
Jenkins
5e07d045a5 Merge "Add Neutron SR-IOV agent image" 2017-05-20 00:02:33 +00:00
Eduardo Gonzalez
1b924fc4b2 Allow nova plugins install, add blazar plugin
Allow install plugins in nova base container for source builds.
Implement blazar-nova plugin in nova.

Change-Id: I4e3591a3b3d18d5830d32fa25cac5e657b00508c
Partially-Implements: blueprint blazar-images
2017-05-19 09:23:49 +00:00
Jenkins
d3302929e0 Merge "Add mistral-event-engine image" 2017-05-18 16:56:12 +00:00
Jenkins
31afb8dd48 Merge "Move shebang customization into jinja2 block" 2017-05-18 15:55:41 +00:00
Brad P. Crochet
d0aaeccbea Add mistral-event-engine image
Mistral now has an event engine for triggering cron-like events.

Change-Id: I039e812113c7ad565e11af6045cb3bd1a7af706b
2017-05-18 10:58:42 -04:00
Andrew Smith
f034a8b209 Add qdrouterd container
The qdrouterd is a high performance, lightweight AMQP 1.0 message
router that support oslo.messaging RPC communications.

Change-Id: I42783fb50c9f6750071d797b3f07a6283454c7a7
Implements: blueprint dispatch-router-messaging-component
2017-05-18 09:39:31 -04:00
Brent Eagles
a1511d7282 Add Neutron SR-IOV agent image
Adds an image for the neutron SR-IOV agent.

Change-Id: I31cad133deaac5a155b3a9a5f3ea03d6e6b65186
2017-05-18 10:34:17 -02:30
caowei
3801d4b140 Add dragonflow container
Change-Id: I8ab47f96a86c524e14a2c65dd58f1f8fa54d0895
Partially-implements: blueprint dragonflow
2017-05-15 11:09:10 +08:00
Martin André
f9e634ca6b Move shebang customization into jinja2 block
By setting up the shebang inside a jinja2 block, this allows the
operator to use a different init system of simply disable it. This is
especially useful with docker 1.13 that comes with its own stripped
down init system (a build of tini) that would cause the containers to
run double init systems if used with the '--init' command line
argument.

Change-Id: I220d8cfc81c25471e635b2f5790759f21e788e64
Closes-Bug: #1680770
2017-05-11 17:54:17 +02:00
Marcin Juszkiewicz
2e43891838 Support non-x86 architectures (aarch64, ppc64le)
Based on ppc64le changes by Sajauddin Mohammad [1]

1. https://review.openstack.org/#/c/423239/6

Tested with centos, debian, ubuntu on aarch64 and ppc64le.

Partially-Implements: blueprint multiarch-and-arm64-containers

Change-Id: If0ccc58d436b2468cd477c222ebc2fe0073206e9
2017-05-11 11:11:43 +02:00
Pradeep Kilambi
cd04dc84d0 Add ceilometer agent ipmi docker file
Change-Id: Id46e36b2bb57e03ce477254e7a853836a278a8c0
2017-05-09 08:16:18 -04:00
Jenkins
3a1d525f3d Merge "Add tacker binary for rpm based distros" 2017-05-09 11:12:07 +00:00
Chen
8c463a47a9 Use LABEL instead of MAINTAINER (deprecated) in all Dockerfile.j2
Use LABEL instruction instead of MAINTAINER (deprecated) instruc-
tion as suggested by Docker's official dockerfile guide.
docs.docker.com/engine/reference/builder/#maintainer-deprecated

Closes-Bug: #1683652

Change-Id: Ie87a1ddf31aefcd0b623fd2837d78de420e76898
2017-04-20 16:50:05 +09:00
Marcus G K Williams
278bcdb154 Add OpenDaylight Container to kolla
Implements docker container template for OpenDaylight.

Change-Id: Icdcff77f0f6088f5a4db1bf77e37334dbd42074f
Partially-Implements: blueprint opendaylight-support
2017-04-18 12:57:55 -07:00
Eduardo Gonzalez
8d76b269c2 Add tacker binary for rpm based distros
Tacker rpm is present in RDO repositories.
Now images can be built for binary installations.

Change-Id: I50203644ae0cc61fe87f2c7af11ff6ea3ef6df8d
2017-04-06 13:08:22 +01:00
Jenkins
a728239f41 Merge "add base_arch variable for future non-x86 work" 2017-04-01 21:14:18 +00:00
Jenkins
f37bf1bf27 Merge "Allow the use of previously built parent images" 2017-03-30 13:42:23 +00:00
Marcin Juszkiewicz
658bd38ca5 add base_arch variable for future non-x86 work
This variable will allow to select which target architecture has to be
used.

Partially-Implements: blueprint multiarch-and-arm64-containers

Change-Id: I71ddb7ef57c64d2505cac96724b1ab6772a57d6a
2017-03-30 13:11:24 +02:00
Paul Bourke
e5410950c4 Allow the use of previously built parent images
Consider the case where you have a set of tagged / released images to
production, and you want to apply a small hotfix, security patch, etc.
to one of them, say keystone-ssh.

Rebuilding keystone-ssh will cause a rebuild of base, openstack-base,
and keystone-base, potentially pulling in updated packages / new
dependencies, unless you have access to the exact machine they were
previously built on. Ideally you want to use the exact parent images
that are in production.

This patch adds a new build argument '--skip-parents', which will result
in only the image(s) specified by the regex and their children to be
built. Parents are expected to exist either on machine or in a registry.

Change-Id: I79d5f0b422f48d2dc36ae85dfa21668cf8177837
Implements: blueprint image-build-depth
2017-03-29 17:48:58 +00:00
Juan Antonio Osorio Robles
9df58642c6 RHEL: Add mod_ssl for services running over httpd
This apache module is necessary for when one wants to use TLS for the
services running over httpd.

This only addressed RHEL based systems at the moment, since there is no
such package available for Ubuntu. This requires apache2.2-common which
will carry a lot more dependencies; So I think this should be handled
and decided in a separate patch.

when installing mod_ssl in RHEL-based distributions, an ssl.conf file is
installed in the /etc/httpd/conf.d directory. This file tells httpd to
listen on port 443; however, we don't want to do this by default, since
this should be explicitly enabled by the container's configuration. This
line is thus removed from the configuration.

A release note was added, which specifies this. And the last sentence
can be removed if this is addressed for debian/ubuntu as well.

Related-Bug: #1675490
Co-Authored-By: Martin André <m.andre@redhat.com>
Change-Id: Id6215d31547247309d43c031e163fa9e4c4ec5dc
2017-03-27 14:52:45 +03:00
Duong Ha-Quang
6682d07add Implement Keystone zero-downtime upgrade
- Introduce database upgrade into keystone
  extend_start.sh script. [1]

[1] http://docs.openstack.org/developer/keystone/upgrading.html#upgrading-without-downtime

Change-Id: Ic615026df2ce8fa79a3efe969d0dda9797c9e79f
Closes-Bug: #1634016
2017-03-23 03:33:44 +00:00
Thomas O'Neill
f0c87fc343 Add neutron-bgp-dragent service.
Added neutron-bgp-dragent Dockerfile.
Updated kolla/common/config.py with necessary sources.

Implements: blueprint neutron-bgp-dragent

Change-Id: If7f5c80eb10a1c418785d9c659ae18bfecfcfe33
2017-03-15 11:26:45 +00:00
Martin André
dff9c6cfcc Add heat-api-cloudwatch image
The heat-api-cloudwatch service is used in TripleO.

Partially-Implements: blueprint containerize-tripleo
Change-Id: I98d251ea34cf7ee451b45f0b8c6873488a229c36
2017-03-09 09:11:58 +01:00
Javier Pena
8b38c4d5c9 Add work-dir command-line option
The working directory was previously generated as a temporary one,
but there may be cases when we want to specify a directory, for
example if we want to generate the Dockerfiles and then do some
parsing on them.

Change-Id: Ic332328913924bcb3d0dfa4d473e796050fc14b3
2017-03-01 13:01:55 +01:00
Eduardo Gonzalez
4b9fac7036 Add heat-all contaner release note
Heat-all release notes are missing.

Change-Id: I6516c5273f809f08421f320d0e7fa8cea6086f2d
Implements: blueprint heat-all
2017-02-17 10:13:35 +00:00
zhubingbing
0ecd348eb2 Add miss kolla releasenotes
* zun
* tacker

Change-Id: Idfc3171cbeef5a3927be9c70d0a8a7a690e31115
2017-02-09 10:15:20 +00:00
Flavio Percoco
3118558cf1 Add redis container
The patch adds a redis container for kolla. It's highly influenced by
memcached's container.

Implemenets: blueprint redis-container
Change-Id: Ib2ac6d6b9f01b8514728790dd474236fd60a62fd
2017-02-08 17:30:14 +01:00
Jenkins
cda1406c19 Merge "Add vitrage images" 2017-01-23 14:11:58 +00:00