apex-tripleo-heat-templates.git
7 years agoMerge "MySQL: Use conditional instead of nested stack for TLS-specific bits"
Jenkins [Tue, 28 Mar 2017 12:54:11 +0000 (12:54 +0000)]
Merge "MySQL: Use conditional instead of nested stack for TLS-specific bits"

7 years agoMerge "Apache: Use conditional instead of nested stack for TLS-specific bits"
Jenkins [Tue, 28 Mar 2017 11:08:34 +0000 (11:08 +0000)]
Merge "Apache: Use conditional instead of nested stack for TLS-specific bits"

7 years agoMerge "Rabbitmq: Use conditional instead of nested stack for TLS-specific bits"
Jenkins [Tue, 28 Mar 2017 11:01:52 +0000 (11:01 +0000)]
Merge "Rabbitmq: Use conditional instead of nested stack for TLS-specific bits"

7 years agoMerge "Remove kolla_config copy from keystone service."
Jenkins [Tue, 28 Mar 2017 09:28:13 +0000 (09:28 +0000)]
Merge "Remove kolla_config copy from keystone service."

7 years agoMerge "Nic config mappings for deployed-server"
Jenkins [Tue, 28 Mar 2017 09:26:31 +0000 (09:26 +0000)]
Merge "Nic config mappings for deployed-server"

7 years agoMerge "Restrict Access to Kernel Message Buffer"
Jenkins [Tue, 28 Mar 2017 05:58:06 +0000 (05:58 +0000)]
Merge "Restrict Access to Kernel Message Buffer"

7 years agoMerge "Sort ResourceGroup resource list"
Jenkins [Mon, 27 Mar 2017 19:59:32 +0000 (19:59 +0000)]
Merge "Sort ResourceGroup resource list"

7 years agoRemove kolla_config copy from keystone service.
Ian Main [Mon, 20 Mar 2017 20:27:06 +0000 (16:27 -0400)]
Remove kolla_config copy from keystone service.

Simplify the config of the keystone service by mounting in the
configurations instead of specifying them all in kolla config.

This is change is useful to limit the side effects of generating the
config files and running the container is two separate steps as config
directories are now bind-mounted inside the container instead of having
files being copied to the container. We've seen examples of Apache's
mod_ssl configuration file present on the container preventing it to
start when puppet configured apache not to load the ssl module (in case
TLS is disabled).

Co-Authored-By: Martin André <m.andre@redhat.com>
Change-Id: Ie33ffc7c2b1acf3e4e505d38efb104bf013f2ce6

7 years agoMerge "Run nova-api hosts discovery after nova-compute start"
Jenkins [Mon, 27 Mar 2017 13:19:13 +0000 (13:19 +0000)]
Merge "Run nova-api hosts discovery after nova-compute start"

7 years agoMerge "docker/keystone: Bind mount entire fernet keys repository"
Jenkins [Mon, 27 Mar 2017 13:06:02 +0000 (13:06 +0000)]
Merge "docker/keystone: Bind mount entire fernet keys repository"

7 years agoMerge "Pick dynamically the first node for stack validation"
Jenkins [Mon, 27 Mar 2017 12:38:23 +0000 (12:38 +0000)]
Merge "Pick dynamically the first node for stack validation"

7 years agoMySQL: Use conditional instead of nested stack for TLS-specific bits
Juan Antonio Osorio Robles [Mon, 27 Mar 2017 11:00:46 +0000 (14:00 +0300)]
MySQL: Use conditional instead of nested stack for TLS-specific bits

Usually a nested stack is used that contains the TLS-everywhere bits
(config_settings and metadata_settings). Nested stacks are very
resource intensive. So, instead of doing using nested stacks, this patch
changes that to use a conditional, and output the necessary
config_settings  and metadata_settings this way in an attempt to save
resources.

Change-Id: Ib7151d67982957369f7c139a3b01274a1a746c4a

7 years agoApache: Use conditional instead of nested stack for TLS-specific bits
Juan Antonio Osorio Robles [Mon, 27 Mar 2017 10:23:53 +0000 (13:23 +0300)]
Apache: Use conditional instead of nested stack for TLS-specific bits

Usually a nested stack is used that contains the TLS-everywhere bits
(config_settings and metadata_settings). Nested stacks are very
resource intensive. So, instead of doing using nested stacks, this patch
changes that to use a conditional, and output the necessary
config_settings  and metadata_settings this way in an attempt to save
resources.

