apex-puppet-tripleo.git
7 years agoMove gnocchi upgrade and api to step 4
Pradeep Kilambi [Thu, 25 May 2017 22:12:50 +0000 (18:12 -0400)]
Move gnocchi upgrade and api to step 4

gnocchi upgrade requires storage sacks to be initialized. This means
we need to ensure the storage backends are up before running the
upgrade and starting the api. Lets move the api to step 4 so we can
ensure other dependencies are in place.

Co-Authored-By: Juan Antonio Osorio Robles <jaosorior@redhat.com>
Depends-On: Ibfa9fb39f60c1e4a802d189b32ff4c34476c93d3
Change-Id: If2ae48b21389e76fd638c0b48c148a5d4f227630

7 years agoMerge "Do not create VIP for pacemaker OVN OCF resource"
Jenkins [Wed, 14 Jun 2017 11:03:13 +0000 (11:03 +0000)]
Merge "Do not create VIP for pacemaker OVN OCF resource"

7 years agoMerge "Remove condition to match hdr(host) in haproxy redirect rule"
Jenkins [Wed, 14 Jun 2017 09:43:03 +0000 (09:43 +0000)]
Merge "Remove condition to match hdr(host) in haproxy redirect rule"

7 years agoMerge "Changed author"
Jenkins [Wed, 14 Jun 2017 01:10:44 +0000 (01:10 +0000)]
Merge "Changed author"

7 years agoMerge "Add environment variable"
Jenkins [Wed, 14 Jun 2017 01:04:08 +0000 (01:04 +0000)]
Merge "Add environment variable"

7 years agoMerge "Fix Swift ring management in container deployments"
Jenkins [Wed, 14 Jun 2017 01:00:37 +0000 (01:00 +0000)]
Merge "Fix Swift ring management in container deployments"

7 years agoMerge "Remove unnecessary references to neutron core plugin hiera"
Jenkins [Wed, 14 Jun 2017 00:59:48 +0000 (00:59 +0000)]
Merge "Remove unnecessary references to neutron core plugin hiera"

7 years agoMerge "Fix Swift ring rebalance order"
Jenkins [Tue, 13 Jun 2017 23:59:28 +0000 (23:59 +0000)]
Merge "Fix Swift ring rebalance order"

7 years agoMerge "Make sure the resource bundles use a location_rule"
Jenkins [Tue, 13 Jun 2017 21:49:21 +0000 (21:49 +0000)]
Merge "Make sure the resource bundles use a location_rule"

7 years agoMerge "Configure Galera cluster with FQDNs instead of shortnames"
Jenkins [Tue, 13 Jun 2017 18:09:38 +0000 (18:09 +0000)]
Merge "Configure Galera cluster with FQDNs instead of shortnames"

7 years agoMerge "Configure credentials for ironic to access cinder"
Jenkins [Tue, 13 Jun 2017 15:52:28 +0000 (15:52 +0000)]
Merge "Configure credentials for ironic to access cinder"

7 years agoMerge "Update README with info for new contributors"
Jenkins [Tue, 13 Jun 2017 14:06:25 +0000 (14:06 +0000)]
Merge "Update README with info for new contributors"

7 years agoConfigure Galera cluster with FQDNs instead of shortnames
Juan Antonio Osorio Robles [Mon, 12 Jun 2017 11:11:43 +0000 (14:11 +0300)]
Configure Galera cluster with FQDNs instead of shortnames

This takes into use the cluster_host_map, which allows to give aliases
to the pacemaker nodes (which are FQDNs), and allows us to configure the
cluster using FQDNs.

We need FQDNs in order to request certificates, since the default CA
(FreeIPA) only allows certificates for FQDNs.

Change-Id: I2f146afdd32aef2d11cf25a65fa8d67428f621f5

7 years agoMerge "Support for proxying ironic-inspector via Apache"
Jenkins [Tue, 13 Jun 2017 00:29:03 +0000 (00:29 +0000)]
Merge "Support for proxying ironic-inspector via Apache"

7 years agoMerge "Puppet module to deploy cinder-backup bundle for HA"
Jenkins [Mon, 12 Jun 2017 18:07:19 +0000 (18:07 +0000)]
Merge "Puppet module to deploy cinder-backup bundle for HA"

7 years agoMerge "Puppet module to deploy cinder-volume bundle for HA"
Jenkins [Mon, 12 Jun 2017 18:06:45 +0000 (18:06 +0000)]
Merge "Puppet module to deploy cinder-volume bundle for HA"

7 years agoChanged author
Luong Anh Tuan [Mon, 12 Jun 2017 14:06:58 +0000 (21:06 +0700)]
Changed author

Changed author to OpenStack

Change-Id: I5f8806d1a765a1b5ae823b9e537e0ba672d81545

7 years agoUpdate README with info for new contributors
Julie Pichon [Mon, 12 Jun 2017 09:19:06 +0000 (10:19 +0100)]
Update README with info for new contributors

Add the same footer to the README that most other TripleO projects
have. People new to TripleO might not know we use a single bug tracker
for all projects, or how to test puppet projects in OpenStack.

