apex-tripleo-heat-templates.git
7 years agoAlign optional services with optional services-docker
Bogdan Dobrelya [Thu, 25 May 2017 16:24:11 +0000 (18:24 +0200)]
Align optional services with optional services-docker

Add missing optional services for docker, if present in
non-docker optional services, and vice versa.

Fix issues with non containerized Mongo resources are
missing when deploying optional containerized zaqar service.

Add non containerized Ironix-Pxe resources to the optional
Ironic services, as it is done for the containerized Ironic.

Change-Id: I56675e015fa4bbd6d9809dbf7c21453939321410
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
7 years agoMerge "Include mongodb in scenario002 job"
Jenkins [Thu, 25 May 2017 16:19:22 +0000 (16:19 +0000)]
Merge "Include mongodb in scenario002 job"

7 years agoMerge "Remove duplicate PreConfig definition"
Jenkins [Thu, 25 May 2017 15:06:35 +0000 (15:06 +0000)]
Merge "Remove duplicate PreConfig definition"

7 years agoAdd support for linuxbridge agent
Bartosz Stopa [Wed, 19 Apr 2017 07:38:11 +0000 (09:38 +0200)]
Add support for linuxbridge agent

Currently TripleO does not support LinuxBridge driver, setting
NeutronMechanismDrivers to linuxbridge will not force ml2 plugin
to use linuxbridge.

This commit adds new environment file which replaces default ovs
agent with linuxbridge on Compute and Controller nodes.

Change-Id: I433b60a551c1eeb9d956df4d0ffb6eeffe980071
Closes-Bug: #1652211
Depends-On: Iae87dc7811bc28fe86db0c422c363eaed5e5285b
Depends-On: Ie3ac03052f341c26735b423701e1decf7233d935

7 years agoInclude mongodb in scenario002 job
Pradeep Kilambi [Tue, 23 May 2017 18:19:44 +0000 (14:19 -0400)]
Include mongodb in scenario002 job

Since we disable mongodb by default, zaqar needs it in sceanio002 job.
Lets explicitly include it so it doesnt fail with:

Error while evaluating a Function Call, Could not find data item mongodb_node_ips
in any Hiera data file and no default supplied at
 /etc/puppet/modules/tripleo/manifests/profile/base/zaqar.pp

Change-Id: I8f66def467d0c0175ad76f2ba5256b6a431934a8

7 years agoMerge "Enable mistral to run under mod_wsgi"
Jenkins [Thu, 25 May 2017 10:38:49 +0000 (10:38 +0000)]
Merge "Enable mistral to run under mod_wsgi"

7 years agoContainerize RabbitMQ for HA
Dan Prince [Mon, 3 Apr 2017 18:12:36 +0000 (14:12 -0400)]
Containerize RabbitMQ for HA

This service allows configuring and deploying RabbitMQ containers
in a HA overcloud managed by pacemaker.

The containers are managed and run by pacemaker. Inside there is
pacemaker_remote which will invoke the resource agent managing galera.
The resources themselves are created via puppet-pacemaker inside a
short-lived container used for this purpose (mysql_init_bundle).
This container needs to use the 'docker_config' section to invoke
puppet (as opposed to 'docker_puppet_tasks'), because due to the HA
composability each resource creation needs to happen on the bootstrap
node of that service and 'docker_puppet_tasks' will only run on the
controller/primary role.

Co-Authored-By: Michele Baldessari <michele@acksyn.org>
Co-Authored-By: John Eckersberg <jeckersb@redhat.com>
Closes-Bug: #1692909

Depends-On: I0722e4a4d4716f477e8304cfa1aadd3eef7c2f31

Change-Id: I942737134385af775cade40c2d69516d4fe31a99

7 years agoContainerize MySQL for HA
Damien Ciabrini [Mon, 10 Apr 2017 14:43:09 +0000 (14:43 +0000)]
Containerize MySQL for HA

This service allows configuring and deploying MySQL/galera containers
in a HA overcloud managed by pacemaker.

The containers are managed and run by pacemaker. Inside there is
pacemaker_remote which will invoke the resource agent managing galera.
The resources themselves are created via puppet-pacemaker inside a
short-lived container used for this purpose (mysql_init_bundle).
This container needs to use the 'docker_config' section to invoke
puppet (as opposed to 'docker_puppet_tasks'), because due to the HA
composability each resource creation needs to happen on the bootstrap
node of that service and 'docker_puppet_tasks' will only run on the
controller/primary role.

Co-Authored-By: Michele Baldessari <michele@acksyn.org>
Closes-Bug: #1692842

Depends-On: I3b4d8ad2eec70080419882d5d822f78ebd3721ae

Change-Id: I790dbc30b3de1c1a3fe76d3d8f060e4d7f95e2e7

7 years agoContainerize HAProxy for HA
Damien Ciabrini [Tue, 25 Apr 2017 08:59:31 +0000 (10:59 +0200)]
Containerize HAProxy for HA

This service allows configuring and deploying HAProxy containers
in a HA overcloud managed by pacemaker.