Change-Id: Ia7ee632383542ac012c20448ff1b4435004e57e3

7 years agoRabbitmq: Use conditional instead of nested stack for TLS-specific bits
Juan Antonio Osorio Robles [Mon, 27 Mar 2017 09:11:27 +0000 (12:11 +0300)]
Rabbitmq: Use conditional instead of nested stack for TLS-specific bits

Usually a nested stack is used that contains the TLS-everywhere bits
(config_settings and metadata_settings). Nested stacks are very
resource intensive. So, instead of doing using nested stacks, this patch
changes that to use a conditional, and output the necessary
config_settings  and metadata_settings this way in an attempt to save
resources.

Change-Id: Ic25f84a81aefef91b3ab8db2bc864853ee82c8aa

7 years agodocker/keystone: Bind mount entire fernet keys repository
Juan Antonio Osorio Robles [Thu, 16 Mar 2017 11:26:25 +0000 (13:26 +0200)]
docker/keystone: Bind mount entire fernet keys repository

Previously only the first two intial fernet keys were mounted into the
container. This is not practical, however, as doing key rotation will
generate more entries in this repository. So instead we mount the whole
directory, which would allow us to do rotation in the base host and
seamlessly affect the container as well.

Change-Id: I7763a09e57fe6a7867ffd079ab0b9222374c38c8

7 years agoMerge "Remove unused KeystoneRegion parameter from gnocchi-base"
Jenkins [Sun, 26 Mar 2017 12:54:12 +0000 (12:54 +0000)]
Merge "Remove unused KeystoneRegion parameter from gnocchi-base"

7 years agoMerge "Setting keystone region for congress"
Jenkins [Sun, 26 Mar 2017 08:11:47 +0000 (08:11 +0000)]
Merge "Setting keystone region for congress"

7 years agoMerge "docker/keystone: Actually set fernet as the default token provider"
Jenkins [Sun, 26 Mar 2017 04:04:16 +0000 (04:04 +0000)]
Merge "docker/keystone: Actually set fernet as the default token provider"

7 years agoMerge "docker-puppet: skip empty volume entries"
Jenkins [Sun, 26 Mar 2017 04:01:38 +0000 (04:01 +0000)]
Merge "docker-puppet: skip empty volume entries"

7 years agoMerge "Enables increasing mariadb open files for noha deployments"
Jenkins [Sun, 26 Mar 2017 04:01:31 +0000 (04:01 +0000)]
Merge "Enables increasing mariadb open files for noha deployments"

7 years agoMerge "Remove unnecesary code to enable panko-api"
Jenkins [Sun, 26 Mar 2017 01:04:31 +0000 (01:04 +0000)]
Merge "Remove unnecesary code to enable panko-api"

7 years agoMerge "Fixes missing firewall rules for neutron_ovs_dpdk_agent service"
Jenkins [Sat, 25 Mar 2017 20:54:36 +0000 (20:54 +0000)]
Merge "Fixes missing firewall rules for neutron_ovs_dpdk_agent service"

7 years agoMerge "Install openstack-selinux for deployed-server"
Jenkins [Sat, 25 Mar 2017 20:01:17 +0000 (20:01 +0000)]
Merge "Install openstack-selinux for deployed-server"

7 years agoMerge "Fix usage of CinderNfsServers"
Jenkins [Sat, 25 Mar 2017 17:22:01 +0000 (17:22 +0000)]
Merge "Fix usage of CinderNfsServers"

7 years agoMerge "Add missing metadata_settings from neutron-api profile"
Jenkins [Sat, 25 Mar 2017 11:20:35 +0000 (11:20 +0000)]
Merge "Add missing metadata_settings from neutron-api profile"

7 years agoMerge "Rework container volumes as hostpath mounts"
Jenkins [Sat, 25 Mar 2017 06:07:20 +0000 (06:07 +0000)]
Merge "Rework container volumes as hostpath mounts"

7 years agoMerge "Fixes OpenDaylightProviderMappings hiera parsing"
Jenkins [Sat, 25 Mar 2017 01:17:47 +0000 (01:17 +0000)]
Merge "Fixes OpenDaylightProviderMappings hiera parsing"

7 years agoMerge "Clarify Kolla build overrides for tripleo"
Jenkins [Fri, 24 Mar 2017 23:04:25 +0000 (23:04 +0000)]
Merge "Clarify Kolla build overrides for tripleo"