Change-Id: I6044ea98ec4480c8c1e431921df43ee425d9cba4
Closes-Bug: #1697091

7 years agoRemove condition to match hdr(host) in haproxy redirect rule
Ryan O'Hara [Thu, 8 Jun 2017 15:26:11 +0000 (10:26 -0500)]
Remove condition to match hdr(host) in haproxy redirect rule

The horizon proxy should redirect all HTTP requests to HTTPS,
regardless of the 'Host' field in the header. The current rule will
cause haproxy to redirect HTTP requests if the 'Host' field contains
the public virtual IP address. It will not redirect if the 'Host'
field contains a hostname, FQDN, etc.

Change-Id: I6c8f58a30f97cdf4c668734793197ea976297733
Signed-off-by: Ryan O'Hara <rohara@redhat.com>
7 years agoAdd environment variable
ZhongShengping [Mon, 12 Jun 2017 08:06:48 +0000 (16:06 +0800)]
Add environment variable

Add environment variable {toxinidir} in tox.ini

Change-Id: Iee0e6e1f5ea49a7307bdfd493b4203df17369d75

7 years agoMerge "Install rsync package for galera"
Jenkins [Sun, 11 Jun 2017 16:01:33 +0000 (16:01 +0000)]
Merge "Install rsync package for galera"

7 years agoDo not create VIP for pacemaker OVN OCF resource
Numan Siddique [Sun, 11 Jun 2017 00:30:43 +0000 (06:00 +0530)]
Do not create VIP for pacemaker OVN OCF resource

The commit with change id [1], added the pacemaker HA support
for OVN DB servers. That commit created a new VIP which is
really not required.

This patch removes the code to create a new ip resource. Instead
it expects the pacemaker ip resource (with the ip address in the
'ovn_dbs_vip' parameter and with the name "ip-$ovn_dbs_vip") to be
created before ovn_northd class is called, which is the case anyway
if 'ovn_dbs_vip' is taken from the ServiceNetMapDefaults (in t-h-t).

[1] - I9dc366002ef5919339961e5deebbf8aa815c73db

Change-Id: I94d3960e6c5406e3af309cc8c787ac0a6c9b1756
Partial-bug: #1670564

7 years agoMake sure the resource bundles use a location_rule
Michele Baldessari [Thu, 8 Jun 2017 09:33:00 +0000 (11:33 +0200)]
Make sure the resource bundles use a location_rule

In composable HA we bind resources to nodes that have special
node properties. We need to do this also for bundle resources
otherwise there is a potential race where the bundle might be
started on nodes where it is not supposed to during a small
window of time.

Tested with the depends-on and correctly obtained a containerized
composable HA deployment:

Docker container set: rabbitmq-bundle
[192.168.24.1:8787/tripleoupstream/centos-binary-rabbitmq:latest]
  rabbitmq-bundle-0    (ocf::heartbeat:rabbitmq-cluster):      Started overcloud-rabbit-0
  rabbitmq-bundle-1    (ocf::heartbeat:rabbitmq-cluster):      Started overcloud-rabbit-1
  rabbitmq-bundle-2    (ocf::heartbeat:rabbitmq-cluster):      Started overcloud-rabbit-2
Docker container set: galera-bundle
[192.168.24.1:8787/tripleoupstream/centos-binary-mariadb:latest]
  galera-bundle-0      (ocf::heartbeat:galera):        Master overcloud-galera-0
  galera-bundle-1      (ocf::heartbeat:galera):        Master overcloud-galera-1
  galera-bundle-2      (ocf::heartbeat:galera):        Master overcloud-galera-2
Docker container set: redis-bundle
[192.168.24.1:8787/tripleoupstream/centos-binary-redis:latest]
  redis-bundle-0       (ocf::heartbeat:redis): Master overcloud-controller-0
  redis-bundle-1       (ocf::heartbeat:redis): Slave overcloud-controller-1
  redis-bundle-2       (ocf::heartbeat:redis): Slave overcloud-controller-2
ip-192.168.24.11       (ocf::heartbeat:IPaddr2):       Started overcloud-controller-0
ip-10.0.0.7    (ocf::heartbeat:IPaddr2):       Started overcloud-controller-1
ip-172.16.2.11 (ocf::heartbeat:IPaddr2):       Started overcloud-controller-2
ip-172.16.2.9  (ocf::heartbeat:IPaddr2):       Started overcloud-controller-0
ip-172.16.1.6  (ocf::heartbeat:IPaddr2):       Started overcloud-controller-1
ip-172.16.3.7  (ocf::heartbeat:IPaddr2):       Started overcloud-controller-2
Docker container set: haproxy-bundle
[192.168.24.1:8787/tripleoupstream/centos-binary-haproxy:latest]
  haproxy-bundle-docker-0      (ocf::heartbeat:docker):        Started overcloud-controller-0
  haproxy-bundle-docker-1      (ocf::heartbeat:docker):        Started overcloud-controller-1
  haproxy-bundle-docker-2      (ocf::heartbeat:docker):        Started overcloud-controller-2