The containers are managed and run by pacemaker. Pacemaker runs the
standard Kolla image but overrides the initial command so that
it explicitely calls HAProxy. This way, we shield ourselves from any
unexpected future change in Kolla.
This container needs to use the 'docker_config' section to invoke
puppet (as opposed to 'docker_puppet_tasks'), because due to the HA
composability each resource creation needs to happen on the bootstrap
node of that service and 'docker_puppet_tasks' will only run on the
controller/primary role.

Co-Authored-By: Michele Baldessari <michele@acksyn.org>
Closes-Bug: #1692908

Depends-On: Ifcf890a88ef003d3ab754cb677cbf34ba8db9312

Change-Id: I2f679bfe195733f4507e9b9e920b678e1370bb82

7 years agoRemove duplicate PreConfig definition
Jiri Stransky [Wed, 24 May 2017 13:00:22 +0000 (15:00 +0200)]
Remove duplicate PreConfig definition

We had two exactly the same definitions of PreConfig in
docker_steps.j2.yaml. We should remove one of them.

I chose to remove the first definition, as the 2nd definition is amended
by change I674a4d9d2c77d1f6fbdb0996f6c9321848e32662, so we'll avoid a
conflict.

Change-Id: If65e30daefcf6552e085c7648c6691b7068834d4

7 years agoFix race condition between docker-puppet and container steps
Jiri Stransky [Wed, 24 May 2017 10:21:47 +0000 (12:21 +0200)]
Fix race condition between docker-puppet and container steps

GenerateConfigDeployment wasn't anchored with dependencies anywhere. If
it took too long to complete and step 1 of containers creation already
started executing, problems happened. This is now fixed by adding the
required dependency relationship.

Change-Id: Ie7dfd2a965e704ba278d4c2fad67f14a3a62799e
Closes-Bug: #1692503

7 years agoMerge "Role Specific paramaeter support for neutron-ovs-dpdk-agent service"
Jenkins [Wed, 24 May 2017 09:33:17 +0000 (09:33 +0000)]
Merge "Role Specific paramaeter support for neutron-ovs-dpdk-agent service"

7 years agoContainerize clustercheck galera monitor for HA deployments
Damien Ciabrini [Tue, 18 Apr 2017 21:00:58 +0000 (21:00 +0000)]
Containerize clustercheck galera monitor for HA deployments

In HA overcloud deployments, HAProxy makes use of a helper service called
"clustercheck", to check whether galera nodes are available for serving
traffic.

This change implements a dedicated service for clustercheck, which was
originally part of the pacemaker mysql service.  The service is
configured by tripleo and the container's lifecycle is managed by docker,
like other containerized services.

Closes-Bug: #1692969
Change-Id: I8a5b30429f8ec3e484256a62a29ab7dee33ab291
Co-Authored-By: Michele Baldessari <michele@acksyn.org>
Depends-on: I1aabe34fa6a9c8c705a4405f275b66502c313cf2

7 years agoMerge "Remove osd_pool_default_min_size to allow Ceph cluster to do the right thing...
Jenkins [Tue, 23 May 2017 15:58:48 +0000 (15:58 +0000)]
Merge "Remove osd_pool_default_min_size to allow Ceph cluster to do the right thing by default"

7 years agoMerge "docker/TLS-everywhere: Add metadata_settings output to templates"
Jenkins [Tue, 23 May 2017 14:31:09 +0000 (14:31 +0000)]
Merge "docker/TLS-everywhere: Add metadata_settings output to templates"

7 years agoExample environment file to use Neutron BGPVPN driver with ODL
Ricardo Noriega [Tue, 23 May 2017 10:49:28 +0000 (12:49 +0200)]
Example environment file to use Neutron BGPVPN driver with ODL

  Service_provider is configured to point to networking-odl

Change-Id: Icdb1c1414b237a9409e8e7dc55bb3c01da41841c
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
7 years agoMerge "Example environment file to use L2GW Neutron Driver with ODL"
Jenkins [Tue, 23 May 2017 10:21:23 +0000 (10:21 +0000)]
Merge "Example environment file to use L2GW Neutron Driver with ODL"

7 years agoMerge "Disable mongodb by default"
Jenkins [Tue, 23 May 2017 10:01:47 +0000 (10:01 +0000)]
Merge "Disable mongodb by default"

7 years agoMerge "Updated from global requirements"
Jenkins [Tue, 23 May 2017 00:09:56 +0000 (00:09 +0000)]
Merge "Updated from global requirements"

7 years agoMerge "Use disabled suffix for disabled service names"
Jenkins [Tue, 23 May 2017 00:08:28 +0000 (00:08 +0000)]
Merge "Use disabled suffix for disabled service names"

7 years agoRemove osd_pool_default_min_size to allow Ceph cluster to do the right thing by default
Keith Schincke [Fri, 12 May 2017 12:12:56 +0000 (08:12 -0400)]
Remove osd_pool_default_min_size to allow Ceph cluster to do the right thing by default

