apex-puppet-tripleo.git
7 years agoMerge "Repair immediate VF configuration for PCI SR-IOV" into stable/pike
Jenkins [Fri, 1 Sep 2017 08:54:40 +0000 (08:54 +0000)]
Merge "Repair immediate VF configuration for PCI SR-IOV" into stable/pike

7 years agoUse Python to compute release notes version
Emilien Macchi [Wed, 30 Aug 2017 21:31:34 +0000 (14:31 -0700)]
Use Python to compute release notes version

Leave the version fields blank, since the release notes document
applies to all versions.
That will avoid manual changes in the future like we did until now.

Change-Id: I9c64787b278b53a0f4125275678ded3f46d05be2
(cherry picked from commit aefd5f7afd238b50eff71fe6f583ef7cadb54d12)

7 years agoMerge "HAProxy: Make certmonger bundle the cert and key on renewal" into stable/pike
Jenkins [Thu, 31 Aug 2017 01:51:59 +0000 (01:51 +0000)]
Merge "HAProxy: Make certmonger bundle the cert and key on renewal" into stable/pike

7 years agoMerge "Certmonger: Only attempt to reload haproxy is it's active" into stable/pike
Jenkins [Thu, 31 Aug 2017 01:51:53 +0000 (01:51 +0000)]
Merge "Certmonger: Only attempt to reload haproxy is it's active" into stable/pike

7 years agoMerge "Support for Dell EMC Unity Manila Driver" into stable/pike
Jenkins [Thu, 31 Aug 2017 00:27:50 +0000 (00:27 +0000)]
Merge "Support for Dell EMC Unity Manila Driver" into stable/pike

7 years agoMerge "Support for Dell EMC Isilon Manila Driver" into stable/pike
Jenkins [Thu, 31 Aug 2017 00:27:08 +0000 (00:27 +0000)]
Merge "Support for Dell EMC Isilon Manila Driver" into stable/pike

7 years agoHAProxy: Make certmonger bundle the cert and key on renewal
Juan Antonio Osorio Robles [Wed, 23 Aug 2017 09:20:20 +0000 (12:20 +0300)]
HAProxy: Make certmonger bundle the cert and key on renewal

the postsave command is ran by certmonger when a certificate is
requested (which will happen on certificate renewal). The previous
command given didn't take into account the file that haproxy expects,
which is a bundled PEM file with both the certificate and the key. Thus,
certmonger would have never generated a new bundle that haproxy would
use, resulting in haproxy always having an old bundle after certificate
expiration.

This fixes that.

Change-Id: Idb650d35f56abaf6a17e17794a068dd5933e6a62
Closes-Bug: #1712514
(cherry picked from commit e1791a37d557b14bb8f833363cabe5c98e151548)

7 years agoCertmonger: Only attempt to reload haproxy is it's active
Juan Antonio Osorio Robles [Wed, 23 Aug 2017 06:01:53 +0000 (09:01 +0300)]
Certmonger: Only attempt to reload haproxy is it's active

Previously, certmonger tried to reload haproxy every time after a
certificate is requested. This is useful for certificate resubmits or
renewals. However, it turned out problematic on installation, when
haproxy is not yet active, as it would try many times and end up having
a race-condition with puppet.

This checks if haproxy is active and only then will it attempt to reload
it.

Change-Id: I51f9cccb5d1518a9647778e7bf6f9426a02ceb60
Closes-Bug: #1712377
(cherry picked from commit 351ab932514f13d7a139b0b41fdc4f6f7e990c8f)

7 years agoSupport for Dell EMC Unity Manila Driver
rajinir [Thu, 3 Aug 2017 16:13:19 +0000 (11:13 -0500)]
Support for Dell EMC Unity Manila Driver

This changes adds Dell EMC Unity backend as composable service
and matches the tripleo-heat-templates.

Change-Id: I0df1e16db89cd53e4f16cd08ccb975d8e7e9a470
Implements: blueprint dellemc-unity-manila
(cherry picked from commit 2f93b4fc3aa63d99b7dcb0302e9ee48bda1f4282)

7 years agoSupport for Dell EMC Isilon Manila Driver
rajinir [Fri, 28 Jul 2017 23:50:06 +0000 (18:50 -0500)]
Support for Dell EMC Isilon Manila Driver

This changes adds Dell EMC Isilon backend as composable service
and matches the tripleo-heat-templates.

Change-Id: I30f6b4c4ebe0a708a5eb34cd016544f4d2b9c2bb
Implements: blueprint dellemc-isilon-manila
(cherry picked from commit 75ee7f12f165d4ef6e47600d8c0ec93dff3b610d)

7 years agoAdd /etc/ceph into pacemaker bundles
Giulio Fidente [Mon, 28 Aug 2017 07:56:18 +0000 (09:56 +0200)]
Add /etc/ceph into pacemaker bundles

We missed to mount the Ceph config files into the docker/pacemaker
profiles.