Depends-On: I44449861cbfe56304b8829c9ca10fd648353b3ae
Change-Id: I48fb490040497ba08cae19937159c0efdf99e3f8

7 years agoConfigure credentials for ironic to access cinder
Dmitry Tantsur [Fri, 9 Jun 2017 15:06:20 +0000 (17:06 +0200)]
Configure credentials for ironic to access cinder

Change-Id: I097c494d3953b7d26d94aecc546ddef5225d1125
Depends-On: I2f0eb779b711e57f1532b1227896542d0ecffc89

7 years agoMerge "Update global requirements"
Jenkins [Fri, 9 Jun 2017 10:56:18 +0000 (10:56 +0000)]
Merge "Update global requirements"

7 years agoFix Swift ring rebalance order
Christian Schwede [Thu, 8 Jun 2017 15:32:14 +0000 (17:32 +0200)]
Fix Swift ring rebalance order

The current order is broken if there were changes to the account and
container devices, but not to the object devices. In these cases it can
happen that the rebalance happens before modifying devices.

Change-Id: I15641c32266939c9a00936cc471cc59b1bb54eec

7 years agoMerge "Use CRL for HAProxy"
Jenkins [Fri, 9 Jun 2017 09:25:20 +0000 (09:25 +0000)]
Merge "Use CRL for HAProxy"

7 years agoMerge "Add resource to fetch CRL"
Jenkins [Fri, 9 Jun 2017 08:14:16 +0000 (08:14 +0000)]
Merge "Add resource to fetch CRL"

7 years agoMerge "Move tripleo::certmonger::httpd to defines folder and fix suffix"
Jenkins [Thu, 8 Jun 2017 20:55:47 +0000 (20:55 +0000)]
Merge "Move tripleo::certmonger::httpd to defines folder and fix suffix"

7 years agoUse CRL for HAProxy
Juan Antonio Osorio Robles [Thu, 4 May 2017 10:28:01 +0000 (13:28 +0300)]
Use CRL for HAProxy

This sets up the CRL file to be triggered on the certmonger_user
resource. Furtherly, HAProxy uses this CRL file in the member options,
thus effectively enabling revocation for proxied nodes.

So, if a certificate has been revoked by the CA, HAProxy will not proxy
requests to it.

bp tls-via-certmonger

Change-Id: I4f1edc551488aa5bf6033442c4fa1fb0d3f735cd

7 years agoAdd resource to fetch CRL
Juan Antonio Osorio Robles [Thu, 4 May 2017 10:23:33 +0000 (13:23 +0300)]
Add resource to fetch CRL

This will fetch the CRL file from the specified file or URL. Furtherly
it will set up a cron job to refresh the crl file once a week and notify
the needed services.

bp tls-via-certmonger

Change-Id: I38e163e8ebb80ea5f79cfb8df44a71fdcd284e04

7 years agoPuppet module to deploy cinder-volume bundle for HA
Damien Ciabrini [Thu, 8 Jun 2017 11:48:38 +0000 (07:48 -0400)]
Puppet module to deploy cinder-volume bundle for HA

This module is used by tripleo-heat-templates to configure and deploy
Kolla-based cinder-volume containers managed by pacemaker.

We use short-lived containers that call pcs via puppet to create
the needed pacemaker resources, properties and constraints.

Co-Authored-By: Michele Baldesari <michele@acksyn.org>
Partial-Bug: #1668920

Change-Id: I95ad4dd89b47396bea672813d87de35e64c04b2d

7 years agoPuppet module to deploy cinder-backup bundle for HA
Damien Ciabrini [Fri, 2 Jun 2017 18:50:02 +0000 (14:50 -0400)]
Puppet module to deploy cinder-backup bundle for HA

This module is used by tripleo-heat-templates to configure and deploy
Kolla-based cinder-backup containers managed by pacemaker.

We use short-lived containers that call pcs via puppet to create
the needed pacemaker resources, properties and constraints.

Co-Authored-By: Michele Baldesari <michele@acksyn.org>
Partial-Bug: #1668920

Change-Id: If53495ff75d4832cc6be80dc0dc9bd540ab6583b

7 years agoMerge "Add _spec suffix to class spec tests"
Jenkins [Thu, 8 Jun 2017 10:17:35 +0000 (10:17 +0000)]
Merge "Add _spec suffix to class spec tests"

7 years agoMerge "Add polkit rule to allow kolla nova user access to libvirtd socket on docker...
Jenkins [Thu, 8 Jun 2017 09:49:49 +0000 (09:49 +0000)]
Merge "Add polkit rule to allow kolla nova user access to libvirtd socket on docker host"

7 years agoMerge "Add novajoin profile"
Jenkins [Thu, 8 Jun 2017 06:50:28 +0000 (06:50 +0000)]
Merge "Add novajoin profile"

7 years agoMove tripleo::certmonger::httpd to defines folder and fix suffix
Juan Antonio Osorio Robles [Thu, 8 Jun 2017 06:34:45 +0000 (09:34 +0300)]
Move tripleo::certmonger::httpd to defines folder and fix suffix

It's a define, not a class. And it also needs the _spec suffix.