The default value is 0 which has the minimum number be caluclated based on the replica count
from osd_pool_defaut_size. The default replica count is 3 and the calculated min_size is 2.
If the replica count is 1 then the min_size is 1. ie: min_size = replica - (replica/2)
Add CephPoolDefaultSize parameter to ceph-mon.yaml. This parameter defaults to 3 but can
be overriden. See puppet-ceph-devel.yaml for an example

Change-Id: Ie9bdd9b16bcb9f11107ece614b010e87d3ae98a9

7 years agodocker bootstrap service commands
Dan Prince [Wed, 17 May 2017 12:58:57 +0000 (08:58 -0400)]
docker bootstrap service commands

This patch guards db syncs and initialization code from executing
on multiple nodes at the same time by using the new
bootstrap_host_exec script. This helper script checks to make
sure the container is executing on the "bootstrap host" for the
specified service (arg 0) and then if it matches runs the
specified command.

Depends-On: If25f217bbb592edab4e1dde53ca99ed93c0e146c
Depends-On: Ic1585bae27c318bd6bafc287e905f2ed250cce0f

Change-Id: I0c864ca093ea476248b619d8c88477ef0b64e2eb
Closes-Bug: 1688380

7 years agoUpdated from global requirements
OpenStack Proposal Bot [Mon, 22 May 2017 15:58:04 +0000 (15:58 +0000)]
Updated from global requirements

Change-Id: I468f654fa75b22aef398e2cba9c3625eb8f0767c

7 years agodocker/TLS-everywhere: Add metadata_settings output to templates
Juan Antonio Osorio Robles [Mon, 22 May 2017 14:35:56 +0000 (17:35 +0300)]
docker/TLS-everywhere: Add metadata_settings output to templates

This is needed since it's what writes the service metadata to the nova
server in order to create the kerberos principals. It worked in a base
controller since the keystone template does have this. But if we would
deploy these services on a separate role, it would break. So this output
is needed.

bp tls-via-certmonger-containers

Change-Id: I3ee8c65d356dcd092a3fbf79041e5c69ef23b721

7 years agoExample environment file to use L2GW Neutron Driver with ODL
Ricardo Noriega [Mon, 22 May 2017 14:38:09 +0000 (16:38 +0200)]
Example environment file to use L2GW Neutron Driver with ODL

  Agent service is disabled and service_provider is configured
  to point to networking-odl

Change-Id: I570d15a092cff66666a74e95dee69f6531a58b22
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
7 years agoMerge "Re-Add ceilometer expirer to roles_data"
Jenkins [Mon, 22 May 2017 13:22:05 +0000 (13:22 +0000)]
Merge "Re-Add ceilometer expirer to roles_data"

7 years agoMerge "Add Neutron L2 Gateway service to scenario 004"
Jenkins [Mon, 22 May 2017 12:15:30 +0000 (12:15 +0000)]
Merge "Add Neutron L2 Gateway service to scenario 004"

7 years agoDisable mongodb by default
Juan Antonio Osorio Robles [Fri, 19 May 2017 11:35:39 +0000 (14:35 +0300)]
Disable mongodb by default

It's not used by any service that we enable by default. So instead, I
added it to the environment that enables the services that use it.

Change-Id: Id2e6550fb7c319fc52469644ea022cf35757e0ce

7 years agoUse disabled suffix for disabled service names
Juan Antonio Osorio Robles [Mon, 22 May 2017 08:32:05 +0000 (11:32 +0300)]
Use disabled suffix for disabled service names

This changes both the service names and the file names for disabled
services, adding the 'disabled' suffix to them.

This comes with the reasoning that, if a service requires a disabled
service, and checks for the name in the "service_names" hiera entry, it
will appear as if the service was enabled, when it's actually not. So
changing the name and using this convention prevents that issue.

Change-Id: I308d6680a4d9b526f22ba0d7d20e5db638aadb9a

7 years agoModify vhost user socket directory's default value in environment file
Saravanan KR [Wed, 3 May 2017 14:19:57 +0000 (10:19 -0400)]
Modify vhost user socket directory's default value in environment file

From ocata, the vhost socket directory requires a different set of
permissions from the default directory (/var/run/openvswitch). Modifying
the directory to a new agreed directory which will be created in puppet.
Closes-Bug: #1687993
Depends-On: I255f98c40869e7508ed01a03a96294284ecdc6a8

Change-Id: I77250ca84c9da2fb5a8381e6f60234f8a05cbf12

7 years agoMerge "TLS everywhere: configure mongodb's TLS settings"
Jenkins [Mon, 22 May 2017 07:56:00 +0000 (07:56 +0000)]
Merge "TLS everywhere: configure mongodb's TLS settings"

7 years agoRe-Add ceilometer expirer to roles_data
Juan Antonio Osorio Robles [Mon, 22 May 2017 07:13:53 +0000 (10:13 +0300)]
Re-Add ceilometer expirer to roles_data

Even though this service was disabled by default in Pike[1], we still
want the entry in roles_data since it will actually disable the service
on upgrade.

A comment was added so we remember to remove it in Queens.

[1] Icffb7d1bb2cf7bd61026be7d2dcfbd70cd3bcbda

