apex-puppet-tripleo.git
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 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 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 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"

8 years agoMerge "Dell SC: Add secondary DSM support"
Jenkins [Tue, 25 Apr 2017 01:58:09 +0000 (01:58 +0000)]
Merge "Dell SC: Add secondary DSM support"

8 years agoUpdate puppet-etcd version
Bogdan Dobrelya [Mon, 24 Apr 2017 16:07:00 +0000 (18:07 +0200)]
Update puppet-etcd version

Include the yaml config file for containers

Change-Id: I3ad463217ed3f2d6374627248236b274cfed72fb
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
8 years agoAdd support for Redfish hardware in Ironic
Dmitry Tantsur [Mon, 24 Apr 2017 12:48:28 +0000 (14:48 +0200)]
Add support for Redfish hardware in Ironic

Part of blueprint redfish-support

Depends-On: Icd065cec7114fc026b658ede0d78be2e777c15aa
Change-Id: Ib14f87800ae7657cf6176a4820248a2ce048241d

8 years agoMerge "Enable setting SubjectaltNames for haproxy and httpd certs"
Jenkins [Mon, 24 Apr 2017 12:17:17 +0000 (12:17 +0000)]
Merge "Enable setting SubjectaltNames for haproxy and httpd certs"

8 years agoMove ceilometer upgrade re-run out of collector
Pradeep Kilambi [Tue, 18 Apr 2017 23:14:16 +0000 (19:14 -0400)]
Move ceilometer upgrade re-run out of collector

Since collector is deprecated, lets move this out of collector.pp
so it gets run and resource types are created appropriately even
when collector is not included.

Closes-bug: #1676961

Change-Id: I32445a891c34f519ab16dcecc81993f8909f6481

8 years agoMerge "Allow to configure haproxy daemon's status"
Jenkins [Fri, 21 Apr 2017 13:39:13 +0000 (13:39 +0000)]
Merge "Allow to configure haproxy daemon's status"

8 years agoMerge "Cover gnocchi api step 4 and 5"
Jenkins [Fri, 21 Apr 2017 13:10:25 +0000 (13:10 +0000)]
Merge "Cover gnocchi api step 4 and 5"

8 years agoMerge "Add resource profile for vmware nsx_v3"
Jenkins [Fri, 21 Apr 2017 13:01:29 +0000 (13:01 +0000)]
Merge "Add resource profile for vmware nsx_v3"

8 years agoMerge "Add ML2 configuration for Bagpipe BGPVPN extension"
Jenkins [Fri, 21 Apr 2017 12:55:50 +0000 (12:55 +0000)]
Merge "Add ML2 configuration for Bagpipe BGPVPN extension"

8 years agoMerge "Refactor SSHD config to allow both SSHD options and banner/motd to be set"
Jenkins [Fri, 21 Apr 2017 05:00:27 +0000 (05:00 +0000)]
Merge "Refactor SSHD config to allow both SSHD options and banner/motd to be set"

8 years agoMerge "Update UI language list"
Jenkins [Fri, 21 Apr 2017 00:06:41 +0000 (00:06 +0000)]
Merge "Update UI language list"

8 years agoInclude zaqar apache module
Thomas Herve [Tue, 21 Mar 2017 08:51:26 +0000 (09:51 +0100)]
Include zaqar apache module

This includes the Zaqar apache module, allowing to run Zaqar behind
httpd.

Depends-On: I69b923dd76a60e9ec786cae886c137ba572ec906
Change-Id: Ib52144e5877d9293057713d6bdca557724baad5c

8 years agoMerge "Haproxy: When using TLS everywhere, use verifyhost for the balancermembers"
Jenkins [Thu, 20 Apr 2017 09:26:53 +0000 (09:26 +0000)]
Merge "Haproxy: When using TLS everywhere, use verifyhost for the balancermembers"

8 years agoRefactor SSHD config to allow both SSHD options and banner/motd to be set
Oliver Walsh [Tue, 18 Apr 2017 11:51:36 +0000 (12:51 +0100)]
Refactor SSHD config to allow both SSHD options and banner/motd to be set

In https://review.openstack.org/#/c/444622/7 the sshd_options and banner/motd
are mutually exclusive. This patch, and the next patchset of that review,
resolves the conflict.

Related-Bug: 1668543

Change-Id: I1d09530d69e42c0c36311789166554a889e46556

8 years agoCover gnocchi api step 4 and 5
Alex Schultz [Wed, 12 Apr 2017 19:53:44 +0000 (13:53 -0600)]
Cover gnocchi api step 4 and 5

Update the gnocchi api to expose the redis information as a class
parameter so it can be tested correctly.

Change-Id: I075b4af5e7bb35f90f7b82f8fb1b6d6ad6363b71

8 years agoEnsure /etc/docker/daemon.json
Dan Prince [Wed, 19 Apr 2017 21:55:54 +0000 (16:55 -0500)]
Ensure /etc/docker/daemon.json

A recent Centos docker packaging change removed the default
/etc/docker/daemon.json file. As such we need to create an empty
json file if none exists before running Augeas to configure
the settings.

Change-Id: Ibfe04b468639002f55da7bb65d2606f730c700b7
Closes-bug: #1684297

8 years agoDell SC: Add secondary DSM support
rajinir [Mon, 10 Apr 2017 16:46:03 +0000 (11:46 -0500)]
Dell SC: Add secondary DSM support

Adds support for a secondary DSM in case the primary becomes
unavailable.

Change-Id: Ibf8c333f62556d421d67c853f1f0740d7f9985bf
Depends-On: I331466e4f254b2b8ff7891b796e78cd30c2c87f7

8 years agoAllow to configure haproxy daemon's status
Michele Baldessari [Wed, 19 Apr 2017 10:56:46 +0000 (12:56 +0200)]
Allow to configure haproxy daemon's status

Currently we hard-code the fact that haproxy starts as a daemon.
When running haproxy in a container we need this to be configurable
because the haproxy process will be pid number 1.

We are not changing the current semantics which have the 'daemon'
option always set, but we are allowing its disabling.

Change-Id: I51c482b70731f15fee4025bbce14e46a49a49938

8 years agoMerge "Ensure we configure ssl.conf"
Jenkins [Wed, 19 Apr 2017 10:45:55 +0000 (10:45 +0000)]
Merge "Ensure we configure ssl.conf"

8 years agoAdd linuxbridge agent profile
Bartosz Stopa [Wed, 19 Apr 2017 07:18:27 +0000 (09:18 +0200)]
Add linuxbridge agent profile

Add a tripleo profile for neutron linuxbridge agent configuration.

Change-Id: Ie3ac03052f341c26735b423701e1decf7233d935
Partial-Bug: #1652211

8 years agoMerge "Create bigswitch agent profile"
Jenkins [Wed, 19 Apr 2017 03:11:07 +0000 (03:11 +0000)]
Merge "Create bigswitch agent profile"