Change-Id: Ie5e0cf81d03379d8b791fd77a5c78d12048ebfef

7 years agoAdd _spec suffix to class spec tests
Juan Antonio Osorio Robles [Thu, 8 Jun 2017 05:58:24 +0000 (08:58 +0300)]
Add _spec suffix to class spec tests

Some of them didn't have it. So I added it to them for uniformity.

Change-Id: I2ea57d0ecfe151f9a14db9f7722a26f09aa8a506

7 years agoUpdate global requirements
ZhongShengping [Thu, 8 Jun 2017 06:00:17 +0000 (14:00 +0800)]
Update global requirements

Pin reno version to reno!=2.0.0,!=2.3.1,>=1.8.0
Pin sphinx version to sphinx!=1.6.1,>=1.5.1
reno=2.3.1 and sphinx=1.6.1 break releasenotes and doc tests.

Change-Id: I9daab4d970f387ae20ded1bf920ec3b98c7e4597

7 years agoRemove unnecessary references to neutron core plugin hiera
Brent Eagles [Wed, 7 Jun 2017 15:55:47 +0000 (13:25 -0230)]
Remove unnecessary references to neutron core plugin hiera

If the tripleo::profile::base::neutron::sriov is included it
is expected that the SR-IOV agent should be deployed and configured so
references to core plugin configuration is out of place and currently
breaks deployment.

Change-Id: Ie5d8cd7863c0d042cc6a4e1fc52602d8a03a1935

7 years agoFix Swift ring management in container deployments
Christian Schwede [Mon, 29 May 2017 07:56:55 +0000 (09:56 +0200)]
Fix Swift ring management in container deployments

The ring up- and downloading was never executed if run within a
containerized environment. This is due to the fact that this manifest
gets executed within step 6(5) only. There is also an ordering issue,
which actually tries to create the tarballs before rebalancing.

This patch fixes the step conditions and also chains the tarball
creation to the rebalance.

The check to query rings on all nodes can now be disabled. This is
required on containerized environments: the local ring will be modified
and rebalanced, but rings on the existing servers are not yet modified.
Therefore a recon-check will fail, and needs to be disabled.

Closes-Bug: 1694211
Change-Id: I51c5795b9893d797bd73e059910f17a98f04cdbe

7 years agoAdd polkit rule to allow kolla nova user access to libvirtd socket on docker host
Oliver Walsh [Tue, 6 Jun 2017 11:12:43 +0000 (12:12 +0100)]
Add polkit rule to allow kolla nova user access to libvirtd socket on docker host

The polkit rules are currently evaluated in the context of the docker host.
As a result the check fails for the kolla nova compute user, as the uids are not
consistent with the host uids (in fact we probably can't assume a nova user exists
on the docker host).

As a short-term workaround a 'docker_nova' user group is created on the docker host
and the polkit rule is updated to grant this user access to the libvirtd socket.

Longer term solution probably requires running polkitd in a container too.

Change-Id: I91be1f1eacf8eed9017bbfef393ee2d66771e8d6
Related-bug: #1693844

7 years agoMerge "Add Mistral event engine"
Jenkins [Mon, 5 Jun 2017 23:57:49 +0000 (23:57 +0000)]
Merge "Add Mistral event engine"

7 years agoMerge "Drop un-needed 'else' in noop_resource"
Jenkins [Mon, 5 Jun 2017 16:12:57 +0000 (16:12 +0000)]
Merge "Drop un-needed 'else' in noop_resource"

7 years agoMerge "Pacemaker support for OVN DB servers"
Jenkins [Mon, 5 Jun 2017 15:27:18 +0000 (15:27 +0000)]
Merge "Pacemaker support for OVN DB servers"

7 years agoSupport for proxying ironic-inspector via Apache
Jenkins [Wed, 31 May 2017 11:06:51 +0000 (11:06 +0000)]
Support for proxying ironic-inspector via Apache

Future work in the UI requires Apache to proxy for the
ironic-inspector service the same as it has for other
related services.  This adds support for ironic-inspector
through Apache's mod_proxy

Closes-Bug: 1695202
Depends-On: Id395604f1dfbc4bf4f26adbe05f484a10227fd76
Change-Id: I9dcb0769ff90a2fc9561cb86bb822be8087ffe8e

7 years agoAdd novajoin profile
Juan Antonio Osorio Robles [Fri, 2 Jun 2017 06:20:10 +0000 (09:20 +0300)]
Add novajoin profile

This is needed in order to deploy novajoin in a containerized undercloud
environment.

Change-Id: Iea461f66b8f4e3b01a0498e566a2c3684144df80

7 years agoPrepare for release 7.1.0
Emilien Macchi [Mon, 5 Jun 2017 08:07:42 +0000 (10:07 +0200)]
Prepare for release 7.1.0

Change-Id: I6306429e37a50fb30ec5704d8192a29e6da586ec

7 years agoMerge "Clustercheck, monitor service for galera containers"
Jenkins [Sat, 3 Jun 2017 16:43:08 +0000 (16:43 +0000)]
Merge "Clustercheck, monitor service for galera containers"