Change-Id: I2012d7494207bf3239f589bf80b8048abf72428f

7 years agoAdd Neutron L2 Gateway service to scenario 004
Carlos Camacho [Fri, 12 May 2017 07:59:48 +0000 (09:59 +0200)]
Add Neutron L2 Gateway service to scenario 004

This submission installs the Neutron L2 Gateway service
in the scenario 004.

This is only to check that the service is installed correctly
no sanity check is running yet.

Change-Id: I421802e9aa1a9f192860a6d72b4bb7c729666c3a

7 years agoChange database sync timeout from 300 to 900 in low-memory-usage environment file.
Or Idgar [Tue, 9 May 2017 08:46:46 +0000 (08:46 +0000)]
Change database sync timeout from 300 to 900 in low-memory-usage environment file.

During a deployment on lower spec systems, the "db sync" can take longer than five minutes.
The solution is to increase the default value of DatabaseSyncTimeout from 300 to 900
by using the environment file "low-memory-usage.yaml".

Change-Id: I6463dbdd4dfe1d6f2dd283211cc496fe3a628fb0
Closes-bug: #1689318

7 years agoMerge "Open ports 443 and 80 on haproxy's firewall when horizon is standalone"
Jenkins [Sat, 20 May 2017 02:57:49 +0000 (02:57 +0000)]
Merge "Open ports 443 and 80 on haproxy's firewall when horizon is standalone"

7 years agoMerge "Comment parameters for registry in docker.yaml"
Jenkins [Sat, 20 May 2017 01:15:08 +0000 (01:15 +0000)]
Merge "Comment parameters for registry in docker.yaml"

7 years agoMerge "Support Redfish hardware in the overcloud Ironic"
Jenkins [Sat, 20 May 2017 00:20:29 +0000 (00:20 +0000)]
Merge "Support Redfish hardware in the overcloud Ironic"

7 years agoMerge "Add IronicInspector settings to the network map"
Jenkins [Sat, 20 May 2017 00:18:51 +0000 (00:18 +0000)]
Merge "Add IronicInspector settings to the network map"

7 years agoMerge "Dell SC: Add secondary DSM support"
Jenkins [Sat, 20 May 2017 00:18:44 +0000 (00:18 +0000)]
Merge "Dell SC: Add secondary DSM support"

7 years agoMerge "Consolidate writing json configs with HostPrepTasks"
Jenkins [Sat, 20 May 2017 00:08:35 +0000 (00:08 +0000)]
Merge "Consolidate writing json configs with HostPrepTasks"

7 years agoMerge "Add missing release note for cadf environment"
Jenkins [Sat, 20 May 2017 00:08:24 +0000 (00:08 +0000)]
Merge "Add missing release note for cadf environment"

7 years agoMerge "Update the template_version alias for all the templates to pike."
Jenkins [Sat, 20 May 2017 00:07:38 +0000 (00:07 +0000)]
Merge "Update the template_version alias for all the templates to pike."

7 years agoMerge "Make sure that manila share is created after share type"
Jenkins [Fri, 19 May 2017 19:40:14 +0000 (19:40 +0000)]
Merge "Make sure that manila share is created after share type"

7 years agoMerge "Add containerized neutron-metadata agent"
Jenkins [Fri, 19 May 2017 10:33:00 +0000 (10:33 +0000)]
Merge "Add containerized neutron-metadata agent"

7 years agoAdd RoleNetHostnameMap output
Steven Hardy [Wed, 17 May 2017 13:34:06 +0000 (14:34 +0100)]
Add RoleNetHostnameMap output

This exposes a list of hostnames similar to the RoleNetIpMap, this
will be consumed by the dynamic inventory ref
https://review.openstack.org/465558

Change-Id: I61efac5634e9b6fbb820e693c71a0adae5fa8b6a

7 years agoRole Specific paramaeter support for neutron-ovs-dpdk-agent service
Saravanan KR [Wed, 15 Mar 2017 17:59:41 +0000 (23:29 +0530)]
Role Specific paramaeter support for neutron-ovs-dpdk-agent service

Merge the role specific parmaeter with the default parameter with the
higher precendece given to role specific parameters. Use the merged
settings to the hiera config settings.
Change-Id: I500558dfbf4ac4ddcf850064e654c4fab03d141b

7 years agoUpdate the template_version alias for all the templates to pike.
Carlos Camacho [Fri, 17 Feb 2017 10:12:36 +0000 (11:12 +0100)]
Update the template_version alias for all the templates to pike.

Master is now the development branch for pike
changing the release alias name.

Change-Id: I938e4a983e361aefcaa0bd9a4226c296c5823127

7 years agoMake sure that manila share is created after share type
Jan Provaznik [Fri, 19 May 2017 07:28:00 +0000 (09:28 +0200)]
Make sure that manila share is created after share type

The pingtest template creates both default share type and
a share which should use this type. Explicit reference of
the share type should assure that the share is always created
when share type exists.

Change-Id: I756e6a8e477de8d0e46302dda26265ae482dd2e5
Closes-Bug: #1691853