7 years agoRework container volumes as hostpath mounts
Bogdan Dobrelya [Wed, 22 Mar 2017 11:10:24 +0000 (12:10 +0100)]
Rework container volumes as hostpath mounts

Also add upgrade_tasks to disable corresponding host
services in order to not data race with containers

Change-Id: I19c16aaa3e5a73436ca7aa7d06facf64feee2327
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
7 years agoFixes OpenDaylightProviderMappings hiera parsing
Tim Rozet [Thu, 23 Mar 2017 14:24:38 +0000 (10:24 -0400)]
Fixes OpenDaylightProviderMappings hiera parsing

The str_replace conversion used previously is no longer needed and
breaks the hieradata value.

Closes-Bug: 1675426

Change-Id: I7a052d1757efe36daf6ed47e55598ca3c2ee9055
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoMerge "Keep existing data for containerized Libvirt"
Jenkins [Thu, 23 Mar 2017 13:51:51 +0000 (13:51 +0000)]
Merge "Keep existing data for containerized Libvirt"

7 years agoAdd missing metadata_settings from neutron-api profile
Juan Antonio Osorio Robles [Thu, 23 Mar 2017 13:07:08 +0000 (15:07 +0200)]
Add missing metadata_settings from neutron-api profile

This is needed for the TLS everywhere work. This will break on
TLS-everywhere setups where neutron would be deployed in its own role.
So we need to add the metadata_settings.

bp tls-via-certmonger

Change-Id: I7934a258e032d8eaa6f07c0e48b3fbdb1f8c6a06

7 years agoFix usage of CinderNfsServers
Christian Schwede [Tue, 21 Mar 2017 17:28:34 +0000 (18:28 +0100)]
Fix usage of CinderNfsServers

This feature stopped working somewhere along the lines. In the past it
was working with parameter_defaults like this:

 CinderNfsServers: '10.0.0.254:/srv/nfs/cinder'

or

 CinderNfsServers: "[fd00:fd00:fd00:3000::1]:/srv/nfs/cinder"

The problem was that the templating escaped these strings, and
puppet-tripleo didn't receive a proper array, but a string.

This patch fixes this. It accepts strings as above as well as
comma-delimited lists of Nfs Servers.

Closes-Bug: 1671153
Change-Id: I89439c1d969e92cb8e0503de561e22409deafdfc

7 years agoInstall openstack-selinux for deployed-server
James Slagle [Wed, 22 Mar 2017 21:04:50 +0000 (17:04 -0400)]
Install openstack-selinux for deployed-server

No other packages actually require openstack-selinux, so it must be
explicity installed.

Change-Id: Ic7b39ddfc4cfb28b8a08e9b02043211e4ca4a39a
Closes-Bug: #1675170

7 years agoNic config mappings for deployed-server
James Slagle [Mon, 6 Mar 2017 21:29:43 +0000 (16:29 -0500)]
Nic config mappings for deployed-server

Adds default nic config mappings when using the deployed-server custom
roles data at deployed-server/deployed-server-roles-data.yaml.
Previously there were no default mappings as the hardcoded mapping for
the Controller role from overcloud-resource-registry-puppet.j2.yaml
would not be used since there is no Controller role when using
deployed-server.

The default mapping is net-config-static.yaml instead of
net-config-noop.yaml, since there is no requirement of a L2 domain for
dhcp between undercloud and overcloud nodes when using deployed-server.

The convenience mapping of ControllerDeployedServer to
net-config-static-bridge.yaml is also added so that out of the box the
roles with controller services will get the right bridge created.

The mappings can always be overridden in later environment files if
needed.

Change-Id: I581fec99b459a12512686e47b10b962756652eb3
Closes-Bug: #1670493
Depends-On: Ib681729cc2728ca4b0486c14166b6b702edfcaab

7 years agoFixes missing firewall rules for neutron_ovs_dpdk_agent service
Tim Rozet [Wed, 22 Mar 2017 14:52:03 +0000 (10:52 -0400)]
Fixes missing firewall rules for neutron_ovs_dpdk_agent service

Firewall config was being inherited by the dpdk service, however
since the firewall service name was the parent (neutron_ovs_agent)
and technically that service was not enabled - the rules were never
applied.  This modifies the service name as it is inherited using
map_replace.

Closes-Bug: 1674689

Change-Id: I6676205b8fc1fd578cb2435ad97fe577a9e81d95
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoRun nova-api hosts discovery after nova-compute start
Martin André [Wed, 22 Mar 2017 13:31:36 +0000 (14:31 +0100)]
Run nova-api hosts discovery after nova-compute start