7 years agoMerge "Puppet module to deploy MySQL bundle for HA"
Jenkins [Sat, 3 Jun 2017 14:29:18 +0000 (14:29 +0000)]
Merge "Puppet module to deploy MySQL bundle for HA"

7 years agoMerge "Puppet module to deploy RabbitMQ bundle for HA"
Jenkins [Sat, 3 Jun 2017 08:00:06 +0000 (08:00 +0000)]
Merge "Puppet module to deploy RabbitMQ bundle for HA"

7 years agoMerge "Puppet module to deploy Redis bundle for HA"
Jenkins [Fri, 2 Jun 2017 21:38:46 +0000 (21:38 +0000)]
Merge "Puppet module to deploy Redis bundle for HA"

7 years agoPuppet module to deploy MySQL bundle for HA
Damien Ciabrini [Mon, 10 Apr 2017 14:27:35 +0000 (14:27 +0000)]
Puppet module to deploy MySQL bundle for HA

This module is used by tripleo-heat-templates to configure and deploy
Kolla-based mysql containers managed by pacemaker.

We use short-lived containers that call pcs via puppet to create
the needed pacemaker resources, properties and constraints.

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

Depends-On: I44fbd7f89ab22b72e8d3fc0a0e3fe54a9418a60f
Depends-On: Ie9b7e7d2a3cec4b121915a17c1e809e4ec950e7f

Change-Id: I3b4d8ad2eec70080419882d5d822f78ebd3721ae

7 years agoMerge "Puppet module to deploy HAProxy bundle for HA"
Jenkins [Fri, 2 Jun 2017 18:41:16 +0000 (18:41 +0000)]
Merge "Puppet module to deploy HAProxy bundle for HA"

7 years agoDrop un-needed 'else' in noop_resource
Dan Prince [Fri, 2 Jun 2017 13:41:35 +0000 (09:41 -0400)]
Drop un-needed 'else' in noop_resource

Change-Id: Id45ac93d482ff23c4c834e2d345a926fc408573f

7 years agoMerge "Add conditional for setting authlogin_nsswitch_use_ldap selboolean"
Jenkins [Fri, 2 Jun 2017 05:52:51 +0000 (05:52 +0000)]
Merge "Add conditional for setting authlogin_nsswitch_use_ldap selboolean"

7 years agoMerge "Composable Role for Neutron LBaaS"
Jenkins [Thu, 1 Jun 2017 22:20:36 +0000 (22:20 +0000)]
Merge "Composable Role for Neutron LBaaS"

7 years agoAdd conditional for setting authlogin_nsswitch_use_ldap selboolean
Jacob Liberman [Thu, 1 Jun 2017 14:33:21 +0000 (09:33 -0500)]
Add conditional for setting authlogin_nsswitch_use_ldap selboolean

If selinux is enabled the authlogin_nsswitch_use_ldap Boolean must
be enabled. This setting allows LDAP communications to the confined
LDAP/server port. This change includes a conditional for enabling this
Boolean only when selinux is in use.

Change-Id: If985f2434d28fcd33198929bf61f2a3a82e601fe
Closes-Bug: #1695002

7 years agoMerge "Restart docker after changing storage driver"
Jenkins [Thu, 1 Jun 2017 20:41:35 +0000 (20:41 +0000)]
Merge "Restart docker after changing storage driver"

7 years agoInstall rsync package for galera
James Slagle [Tue, 23 May 2017 18:55:59 +0000 (14:55 -0400)]
Install rsync package for galera

Since galera is configured to use rsync, we ought to make sure the
package is installed. Particularly when using deployed-server, the
package is not always installed by default depending on what was used to
install the servers.

Change-Id: I92ee78f2dd2c0f7fd4d393b104166407d7c654e2
Closes-Bug: #1693003

7 years agodo not include remote name in branch spec for release notes
Doug Hellmann [Thu, 1 Jun 2017 16:55:44 +0000 (12:55 -0400)]
do not include remote name in branch spec for release notes

Reno will add the origin prefix if there is no local branch with the
desired name.

Change-Id: I76cc3199edacc4e35af44e01c57720100faee529
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
7 years agomake release note a list of strings
Doug Hellmann [Thu, 1 Jun 2017 16:50:51 +0000 (12:50 -0400)]
make release note a list of strings

Change-Id: I806e15f24309261bb4bf108aacc43a5c4d2d33bc
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
7 years agoPacemaker support for OVN DB servers
Babu Shanmugam [Mon, 19 Sep 2016 07:41:44 +0000 (07:41 +0000)]
Pacemaker support for OVN DB servers

This patch enables OVN DB servers to be started in master/slave
mode in the pacemaker cluster.

A virtual IP resource is created first and then the pacemaker OVN OCF
resource - "ovn:ovndb-servers" is created. The OVN OCF resource is
configured to be colocated with the vip resource. The ovn-controller and
Neutron OVN ML2 mechanism driver which depends on OVN DB servers will
always connect to the vip address on which the master OVN DB servers
listen on.

The OVN OCF resource itself takes care of (re)starting ovn-northd service
on the master node and we don't have to manage it.