7 years agoMerge "Add l2gw neutron agent support"
Jenkins [Fri, 19 May 2017 06:52:31 +0000 (06:52 +0000)]
Merge "Add l2gw neutron agent support"

7 years agoMerge "neutron: set enable_dvr = False if NeutronEnableDVR is false"
Jenkins [Thu, 18 May 2017 23:14:45 +0000 (23:14 +0000)]
Merge "neutron: set enable_dvr = False if NeutronEnableDVR is false"

7 years agoMerge "Enable splay for os-collect-config"
Jenkins [Thu, 18 May 2017 18:34:35 +0000 (18:34 +0000)]
Merge "Enable splay for os-collect-config"

7 years agoneutron: set enable_dvr = False if NeutronEnableDVR is false
Ihar Hrachyshka [Mon, 15 May 2017 20:20:25 +0000 (13:20 -0700)]
neutron: set enable_dvr = False if NeutronEnableDVR is false

This will make neutron-server stop advertising dvr extension if the
cloud is not configured to support this flavor of Neutron routers.

Change-Id: I38c8208edff07f7887887918729beb7710068078
Related-Bug: #1450067

7 years agoAdd containerized neutron-metadata agent
Brent Eagles [Tue, 16 May 2017 18:25:46 +0000 (15:55 -0230)]
Add containerized neutron-metadata agent

This patch adds support for running the neutron metadata agent in a
container.

Change-Id: I53c62516c95d62f5ced70818d4eb4c2c341df0d7
Partial-Bug: #1668922

7 years agoMerge "TLS-everywhere: Configure CA for apache"
Jenkins [Thu, 18 May 2017 13:19:27 +0000 (13:19 +0000)]
Merge "TLS-everywhere: Configure CA for apache"

7 years agoMerge "Default snmp to less verbose logging"
Jenkins [Thu, 18 May 2017 11:15:32 +0000 (11:15 +0000)]
Merge "Default snmp to less verbose logging"

7 years agoComment parameters for registry in docker.yaml
Steven Hardy [Thu, 18 May 2017 09:53:10 +0000 (10:53 +0100)]
Comment parameters for registry in docker.yaml

These duplicate the defaults in puppet/services/docker.yaml and
break things if you include an environment file (e.g that generated
by quickstart containers-default-parameters.yaml) before the
docker.yaml.

Instead it's probably more helpful to include the commented lines
showing how to enable use of a local docker registry.

Change-Id: I3896fa2ea7caa603186f0af04f6d8382d50dd97a
Closes-Bug: #1691524

7 years agoAdd l2gw neutron agent support
Peng Liu [Tue, 14 Mar 2017 06:39:35 +0000 (14:39 +0800)]
Add l2gw neutron agent support

L2 Gateway (L2GW) is an API framework for OpenStack that offers bridging
two or more networks together to make them look at a single broadcast
domain. This patch implements the l2gw agent which is one of the backend
of the l2 gateway service plugin.

Change-Id: I1ae8132ceff9410be7bd82caddf0d14251e720bf
Depends-On: If1501c153b1b170b9550cb7e5a23be463fba1fe9
Partially-Implements: blueprint l2gw-service-integration
Signed-off-by: Peng Liu <pliu@redhat.com>
7 years agoMerge "Use upper-constraints for tox"
Jenkins [Thu, 18 May 2017 00:05:13 +0000 (00:05 +0000)]
Merge "Use upper-constraints for tox"

7 years agoMerge "docker/internal TLS: spawn extra container for neutron server's TLS proxy"
Jenkins [Wed, 17 May 2017 17:39:30 +0000 (17:39 +0000)]
Merge "docker/internal TLS: spawn extra container for neutron server's TLS proxy"

7 years agoMerge "Don't delete failed docker-puppet containers"
Jenkins [Wed, 17 May 2017 17:13:22 +0000 (17:13 +0000)]
Merge "Don't delete failed docker-puppet containers"

7 years agoUse upper-constraints for tox
Alex Schultz [Wed, 17 May 2017 17:01:07 +0000 (11:01 -0600)]
Use upper-constraints for tox

Use the openstack upper-constraints when running tox.

Change-Id: I9eef36eec749beec0effdb2309fe2ceb9bc557f8
Related-Bug: #1691511

7 years agoStore role_data in an OS::Heat::Value resource
Steven Hardy [Wed, 17 May 2017 08:05:00 +0000 (09:05 +0100)]
Store role_data in an OS::Heat::Value resource

Looking up role_data is very slow, particularly when referencing the
RoleData output, as it re-resolves every output for all the (many) nested
stacks in the *ResourceChain resources.

There is work ongoing to optimize this in heat, but this approach improves
performance considerably (my local output-show for RoleData is 10x faster)
so we can consider including RoleData in the tripleo dynamic ansible inventory,
which may be needed for validations and minor updates in future.

Change-Id: I5e6665703e859dc1ec6b60dece70f858c9afaf66

7 years agoContainerize Horizon
Radomir Dopieralski [Mon, 27 Mar 2017 15:54:22 +0000 (17:54 +0200)]
Containerize Horizon