The previous code had a race condition where nova-api host discovery
and nova-compute where run at the same step. This commit ensures host
discovery happens after nova-compute has started.

Change-Id: Id2fc795a64783d958d98d4ac523a19079e8a4fab
Closes-Bug: #1675011

7 years agoRemove unused KeystoneRegion parameter from gnocchi-base
Juan Antonio Osorio Robles [Wed, 22 Mar 2017 12:06:41 +0000 (14:06 +0200)]
Remove unused KeystoneRegion parameter from gnocchi-base

This is used in gnocchi-api.yaml and is not needed on the base template.

Change-Id: I5ebd27dff3dca7053647a57eb4cdef56d38526c6

7 years agodocker/keystone: Actually set fernet as the default token provider
Juan Antonio Osorio Robles [Tue, 21 Mar 2017 09:29:19 +0000 (11:29 +0200)]
docker/keystone: Actually set fernet as the default token provider

A previous commit [1] added support for fernet in the keystone docker
service; however, this was not set as the default token provider. This
patch makes it the default.

[1] Id92039b3bad9ecda169323e01de7bebae70f2ba0

Change-Id: Ib44ab61eba0be8ba54bc7d0bdb22437d769cb960

7 years agodocker-puppet: skip empty volume entries
Juan Antonio Osorio Robles [Thu, 16 Mar 2017 11:20:41 +0000 (13:20 +0200)]
docker-puppet: skip empty volume entries

This allows to optionally add volumes, where we could use a heat
conditional to either put the volume path we want or put an empty string
which should be safely skipped.

Change-Id: I68f91ffdd8ceb14735adad1322fcf124c47b160c

7 years agoMerge "Enables OpenDaylight clustering in HA deployments"
Jenkins [Wed, 22 Mar 2017 03:55:50 +0000 (03:55 +0000)]
Merge "Enables OpenDaylight clustering in HA deployments"

7 years agoMerge "Change kolla_config from required to optional in pep8."
Jenkins [Wed, 22 Mar 2017 03:27:55 +0000 (03:27 +0000)]
Merge "Change kolla_config from required to optional in pep8."

7 years agoRestrict Access to Kernel Message Buffer
zshi [Mon, 20 Mar 2017 08:12:32 +0000 (16:12 +0800)]
Restrict Access to Kernel Message Buffer

Unprivileged access to the kernel syslog can expose sensitive
kernel address information.

Change-Id: If40f1b883dfde6c7870bf9c463753d037867c9e2
Signed-off-by: zshi <zshi@redhat.com>
7 years agoMerge "Keep existing data for containerized ironic-conductor"
Jenkins [Tue, 21 Mar 2017 10:40:05 +0000 (10:40 +0000)]
Merge "Keep existing data for containerized ironic-conductor"

7 years agoMerge "Cleanup docker services templates"
Jenkins [Tue, 21 Mar 2017 09:46:11 +0000 (09:46 +0000)]
Merge "Cleanup docker services templates"

7 years agoChange kolla_config from required to optional in pep8.
Ian Main [Mon, 20 Mar 2017 21:04:52 +0000 (17:04 -0400)]
Change kolla_config from required to optional in pep8.

We've decided to use volumes for configuration wherever possible.
This means moving away from kolla_config blocks in the templates.
Update pep8 to reflect this.

Change-Id: If1ec40d0e5a515eed35e0cd04711079294f358c3

7 years agoMerge "Containerize panko api service"
Jenkins [Mon, 20 Mar 2017 18:08:34 +0000 (18:08 +0000)]
Merge "Containerize panko api service"

7 years agoMerge "Don't try to run os-net-config from yum_update.sh"
Jenkins [Mon, 20 Mar 2017 17:16:05 +0000 (17:16 +0000)]
Merge "Don't try to run os-net-config from yum_update.sh"

7 years agoMerge "Bind redis-sentinel to its network"
Jenkins [Mon, 20 Mar 2017 17:15:57 +0000 (17:15 +0000)]
Merge "Bind redis-sentinel to its network"

7 years agoSetting keystone region for congress
Dan Radez [Mon, 20 Mar 2017 15:39:13 +0000 (11:39 -0400)]
Setting keystone region for congress

Change-Id: I4958b886cbd6c2b34da0c265e8774105474ace13