When HA is enabled for OVN DB servers, haproxy does not configure the OVN DB
servers in its configuration.

This patch requires OVS 2.7 in the overcloud.

Co-authored:by: Numan Siddique <nusiddiq@redhat.com>
Change-Id: I9dc366002ef5919339961e5deebbf8aa815c73db
Partial-bug: #1670564

7 years agoMerge "Add missing octavia mysql user creation"
Jenkins [Wed, 31 May 2017 11:06:51 +0000 (11:06 +0000)]
Merge "Add missing octavia mysql user creation"

7 years agoPuppet module to deploy RabbitMQ bundle for HA
Damien Ciabrini [Mon, 10 Apr 2017 09:42:15 +0000 (09:42 +0000)]
Puppet module to deploy RabbitMQ bundle for HA

This module is used by tripleo-heat-templates to configure and deploy
Kolla-based RabbitMQ containers managed by pacemaker.

We use short-lived containers that call pcs via puppet to create
the needed pacemaker resources, properties and constraints.

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

Change-Id: I0722e4a4d4716f477e8304cfa1aadd3eef7c2f31
Depends-On: I44fbd7f89ab22b72e8d3fc0a0e3fe54a9418a60f
Depends-On: Ie9b7e7d2a3cec4b121915a17c1e809e4ec950e7f

7 years agoRestart docker after changing storage driver
Steve Baker [Thu, 25 May 2017 23:12:10 +0000 (11:12 +1200)]
Restart docker after changing storage driver

This likely explains why CI appears to still be running the
devicemapper driver even though overlay2 is now the default.

Change-Id: Ic2d80bae1fddbdb1c80bae297031521dd78d896a
Closes-Bug: #1692502

7 years agoMerge "Move ceilometer upgrade step out of base"
Jenkins [Fri, 26 May 2017 17:04:46 +0000 (17:04 +0000)]
Merge "Move ceilometer upgrade step out of base"

7 years agoMerge "Pass mistral::api service_name from t-h-t"
Jenkins [Fri, 26 May 2017 14:48:19 +0000 (14:48 +0000)]
Merge "Pass mistral::api service_name from t-h-t"

7 years agoPuppet module to deploy HAProxy bundle for HA
Damien Ciabrini [Fri, 21 Apr 2017 13:09:31 +0000 (15:09 +0200)]
Puppet module to deploy HAProxy bundle for HA

This module is used by tripleo-heat-templates to configure and deploy
Kolla-based haproxy containers managed by pacemaker.

We use short-lived containers that call pcs via puppet to create
the needed pacemaker resources, properties and constraints.

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

Depends-On: I44fbd7f89ab22b72e8d3fc0a0e3fe54a9418a60f
Depends-On: Ie9b7e7d2a3cec4b121915a17c1e809e4ec950e7f

Change-Id: Ifcf890a88ef003d3ab754cb677cbf34ba8db9312

7 years agoPuppet module to deploy Redis bundle for HA
Damien [Tue, 9 May 2017 09:28:21 +0000 (05:28 -0400)]
Puppet module to deploy Redis bundle for HA

This module is used by tripleo-heat-templates to configure and deploy
Kolla-based Redis containers managed by pacemaker.

We use short-lived containers that call pcs via puppet to create
the needed pacemaker resources, properties and constraints.

Co-Authored-By: Michele Baldesari <michele@acksyn.org>
Partial-Bug: #1692924

Depends-On: I44fbd7f89ab22b72e8d3fc0a0e3fe54a9418a60f
Depends-On: Ie9b7e7d2a3cec4b121915a17c1e809e4ec950e7f

Change-Id: Ia1131611d15670190b7b6654f72e6290bf7f8b9e

7 years agoMove ceilometer upgrade step out of base
Pradeep Kilambi [Wed, 24 May 2017 20:10:55 +0000 (16:10 -0400)]
Move ceilometer upgrade step out of base

ceilometer-upgrade should only run on controller nodes.
Since its currently in base profile, it gets triggered
on compute as well. So instead split out the upgrade
into its own and include when we deploy notification
and central agents instead.

Change-Id: I2910e8aa5da7fded4cf94b57fb0a14fefd88adbe
Closes-bug: #1693339

7 years agoMerge "Add support for autofencing to Pacemaker Remote."
Jenkins [Wed, 24 May 2017 18:21:45 +0000 (18:21 +0000)]
Merge "Add support for autofencing to Pacemaker Remote."

7 years agoMerge "Enable mistral to run under mod_wsgi"
Jenkins [Wed, 24 May 2017 18:21:28 +0000 (18:21 +0000)]
Merge "Enable mistral to run under mod_wsgi"

7 years agoAdd missing octavia mysql user creation
Martin André [Wed, 24 May 2017 16:46:59 +0000 (18:46 +0200)]
Add missing octavia mysql user creation

This patch makes sure the octavia mysql user is created when the
octavia_api service is enabled.

Change-Id: I270f3f6879737fc29370165e4a8fa8c9c19fffb3