Change-Id: I23b6890b4cf7f1e6fe84b6be280dde82218275fc
Closes-Bug: #1713421
(cherry picked from commit b18ae72c6aaad9eb98d7e4490a6572441f63b9a1)

7 years agoEnable config for docker daemon debug
Alex Schultz [Thu, 24 Aug 2017 16:07:23 +0000 (10:07 -0600)]
Enable config for docker daemon debug

Exposes a way to configure the docker daemon with debug enabled.

Change-Id: I654a70c8bb7753679be83d78ca653ed44c3a7395
Related-Bug: #1710533
(cherry picked from commit 44b90c9a79146139cbcbe7f560bd1df667cca780)

7 years agoMerge "Fix panko port to match tht" into stable/pike
Jenkins [Sat, 26 Aug 2017 18:41:07 +0000 (18:41 +0000)]
Merge "Fix panko port to match tht" into stable/pike

7 years agoRepair immediate VF configuration for PCI SR-IOV
Brent Eagles [Thu, 24 Aug 2017 19:43:01 +0000 (17:13 -0230)]
Repair immediate VF configuration for PCI SR-IOV

Change I71edc135432ab2193741c37ce977dd11172401e6 broke the host VF
configuration that set VF counts when the puppet is applied. This patch
re-adds the ensure => present property required for proper behavior.

Change-Id: Ibd18c4f3b7f0d8cee330f94f87e7ad4ea7ceeffb
Closes-Bug: #1712903
(cherry picked from commit 1e133f31466bf17df66b0f552a2ce5b3b056e666)

7 years agoMerge "Update UPPER_CONSTRAINTS_FILE for stable/pike" into stable/pike
Jenkins [Fri, 25 Aug 2017 23:05:14 +0000 (23:05 +0000)]
Merge "Update UPPER_CONSTRAINTS_FILE for stable/pike" into stable/pike

7 years agoMerge "Update .gitreview for stable/pike" into stable/pike
Jenkins [Fri, 25 Aug 2017 22:30:25 +0000 (22:30 +0000)]
Merge "Update .gitreview for stable/pike" into stable/pike

7 years agoFix panko port to match tht
Pradeep Kilambi [Wed, 23 Aug 2017 12:43:36 +0000 (08:43 -0400)]
Fix panko port to match tht

In templates we use 13977 as the port for panko. The
old 13779 is reserved for trove so it conflicts.

Closes-bug: #1712566

Change-Id: I77444199eef6c2b9abbd819829b4fea2d698e2db
(cherry picked from commit 5064677dda8e4f140df6d024089e95afe11a91f1)

7 years agoAdd /bin to PATH for CRL cronjob
Juan Antonio Osorio Robles [Thu, 24 Aug 2017 06:25:33 +0000 (09:25 +0300)]
Add /bin to PATH for CRL cronjob

Checking the root's mail (/var/mail/root) I finally saw the root cause
of the CRL cronjob not working.

/bin/sh: curl: command not found

now, curl, (and most commands used by that cronjob) is in the /bin bash,
so we need to add it to the environment's PATH for the cronjob.

Change-Id: If10855b801782eeaf2006cd57071d74d13daf8c2
Closes-Bug: #1712404
(cherry picked from commit 139ac85028947f476a085e89bd54f3dfacd886cf)

7 years agoUpdate UPPER_CONSTRAINTS_FILE for stable/pike
OpenStack Release Bot [Thu, 24 Aug 2017 21:04:52 +0000 (21:04 +0000)]
Update UPPER_CONSTRAINTS_FILE for stable/pike

Change-Id: Ibc02e4e87593f18c4c48a9e8197a4cd3c16d9cd4

7 years agoUpdate .gitreview for stable/pike
OpenStack Release Bot [Thu, 24 Aug 2017 21:04:51 +0000 (21:04 +0000)]
Update .gitreview for stable/pike

Change-Id: Ib750ba8a4e76a25ffd2352b420e97548447eae97

7 years agoMerge "Use resource collector for the fencing -> stonith ordering"
Jenkins [Thu, 24 Aug 2017 18:10:12 +0000 (18:10 +0000)]
Merge "Use resource collector for the fencing -> stonith ordering"

7 years agoMerge "TLS-everywhere/libvirt: Make postsave command configurable"
Jenkins [Thu, 24 Aug 2017 17:56:15 +0000 (17:56 +0000)]
Merge "TLS-everywhere/libvirt: Make postsave command configurable"

7 years agoTLS-everywhere/libvirt: Make postsave command configurable
Juan Antonio Osorio Robles [Tue, 22 Aug 2017 18:14:22 +0000 (18:14 +0000)]
TLS-everywhere/libvirt: Make postsave command configurable

This is requires for when libvirt is running over a container, since
we shouldn't try to restart the libvirt process, but the container
itself.

bp tls-via-certmonger-containers

Change-Id: I26a7748b37059ea37f460d8c70ef684cc41b16d3

7 years agoMerge "Add OVN DBs bundle support for pacemaker HA"
Jenkins [Thu, 24 Aug 2017 10:51:11 +0000 (10:51 +0000)]
Merge "Add OVN DBs bundle support for pacemaker HA"

