apex-puppet-tripleo.git
7 years agoIgnore failures when loading nf_conntrack_proto_sctp kernel module
Or Idgar [Thu, 15 Jun 2017 13:41:02 +0000 (13:41 +0000)]
Ignore failures when loading nf_conntrack_proto_sctp kernel module

Ignore failures if nf_conntrack_proto_sctp module failed to load.
Since RHEL 7.4, nf_conntrack_proto_sctp module is compiled into the
kernel instead of as a module as the sctp support.
TripleO will still try to load the module to support RHEL 7.3, but
in the future will remove the module management and rely on the kernel
provided in newer versions of RHEL.

Co-Authored-By: Or Idgar <oidgar@redhat.com>
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
Co-Authored-By: Emilien Macchi <emilien@redhat.com>
Change-Id: I8f1c841a7c0f3b1247aba2b959b6dfbe43d8cd79
Closes-Bug: 1695885

7 years agoMerge "Require the UI package when creating the virtual host"
Jenkins [Tue, 20 Jun 2017 16:50:29 +0000 (16:50 +0000)]
Merge "Require the UI package when creating the virtual host"

7 years agoMerge "Fix the port for Panko API"
Jenkins [Mon, 19 Jun 2017 18:29:47 +0000 (18:29 +0000)]
Merge "Fix the port for Panko API"

7 years agoRequire the UI package when creating the virtual host
Carlos Camacho [Thu, 15 Jun 2017 09:49:42 +0000 (11:49 +0200)]
Require the UI package when creating the virtual host

Quickstart is failing with this error:

Error: Cannot create /var/www/openstack-tripleo-ui/dist;
       parent directory /var/www/openstack-tripleo-ui does not exist
Error: /Stage[main]/Tripleo::Ui/Apache::Vhost[tripleo-ui]/File[/var/www/openstack-tripleo-ui/dist]
       ensure: change from absent to directory
       failed: Cannot create /var/www/openstack-tripleo-ui/dist; parent directory /var/www/openstack-tripleo-ui does not exist

Puppet cant create the folders tree by itself.

Closes-bug: 1698105
Change-Id: I5cce963a6225552f4b7253cb34edc72b392b9dda

7 years agoMerge "Fixes an issue when rebooting with an NFS mount."
Jenkins [Mon, 19 Jun 2017 14:01:59 +0000 (14:01 +0000)]
Merge "Fixes an issue when rebooting with an NFS mount."

7 years agoMerge "Addition of Nuage as mechanism driver for ML2"
Jenkins [Mon, 19 Jun 2017 13:57:53 +0000 (13:57 +0000)]
Merge "Addition of Nuage as mechanism driver for ML2"

7 years agoMerge "Ensure hiera step value is an integer"
Jenkins [Fri, 16 Jun 2017 23:25:23 +0000 (23:25 +0000)]
Merge "Ensure hiera step value is an integer"

7 years agoMerge "For http service endpoints always redirect to https"
Jenkins [Fri, 16 Jun 2017 21:43:25 +0000 (21:43 +0000)]
Merge "For http service endpoints always redirect to https"

7 years agoMerge "Only set the stonith property on the pacemaker_master node"
Jenkins [Fri, 16 Jun 2017 20:39:12 +0000 (20:39 +0000)]
Merge "Only set the stonith property on the pacemaker_master node"

7 years agoFor http service endpoints always redirect to https
Juan Antonio Osorio Robles [Wed, 14 Jun 2017 08:22:35 +0000 (11:22 +0300)]
For http service endpoints always redirect to https

If public TLS is enabled, this sets as default that services should
always redirect to https.

Change-Id: I19b9d07ac8925366ed27fefcaca4fdb9a9ab1b37

7 years agoFix redis when hostname has capital letters
Alex Schultz [Thu, 15 Jun 2017 19:17:08 +0000 (13:17 -0600)]
Fix redis when hostname has capital letters

The bootstrap_nodeid comparison should be case insensitive.

Change-Id: I1e6672bb0219c1cf56ab21dd911c6f33e2436cc3
Closes-Bug: #1698190

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 agoAddition of Nuage as mechanism driver for ML2
lokesh-jain [Wed, 14 Jun 2017 22:40:05 +0000 (18:40 -0400)]
Addition of Nuage as mechanism driver for ML2

Adding Nuage as mechanism driver where ML2 is the neutron
core plugin. ML2 base profile includes Nuage when mechanism
driver is Nuage. Added Nuage neutron ML2 profile for tripleo.

Change-Id: Ib56a7ad8f43fc6274eebc83bd2a62e68c030599d

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 agoOnly set the stonith property on the pacemaker_master node
Michele Baldessari [Wed, 7 Jun 2017 08:20:25 +0000 (10:20 +0200)]
Only set the stonith property on the pacemaker_master node

It makes little sense to enforce the stonith property on remote nodes and/or
all cluster nodes. We can just enforce it once on the pacemaker_master
node as it is a cluster-wide property anyway. We can also remove the
tripleo::fencing -> pacemaker::stonith constraint in the pacemaker
remote profile now as the fencing stuff happens on step 5 anyway and
the property is set at step 1.

While this works in general it creates extra CIB changes for nothing and
slows down the deployment.

Change-Id: Ifef08033043a4cc90a6261e962d2fdecdf275650
Closes-Bug: #1696336

7 years agoEnsure hiera step value is an integer
Steve Baker [Sun, 21 May 2017 22:40:14 +0000 (10:40 +1200)]
Ensure hiera step value is an integer

The step is typically set with the hieradata setting an integer value:

  {"step": 1}

However it would be useful for the value to be a string so that
substitutions are possible, for example:

  {"step": "%{::step}"}

This change ensures the step parameter defaults to an integer by
calling Integer(hiera('step'))

This change was made by manually removing the undef defaults from
fluentd.pp, uchiwa.pp, and sensu.pp then bulk updating with:

    find ./ -type f -print0 |xargs -0 sed -i "s/= hiera('step')/= Integer(hiera('step'))/"

Change-Id: I8a47ca53a7dea8391103abcb8960a97036a6f5b3

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 agoFixes an issue when rebooting with an NFS mount.
Marc Methot [Tue, 13 Jun 2017 19:23:54 +0000 (15:23 -0400)]
Fixes an issue when rebooting with an NFS mount.

_netdev mount option helps fix a timing issue when rebooting.
This looks like we're hitting an issue where we're using
network instead of NetworkManager and that systemd doesn't
unmount the NFS shares before stopping network.

Change-Id: I5d2c89db29ef75aaf371b3c9dd561587d7b6f87b
Closes-Bug: #1697752

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 agoFix the port for Panko API
ZhongShengping [Wed, 7 Jun 2017 03:23:41 +0000 (11:23 +0800)]
Fix the port for Panko API

The port used for Panko is conflicts with Trove[1]. According to the
official documentation[2] this should be 8777. The 8777 port has been
occupied by ceilometer. So set the panko api port to 8977.

[1]https://github.com/openstack/trove/blob/master/etc/apache2/trove#L20
[2]https://docs.openstack.org/developer/panko/install/manual.html#installing-the-api-server

Change-Id: I5ccfc97765fc8b8bf9686b2451eda9c44c77dffc
Closes-Bug: #1691283
Depends-On: I53b286d1d6466b574fdb286cc45f3138f96dff59

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"