7 years agoClustercheck, monitor service for galera containers
Damien Ciabrini [Tue, 18 Apr 2017 20:44:43 +0000 (20:44 +0000)]
Clustercheck, monitor service for galera containers

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 profile for clustercheck, which was
originally part of the pacemaker mysql profile. The profile generates
the necessary configuration files for clustercheck and let heat
templates manage the associated container's lifecycle.

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

7 years agoEnable novajoin user on keystone profile
Juan Antonio Osorio Robles [Tue, 23 May 2017 06:24:36 +0000 (09:24 +0300)]
Enable novajoin user on keystone profile

If novajoin is enabled, the keystone profile should create its user.

bp tls-via-certmonger-containers

Change-Id: Ifb43b72cbf0180cf12e6d3584c92ae01ce5294e5

7 years agoMerge "TLS everywhere: Add resources for mongodb's TLS configuration"
Jenkins [Mon, 22 May 2017 07:52:07 +0000 (07:52 +0000)]
Merge "TLS everywhere: Add resources for mongodb's TLS configuration"

7 years agoMerge "Bad example in firewall.pp"
Jenkins [Fri, 19 May 2017 17:31:22 +0000 (17:31 +0000)]
Merge "Bad example in firewall.pp"

7 years agoMerge "Switch to overlay2 driver for storage"
Jenkins [Fri, 19 May 2017 17:30:47 +0000 (17:30 +0000)]
Merge "Switch to overlay2 driver for storage"

7 years agoBad example in firewall.pp
Cyril Lopez [Fri, 19 May 2017 10:16:13 +0000 (12:16 +0200)]
Bad example in firewall.pp

It was an error in the example to set firewall rule

Tested on newton.

Closes-Bug: 1691990

Change-Id: I091ad0305ac9d9fbb63853e46169fcaa6092456b
Signed-off-by: Cyril Lopez <cylopez@redhat.com>
7 years agoSwitch to overlay2 driver for storage
Dan Prince [Thu, 30 Mar 2017 17:24:55 +0000 (13:24 -0400)]
Switch to overlay2 driver for storage

This patch switches the default to the overlay2 storage driver and see
if it helps performance.

Background:

The loopback driver is not recommended for production. Most
other docker storage backends require extra disks (or partitions)
which we don't have on the root disk. Overlay seems to make the
most since for TripleO upgrades where we intend to update
in-place installations to use docker.

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

7 years agoMerge "Update tox configuration"
Jenkins [Thu, 18 May 2017 17:16:44 +0000 (17:16 +0000)]
Merge "Update tox configuration"

7 years agoMerge "Update gitignore not to exclude fixture hieradata"
Jenkins [Thu, 18 May 2017 05:42:14 +0000 (05:42 +0000)]
Merge "Update gitignore not to exclude fixture hieradata"

7 years agoMerge "Handle duplicate/invalid entries in migration SSH inbound addresses"
Jenkins [Thu, 18 May 2017 00:13:41 +0000 (00:13 +0000)]
Merge "Handle duplicate/invalid entries in migration SSH inbound addresses"

7 years agoMerge "Disable SSH login for nova_migration user when migration over ssh is disabled."
Jenkins [Thu, 18 May 2017 00:13:19 +0000 (00:13 +0000)]
Merge "Disable SSH login for nova_migration user when migration over ssh is disabled."

7 years agoUpdate gitignore not to exclude fixture hieradata
Alex Schultz [Wed, 17 May 2017 20:45:35 +0000 (14:45 -0600)]
Update gitignore not to exclude fixture hieradata

The existing .gitignore is causing the hieradata we use for tests to be
excluded in git and our release tarballs. Lets adjust the gitignore not
to exclude the hiera files in spec/fixtures

Change-Id: Ic31687d0eb1c2e8acc92796d4c0eba096db8e533
Closes-Bug: #1691559

7 years agoUpdate tox configuration
Alex Schultz [Wed, 17 May 2017 16:59:30 +0000 (10:59 -0600)]
Update tox configuration

Update the tox configuration to pull in the openstack
upper-constraints.txt when running releasenotes. This will
fix the releasenotes job that is currently failing due to
a new version of sphinx. Additionally this change includes
updates from puppet-modulesync-configs.

Change-Id: Ie587bfde2367dfec796f1b07c01bba15d839a3b1
Related-Bug: #1691511

7 years agoTLS everywhere: Add resources for mongodb's TLS configuration
Juan Antonio Osorio Robles [Tue, 2 May 2017 13:15:02 +0000 (16:15 +0300)]
TLS everywhere: Add resources for mongodb's TLS configuration

bp tls-via-certmonger

Change-Id: I85dda29bcad686372a74bd7f094bfd62777a3032

7 years agoComposable Role for Neutron LBaaS
Ryan Hefner [Mon, 9 May 2016 18:24:32 +0000 (14:24 -0400)]
Composable Role for Neutron LBaaS

Add composable service interface for Neutron LBaaSv2 service.

Change-Id: Ieeb21fafd340fdfbaddbe7633946fe0f05c640c9

7 years agoMerge "Use verify_on_create when creating pacemaker remote resources"
Jenkins [Tue, 16 May 2017 15:03:12 +0000 (15:03 +0000)]
Merge "Use verify_on_create when creating pacemaker remote resources"