7 years agoEnables OpenDaylight clustering in HA deployments
Tim Rozet [Thu, 26 Jan 2017 17:18:24 +0000 (12:18 -0500)]
Enables OpenDaylight clustering in HA deployments

Port 2550 is required for inter-ODL communication when clustering.
odl-jolokia feature is required to expose REST APIs from ODL for
monitoring the cluster.

Implements: blueprint opendaylight-ha

Depends-On: Ic9a955a1c2afc040b2f9c6fb86573c04a60f9f31

Change-Id: Ie108ab75cce0cb7d89e72637c600e30fc241d186
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoMerge "Fixes multiple issues with retry function in rhel-registration."
Jenkins [Mon, 20 Mar 2017 13:34:24 +0000 (13:34 +0000)]
Merge "Fixes multiple issues with retry function in rhel-registration."

7 years agoKeep existing data for containerized ironic-conductor
Jiri Stransky [Wed, 8 Mar 2017 15:20:54 +0000 (16:20 +0100)]
Keep existing data for containerized ironic-conductor

Use mounts instead of docker volumes, and preserve existing data when
moving from baremetal to containerized ironic-conductor.

We cannot keep the data in the same directory to avoid hard-linking
errors in ironic, because of this issue:

https://github.com/docker/docker/issues/7457

This means we need to copy the data over to a new location before we
start the containers.

Change-Id: If98460120212f887b06adf117c5d88b97682638e

7 years agoMerge "Make sure PrePuppet runs before any Deployment_Step"
Jenkins [Sat, 18 Mar 2017 16:57:56 +0000 (16:57 +0000)]
Merge "Make sure PrePuppet runs before any Deployment_Step"

7 years agoMerge "Add certmonger-user profile"
Jenkins [Sat, 18 Mar 2017 12:21:02 +0000 (12:21 +0000)]
Merge "Add certmonger-user profile"

7 years agoMerge "docker/keystone: add metadata_settings to output"
Jenkins [Fri, 17 Mar 2017 19:12:33 +0000 (19:12 +0000)]
Merge "docker/keystone: add metadata_settings to output"

7 years agoMerge "Keep existing data for containerized Swift"
Jenkins [Fri, 17 Mar 2017 19:12:26 +0000 (19:12 +0000)]
Merge "Keep existing data for containerized Swift"

7 years agoMerge "Keep existing data for containerized RabbitMQ"
Jenkins [Fri, 17 Mar 2017 19:12:18 +0000 (19:12 +0000)]
Merge "Keep existing data for containerized RabbitMQ"

7 years agoMake sure PrePuppet runs before any Deployment_Step
Michele Baldessari [Fri, 17 Mar 2017 14:36:50 +0000 (15:36 +0100)]
Make sure PrePuppet runs before any Deployment_Step

We used to have this in mitaka:
https://github.com/openstack/tripleo-heat-templates/blob/stable/mitaka/puppet/controller-post.yaml#L45

but we lost it along the way. The problem without this change is that we
are open to the following race:
1) ControllerDeployment_Step1 is started and manages to do a successful
   "systemctl start pacemaker"
2) PrePuppet gets called and in the HA deployment calls
   pacemaker_maintenance_mode.sh
3) pacemaker_maintenance_mode.sh will set the maintenance-mode=true
   property because the pacemaker service is already up:
   https://github.com/openstack/tripleo-heat-templates/blob/master/extraconfig/tasks/pacemaker_maintenance_mode.sh#L8-L9
4) If the maintenance property is set to true at this stage, the
   creation of any resource will take place but they won't really
   start.

Change-Id: Icb7495edd00385b2975dd42f63085d20292ef9a9
Closes-Bug: #1673795
Co-Authored-By: Jiri Stransky <jstransk@redhat.com>
7 years agoContainerize panko api service
Flavio Percoco [Tue, 28 Feb 2017 20:17:45 +0000 (21:17 +0100)]
Containerize panko api service

Co-Authored-By: Pradeep Kilambi <pkilambi@redhat.com>
Closes-bug: #1668918

Change-Id: Ie1ebd25965bd2dbad2a22161da0022bad0b9e554

7 years agoMerge "docker: Add metadata_settings to optional parameters for yaml validate"
Jenkins [Fri, 17 Mar 2017 14:26:43 +0000 (14:26 +0000)]
Merge "docker: Add metadata_settings to optional parameters for yaml validate"