7 years agoUse resource collector for the fencing -> stonith ordering
Michele Baldessari [Wed, 23 Aug 2017 15:45:41 +0000 (17:45 +0200)]
Use resource collector for the fencing -> stonith ordering

Change Ifef08033043a4cc90a6261e962d2fdecdf275650 moved the stonith
property definition to the pacemaker_master node. This means that the
Class['tripleo::fencing'] -> Class['pacemaker::stonith'] ordering
breaks on non-boostrap pacemaker nodes because the pacemaker::stonith
property is not defined there any longer.

Let's fix this by simply using a resource collector and set the ordering
on that instead of adding yet anoth if statement. Ordering on
enablement of stonith is actually more correct formally.

Tested this on a broken setup successfully.

Closes-Bug: #1712605
Change-Id: I616d340bdf75da9d9eb8b83b2e804dff3d07d58e

7 years agoAdd -s (silent) to curl command for CRL refresh
Juan Antonio Osorio Robles [Tue, 22 Aug 2017 18:06:14 +0000 (21:06 +0300)]
Add -s (silent) to curl command for CRL refresh

Without it, it doesn't reload the services it should.

Change-Id: I43e6188700deb585f905ca700e69b6875f0ded45
Closes-Bug: #1712404

7 years agoMerge "Do not create fs and server side key from manila"
Jenkins [Mon, 21 Aug 2017 23:55:32 +0000 (23:55 +0000)]
Merge "Do not create fs and server side key from manila"

7 years agoMerge "Certmonger: Make postsave command configurable"
Jenkins [Mon, 21 Aug 2017 11:42:06 +0000 (11:42 +0000)]
Merge "Certmonger: Make postsave command configurable"

7 years agoMerge "Support for Dell EMC VMAX Manila Driver"
Jenkins [Sat, 19 Aug 2017 03:07:04 +0000 (03:07 +0000)]
Merge "Support for Dell EMC VMAX Manila Driver"

7 years agoMerge "Support for Dell EMC VMAX ISCSI Cinder Driver"
Jenkins [Sat, 19 Aug 2017 03:06:59 +0000 (03:06 +0000)]
Merge "Support for Dell EMC VMAX ISCSI Cinder Driver"

7 years agoMerge "Allow configuring multiple insecure registries"
Jenkins [Sat, 19 Aug 2017 03:06:46 +0000 (03:06 +0000)]
Merge "Allow configuring multiple insecure registries"

7 years agoMerge "Add TLS for nova metadata service"
Jenkins [Sat, 19 Aug 2017 03:06:40 +0000 (03:06 +0000)]
Merge "Add TLS for nova metadata service"

7 years agoCertmonger: Make postsave command configurable
Juan Antonio Osorio Robles [Wed, 16 Aug 2017 06:26:42 +0000 (09:26 +0300)]
Certmonger: Make postsave command configurable

We need to make it configurable since these commands don't apply for
containerized environments. This way we can restart containers or
disable restarting and rely on other means.

This stems from the issue that some services get accidentally started by
certmonger on containerized environments, which makes the container
initialization fail.

bp tls-via-certmonger-containers

Change-Id: I62ff89362cfcc80e6e62fad09110918c36802813

7 years agoMerge "Enable TLS in the internal network for horizon"
Jenkins [Fri, 18 Aug 2017 15:23:32 +0000 (15:23 +0000)]
Merge "Enable TLS in the internal network for horizon"

7 years agoMerge "Create separate resource for HAProxy horizon endpoint"
Jenkins [Fri, 18 Aug 2017 15:23:26 +0000 (15:23 +0000)]
Merge "Create separate resource for HAProxy horizon endpoint"

7 years agoMerge "Move barbican's database creation to mysql profile"
Jenkins [Fri, 18 Aug 2017 07:45:47 +0000 (07:45 +0000)]
Merge "Move barbican's database creation to mysql profile"

7 years agoMerge "Release Pike rc1 - 7.3.0"
Jenkins [Fri, 18 Aug 2017 03:16:51 +0000 (03:16 +0000)]
Merge "Release Pike rc1 - 7.3.0"

7 years agoAdd TLS for nova metadata service
Juan Antonio Osorio Robles [Thu, 17 Aug 2017 17:29:32 +0000 (17:29 +0000)]
Add TLS for nova metadata service

This adds a TLS proxy in front of it so it serves TLS in the internal
network.

bp tls-via-certmonger

Change-Id: I97ac2da29be468c75713fe2fae7e6d84cae8f67c

7 years agoMerge "Remove extra keystone admin haproxy listen and allow TLS"
Jenkins [Thu, 17 Aug 2017 16:08:27 +0000 (16:08 +0000)]
Merge "Remove extra keystone admin haproxy listen and allow TLS"

7 years agoAllow configuring multiple insecure registries
Jiri Stransky [Thu, 10 Aug 2017 16:16:46 +0000 (18:16 +0200)]
Allow configuring multiple insecure registries