7 years agoMerge "vhostuser socket dir shall be created for vhostuserclient mode"
Jenkins [Mon, 15 May 2017 17:46:17 +0000 (17:46 +0000)]
Merge "vhostuser socket dir shall be created for vhostuserclient mode"

7 years agovhostuser socket dir shall be created for vhostuserclient mode
Karthik S [Fri, 24 Mar 2017 09:33:41 +0000 (05:33 -0400)]
vhostuser socket dir shall be created for vhostuserclient mode

In order to support vhostuser client mode, a vhostuser_socket_dir
needs to be created with qemu:qemu g+w permissions.

Closes-Bug: #1675690

Co-Authored-By: Sanjay Upadhyay <supadhya@redhat.com>
Change-Id: I255f98c40869e7508ed01a03a96294284ecdc6a8
Signed-off-by: Karthik S <ksundara@redhat.com>
7 years agoMerge "Add support for Cinder "NAS secure" driver params"
Jenkins [Thu, 11 May 2017 16:49:18 +0000 (16:49 +0000)]
Merge "Add support for Cinder "NAS secure" driver params"

8 years agoMerge "Migrates OpenDaylight to official repo"
Jenkins [Mon, 8 May 2017 20:26:04 +0000 (20:26 +0000)]
Merge "Migrates OpenDaylight to official repo"

8 years agoUse verify_on_create when creating pacemaker remote resources
Michele Baldessari [Sat, 6 May 2017 15:40:24 +0000 (17:40 +0200)]
Use verify_on_create when creating pacemaker remote resources

We currently create remote resources without waiting for their creation.
This leads to the following potential race (spotted by Marian Mkrcmari):
- On Step1 pacemaker bootstrap node creates the resource but the remote
  resource is not yet created
- Step1 completes and Step2 starts
- On Step2 the remote node sets a property (or calls pcs cib) but the
  remote is not yet set up so 'pcs cluster cib' will fail there with:

    (err): Could not evaluate: backup_cib: Running: /usr/sbin/pcs cluster
    cib /var/lib/pacemaker/cib/puppet-cib-backup20170506-15994-1swnk1i failed
    with code: 1 ->

Note that when verify_on_create is set to true we are not using the cib
dump/push mechanism. That is fine because we create the remotes on
step1 and the dump/push mechanism is only needed starting from step2
when multiple nodes set cluster properties at the same time.

Tested by Marian Mkrcmari successfully as well.

Closes-Bug: #1689028

Change-Id: I764526b3f3c06591d477cc92779d83a19802368e
Depends-On: I1db31dcc92b8695ab0522bba91df729b37f34e0f

8 years agoPass mistral::api service_name from t-h-t
Brad P. Crochet [Wed, 26 Apr 2017 17:46:17 +0000 (13:46 -0400)]
Pass mistral::api service_name from t-h-t

In order to have the chicken-egg work, service_name had to be explicitly
passed to ::mistral::api. This switches to using values from t-h-t.

Change-Id: Ib94e51f863ba59a1a1db47d58aed3ba4e5fc9650
Depends-On: Ie98dd5061d92dbc3c15bdd8926b0e3d62cc471f6

8 years agoEnable mistral to run under mod_wsgi
Brad P. Crochet [Thu, 20 Apr 2017 13:33:29 +0000 (09:33 -0400)]
Enable mistral to run under mod_wsgi

Mistral should run under mod_wsgi. Enable that.

Change-Id: I99f83c35eaa892c10deb63e199d22a43f06f5dcc
Depends-On: I61199f53d7e32fcb3d068ccaf548a836b5bb58e9

8 years agoAdd Mistral event engine
Brad P. Crochet [Fri, 5 May 2017 14:01:12 +0000 (10:01 -0400)]
Add Mistral event engine

Mistral has an event engine for triggering cron events. Let's run it.

Change-Id: I386e0b77064ca6938af36238f82bfec010aa5a17
Depends-On: Icaef5e5732f98e9cc39ed1f024d715cee371acac

8 years agoMigrates OpenDaylight to official repo
Tim Rozet [Fri, 5 May 2017 17:41:34 +0000 (13:41 -0400)]
Migrates OpenDaylight to official repo

ODL repo has been moved from a personal github account into official ODL
repo.

Change-Id: I1248c22acc09962ef788ca19ee87b6bda8ef8450
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoRemove limits for redis in /etc/security/limits.d
Michele Baldessari [Fri, 5 May 2017 10:29:39 +0000 (12:29 +0200)]
Remove limits for redis in /etc/security/limits.d

Now that puppet-redis supports ulimit for cluster managed redis (via
https://github.com/arioch/puppet-redis/pull/192), we need to remove the
file snippet as otherwise we will get a duplicate resource error.

We will need to create a THT change that at the very least sets the
redis::managed_by_cluster_manager key to true so that
/etc/security/limits.d/redis.conf gets created.
We also add code to not break backwards compatibility with the old hiera
key.

Change-Id: I4ffccfe3e3ba862d445476c14c8f2cb267fa108d
Partial-Bug: #1688464