apex-tripleo-heat-templates.git
7 years agoMake container names consistent
Martin André [Wed, 7 Jun 2017 13:35:55 +0000 (15:35 +0200)]
Make container names consistent

This commit change the container names to consistently use the `_` char
as a word separator and make the kolla external config file match the
container name to make operators' life easier.

Change-Id: Ibac9d76dde474b94c3cb86031ead0fd0327e126f

7 years agoMerge "Modify libvirtd container command line when TLS is enabled"
Jenkins [Fri, 9 Jun 2017 04:56:20 +0000 (04:56 +0000)]
Merge "Modify libvirtd container command line when TLS is enabled"

7 years agoMerge "Run the nova-compute container as the nova user"
Jenkins [Fri, 9 Jun 2017 04:35:38 +0000 (04:35 +0000)]
Merge "Run the nova-compute container as the nova user"

7 years agoMerge "Containerize Horizon"
Jenkins [Thu, 8 Jun 2017 20:30:50 +0000 (20:30 +0000)]
Merge "Containerize Horizon"

7 years agoRun the nova-compute container as the nova user
Oliver Walsh [Fri, 26 May 2017 16:27:11 +0000 (17:27 +0100)]
Run the nova-compute container as the nova user

Change-Id: Ie6469d2fd2119952669f5c9fdaa41fb273185973
Depends-On: I91be1f1eacf8eed9017bbfef393ee2d66771e8d6
Closes-bug: #1693844

7 years agoMerge "Use Deployment actions for blacklist"
Jenkins [Thu, 8 Jun 2017 19:53:26 +0000 (19:53 +0000)]
Merge "Use Deployment actions for blacklist"

7 years agoMerge "Standardize example role definitions"
Jenkins [Thu, 8 Jun 2017 18:10:24 +0000 (18:10 +0000)]
Merge "Standardize example role definitions"

7 years agoMerge "Add support to configure Num of Storage sacks"
Jenkins [Thu, 8 Jun 2017 14:58:55 +0000 (14:58 +0000)]
Merge "Add support to configure Num of Storage sacks"

7 years agoMerge "Fix the disable expirer to remove crontab"
Jenkins [Thu, 8 Jun 2017 14:13:21 +0000 (14:13 +0000)]
Merge "Fix the disable expirer to remove crontab"

7 years agoMerge "Mount /var/run/libvirt on ceilo agent compute"
Jenkins [Thu, 8 Jun 2017 00:00:10 +0000 (00:00 +0000)]
Merge "Mount /var/run/libvirt on ceilo agent compute"

7 years agoMerge "Add host logging for redis service template"
Jenkins [Thu, 8 Jun 2017 00:00:02 +0000 (00:00 +0000)]
Merge "Add host logging for redis service template"

7 years agoModify libvirtd container command line when TLS is enabled
Oliver Walsh [Wed, 7 Jun 2017 23:55:41 +0000 (00:55 +0100)]
Modify libvirtd container command line when TLS is enabled

Libvirtd needs the --listen arg to enable the TLS socket.

Change-Id: I535165f0a2634728045491b2a37a56b1891b13fe
Resolves-Bug: #1694958

7 years agoMerge "Don't create networks if neutron is not enabled"
Jenkins [Wed, 7 Jun 2017 20:22:44 +0000 (20:22 +0000)]
Merge "Don't create networks if neutron is not enabled"

7 years agoStandardize example role definitions
Alex Schultz [Tue, 14 Mar 2017 22:36:02 +0000 (16:36 -0600)]
Standardize example role definitions

As we create new standard roles, we should include them from a single
location for ease of use and to reduce the duplication of the role
definitions elsewhere. This change adds a roles folder to the THT that
can be used with the new roles commands in python-tripleoclient by the
end user to generate a roles_data.yaml from a standard set of roles.

Depends-On: I326bae5bdee088e03aa89128d253612ef89e5c0c
Change-Id: Iad3e9b215c6f21ba761c8360bb7ed531e34520e6
Related-Blueprint: example-custom-role-environments

