apex-puppet-tripleo.git
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 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 agoMerge "Update global requirements"
Jenkins [Fri, 9 Jun 2017 10:56:18 +0000 (10:56 +0000)]
Merge "Update global requirements"

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 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

8 years agoHandle duplicate/invalid entries in migration SSH inbound addresses
Oliver Walsh [Fri, 5 May 2017 00:30:21 +0000 (01:30 +0100)]
Handle duplicate/invalid entries in migration SSH inbound addresses

An error (e.g a typo) in a custom tripleo-heat-templates environment
file could lead to an invalid match block in /etc/ssh/sshd_config.
SSH fails-safe and refuses all logins in this case.

This change validates the migration_ssh_localaddrs parameter is an
array of IP addresses and removes and duplicate entries.

Change-Id: Ibcf144d960fe52f0eab0d5015bd30cf7c1e37e25
Closes-Bug: #1688308

8 years agoDisable SSH login for nova_migration user when migration over ssh is disabled.
Oliver Walsh [Thu, 4 May 2017 19:21:51 +0000 (20:21 +0100)]
Disable SSH login for nova_migration user when migration over ssh is disabled.

If migration over ssh is enabled, and then later disabled, the ssh config
for the nova_migration user remains intact. This change clobbers the migration
SSH key to disable login when it is not necessary.

Change-Id: Icc6d5d4f4671b3525a731d334ca6fa7c5419dac3
Closes-Bug: #1688321

8 years agoMerge "Restrict nova migration ssh tunnel"
Jenkins [Thu, 4 May 2017 17:30:30 +0000 (17:30 +0000)]
Merge "Restrict nova migration ssh tunnel"

8 years agoAdd support for Cinder "NAS secure" driver params
Alan Bishop [Thu, 4 May 2017 16:27:27 +0000 (12:27 -0400)]
Add support for Cinder "NAS secure" driver params

Add ability to set Cinder's nas_secure_file_operations and
nas_secure_file_permissions driver parameters. Two sets of identically
named parameters are implemented by Cinder's NFS and NetApp back end
drivers.

The ability to control these parameters is crucial for supporting deployments
that require non-default values.

Partial-Bug: #1688332
Depends-On: Id92cfd4190de8687d4731cf301f2df0bde1ba7d9
Change-Id: I76e2ce10acf7b671be6a2785829ebb3012b79308

8 years agoMerge "MySQL client: Make CA file configurable"
Jenkins [Thu, 4 May 2017 10:50:09 +0000 (10:50 +0000)]
Merge "MySQL client: Make CA file configurable"

8 years agoMerge "snmp: remove useless parameter for binding"
Jenkins [Wed, 3 May 2017 21:14:50 +0000 (21:14 +0000)]
Merge "snmp: remove useless parameter for binding"

8 years agoRestrict nova migration ssh tunnel
Oliver Walsh [Wed, 19 Apr 2017 13:39:42 +0000 (14:39 +0100)]
Restrict nova migration ssh tunnel

This change enhances the security of the migration ssh tunnel:
- The ssh authorized_keys file is only writeable by root.
- Creates a new user for migration instead of using root/nova.
- Disables SSH forwarding for this user.
- Optionally restricts the networks that this user can connect from.
- Uses an ssh wrapper command to whitelist the commands that this user can run
  over ssh.

Requires the openstack-nova-migration package from
https://review.rdoproject.org/r/6327

bp tripleo-cold-migration

Change-Id: Idb56acd1e1ecb5a5fd4d942969be428cc9cbe293

8 years agoMerge "IPv6 VIP addresses need to be /128"
Jenkins [Wed, 3 May 2017 19:43:11 +0000 (19:43 +0000)]
Merge "IPv6 VIP addresses need to be /128"

8 years agoMySQL client: Make CA file configurable
Juan Antonio Osorio Robles [Wed, 3 May 2017 09:54:38 +0000 (12:54 +0300)]
MySQL client: Make CA file configurable

It used to be hardcoded to use the OpenSSL default CA Bundle, however,
this will be changed in t-h-t.

Change-Id: I75bdaf71d88d169e64687a180cb13c1f63418a0f

8 years agoIPv6 VIP addresses need to be /128
Michele Baldessari [Wed, 26 Apr 2017 09:40:51 +0000 (11:40 +0200)]
IPv6 VIP addresses need to be /128

We currently hardcode /64 as our VIP addresses when using IPv6.
The problem with this is that some server code might bind to that
IP as a source address when doing inter-cluster communication
(rabbitmq/galera for example). So when the VIP moves there will
be effectively a network outage between the nodes, which should not
happen.

Likely this was hardcoded to /64 because the RA IPaddr2 needs a nic
parameter when /128 is specified. This is due to:
https://bugzilla.redhat.com/show_bug.cgi?id=1445628

We also make sure we use the ipv6_addrlabel option set to 99 so that
they will never be used as source ip addresses.

Depends-On: I7fcf15a00aedbdcfb21db501ad46c69fb97ec30c
Partial-Bug: #1686357