Adds a service definition for Horizon running inside a docker container.

Co-Authored-By: Martin André <m.andre@redhat.com>
Closes-Bug: #1668926
Depends-On: I677ad57672215f6afe918e13b28c9ce2e1de5a81
Change-Id: I29f18722f4da48dab18f9e5c51b01fba42316734

7 years agoMerge "Only set apache certificates if TLS everywhere is enabled"
Jenkins [Wed, 17 May 2017 15:37:49 +0000 (15:37 +0000)]
Merge "Only set apache certificates if TLS everywhere is enabled"

7 years agoConsolidate writing json configs with HostPrepTasks
Steven Hardy [Mon, 10 Apr 2017 15:16:29 +0000 (16:16 +0100)]
Consolidate writing json configs with HostPrepTasks

We already have an ansible deployment that applies the per-service
host_prep_tasks, so we can simplify the dependencies here by just
doing the docker-steps host preparation at the same time.

The motivation behind this is to both simplify the depends_on web we
have here, reduce the number of discrete deployments, and also to
potentially make running ansible directly e.g for debugging easier.

In a future patch we'll convert the configuration steps to work in
a similar way, such that they can be more easily reapplied e.g for
rolling minor updates, possibly outside of heat.

Change-Id: I9a201fc5a9e82c7fba4c2de36eb5332e21a81d37

7 years agoMerge "Containerize Ceilometer Agents"
Jenkins [Wed, 17 May 2017 13:32:55 +0000 (13:32 +0000)]
Merge "Containerize Ceilometer Agents"

7 years agoMerge "Use neutron-server image for neutron services"
Jenkins [Wed, 17 May 2017 11:09:25 +0000 (11:09 +0000)]
Merge "Use neutron-server image for neutron services"

7 years agoTLS-everywhere: Configure CA for apache
Juan Antonio Osorio Robles [Tue, 16 May 2017 13:38:35 +0000 (16:38 +0300)]
TLS-everywhere: Configure CA for apache

This tells apache which CA certificate was used to sign the certs it's
using. this setting is useful in case we want to enable OCSP stapling or
client authentication via TLS.

Change-Id: I97a7e5332aea8377c7662ca98beb71ed5e236640

7 years agoOnly set apache certificates if TLS everywhere is enabled
Juan Antonio Osorio Robles [Wed, 17 May 2017 09:24:22 +0000 (12:24 +0300)]
Only set apache certificates if TLS everywhere is enabled

The Apache certs were were being set even if TLS everywhere isn't
enabled. This fixes that.

Change-Id: If143d1fdeb0102a1c13441f89acaa73af24bf48f

7 years agoTLS everywhere: configure mongodb's TLS settings
Juan Antonio Osorio Robles [Tue, 2 May 2017 13:17:16 +0000 (16:17 +0300)]
TLS everywhere: configure mongodb's TLS settings

This configures the mongodb server to use TLS in the internal network,
while also passing the necessary attributes to generate the needed cert
and key.

bp tls-via-certmonger

Depends-On: I85dda29bcad686372a74bd7f094bfd62777a3032
Change-Id: If6c603b074cfa7e122579cec29d034fd3312868d

7 years agoDon't delete failed docker-puppet containers
Steve Baker [Tue, 16 May 2017 04:39:05 +0000 (04:39 +0000)]
Don't delete failed docker-puppet containers

This helps a bit with debugging issues, and the container will be
deleted on the next run when the same volume is configured.

Change-Id: I4f2f219bd7e40abafd0eb31c1275fdd8ed4db4da

7 years agoMerge "Add params to manage and configure pipeline publisher"
Jenkins [Wed, 17 May 2017 01:34:55 +0000 (01:34 +0000)]
Merge "Add params to manage and configure pipeline publisher"

7 years agoMerge "Fix absolute paths in scenario001-multinode.yaml"
Jenkins [Tue, 16 May 2017 22:07:59 +0000 (22:07 +0000)]
Merge "Fix absolute paths in scenario001-multinode.yaml"

7 years agoMerge "Optimize kernel neighbour table for large scale environments"
Jenkins [Tue, 16 May 2017 19:23:02 +0000 (19:23 +0000)]
Merge "Optimize kernel neighbour table for large scale environments"

7 years agoContainerize Ceilometer Agents
Pradeep Kilambi [Thu, 6 Apr 2017 18:05:41 +0000 (14:05 -0400)]
Containerize Ceilometer Agents

Depends-on: I30ba93f76171e5993b5f0e1d7f1f5533acb25740

Closes-bug: #1668925

Change-Id: I3cb61d2d8765f9c2601bb00c4bfa24162883b96a

7 years agodocker/internal TLS: spawn extra container for neutron server's TLS proxy
Juan Antonio Osorio Robles [Fri, 12 May 2017 08:44:47 +0000 (08:44 +0000)]
docker/internal TLS: spawn extra container for neutron server's TLS proxy

This spawns an extra container that runs httpd to run the TLS proxy that
will go in front of neutron server.

bp tls-via-certmonger-containers

Change-Id: I2529d78e889835f48c51e12d28ecd7c48739b02b