7 years agoMount /var/run/libvirt on ceilo agent compute
Pradeep Kilambi [Thu, 1 Jun 2017 16:03:07 +0000 (12:03 -0400)]
Mount /var/run/libvirt on ceilo agent compute

Without this evidently agent logs IO errors.

Change-Id: I3031212c582381ae6b6147a48101bf83a05caa8a

7 years agoAdd host logging for redis service template
Steven Hardy [Wed, 7 Jun 2017 09:52:01 +0000 (10:52 +0100)]
Add host logging for redis service template

This got missed in the patch which added host logging for most
other services.

Change-Id: I0be8a5bce6558ebaf5b4830138d1f6c31aec6394

7 years agoFix the disable expirer to remove crontab
Pradeep Kilambi [Fri, 2 Jun 2017 16:12:27 +0000 (16:12 +0000)]
Fix the disable expirer to remove crontab

Instead of doing this via puppet which has the consequence of including
the step_config and getting included on the host manifest. Lets disable
via ansible upgrade task instead.

Change-Id: I5f1a4019dd635dea67db4313bd06a228ae7bacd4

7 years agoAdd support to configure Num of Storage sacks
Pradeep Kilambi [Tue, 6 Jun 2017 12:28:14 +0000 (08:28 -0400)]
Add support to configure Num of Storage sacks

Gnocchi 4 supports storage sacks during upgrade. lets make this
configurable if we want to use more metricd workers.

Change-Id: I27390b8babf8c4ef35f4c9b8a2e5be69fb9a54ee

7 years agoUse Deployment actions for blacklist
James Slagle [Wed, 7 Jun 2017 18:03:38 +0000 (14:03 -0400)]
Use Deployment actions for blacklist

Instead of using the Heat condition directly on the Deployment
resources, use it to set the action list to an empty list when the
server is blacklisted.

This has a couple advantages over the previous approach in that the
actual resources are not deleted and recreated when servers are added
and removed from the blacklist.

Recreating the resources can be problematic, as it would then force the
Deployments to re-run when a server is removed from the blacklist. That
is likely not always desirable, especially in the case of
NetworkDeloyment.

Additionally, you will still see the resources for a blacklisted server
in the stack, just with an empty set of actions. This has the benefit of
preserving the history of the previous time the Deployment was
triggered.

implements blueprint disable-deployments

Change-Id: I3d0263a6319ae4871b1ae11383ae838bd2540d36

7 years agoMerge "Map /etc/ssh/ssh_known_hosts to all containers"
Jenkins [Wed, 7 Jun 2017 17:57:44 +0000 (17:57 +0000)]
Merge "Map /etc/ssh/ssh_known_hosts to all containers"

7 years agoMerge "Ensure /etc/ssh/ssh_known_hosts exist in docker config-data."
Jenkins [Wed, 7 Jun 2017 17:57:36 +0000 (17:57 +0000)]
Merge "Ensure /etc/ssh/ssh_known_hosts exist in docker config-data."

7 years agoMerge "Ability to enable/disable debug mode per OpenStack service"
Jenkins [Wed, 7 Jun 2017 17:56:32 +0000 (17:56 +0000)]
Merge "Ability to enable/disable debug mode per OpenStack service"

7 years agoMerge "Convert puppet and docker steps to ansible"
Jenkins [Wed, 7 Jun 2017 17:31:42 +0000 (17:31 +0000)]
Merge "Convert puppet and docker steps to ansible"

7 years agoMerge "Stop/disable l3 agent in docker service upgrade_tasks"
Jenkins [Wed, 7 Jun 2017 15:11:07 +0000 (15:11 +0000)]
Merge "Stop/disable l3 agent in docker service upgrade_tasks"

7 years agoDon't create networks if neutron is not enabled
Flavio Percoco [Wed, 7 Jun 2017 11:45:37 +0000 (13:45 +0200)]
Don't create networks if neutron is not enabled

With the composable undercloud installer, it's possible to disable
services.  The extraconfig script assumes both, neutron and nova, are
installed and fails if they aren't.

This patch checks if those services are available before.

Change-Id: Idcc2b9809fcfa92649a0a1f45175ce417dc0e608