7 years agoMerge "Keep existing data for containerized MongoDB"
Jenkins [Fri, 17 Mar 2017 11:56:23 +0000 (11:56 +0000)]
Merge "Keep existing data for containerized MongoDB"

7 years agoMerge "Explicitly configure credentials used by ironic to access other services"
Jenkins [Fri, 17 Mar 2017 11:55:25 +0000 (11:55 +0000)]
Merge "Explicitly configure credentials used by ironic to access other services"

7 years agoBind redis-sentinel to its network
Michele Baldessari [Fri, 17 Mar 2017 11:01:15 +0000 (12:01 +0100)]
Bind redis-sentinel to its network

We currently do not bind redis-sentinel to any IP:
redis      21144  0.0  0.0 142908  5908 ?        Ssl  07:43   0:11 /usr/bin/redis-sentinel *:26379 [sentinel]

Let's bind it to the same network as redis.

Change-Id: I8a782ae1db84eb614aa3995a1638a2f370e70d06
Partial-Bug: #1673715

7 years agoPick dynamically the first node for stack validation
Luca Lorenzetto [Fri, 17 Mar 2017 08:29:41 +0000 (09:29 +0100)]
Pick dynamically the first node for stack validation

When replacing the controller node with resource id 0,
AllNodesValidation will fail because there is an hardcoded reference
to resource.0. With this commit the id for validation is extracted
dynamically with yaql query, picking the first available.
Thanks to Steven Hardy for pointing to the right direction.

Change-Id: I8f2bfacbc005d948bd31ebd51c3d3df3182d5a3c
Closes-Bug: #1673439

7 years agoMerge "Added release note for NeutronExternalNetworkBridge deprecation"
Jenkins [Thu, 16 Mar 2017 21:10:17 +0000 (21:10 +0000)]
Merge "Added release note for NeutronExternalNetworkBridge deprecation"

7 years agoExplicitly configure credentials used by ironic to access other services
Dmitry Tantsur [Wed, 15 Mar 2017 17:04:44 +0000 (18:04 +0100)]
Explicitly configure credentials used by ironic to access other services

Using keystone_authtoken credentials for this purpose is deprecated, and also
prevents ironic-conductor from being used as a separate role.

Also remove neutron_url, it can be fetched from the catalog instead.

Change-Id: I12822568cb4db31808aec5fd407d71fe4b7b09e0
Depends-On: I21180678bec911f1be36e3b174bae81af042938c
Partial-Bug: #1661250

7 years agoMerge "Keep existing data when moving to containerized MariaDB"
Jenkins [Thu, 16 Mar 2017 17:44:26 +0000 (17:44 +0000)]
Merge "Keep existing data when moving to containerized MariaDB"

7 years agodocker/keystone: add metadata_settings to output
Juan Antonio Osorio Robles [Thu, 16 Mar 2017 12:14:09 +0000 (14:14 +0200)]
docker/keystone: add metadata_settings to output

This is used for the TLS-everywhere bits. It will be taken into account
by a metadata hook that outputs relevant entries for the nova-metadata
service; and subsequently kerberos principals will be created from
these.

Subsequent patches will add support for TLS in the internal network for
the containerized keystone.

Change-Id: Ic747ad9c8d6e76c8c16e347c1cdcabc899dd9f9a

7 years agodocker: Add metadata_settings to optional parameters for yaml validate
Juan Antonio Osorio Robles [Thu, 16 Mar 2017 15:16:22 +0000 (17:16 +0200)]
docker: Add metadata_settings to optional parameters for yaml validate

This section will be needed for TLS-everywhere. So it should be added as
optional in the yaml-validate.

Change-Id: Ic6ea563b6c8e454cb51f640bb5aaa3adda82a5dd

7 years agoMerge "etcd: secure EtcdInitialClusterToken parameter"
Jenkins [Thu, 16 Mar 2017 13:24:21 +0000 (13:24 +0000)]
Merge "etcd: secure EtcdInitialClusterToken parameter"

7 years agoKeep existing data for containerized Libvirt
Jiri Stransky [Wed, 8 Mar 2017 15:20:04 +0000 (16:20 +0100)]
Keep existing data for containerized Libvirt

Use mounts instead of docker volumes to preserve existing data when
moving from baremetal to containerized Libvirt.

Change-Id: I2215d451a4ef4023741f0750ac1b45a94652026a

7 years agoKeep existing data for containerized Swift
Jiri Stransky [Wed, 8 Mar 2017 12:46:07 +0000 (13:46 +0100)]
Keep existing data for containerized Swift