7 years agoUse neutron-server image for neutron services
Juan Antonio Osorio Robles [Fri, 12 May 2017 12:56:13 +0000 (12:56 +0000)]
Use neutron-server image for neutron services

For TLS everywhere, neutron-server needs httpd in the image, since
it'll use a separate container that runs a TLS proxy to terminate
the connection. This requires the image where the configuration is
ran to have httpd installed, since there are several directories
and the user/group that's needed.

So, we then switch the image to be used to be neutron-server instead
of the openvswitch-agent image.

Change-Id: Ie16de3004925b7624f106d6c015ec04ef6031a06
Depends-On: I82f10ac0e7e692e6ba4a06dc10da9eaf79c60e7e

7 years agoOptimize kernel neighbour table for large scale environments
Or Idgar [Thu, 11 May 2017 08:32:17 +0000 (08:32 +0000)]
Optimize kernel neighbour table for large scale environments

Changing the default values of neighbor table (also known as ARP table)
in the kernel to avoid neighbour table overflow and thus fix
communication errors between overcloud nodes.
default kernel values support L2 network up to 1024 hosts (/22).
The patch will allow up to 4096 hosts (/20).

Change-Id: I5fabc766dd75a38cd3d835deee7e168f04dd30ce
Closes-Bug: #1690087

7 years agoFix resource type in ObjectStorage role
Christian Schwede [Tue, 16 May 2017 06:54:55 +0000 (08:54 +0200)]
Fix resource type in ObjectStorage role

The currently used resource type does not exist, therefore changing it.

Closes-Bug: 1691021
Change-Id: Iaf18af546817e0cf6cdfafcc5c54ab4d1a0f819d

7 years agoAdd missing type for RoleParameters parameter
Martin André [Mon, 15 May 2017 17:06:09 +0000 (19:06 +0200)]
Add missing type for RoleParameters parameter

This was forgotten in I72376a803ec6b2ed93903cc0c95a6ffce718b6dc and
broke containerized deployment.

Change-Id: I599a87bf06efbfefd3067c77ed6ca866505900f9
Closes-Bug: #1690870

7 years agoMerge "Disable ComputeNeutron* for cisco-nexus-ucsm"
Jenkins [Mon, 15 May 2017 14:51:41 +0000 (14:51 +0000)]
Merge "Disable ComputeNeutron* for cisco-nexus-ucsm"

7 years agoFix absolute paths in scenario001-multinode.yaml
Steven Hardy [Mon, 15 May 2017 14:29:39 +0000 (10:29 -0400)]
Fix absolute paths in scenario001-multinode.yaml

All paths should be relative as we should not rely on the package
location - this can easily be overridden via --templates, and this
is exactly what we do for the upgrades job, where this will break
because we'll include the wrong (newer) version of these services
when deploying the older pre-upgrade overcloud.

Change-Id: Id8aea09305c0857253c44477945e34377cca64ca

7 years agoMerge "Update the services README documentation"
Jenkins [Mon, 15 May 2017 13:44:39 +0000 (13:44 +0000)]
Merge "Update the services README documentation"

7 years agoDefault snmp to less verbose logging
Michele Baldessari [Mon, 15 May 2017 09:03:53 +0000 (11:03 +0200)]
Default snmp to less verbose logging

Currently we just use what puppet-snmp provides in terms of defaults.
This means that currently every single snmp query gets logged with
the following:
May 15 10:51:30 centos.localdomain snmpd[5159]: Connection from UDP: [127.0.0.1]:57799->[127.0.0.1]:161
May 15 10:51:30 centos.localdomain snmpd[5159]: Connection from UDP: [127.0.0.1]:57799->[127.0.0.1]:161
May 15 10:51:32 centos.localdomain snmpd[5159]: Connection from UDP: [127.0.0.1]:50566->[127.0.0.1]:161

The reason is that we use '-LS0-6d' as the default content for
/etc/sysconfig/snmpd:
https://github.com/razorsedge/puppet-snmp/blob/master/manifests/params.pp#L322

This default means that we are logging from 0 (LOG_EMERG) to 6
(LOG_INFO). The above messages bring nothing in a default installation
and only spam the log files, so let's lower the upper log level to 5
(LOG_NOTICE) by default, so we properly do not see every single query in
the logs. We add an option so the operator can still configure the
desired log level via a Heat parameter.

Change-Id: I8d3dfdb4d549cd27131346fc477755ad72313449

7 years agoMerge "Change neutron-metadata number of workers determination method"
Jenkins [Mon, 15 May 2017 12:59:05 +0000 (12:59 +0000)]
Merge "Change neutron-metadata number of workers determination method"

7 years agoUpdate the services README documentation
Saravanan KR [Mon, 15 May 2017 12:22:18 +0000 (17:52 +0530)]
Update the services README documentation

Service template's parameter documentation has been update by
correcting few of the wrong informations and added more
information with examples.

Change-Id: I2d92fd01cbeb6fdc6f030255dc4b71166509b4f6