7 years agoMap /etc/ssh/ssh_known_hosts to all containers
Oliver Walsh [Fri, 26 May 2017 16:19:25 +0000 (17:19 +0100)]
Map /etc/ssh/ssh_known_hosts to all containers

This allows any ssh client spawned from a container to validate ssh host key.

Change-Id: I86d95848e5f049e8af98107cd7027098d6cdee7c
Closes-bug: #1693841

7 years agoEnsure /etc/ssh/ssh_known_hosts exist in docker config-data.
Oliver Walsh [Tue, 6 Jun 2017 20:16:38 +0000 (21:16 +0100)]
Ensure /etc/ssh/ssh_known_hosts exist in docker config-data.

Works around the issue encountered in 1696283.

Change-Id: I1947d9d1e3cabc5dfe25ee1af994d684425bdbf7
Resolves-Bug: #1696283

7 years agoStop/disable l3 agent in docker service upgrade_tasks
Steven Hardy [Thu, 1 Jun 2017 15:30:48 +0000 (16:30 +0100)]
Stop/disable l3 agent in docker service upgrade_tasks

This service is missing the task to stop/disable the service on
the host prior to it being started in a container.

Change-Id: I33d70d32c3b55e1f2738441f57c74b007e7bd766
Closes-Bug: #1695017

7 years agoAbility to enable/disable debug mode per OpenStack service
Emilien Macchi [Wed, 24 May 2017 17:42:07 +0000 (13:42 -0400)]
Ability to enable/disable debug mode per OpenStack service

Add ServiceDebug parameters for each services that will allow operators
to enable/disable Debug for specific services.

We keep the Debug parameters for backward compatibility.

Operators want to enable Debug everywhere:
  Debug: true
Operators want to disable Debug everywhere:
  Debug: false
Operators want to disable Debug everywhere except Glance:
  GlanceDebug: true
Operators want to enable Debug everywhere except Glance:
  Debug: true
  GlanceDebug: false

New parameters: AodhDebug, BarbicanDebug, CeilometerDebug, CinderDebug,
CongressDebug, GlanceDebug, GnocchiDebug, HeatDebug, HorizonDebug,
IronicDebug, KeystoneDebug, ManilaDebug, MistralDebug, NeutronDebug,
NovaDebug, OctaviaDebug, PankoDebug, SaharaDebug, TackerDebug,
ZaqarDebug.

Note: for backward compatibility in Horizon, HorizonDebug is set to
false, so we maintain previous behavior.

Change-Id: Icbf4a38afcdbd8471d1afc11743df9705451db52
Implement-blueprint: composable-debug
Closes-Bug: #1634567

7 years agoMerge "Updated from global requirements"
Jenkins [Wed, 7 Jun 2017 09:08:56 +0000 (09:08 +0000)]
Merge "Updated from global requirements"

7 years agoMerge "Fix upgrade tasks to use correct service name"
Jenkins [Wed, 7 Jun 2017 07:27:23 +0000 (07:27 +0000)]
Merge "Fix upgrade tasks to use correct service name"

7 years agoUpdated from global requirements
OpenStack Proposal Bot [Tue, 6 Jun 2017 23:29:28 +0000 (23:29 +0000)]
Updated from global requirements

Change-Id: I124d7f5bb0e662585a034668cd82ef1fa6db2fa1

7 years agoMerge "Container-specific variants of scenarios 001-004"
Jenkins [Tue, 6 Jun 2017 20:12:32 +0000 (20:12 +0000)]
Merge "Container-specific variants of scenarios 001-004"

7 years agoMerge "Fix CephPoolDefaultSize typo"
Jenkins [Tue, 6 Jun 2017 20:04:19 +0000 (20:04 +0000)]
Merge "Fix CephPoolDefaultSize typo"

7 years agoMerge "Containerize HAProxy for the non-ha case"
Jenkins [Tue, 6 Jun 2017 18:37:29 +0000 (18:37 +0000)]
Merge "Containerize HAProxy for the non-ha case"

7 years agoFix upgrade tasks to use correct service name
Pradeep Kilambi [Tue, 6 Jun 2017 16:39:47 +0000 (12:39 -0400)]
Fix upgrade tasks to use correct service name