If we're using local registries, we may want to use different
registries e.g. for Ceph and for OpenStack. We allow multiple
registries in general for this purpose, and we should also allow it in
the insecure registry configuration.

Change-Id: I5cddd20a123a85516577bde1b793a30d43171285
Related-Bug: #1709310

7 years agoMerge "HAProxy: Set listen options for internal services too"
Jenkins [Thu, 17 Aug 2017 13:44:24 +0000 (13:44 +0000)]
Merge "HAProxy: Set listen options for internal services too"

7 years agoMerge "Add logrotate-crond configuration"
Jenkins [Thu, 17 Aug 2017 13:38:28 +0000 (13:38 +0000)]
Merge "Add logrotate-crond configuration"

7 years agoEnable TLS in the internal network for horizon
Juan Antonio Osorio Robles [Tue, 1 Aug 2017 13:05:36 +0000 (16:05 +0300)]
Enable TLS in the internal network for horizon

This enables the usage of TLS by the apache vhost that hosts horizon.

bp tls-via-certmonger

Change-Id: I7f2e11eb60c7b075e8a59f28682ecc50eeb95c3e

7 years agoCreate separate resource for HAProxy horizon endpoint
Juan Antonio Osorio Robles [Mon, 7 Aug 2017 11:09:15 +0000 (14:09 +0300)]
Create separate resource for HAProxy horizon endpoint

This removes clutter from the main haproxy manifest and allows TLS in
the internal network as well. Trying to keep the previous behavior.

bp tls-via-certmonger-containers
Change-Id: I1a68771cc7be7fb2b32abbad81db7890bd2c5502

7 years agoRelease Pike rc1 - 7.3.0
Emilien Macchi [Thu, 17 Aug 2017 05:32:59 +0000 (22:32 -0700)]
Release Pike rc1 - 7.3.0

Change-Id: Id3277c97052e1dd88e6d2de6c5f92b32b95fa210

7 years agoMove barbican's database creation to mysql profile
Juan Antonio Osorio Robles [Tue, 15 Aug 2017 16:52:07 +0000 (19:52 +0300)]
Move barbican's database creation to mysql profile