7 years agoMerge "Add role specific information to the service template"
Jenkins [Mon, 15 May 2017 11:28:51 +0000 (11:28 +0000)]
Merge "Add role specific information to the service template"

7 years agoMerge "multinode-container-upgrade.yaml usable for mixed upgrade"
Jenkins [Mon, 15 May 2017 10:28:52 +0000 (10:28 +0000)]
Merge "multinode-container-upgrade.yaml usable for mixed upgrade"

7 years agoAdd role specific information to the service template
Saravanan KR [Fri, 24 Feb 2017 11:27:58 +0000 (06:27 -0500)]
Add role specific information to the service template

When a service is enabled on multiple roles, the parameters for the
service will be global. This change enables an option to provide
role specific parameter to services and other templates.

Two new parameters - RoleName and RoleParameters, are added to the
service template. RoleName provides the role name of on which the
current instance of the service is being applied on. RoleParameters
provides the list of parameters which are configured specific to the
role in the environment file, like below:

  parameters_default:
      # Default value for applied to all roles
      NovaReservedHostMemory: 2048
      ComputeDpdkParameters:
          # Applied only to ComputeDpdk role
          NovaReservedHostMemory: 4096

In above sample, the cluster contains 2 roles - Compute, ComputeDpdk.
The values of ComputeDpdkParameters will be passed on to the templates
as RoleParameters while creating the stack for ComputeDpdk role. The
parameter which supports role specific configuration, should find the
parameter first in in the RoleParameters list, if not found, then the
default (for all roles) should be used.
Implements: blueprint tripleo-derive-parameters

Change-Id: I72376a803ec6b2ed93903cc0c95a6ffce718b6dc

7 years agoMerge "docker/internal TLS: spawn extra container for glance API's TLS proxy"
Jenkins [Fri, 12 May 2017 18:55:34 +0000 (18:55 +0000)]
Merge "docker/internal TLS: spawn extra container for glance API's TLS proxy"

7 years agoMerge "Deprecate Ceilometer Expirer"
Jenkins [Fri, 12 May 2017 18:53:31 +0000 (18:53 +0000)]
Merge "Deprecate Ceilometer Expirer"

7 years agoMerge "docker/internal TLS: spawn extra container for swift's TLS proxy"
Jenkins [Fri, 12 May 2017 14:07:35 +0000 (14:07 +0000)]
Merge "docker/internal TLS: spawn extra container for swift's TLS proxy"

7 years agodocker/internal TLS: spawn extra container for glance API's TLS proxy
Juan Antonio Osorio Robles [Fri, 12 May 2017 06:17:04 +0000 (09:17 +0300)]
docker/internal TLS: spawn extra container for glance API's TLS proxy

This spawns an extra container that runs httpd to run the TLS proxy that
will go in front of glance-api.

bp tls-via-certmonger-containers

Change-Id: If902ac732479832b9aa3e4a8d063b5be68a42a9b

7 years agodocker/internal TLS: spawn extra container for swift's TLS proxy
Juan Antonio Osorio Robles [Wed, 26 Apr 2017 13:23:25 +0000 (16:23 +0300)]
docker/internal TLS: spawn extra container for swift's TLS proxy

This spawns an extra container that runs httpd to run the TLS proxy that
will go in front of swift.

bp tls-via-certmonger-containers

Depends-On: Ib01137cd0d98e6f5a3e49579c080ab18d8905b0d
Change-Id: I9639af8b46b8e865cc1fa7249bf1d8b1b978adfe

7 years agoMerge "Disabling replacing fernet keys from puppet"
Jenkins [Thu, 11 May 2017 18:41:08 +0000 (18:41 +0000)]
Merge "Disabling replacing fernet keys from puppet"

7 years agoMerge "Make docker-puppet.sh a static file."
Jenkins [Thu, 11 May 2017 18:41:01 +0000 (18:41 +0000)]
Merge "Make docker-puppet.sh a static file."

7 years agoAdd params to manage and configure pipeline publisher
Pradeep Kilambi [Wed, 10 May 2017 15:42:24 +0000 (11:42 -0400)]
Add params to manage and configure pipeline publisher

Change-Id: Ifaa3bb0400ee22601fd8f3e1f2f16192b5f8766b

7 years agoDeprecate Ceilometer Expirer
Pradeep Kilambi [Wed, 10 May 2017 17:09:12 +0000 (13:09 -0400)]
Deprecate Ceilometer Expirer

We dont need expirer unless we have collector and standard
storage enabled. Lets turn it off by default and make it
an optional service. In upgrade scenario, we will kill the
process and stop the expirer, unless explicitly enabled.

Change-Id: Icffb7d1bb2cf7bd61026be7d2dcfbd70cd3bcbda

7 years agoMerge "Fix paths for optional docker services"
Jenkins [Thu, 11 May 2017 15:39:42 +0000 (15:39 +0000)]
Merge "Fix paths for optional docker services"

7 years agoMerge "Make upgrade steps unconditional to fix broken dependencies"
Jenkins [Thu, 11 May 2017 10:50:02 +0000 (10:50 +0000)]
Merge "Make upgrade steps unconditional to fix broken dependencies"