Change-Id: I149ca7cdd939ed7c1767a416bb9569ada163e820
Closes-bug: #1696089

7 years agoConvert puppet and docker steps to ansible
Steven Hardy [Wed, 3 May 2017 16:12:55 +0000 (17:12 +0100)]
Convert puppet and docker steps to ansible

Replace the multiple SoftwareDeployment resources with a common
playbook that runs on all roles, consuming the configuration data
written via the HostPrepAnsible tasks.

This hopefully simplifies things, and will enable re-running the
deploy steps for minor updates (we'll need some way to detect
a container should be replaced, but that will be done via a
follow-up patch).

Change-Id: I674a4d9d2c77d1f6fbdb0996f6c9321848e32662

7 years agoMerge "Update metric processing delay default"
Jenkins [Tue, 6 Jun 2017 12:57:48 +0000 (12:57 +0000)]
Merge "Update metric processing delay default"

7 years agoContainerize HAProxy for the non-ha case
Damien Ciabrini [Wed, 19 Apr 2017 13:46:41 +0000 (15:46 +0200)]
Containerize HAProxy for the non-ha case

This change implements an initial container for haproxy in the non-HA
case (aka when the container is not spawn by pacemaker).

We tested this using a stock kolla haproxy container image and we were
able to get haproxy running on a container with net=host correctly.

Change-Id: I90253412a5e2cd8e56e74cce3548064c06d022b1
Co-Authored-By: Michele Baldessari <michele@acksyn.org>
Depends-on: I51c482b70731f15fee4025bbce14e46a49a49938
Closes-Bug: #1668936

7 years agoMerge "Fix the constraints for THT params NeutronDpdkCoreList and HostCpusList"
Jenkins [Mon, 5 Jun 2017 19:26:22 +0000 (19:26 +0000)]
Merge "Fix the constraints for THT params NeutronDpdkCoreList and HostCpusList"

7 years agoMerge "Example environment file to use Neutron BGPVPN driver with ODL"
Jenkins [Mon, 5 Jun 2017 15:28:06 +0000 (15:28 +0000)]
Merge "Example environment file to use Neutron BGPVPN driver with ODL"

7 years agoMerge "Remove nova placement config for compute service node on upgrade"
Jenkins [Mon, 5 Jun 2017 12:59:44 +0000 (12:59 +0000)]
Merge "Remove nova placement config for compute service node on upgrade"

7 years agoMerge "Release 7.0.0.0b2"
Jenkins [Mon, 5 Jun 2017 10:19:13 +0000 (10:19 +0000)]
Merge "Release 7.0.0.0b2"

7 years agoRelease 7.0.0.0b2
Emilien Macchi [Mon, 5 Jun 2017 08:16:05 +0000 (10:16 +0200)]
Release 7.0.0.0b2

Change-Id: Ie8010969443324dc76be8ade8edc1390b073345b

7 years agoUpdate metric processing delay default
Pradeep Kilambi [Tue, 30 May 2017 18:48:21 +0000 (14:48 -0400)]
Update metric processing delay default

This helps with processing the backlog, so lets update
the default out of the box.

Change-Id: I06d4ca95f4a1da2864f4845ef3e7a74a1bce9e41

7 years agoMerge "Containerize Redis for HA"
Jenkins [Sun, 4 Jun 2017 11:57:35 +0000 (11:57 +0000)]
Merge "Containerize Redis for HA"

7 years agoContainerize Redis for HA
Damien [Tue, 9 May 2017 09:11:21 +0000 (05:11 -0400)]
Containerize Redis for HA

This service allows configuring and deploying Redis 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: #1692924

Depends-On: Ia1131611d15670190b7b6654f72e6290bf7f8b9e

Change-Id: Ie045954fcc86ef2b3e4562b6f012853177f03948

7 years agoMerge "Containerize clustercheck galera monitor for HA deployments"
Jenkins [Sat, 3 Jun 2017 19:55:10 +0000 (19:55 +0000)]
Merge "Containerize clustercheck galera monitor for HA deployments"