Change-Id: Ibefde870512ad1e03ff12f7aea91b3734f03f96f
Co-Authored-By: Sofer Athlan-Guyot <sathlang@redhat.com>
Co-Authored-By: Marios Andreou <mandreou@redhat.com>
Co-Authored-By: Damien Ciabrini <dciabrin@redhat.com>
8 years agoMerge "firewall: generally accept "jump" param and use tripleo:firewall for log rule"
Jenkins [Wed, 3 May 2017 07:39:07 +0000 (07:39 +0000)]
Merge "firewall: generally accept "jump" param and use tripleo:firewall for log rule"

8 years agosnmp: remove useless parameter for binding
Emilien Macchi [Tue, 2 May 2017 13:53:51 +0000 (09:53 -0400)]
snmp: remove useless parameter for binding

Binding is now done in THT via Hiera directly, so users can change the
option more easily.

Depends-On: Iccf0a8d35cc05d34272c078c97a5dddfb8e7d614
Change-Id: I9d5fd152bb73ea54c4d0d3bab862f11eaa4ebd79
Closes-Bug: #1687628

8 years agoMerge "Fix wrong notify in swift proxy profile"
Jenkins [Thu, 27 Apr 2017 17:33:56 +0000 (17:33 +0000)]
Merge "Fix wrong notify in swift proxy profile"

8 years agoMerge "Add linuxbridge agent profile"
Jenkins [Thu, 27 Apr 2017 15:59:58 +0000 (15:59 +0000)]
Merge "Add linuxbridge agent profile"

8 years agoMerge "Include base apache module in tls_proxy resource"
Jenkins [Thu, 27 Apr 2017 14:52:12 +0000 (14:52 +0000)]
Merge "Include base apache module in tls_proxy resource"

8 years agoFix wrong notify in swift proxy profile
Juan Antonio Osorio Robles [Thu, 27 Apr 2017 07:23:36 +0000 (10:23 +0300)]
Fix wrong notify in swift proxy profile

the TLS proxy was notifying neutron::server instead of swift proxy.

Change-Id: I212978c107a75209d5b7c266e608eb9a9e9cdc76

8 years agoInclude base apache module in tls_proxy resource
Juan Antonio Osorio Robles [Thu, 27 Apr 2017 06:56:13 +0000 (09:56 +0300)]
Include base apache module in tls_proxy resource

Other services include it by using the vhost resource from openstacklib.
If we include a service (such as swift-proxy) that uses the tls_proxy
resource, and we do so in a separate node or in its own container, it
will fail since the base apache module hadn't been included.

Change-Id: I0167e08b0b652618d8a1af792376bcf02c8fcd82

8 years agoAdd support for autofencing to Pacemaker Remote.
Chris Jones [Tue, 25 Apr 2017 15:05:27 +0000 (16:05 +0100)]
Add support for autofencing to Pacemaker Remote.

We now configure stonith devices for Pacemaker Remote nodes.

Change-Id: I87c60bd56feac6dedc00a3c458b805aa9b71d9ce
Depends-On: Ifb4d19a6b9920b0e340555d6441878c7234eb197
Partial-Bug: #1686115

8 years agoAdd a flag to rabbitmq so that we can deploy with ha-mode: all again
Michele Baldessari [Wed, 26 Apr 2017 08:12:50 +0000 (10:12 +0200)]
Add a flag to rabbitmq so that we can deploy with ha-mode: all again

In change Ib62001c03e1e08f58cf0c6e0ba07a8879a584084 we switched the
rabbitmq queues HA mode from ha-all to ha-exactly. While this gives us a
nice performance boost with rabbitmq, it makes rabbit less resilient to
network glitches as we painfully found out via
https://bugzilla.redhat.com/show_bug.cgi?id=1441635.

Will propose another THT change to actually change the default to
-1 so we get this ha-mode:all by default.

Change-Id: I9a90e71094b8d8d58b5be0a45a2979701b0ac21c
Partial-Bug: #1686337
Co-Authored-By: Damien Ciabrini <dciabrin@redhat.com>
Co-Authored-By: John Eckersberg <jeckersb@redhat.com>
8 years agoMerge "Enable internal network TLS for etcd"
Jenkins [Tue, 25 Apr 2017 17:33:53 +0000 (17:33 +0000)]
Merge "Enable internal network TLS for etcd"

8 years agoMerge "Update puppet-etcd version"
Jenkins [Tue, 25 Apr 2017 13:35:02 +0000 (13:35 +0000)]
Merge "Update puppet-etcd version"

8 years agoMerge "Add support for Redfish hardware in Ironic"
Jenkins [Tue, 25 Apr 2017 11:29:16 +0000 (11:29 +0000)]
Merge "Add support for Redfish hardware in Ironic"

8 years agoMerge "Include zaqar apache module"
Jenkins [Tue, 25 Apr 2017 09:53:09 +0000 (09:53 +0000)]
Merge "Include zaqar apache module"