This makes sure that the database creation is only executed on the mysql
profile (or container if that's enabled), and stops the conflicts and
errors that were happening when barbican was deployed in containerized
environments.

Change-Id: Ib5c99482f62397fc5fb79a9dc537dfb06ee7f4df
Closes-Bug: #1710928

7 years agoAdd OVN DBs bundle support for pacemaker HA
Numan Siddique [Mon, 17 Jul 2017 11:15:57 +0000 (16:45 +0530)]
Add OVN DBs bundle support for pacemaker HA

It uses the control-port 3125.

Partial-bug: #1699085
Change-Id: I4787321e10cc35beeb5ec3f585dafb2268ea4f21

7 years agoAdd logrotate-crond configuration
Bogdan Dobrelya [Wed, 2 Aug 2017 13:42:38 +0000 (15:42 +0200)]
Add logrotate-crond configuration

Generate a cron job and a config for logrotate
to be run against containerized services logs.

Related-bug: #1700912

Change-Id: Ib9d5d8ca236296179182613e1ff625deea168614
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
7 years agoRemove extra keystone admin haproxy listen and allow TLS
Juan Antonio Osorio Robles [Tue, 15 Aug 2017 16:02:42 +0000 (19:02 +0300)]
Remove extra keystone admin haproxy listen and allow TLS

The current code exposes an unused public listen directive in HAProxy
for the keystone admin endpoint. This is not ideal and should be
removed, as it exposes the service unnecessarily. We should stick to
just exposing it to the ctlplane network as is the default.

If folks really need to expose it to the public network, they can do so
by modifying the ServiceNetMap through t-h-t and setting the keystone
admin endpoint's network to external.

Now, for "single" or "internal" haproxy endpoints, this adds the ability
to detect if they're using the external network, and thus use TLS on it.
Which is something a deployer would want if they exposed the keystone
admin endpoint in such a way.

Change-Id: I79563f62fd49a4f7654779157ebda3c239d6dd22
Closes-Bug: #1710909
Closes-Bug: #1639996

7 years agoMerge "Replace enabled languages with excluded languages in UI"
Jenkins [Wed, 16 Aug 2017 00:39:17 +0000 (00:39 +0000)]
Merge "Replace enabled languages with excluded languages in UI"

7 years agoMerge "Enable TLS configuration for containerized HAProxy"
Jenkins [Tue, 15 Aug 2017 17:35:53 +0000 (17:35 +0000)]
Merge "Enable TLS configuration for containerized HAProxy"

7 years agoMerge "Use rabbitmq ipv6 flag"
Jenkins [Tue, 15 Aug 2017 06:59:07 +0000 (06:59 +0000)]
Merge "Use rabbitmq ipv6 flag"

7 years agoMerge "Fix legacy nova/cinder encryption key manager configuration"
Jenkins [Mon, 14 Aug 2017 23:01:54 +0000 (23:01 +0000)]
Merge "Fix legacy nova/cinder encryption key manager configuration"

7 years agoUse rabbitmq ipv6 flag
John Eckersberg [Mon, 26 Jun 2017 21:11:50 +0000 (17:11 -0400)]
Use rabbitmq ipv6 flag

The internal details of enabling IPv6 have moved upstream[1], so just
set the ipv6 flag when desired and don't worry about the details
anymore!

[1] https://github.com/puppetlabs/puppetlabs-rabbitmq/pull/552

Closes-Bug: #1710658

Change-Id: Ib22507c4d02f0fae5c0189ab7e040efac3df7e2f

7 years agoSupport for Dell EMC VMAX Manila Driver
rajinir [Fri, 4 Aug 2017 15:37:17 +0000 (10:37 -0500)]
Support for Dell EMC VMAX Manila Driver

This changes adds Dell EMC VMAX backend as composable service
and matches the tripleo-heat-templates.

Change-Id: I6e3b4ed6477c7ee56aef4e9849893229ca648c85
Implements: blueprint dellemc-vmax-manila

7 years agoSupport for Dell EMC VMAX ISCSI Cinder Driver
rajinir [Mon, 31 Jul 2017 20:56:28 +0000 (15:56 -0500)]
Support for Dell EMC VMAX ISCSI Cinder Driver

This changes adds Dell EMC VMAX ISCSI backend as composable service
and matches the tripleo-heat-templates.

Change-Id: Ifc169c60994856e382b76b72e020624ca64eef9f
Implements: blueprint dellemc-vmax-isci

7 years agoMerge "Run online_data_migrations for Ironic on upgrade"
Jenkins [Sat, 12 Aug 2017 14:54:00 +0000 (14:54 +0000)]
Merge "Run online_data_migrations for Ironic on upgrade"

7 years agoMerge "Enable TLS configuration for containerized Galera"
Jenkins [Sat, 12 Aug 2017 14:53:44 +0000 (14:53 +0000)]
Merge "Enable TLS configuration for containerized Galera"

7 years agoMerge "Do not include manila ceph key resource twice"
Jenkins [Fri, 11 Aug 2017 12:41:46 +0000 (12:41 +0000)]
Merge "Do not include manila ceph key resource twice"

7 years agoMerge "Modify resource dependencies of certmonger_user resources"
Jenkins [Fri, 11 Aug 2017 12:03:01 +0000 (12:03 +0000)]
Merge "Modify resource dependencies of certmonger_user resources"

7 years agoDo not create fs and server side key from manila
Jan Provaznik [Tue, 11 Jul 2017 10:21:19 +0000 (12:21 +0200)]
Do not create fs and server side key from manila

Both fs and key are handled by ceph-ansible, move fs and key
creation out of manila manifest to assure that it works with and
without ceph-ansbile.

Client-side manila key is created from ceph-mds and ceph-external
templates in I6308a317ffe0af244396aba5197c85e273e69f68.

Depends-On: I6308a317ffe0af244396aba5197c85e273e69f68
Partially-Implements: blueprint nfs-ganesha
Change-Id: I2b5567a39ac8737e80758b705818cc1807dc8bf1

7 years agoHAProxy: Set listen options for internal services too
Juan Antonio Osorio Robles [Tue, 8 Aug 2017 14:40:29 +0000 (17:40 +0300)]
HAProxy: Set listen options for internal services too

This was missed from a previous commit, as described in the bug report.
We need to set this variable in this case as well, else it will use the
undefined variable, thus ignoring anything that the user had set.

Change-Id: I6810e7bb3eed16a6478974ac759c3f720a41120a
Closes-Bug: #1709332

7 years agoModify resource dependencies of certmonger_user resources
Juan Antonio Osorio Robles [Fri, 4 Aug 2017 08:15:45 +0000 (11:15 +0300)]
Modify resource dependencies of certmonger_user resources

In a containerized environment the haproxy class might not be defined,
so this was made optional. On the other hand, this also retrieves the
CRL before any certmonger_certificate resources are created.

bp tls-via-certmonger-containers
Change-Id: I2078da7757ff3af1d05d36315fcebd54bb4ca3ec

7 years agoDo not include manila ceph key resource twice
Jan Provaznik [Thu, 10 Aug 2017 15:38:57 +0000 (17:38 +0200)]
Do not include manila ceph key resource twice

When mds creates manila key [1], then manila manifest needs to check
first if this resource already exists otherwise puppet fails.

[1] I6308a317ffe0af244396aba5197c85e273e69f68

Change-Id: I3f18bbe476c4f43fa4e162cc66c5df443122cd0c

7 years agoMerge "Enable TLS configuration for containerized RabbitMQ"
Jenkins [Thu, 10 Aug 2017 15:26:17 +0000 (15:26 +0000)]
Merge "Enable TLS configuration for containerized RabbitMQ"

7 years agoMerge "Use clustercheck credentials to poll galera state in container"
Jenkins [Wed, 9 Aug 2017 23:13:52 +0000 (23:13 +0000)]
Merge "Use clustercheck credentials to poll galera state in container"

7 years agoEnable TLS configuration for containerized HAProxy
Damien Ciabrini [Mon, 7 Aug 2017 20:26:33 +0000 (20:26 +0000)]
Enable TLS configuration for containerized HAProxy

In non-containerized deployments, HAProxy can be configured to use TLS
for proxying internal services.

Fix the creation of the of the haproxy bundle resource to enable TLS
when configured. The keys and certs files, as well as the crl file are
all passed as configuration files and must be copied by Kolla at
container startup.

Change-Id: I4b72739446c63f0f0ac9f859314a4d6746e20255
Partial-Bug: #1709563

7 years agoMerge "Enable innodb_buffer_pool_size configuration"
Jenkins [Wed, 9 Aug 2017 13:51:16 +0000 (13:51 +0000)]
Merge "Enable innodb_buffer_pool_size configuration"

7 years agoEnable TLS configuration for containerized RabbitMQ
Damien Ciabrini [Mon, 7 Aug 2017 20:32:51 +0000 (20:32 +0000)]
Enable TLS configuration for containerized RabbitMQ

In non-containerized deployments, RabbitMQ can be configured to use TLS for
serving and mirroring traffic.

Fix the creation of the rabbitmq bundle resource to enable TLS when configured.
The key and cert are passed as other configuration files and must be copied by
Kolla at container startup.

Change-Id: Ia64d79462de7012e5bceebf0ffe478a1cccdd6c9
Partial-Bug: #1709558

7 years agoMerge "Update swift-proxy unit tests for puppet5"
Jenkins [Mon, 7 Aug 2017 16:13:48 +0000 (16:13 +0000)]
Merge "Update swift-proxy unit tests for puppet5"

7 years agoRun online_data_migrations for Ironic on upgrade
Dmitry Tantsur [Mon, 7 Aug 2017 13:52:52 +0000 (15:52 +0200)]
Run online_data_migrations for Ironic on upgrade

This only enables correct offline upgrade for now, proper rolling
upgrade support will follow in the Queens release.

Change-Id: Iebbd0c6dfc704ba2e0b5176d607354dd31f13a0d
Depends-On: I548c80cf138b661ba3a5e45a6dfe8711f3322ed0
Partial-Bug: #1708149

7 years agoMerge "Update link addresses in README.md"
Jenkins [Mon, 7 Aug 2017 03:38:43 +0000 (03:38 +0000)]
Merge "Update link addresses in README.md"

7 years agoUpdate swift-proxy unit tests for puppet5
Emilien Macchi [Mon, 7 Aug 2017 03:33:40 +0000 (20:33 -0700)]
Update swift-proxy unit tests for puppet5

The latest version of puppet now require the class dependencies included
in the unit tests.

Change-Id: I0b6462f697f2d8012f8a785660c004f3efb13fdc

7 years agoEnable TLS configuration for containerized Galera
Damien Ciabrini [Wed, 2 Aug 2017 10:07:51 +0000 (06:07 -0400)]
Enable TLS configuration for containerized Galera

In non-containerized deployments, Galera can be configured to use TLS
for gcomm group communication when enable_internal_tls is set to true.

Fix the creation of the mysql bundle resource to enable TLS when
configured. The key and cert are passed as other configuration files
and must be copied by Kolla at container startup.

Change-Id: If845baa7b0a437c28148c817b7f94d540ca15814
Partial-Bug: #1708135

7 years agoMerge "Enable encryption of pacemaker traffic by default"
Jenkins [Sat, 5 Aug 2017 07:33:55 +0000 (07:33 +0000)]
Merge "Enable encryption of pacemaker traffic by default"

7 years agoMerge "Update openstackdocstheme>=1.16.0"
Jenkins [Sat, 5 Aug 2017 07:19:03 +0000 (07:19 +0000)]
Merge "Update openstackdocstheme>=1.16.0"

7 years agoMerge "Configure dockerd with --iptables=false"
Jenkins [Fri, 4 Aug 2017 16:36:45 +0000 (16:36 +0000)]
Merge "Configure dockerd with --iptables=false"

7 years agoMerge "Ensure directory exists for certificates for haproxy"
Jenkins [Fri, 4 Aug 2017 11:04:00 +0000 (11:04 +0000)]
Merge "Ensure directory exists for certificates for haproxy"

7 years agoEnable innodb_buffer_pool_size configuration
Mike Bayer [Wed, 2 Aug 2017 14:38:45 +0000 (10:38 -0400)]
Enable innodb_buffer_pool_size configuration

Adds a hiera-enabled setting for mysql.pp to
allow configuration of innodb_buffer_pool_size, a key
configurational element for MySQL performance tuning.

Change-Id: Iabdcb6f76510becb98cba35c95db550ffce44ff3
Closes-bug: #1704978

7 years agoConfigure dockerd with --iptables=false
Dan Prince [Wed, 2 Aug 2017 20:51:47 +0000 (16:51 -0400)]
Configure dockerd with --iptables=false

This change defaults --iptables=false for dockerd to avoid
having Docker create its own FORWARD iptables rules. These
rules can interact with normal OS networking rules and disable
communications between hosts on reboot.

Change-Id: I875fa14f7d810c7f0aba3b3a1b04b60a19470f0f
Closes-bug: #1708279

7 years agoUpdate link addresses in README.md
zhangdebo1987 [Thu, 3 Aug 2017 06:21:14 +0000 (14:21 +0800)]
Update link addresses in README.md

Change-Id: I0ad611bd669e9fb5f119237034dca347641c74b5

7 years agoUse normal socket file permissions instead of polkit
Oliver Walsh [Tue, 25 Jul 2017 20:05:35 +0000 (21:05 +0100)]
Use normal socket file permissions instead of polkit

The default (on RHEL/CentOS) is to use polkit but this is only useful
for GUI support or for fine grained API access control.  As we don't
require either we can achieve identical control using plain old unix
filesystem permissions.

I've merged Sven's changes from https://review.openstack.org/484979
and https://review.openstack.org/487150.

As we need to be careful with the libvirtd option quoting I think it's
best to do this in puppet-tripleo instead of t-h-t yaml.

The option to override the settings from t-h-t remains.

Co-Authored-By: Sven Anderson <sven@redhat.com>
Reverts I91be1f1eacf8eed9017bbfef393ee2d66771e8d6

Closes-bug: 1696504

Change-Id: I507bdd8e3a461091562177403a2a55fcaf6694d2
Depends-On: I17f6c9b5a6e2120a53bae296042ece492210597a

7 years agoMerge "Support for Dell EMC Unity Cinder Driver"
Jenkins [Wed, 2 Aug 2017 08:46:27 +0000 (08:46 +0000)]
Merge "Support for Dell EMC Unity Cinder Driver"

7 years agoEnsure directory exists for certificates for haproxy
Juan Antonio Osorio Robles [Wed, 2 Aug 2017 07:19:48 +0000 (10:19 +0300)]
Ensure directory exists for certificates for haproxy

We used to rely on a standard directory for the certificates and keys
that are requested by certmonger. However, given the approach we plan to
take for containers that's described in the blueprint, we need to use
service-specific directories for the certs/keys, since we plan to
bind-mount these into the containers, and we don't want to bind mount
any keys/certs from other services.

Thus, we start by creating this directories if they don't exist in the
filesystem and adding the proper selinux labels.

bp tls-via-certmonger-containers

Change-Id: Iba3adb9464a755e67c6f87d1233b3affa8be565a

7 years agoEnable encryption of pacemaker traffic by default
Juan Antonio Osorio Robles [Mon, 31 Jul 2017 08:22:22 +0000 (11:22 +0300)]
Enable encryption of pacemaker traffic by default

We already are setting a pre-shared key by default for the pacemaker
cluster. This was done in order to communicate with TLS-PSK with
pacemaker-remote clusters. This key is also useful for us to enable
encrypted traffic for the regular cluster traffic, which we enable by
default with this patch.

Change-Id: I349b8bf79eeeaa4ddde1c17b7014603913f184cf

7 years agoMerge "Enable TLS for the HAProxy stats interface"
Jenkins [Mon, 31 Jul 2017 19:32:33 +0000 (19:32 +0000)]
Merge "Enable TLS for the HAProxy stats interface"

7 years agoUse clustercheck credentials to poll galera state in container
Damien Ciabrini [Mon, 31 Jul 2017 13:10:47 +0000 (09:10 -0400)]
Use clustercheck credentials to poll galera state in container

The clustercheck service currently connects to mysql as root
to poll the state of the galera cluster.

Update the generated config to use clustercheck credentials.

Depends-On: If8e0b3f9e4f317fde5328e71115aab87a5fa655f
Closes-Bug: #1707683

Change-Id: I4ee6e1f56a7880ccf456f5c08d26a267fb810361

7 years agoMerge "Prevent haproxy to run iptables during docker-puppet configuration"
Jenkins [Mon, 31 Jul 2017 15:26:19 +0000 (15:26 +0000)]
Merge "Prevent haproxy to run iptables during docker-puppet configuration"

7 years agoEnable TLS for the HAProxy stats interface
Juan Antonio Osorio Robles [Thu, 29 Jun 2017 12:03:11 +0000 (15:03 +0300)]
Enable TLS for the HAProxy stats interface

This creates a new class for the stats interface and furtherly
configures it to also use the certificates that are provided by
certmonger (via the internal_certificates_specs variable).

Note that the already existing haproxy_stats_certificate still works and
will take precedence if it's set.

bp tls-via-certmonger

Change-Id: Iea65d91648ab13dbe6ec20241a1a7c95ce856e3e

7 years agoUpdate openstackdocstheme>=1.16.0
ZhongShengping [Mon, 31 Jul 2017 03:04:17 +0000 (11:04 +0800)]
Update openstackdocstheme>=1.16.0

Change-Id: I69f9af4191cf7148d517f56c77da739c1a06b49f

7 years agoFix legacy nova/cinder encryption key manager configuration
Alan Bishop [Fri, 28 Jul 2017 14:30:27 +0000 (10:30 -0400)]
Fix legacy nova/cinder encryption key manager configuration

Recent changes in Nova [0] and Cinder [1] result in Barbican being selected
as the default encryption key manager, even when TripleO is not deploying
Barbican.

This change ensures the legacy key manager is enabled when no key manager
(such as Barbican) has been specified. This restores the previous behavior,
where the legacy key manager was enabled by default.

[0] https://review.openstack.org/484501
[1] https://review.openstack.org/485322

Closes-Bug: #1706389
Change-Id: Idc92f7a77cde757538eaac51c4ad8dc397f9c3d3

7 years agoSupport for Dell EMC Unity Cinder Driver
rajinir [Wed, 26 Jul 2017 19:56:08 +0000 (14:56 -0500)]
Support for Dell EMC Unity Cinder Driver

This changes adds Dell EMC Unity backend as composable service
and matches the tripleo-heat-templates.

Change-Id: I015f7dfec4bedf72332d91b91cda3ef1dc8caf8c

7 years agoReplace enabled languages with excluded languages in UI
Honza Pokorny [Mon, 12 Jun 2017 17:29:38 +0000 (14:29 -0300)]
Replace enabled languages with excluded languages in UI

Change-Id: I14d2c8d11abb1df17759e2a9d4ae6b9ccebbe30f
Depends-On: Idf5a3314c19be18ca6cabbae1e94bc7cb1d1fe94

7 years agoHandle SSL options for Zaqar
Thomas Herve [Mon, 24 Jul 2017 11:14:22 +0000 (13:14 +0200)]
Handle SSL options for Zaqar

This allows running Zaqar with SSL under Apache.

Change-Id: I4c68a662c2433398249f770ac50ba0791449fe71

7 years agoPrevent haproxy to run iptables during docker-puppet configuration
Damien Ciabrini [Thu, 20 Jul 2017 15:48:22 +0000 (11:48 -0400)]
Prevent haproxy to run iptables during docker-puppet configuration

When docker-puppet runs module tripleo::haproxy to generate haproxy
configuration file, and tripleo::firewall::manage_firewall is true,
iptables is called to set up firewall rules for the proxied services
and fails due to lack of NET_ADMIN capability.

Make the generation of firewall rule configurable by exposing a
new argument to the puppet module. That way, firewall management can
be temporarily disabled when being run through docker-puppet.

Change-Id: I2d6274d061039a9793ad162ed8e750bd87bf71e9
Partial-Bug: #1697921

7 years agoFix nova and selinux unit tests
Alex Schultz [Thu, 27 Jul 2017 18:54:30 +0000 (12:54 -0600)]
Fix nova and selinux unit tests

The unit tests jobs are failing because of missing pre conditions for
the new shared class introduced by
Ib233689fdcdda391596d01a21f77bd8e1672ae04.  Additionally this change
moved some classes around so that the tests are now failing due to
duplicate class declarations for nova::compute::libvirt::services. This
change moves the include that pulls in the declaration first prior to
the include that exists in tripleo::profile::base::nova::libvirt.

The selinux test was also failing due to a type issue with the fact
being used (boolean vs string)

Change-Id: I5bd4b61d6008820729d58f7743e7e61955dd6f51
Closes-Bug: #1707034

7 years agoMerge "Move gnocchi::api resource to run with wsgi setup"
Jenkins [Thu, 27 Jul 2017 13:36:15 +0000 (13:36 +0000)]
Merge "Move gnocchi::api resource to run with wsgi setup"

7 years agoMerge "Configure redis as incoming storage driver in gnocchi"
Jenkins [Thu, 27 Jul 2017 05:01:07 +0000 (05:01 +0000)]
Merge "Configure redis as incoming storage driver in gnocchi"

7 years agoMove gnocchi::api resource to run with wsgi setup
Juan Antonio Osorio Robles [Mon, 24 Jul 2017 16:22:15 +0000 (19:22 +0300)]
Move gnocchi::api resource to run with wsgi setup

Having this run in step 4 causes a refresh (restart) for httpd, which
in turn is problematic for the gnocchi db upgrade command, since when
it runs httpd is not available at that point. This fixes the issue,
since the API configuration is now ran at the same time as the wsgi
bits.

Change-Id: Ie0ab389a4450bb940757e34d1964423911885fa3

7 years agoPass 'false' docroot to vhost for tls_proxy
Juan Antonio Osorio Robles [Mon, 24 Jul 2017 10:35:56 +0000 (13:35 +0300)]
Pass 'false' docroot to vhost for tls_proxy

passing undef causes a failure since due to a recent commit [1] the
resource now does proper validation of the parameters.

[1] https://github.com/puppetlabs/puppetlabs-apache/commit/d6952b21ec66d7ce8b69dd0c2f2a0debca54e18f

Change-Id: I6dc1e5820a1f4fe449d254d301738e1073f4b82b
Closes-Bug: #1706026