7 years agoMerge "Containerize HAProxy for HA"
Jenkins [Sat, 3 Jun 2017 18:17:45 +0000 (18:17 +0000)]
Merge "Containerize HAProxy for HA"

7 years agoMerge "Containerize RabbitMQ for HA"
Jenkins [Sat, 3 Jun 2017 18:17:38 +0000 (18:17 +0000)]
Merge "Containerize RabbitMQ for HA"

7 years agoMerge "Containerize MySQL for HA"
Jenkins [Sat, 3 Jun 2017 18:17:31 +0000 (18:17 +0000)]
Merge "Containerize MySQL for HA"

7 years agoMerge "Modify vhost user socket directory's default value in environment file"
Jenkins [Sat, 3 Jun 2017 09:10:02 +0000 (09:10 +0000)]
Merge "Modify vhost user socket directory's default value in environment file"

7 years agoMerge "Add support for linuxbridge agent"
Jenkins [Sat, 3 Jun 2017 01:48:27 +0000 (01:48 +0000)]
Merge "Add support for linuxbridge agent"

7 years agoMerge "Server blacklist support"
Jenkins [Fri, 2 Jun 2017 23:12:08 +0000 (23:12 +0000)]
Merge "Server blacklist support"

7 years agoMerge "Add sshd service to containerized compute role"
Jenkins [Fri, 2 Jun 2017 23:12:00 +0000 (23:12 +0000)]
Merge "Add sshd service to containerized compute role"

7 years agoMerge "Upgrade gnocchi without skip-storage"
Jenkins [Fri, 2 Jun 2017 22:17:51 +0000 (22:17 +0000)]
Merge "Upgrade gnocchi without skip-storage"

7 years agoFix CephPoolDefaultSize typo
Alex Schultz [Fri, 2 Jun 2017 22:04:46 +0000 (16:04 -0600)]
Fix CephPoolDefaultSize typo

Ie9bdd9b16bcb9f11107ece614b010e87d3ae98a9 improperly used
CephPoolDefaultSite for the puppet-ceph-devel environment. The correct
configuration item is CephPoolDefaultSize.

Change-Id: If3a23f8d000061da62e4a7565a7fb6cf1ac97a4a

7 years agoMerge "Handle upgrading cinder-volume under pacemaker"
Jenkins [Fri, 2 Jun 2017 15:33:42 +0000 (15:33 +0000)]
Merge "Handle upgrading cinder-volume under pacemaker"

7 years agoIncrease default for NovaReservedHostMemory to 4096
Sven Anderson [Tue, 16 May 2017 15:44:55 +0000 (17:44 +0200)]
Increase default for NovaReservedHostMemory to 4096

Idle compute nodes are found to already consume ~1.5GB of memory, so
2GB is a bit tight.  Increasing to 4GB to be on the safe side.  Also
see https://bugzilla.redhat.com/show_bug.cgi?id=1341178

Change-Id: Ic95984b62a748593992446271b197439fa12b376

7 years agoServer blacklist support
James Slagle [Fri, 12 May 2017 19:04:23 +0000 (15:04 -0400)]
Server blacklist support

Adds the ability to blacklist servers from all SoftwareDeployment
resources. The servers are specified in a new list parameter,
DeploymentServerBlacklist by the Heat assigned name
(overcloud-compute-0, etc).

implements blueprint disable-deployments

Change-Id: I46941e54a476c7cc8645cd1aff391c9c6c5434de

7 years agoFix the constraints for THT params NeutronDpdkCoreList and HostCpusList
Karthik S [Wed, 31 May 2017 12:31:59 +0000 (08:31 -0400)]
Fix the constraints for THT params NeutronDpdkCoreList and HostCpusList

This fix needs to be backported to ocata.

Change-Id: I5938761efa4f56e576f41929e0bc12df246ac81a
Signed-off-by: Karthik S <ksundara@redhat.com>
Closes-Bug: #1694703

7 years agoUpgrade gnocchi without skip-storage
Pradeep Kilambi [Thu, 25 May 2017 21:13:17 +0000 (17:13 -0400)]
Upgrade gnocchi without skip-storage