Use mounts instead of docker volumes to preserve existing data when
moving from baremetal to containerized Swift.

Change-Id: Ib7cbca2ef674a0245a67b69ee2c77f574d74c181

7 years agoMerge "Add upgrade tasks for aodh containers"
Jenkins [Thu, 16 Mar 2017 11:32:12 +0000 (11:32 +0000)]
Merge "Add upgrade tasks for aodh containers"

7 years agoetcd: secure EtcdInitialClusterToken parameter
Emilien Macchi [Wed, 15 Mar 2017 21:56:30 +0000 (17:56 -0400)]
etcd: secure EtcdInitialClusterToken parameter

Secure EtcdInitialClusterToken parameter by:

* removing the default value.
* make it hidden.

Change-Id: I938af697f9faaadb9c9aeb950e9410db24b1b961
Depends-On: I6e30cce469736e84a3c483fafa29d542b8347ba9
Closes-Bug: #1673266

7 years agoMerge "Cleanup no longer used upgrade files"
Jenkins [Wed, 15 Mar 2017 19:13:41 +0000 (19:13 +0000)]
Merge "Cleanup no longer used upgrade files"

7 years agoAdd upgrade tasks for aodh containers
Pradeep Kilambi [Tue, 14 Mar 2017 17:27:23 +0000 (13:27 -0400)]
Add upgrade tasks for aodh containers

Change-Id: I936b31fd24c43e35092b3bfef4454a8da81d19c8

7 years agoCleanup no longer used upgrade files
marios [Wed, 15 Mar 2017 08:28:17 +0000 (10:28 +0200)]
Cleanup no longer used upgrade files

Removes some of the no longer used scripts and templates used by
the upgrades workflow in previous versions.

Change-Id: I7831d20eae6ab9668a919b451301fe669e2b1346

7 years agoSwitch keystone default provider to fernet
Juan Antonio Osorio Robles [Fri, 10 Feb 2017 18:49:24 +0000 (20:49 +0200)]
Switch keystone default provider to fernet

UUID is to be deprecated, and we should be using fernet.

Change-Id: I61b999e65ba5eb771776344d38eb90fc52d49d56

7 years agokeystone/containers: Add support for fernet keys
Juan Antonio Osorio Robles [Tue, 14 Mar 2017 09:54:52 +0000 (11:54 +0200)]
keystone/containers: Add support for fernet keys

Since the 'file' resource is included in the tags that puppet takes into
account, we already generate the fernet keys if it's enabled as a token
provider.

This merely adds the keys to the container. However, if fernet is not
the provider, we make this file addition optional.

Change-Id: Id92039b3bad9ecda169323e01de7bebae70f2ba0

7 years agoMerge "Update properties being set for octavia rabbit properties"
Jenkins [Tue, 14 Mar 2017 15:18:03 +0000 (15:18 +0000)]
Merge "Update properties being set for octavia rabbit properties"

7 years agoKeep existing data for containerized RabbitMQ
Jiri Stransky [Tue, 7 Mar 2017 15:19:19 +0000 (16:19 +0100)]
Keep existing data for containerized RabbitMQ

Use mounts instead of docker volumes to preserve existing data when
moving from baremetal to containerized RabbitMQ.

Change-Id: I8de6610d13d2d878ffba12eb742880eed694eb3e

7 years agoKeep existing data for containerized MongoDB
Jiri Stransky [Tue, 7 Mar 2017 13:22:33 +0000 (14:22 +0100)]
Keep existing data for containerized MongoDB

We used named Docker volume for MongoDB storage, which meant that when
moving from bare metal to containerized, we lost data and reinitialized
the storage from scratch.

With this commit we keep the data by mounting the original data into the
container. We also need make sure that file ownership is correct
according to the uid/gid used within MongoDB container image.

Change-Id: I86ef2cb37a068b767462d6d50fe451389b7cbb58

7 years agoKeep existing data when moving to containerized MariaDB
Jiri Stransky [Fri, 3 Mar 2017 14:00:37 +0000 (15:00 +0100)]
Keep existing data when moving to containerized MariaDB

We used named Docker volume for MariaDB storage, which meant that when
moving from BM to containerized wit MariaDB, we lost data and
reinitialized the storage from scratch.

With this commit we keep the data by mounting the original data into the
container.

We also need to make sure that file ownership is correct according to
the MariaDB container image used, and that Kolla bootstrap mechanisms
aren't retriggered, as they aren't idempotent.