When gnocchi-upgrade run, we need to ensure storage is upgraded so we
initialize the necessary storage sacks.

Closes-bug: #1693621

Change-Id: I84e4fc3b6ad7fd966c4097a29678a0fd5b7a20a5

7 years agoMerge "Containerized nova-compute working with Deployed Server"
Jenkins [Wed, 31 May 2017 10:05:58 +0000 (10:05 +0000)]
Merge "Containerized nova-compute working with Deployed Server"

7 years agoMerge "Enable arp_accept for all interfaces"
Jenkins [Tue, 30 May 2017 16:15:56 +0000 (16:15 +0000)]
Merge "Enable arp_accept for all interfaces"

7 years agoMerge "Change database sync timeout from 300 to 900 in low-memory-usage environment...
Jenkins [Tue, 30 May 2017 14:51:48 +0000 (14:51 +0000)]
Merge "Change database sync timeout from 300 to 900 in low-memory-usage environment file."

7 years agoMerge "docker bootstrap service commands"
Jenkins [Tue, 30 May 2017 13:52:28 +0000 (13:52 +0000)]
Merge "docker bootstrap service commands"

7 years agoceilometer-expirer: remove the crontab during upgrade
Emilien Macchi [Thu, 18 May 2017 20:17:41 +0000 (16:17 -0400)]
ceilometer-expirer: remove the crontab during upgrade

When running disabled/ceilometer-expirer.yaml, we want to remove the
crontab that used to run ceilometer-expirer binary in periodic way.
Let's use Puppet to remove this crontab.

We can't easily use Ansible tasks this time, because the Ansible cron
module can only remove Crontabs previously managed by Ansible:
https://docs.ansible.com/ansible/cron_module.html#examples

In this case, Puppet will erase the crontab in Pike. In Queens, we'll be
able to remove these environments files since we wouldn't need it
anymore.

Change-Id: Idb050c3b281d258aea52d6a3ef40441bb9c8bcbe

7 years agoContainerized nova-compute working with Deployed Server
Jiri Stransky [Fri, 26 May 2017 11:53:30 +0000 (13:53 +0200)]
Containerized nova-compute working with Deployed Server

When using the Deployed Server feature, we rely on Puppet to install
packages. But nova-compute/libvirt puppet is running in a container, so
it cannot install anything on the host. We rely on virtlogd on the host,
so we need to install it there some way. This patch uses host_prep_tasks
for that, conditionally based on the EnablePackageInstall stack
parameter value.

Also multinode-container-upgrade.yaml env is copied as
multinode-containers.yaml, to remove the naming confusion, as the
environment file can be used for more than just upgrades. The old env
file will be removed once we make the upgrade job use the new one (catch
22 type of issue).

Change-Id: Ia9b3071daa15bc30792110e5f34cd859cc205fb8

7 years agoMerge "Add RoleNetHostnameMap output"
Jenkins [Fri, 26 May 2017 16:56:32 +0000 (16:56 +0000)]
Merge "Add RoleNetHostnameMap output"

7 years agoAdd sshd service to containerized compute role
Oliver Walsh [Fri, 26 May 2017 15:53:10 +0000 (16:53 +0100)]
Add sshd service to containerized compute role

This adds the sshd puppet service to the containerized compute role

All other roles already include this service from the defaults roles data,
it is only missing from the compute role.

As the sshd service runs on the docker host, this must remain as a
traditional puppet service. NB the sshd puppet service does not enable
sshd, it just enables the management of the sshd config via t-h-t/puppet.

Closes-bug: #1693837
Change-Id: I86ff749245ac791e870528ad4b410f3c1fd812e0

7 years agoMerge "Store role_data in an OS::Heat::Value resource"
Jenkins [Fri, 26 May 2017 15:41:51 +0000 (15:41 +0000)]
Merge "Store role_data in an OS::Heat::Value resource"

7 years agoMerge "Add heat environment for disabling all telemetry services"
Jenkins [Fri, 26 May 2017 15:32:46 +0000 (15:32 +0000)]
Merge "Add heat environment for disabling all telemetry services"

7 years agoMerge "Add ignore_projects to filter gnocchi events"
Jenkins [Fri, 26 May 2017 14:08:26 +0000 (14:08 +0000)]
Merge "Add ignore_projects to filter gnocchi events"

7 years agoContainer-specific variants of scenarios 001-004
Jiri Stransky [Thu, 18 May 2017 12:30:43 +0000 (14:30 +0200)]
Container-specific variants of scenarios 001-004

Add container-specific variants of scenarios. These variants are
supposed to be temporary, as their only purpose is to allow us CIing the
scenarios with containers while we don't have pacemaker containerized
yet. Once we can deploy and upgrade containerized deployment with
pacemaker, these should be deleted and normal scenarios should be used.

Alternative approach would be to edit the scenarios on the fly within
the CI job, to remove the pacemaker parts, which would be more DRY, but
perhaps more surprising when trying to debug issues.

Change-Id: I36ef3f4edf83ed06a75bc82940152e60f9a0941f

7 years agoHandle upgrading cinder-volume under pacemaker
Alan Bishop [Tue, 23 May 2017 14:42:24 +0000 (10:42 -0400)]
Handle upgrading cinder-volume under pacemaker

Add upgrade tasks for cinder-volume when it's controlled by pacemaker:

o Stop the service before the entire pacemaker cluster is stopped.
  This ensures the service is stopped before infrastructure services
  (e.g. rabbitmq) go away.
o Migrate the cinder DB prior to restarting the service. This covers
  the situation when puppet-cinder (who otherwise would handle the db
  sync) isn't managing the service.
o Start the service after the rest of the pacemaker cluster has been
  started.

Closes-Bug: #1691851
Change-Id: I5874ab862964fadb68320d5c4de39b20f53dc25c

7 years agoMerge "Align optional services with optional services-docker"
Jenkins [Fri, 26 May 2017 08:49:02 +0000 (08:49 +0000)]
Merge "Align optional services with optional services-docker"

7 years agoAdd heat environment for disabling all telemetry services
John Trowbridge [Thu, 25 May 2017 13:24:57 +0000 (09:24 -0400)]
Add heat environment for disabling all telemetry services

This will be used in our HA OVB CI job where we currently are
failing due to running out of memory. Telemetry will still be
tested via scenarios, but this will free up a large chunk of
memory in the most memory intensive job.

Closes-Bug: 1693174
Change-Id: Idefe9f0de47c5b0f29b7326642d697ed179e2eb8

7 years agoEnable arp_accept for all interfaces
Ihar Hrachyshka [Wed, 24 May 2017 01:13:28 +0000 (18:13 -0700)]
Enable arp_accept for all interfaces

OpenStack heavily relies on gratuitous ARP updates when moving floating
IP addresses between devices. When a floating IP moves, Neutron L3 agent
issues a burst of gratuitous ARP packets that should update any existing
ARP table entries on all nodes that belong to the same network segment.

Due to locktime kernel behavior, some gratuitous ARP packets may be
ignored [1], rendering ARP table entries broken for some time. Due to a
kernel bug [2], the time may be as long as hours, depending on other
traffic flowing to the node.

With the current EL7 kernel, the only way to make sure that nodes honor
all sent gratuitous ARP updates is to set arp_accept to 1; this will
disable locktime mechanism for the packets sent by Neutron L3 agent, and
will make sure ARP tables are always updated.

[1] https://patchwork.ozlabs.org/patch/762732/
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1450203

Related-Bug: #1690165
Change-Id: I863b240e0ab4c4d5bb844f91b607fd0937d5cedf

7 years agoAdd ignore_projects to filter gnocchi events
Pradeep Kilambi [Tue, 23 May 2017 14:41:22 +0000 (10:41 -0400)]
Add ignore_projects to filter gnocchi events

Without this, ceilometer db gets hammered with gnocchi swift events.
Keystone creds are required so middleware can query for id.

Related change:  I5c0f4f1a2c7fe7eb39ea6441970e9ac0946a4ec1

Change-Id: I9a7a80252703e470a69dc10352e7ece45ab23150

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