Change-Id: I1fc955021c6dd83f1a366495dd8c7281fb9e7cc5

7 years agoFixes multiple issues with retry function in rhel-registration.
Vincent S. Cojot [Mon, 13 Mar 2017 18:39:16 +0000 (14:39 -0400)]
Fixes multiple issues with retry function in rhel-registration.

There were multiple issues in retry() in rhel-registration:
 - There was no need for it to be recursive (local variables
   got overwritten)
 - There was no delay between multiple attempts, leading to faster but
   more frequent failures.
 - The max number of attempts was set too low for some environements.

With this patch, rhel-registration now works more reliably with slow-links
for portal registration and does not attempt to DDos the portal or your
satellite server.

Change-Id: I594d3c94867b45a7a58766dbcc66edead78d6a4e

7 years agoMerge "Update README for Glance coverage"
Jenkins [Tue, 14 Mar 2017 11:04:09 +0000 (11:04 +0000)]
Merge "Update README for Glance coverage"

7 years agoMerge "Tasks hook for preparing BM host for deploying containerized services"
Jenkins [Tue, 14 Mar 2017 11:02:52 +0000 (11:02 +0000)]
Merge "Tasks hook for preparing BM host for deploying containerized services"

7 years agoMerge "Add bindep support"
Jenkins [Tue, 14 Mar 2017 01:52:28 +0000 (01:52 +0000)]
Merge "Add bindep support"

7 years agoMerge "congress/tacker: switch auth_uri to use uri_no_suffix"
Jenkins [Tue, 14 Mar 2017 01:52:21 +0000 (01:52 +0000)]
Merge "congress/tacker: switch auth_uri to use uri_no_suffix"

7 years agoUpdate README for Glance coverage
Emilien Macchi [Tue, 14 Mar 2017 00:16:16 +0000 (20:16 -0400)]
Update README for Glance coverage

Change-Id: I0c57f7b8a97b854e3c44ff7776ea05e3888e78e8

7 years agoMerge "cinder: switch auth_uri to uri_no_suffix"
Jenkins [Mon, 13 Mar 2017 23:33:32 +0000 (23:33 +0000)]
Merge "cinder: switch auth_uri to uri_no_suffix"

7 years agoMerge "Containerize gnocchi services"
Jenkins [Mon, 13 Mar 2017 23:03:45 +0000 (23:03 +0000)]
Merge "Containerize gnocchi services"

7 years agoMerge "Pass the DOCKER_* env vars when running docker"
Jenkins [Mon, 13 Mar 2017 20:13:41 +0000 (20:13 +0000)]
Merge "Pass the DOCKER_* env vars when running docker"

7 years agoMerge "neutron: switch auth_uri to uri_no_suffix"
Jenkins [Mon, 13 Mar 2017 18:49:50 +0000 (18:49 +0000)]
Merge "neutron: switch auth_uri to uri_no_suffix"

7 years agoMerge "gnocchi: deploy services with Keystone v3 endpoints"
Jenkins [Mon, 13 Mar 2017 18:49:42 +0000 (18:49 +0000)]
Merge "gnocchi: deploy services with Keystone v3 endpoints"

7 years agoMerge "manila: switch auth_uri to use uri_no_suffix"
Jenkins [Mon, 13 Mar 2017 18:49:34 +0000 (18:49 +0000)]
Merge "manila: switch auth_uri to use uri_no_suffix"

7 years agoMerge "heat: switch auth_uri to use uri_no_suffix"
Jenkins [Mon, 13 Mar 2017 18:44:34 +0000 (18:44 +0000)]
Merge "heat: switch auth_uri to use uri_no_suffix"

7 years agoMerge "ironic: switch auth_uri to uri_no_suffix"
Jenkins [Mon, 13 Mar 2017 18:44:27 +0000 (18:44 +0000)]
Merge "ironic: switch auth_uri to uri_no_suffix"

7 years agoMerge "telemetry: switch auth_uri to uri_no_suffix"
Jenkins [Mon, 13 Mar 2017 18:44:12 +0000 (18:44 +0000)]
Merge "telemetry: switch auth_uri to uri_no_suffix"

7 years agoMerge "nova: switch auth_uri to keystone versionless endpoint"
Jenkins [Mon, 13 Mar 2017 18:44:05 +0000 (18:44 +0000)]
Merge "nova: switch auth_uri to keystone versionless endpoint"