apex-puppet-tripleo.git
7 years agoMerge "Add new profile for the Veritas HyperScale's cinder backend."
Jenkins [Sat, 15 Jul 2017 18:33:05 +0000 (18:33 +0000)]
Merge "Add new profile for the Veritas HyperScale's cinder backend."

7 years agoMerge "Contrail: Fix controlplane/dataplane network asignments & enable optional...
Jenkins [Fri, 14 Jul 2017 23:44:24 +0000 (23:44 +0000)]
Merge "Contrail: Fix controlplane/dataplane network asignments & enable optional dpdk"

7 years agoMerge "Fix typo in haproxy bundle"
Jenkins [Fri, 14 Jul 2017 12:44:17 +0000 (12:44 +0000)]
Merge "Fix typo in haproxy bundle"

7 years agoMerge "Add insecure_registry_address to docker profile"
Jenkins [Fri, 14 Jul 2017 10:49:18 +0000 (10:49 +0000)]
Merge "Add insecure_registry_address to docker profile"

7 years agoAdd new profile for the Veritas HyperScale's cinder backend.
abhishek.kane [Tue, 20 Jun 2017 12:23:53 +0000 (17:53 +0530)]
Add new profile for the Veritas HyperScale's cinder backend.

Add new hook in the keystone profile for Veritas HyperScale.
Add new hook in the rabbitmq profile for Veritas HyperScale.
Add new hook in the mysql profile for Veritas HyperScale.

Change-Id: I9168bffa5c73a205d1bb84b831b06081c40af549
Depends-On: I316b22f4f7f9f68fe5c46075dc348a70e437fb1d
Depends-On: Id188af5e2f7bf628a97a70b8f20bef28e42b372d
Signed-off-by: abhishek.kane <abhishek.kane@veritas.com>
Signed-off-by: Dnyaneshwar Pawar <dnyaneshwar.pawar@veritas.com>
7 years agoMerge "Refactor iscsi initiator-name reset into separate profile"
Jenkins [Thu, 13 Jul 2017 23:53:32 +0000 (23:53 +0000)]
Merge "Refactor iscsi initiator-name reset into separate profile"

7 years agoMerge "Fix mysql client config generation with containerized environment"
Jenkins [Thu, 13 Jul 2017 23:38:39 +0000 (23:38 +0000)]
Merge "Fix mysql client config generation with containerized environment"

7 years agoFix typo in haproxy bundle
Michele Baldessari [Thu, 13 Jul 2017 12:18:44 +0000 (14:18 +0200)]
Fix typo in haproxy bundle

Change I6f4d3a5abae8f1781cfe6f69ff960aad500061e3 slipped in a typo
and it removed the '$' character from a puppet manifest. Which causes
a deployment to fail with:
INFO: running container haproxy-bundle-docker-0 for the first time
ERROR: /usr/bin/docker-current: Error response from daemon: Invalid bind mount spec "deployed_ssl_cert_path:deployed_ssl_cert_path:ro": Invalid volume destination path: 'deployed_ssl_cert_path' mount path must be absolute.. See '/usr/bin/docker-current run --help'.
ERROR: docker failed to launch container

Change-Id: Ic602fd443d38482bf1f924531561b2174dc38293

7 years agoAdd insecure_registry_address to docker profile
Dan Prince [Fri, 30 Jun 2017 19:53:54 +0000 (15:53 -0400)]
Add insecure_registry_address to docker profile

This patch adds a new insecure_registry_address parameter
to the docker profile. This parameter is meant to replace two
deprecated parameters which did the same thing.

Co-Authored-By: Ian Main <imain@redhat.com>
Change-Id: I729fa00175cb36b02b882d729aae5ff06d0e3fbc

7 years agoRemove dependency on memcached_node_ips_v6
Steven Hardy [Thu, 6 Jul 2017 11:29:50 +0000 (12:29 +0100)]
Remove dependency on memcached_node_ips_v6

This is set via all_nodes_config in t-h-t, but it's a special case for
this service, so it'll be better if we handle the ipv6 transformation
in puppet instead of relying on the service specific list mangling in
t-h-t (one aspect of which has been identified as a potential performance
problem).

Related-Bug: #1684272
Change-Id: Iccb9089db4b382db3adb9340f18f6d2364ca7f58

7 years agoMerge "Leverage kolla config_files to copy config into containers"
Jenkins [Thu, 13 Jul 2017 01:33:47 +0000 (01:33 +0000)]
Merge "Leverage kolla config_files to copy config into containers"

7 years agoMerge "Refactor nova migration config into client & target profiles"
Jenkins [Wed, 12 Jul 2017 21:14:31 +0000 (21:14 +0000)]
Merge "Refactor nova migration config into client & target profiles"

7 years agoMerge "Let pacemaker bind-mount needed cert for haproxy bundle"
Jenkins [Wed, 12 Jul 2017 19:59:31 +0000 (19:59 +0000)]
Merge "Let pacemaker bind-mount needed cert for haproxy bundle"

7 years agoLeverage kolla config_files to copy config into containers
Martin André [Mon, 26 Jun 2017 13:33:09 +0000 (15:33 +0200)]
Leverage kolla config_files to copy config into containers

This solves a problem with bind-mounts when the containers are holding
files descriptors open.

At the same time this makes the template more robust to puppet changes
since new config files will be available in the containers without
needing to update the templates.

Closes-Bug: #1698323
Change-Id: I857c94ba5f7f064d7c58df621ec5d477654b9166
Depends-On: I78dcec741a941dc21adba33ba33a6dc6ff1d217c

7 years agoFix mysql client config generation with containerized environment
Damien Ciabrini [Mon, 3 Jul 2017 09:15:56 +0000 (05:15 -0400)]
Fix mysql client config generation with containerized environment

When the tripleo::profile::base::database::mysql::client profile is
included by other openstack services, the file /etc/my.cnf.d/tripleo.cnf
is not generated because docker-puppet is configured to disregard the
exec tags.

Make the profile use either File or Exec resource based on how it's
being called, to make it work for both containerized and non-containerized
use cases.

Change-Id: I103baa02373f6713cc300ac039a6f173ff0bbf1c

7 years agoMerge "Do not fail if PCI device is missing"
Jenkins [Wed, 12 Jul 2017 03:28:26 +0000 (03:28 +0000)]
Merge "Do not fail if PCI device is missing"

7 years agoRefactor iscsi initiator-name reset into separate profile
Oliver Walsh [Mon, 10 Jul 2017 14:48:22 +0000 (15:48 +0100)]
Refactor iscsi initiator-name reset into separate profile

This currently assumes nova-compute and iscsid run in the same context which
isn't true for a containerized deployment

Change-Id: I91f1ce7625c351745dbadd84b565d55598ea5b59

7 years agoLet pacemaker bind-mount needed cert for haproxy bundle
Damien Ciabrini [Mon, 10 Jul 2017 12:49:36 +0000 (08:49 -0400)]
Let pacemaker bind-mount needed cert for haproxy bundle

When SSL configuration is enabled, haproxy expects to load a SSL
certificate file at startup.

Update the bundle configuration to always bind-mount the cert
file, to support both SSL and non SSL HAproxy bundle deployments.

Change-Id: I6f4d3a5abae8f1781cfe6f69ff960aad500061e3

7 years agoMerge "Remove reference to bootstack_nodeid"
Jenkins [Sat, 8 Jul 2017 01:06:44 +0000 (01:06 +0000)]
Merge "Remove reference to bootstack_nodeid"

7 years agoMerge "Add Swift dispersion profile"
Jenkins [Thu, 6 Jul 2017 18:12:58 +0000 (18:12 +0000)]
Merge "Add Swift dispersion profile"

7 years agoRemove reference to bootstack_nodeid
Steven Hardy [Thu, 6 Jul 2017 16:28:27 +0000 (17:28 +0100)]
Remove reference to bootstack_nodeid

This has been replaced with bootstrap_nodeid which isn't hard-coded to
the Controller role and thus will work should this service be deployed
on any other role via composable services.

Change-Id: I0a9fced847caf344e5d26b452f1bd40afab8f029

7 years agoContrail: Fix controlplane/dataplane network asignments & enable optional dpdk
Michael Henkel [Fri, 16 Jun 2017 17:49:57 +0000 (10:49 -0700)]
Contrail: Fix controlplane/dataplane network asignments & enable optional dpdk

This patch will move the Contrail roles communication towards
OpenStack APIs from the public/external network to the
internal_api network. I will also add the option to enable
dpdk for Contrail.

Change-Id: Ia835df656031cdf28de20f41ec6ab1c028dced23
Closes-Bug: 1698422

7 years agoMerge "Update puppet-tripleo libvirt to support docker deployments"
Jenkins [Wed, 5 Jul 2017 19:43:53 +0000 (19:43 +0000)]
Merge "Update puppet-tripleo libvirt to support docker deployments"

7 years agoUpdate puppet-tripleo libvirt to support docker deployments
Keith Schincke [Tue, 23 May 2017 18:44:23 +0000 (14:44 -0400)]
Update puppet-tripleo libvirt to support docker deployments

It is not necessary to mangle libvirt_rbd_secret_key parameter as this
is now given by the templates.

Depends-On: Iff3dbcb0f1b4d2373570e184e636a71553cea708
Change-Id: I6b163ab102f505f0d0ce9eb1ad9d4274e4ff6348

7 years agoRefactor nova migration config into client & target profiles
Oliver Walsh [Wed, 7 Jun 2017 22:26:25 +0000 (23:26 +0100)]
Refactor nova migration config into client & target profiles

The nova migration config has always been applied by the base::nova profile.
It assumed that libvirtd/nova-compute and are all running on the
same host.
Where this config didn't apply (e.g a nova api host) it was disabled by a flag.

This approach is not compatible with containers. Hieradata for all containers
are combined so per-host flags no longer work, and we can no longer assume
libvirtd and nova-compute run in the same context.

This change refactors the profiles out of the base nova profile and into
a client profile and a target profile that can be included where appropriate.

Change-Id: I063a84a8e6da64ae3b09125cfa42e48df69adc12
Implements: blueprint tripleo-cold-migration

7 years agoFix openstackdocstheme
ZhongShengping [Sun, 2 Jul 2017 06:28:11 +0000 (14:28 +0800)]
Fix openstackdocstheme

See the docs[0] how to use it. Also add the variables for the bug
log feature.

[0]https://docs.openstack.org/openstackdocstheme/latest/

Change-Id: I11b183986a389291d9ab02cb1d0be36c3d73bdb0

7 years agoMerge "Merge the nova HAproxy TLS options"
Jenkins [Fri, 30 Jun 2017 11:27:06 +0000 (11:27 +0000)]
Merge "Merge the nova HAproxy TLS options"

7 years agoZaqar: support configurable backends
Dan Prince [Mon, 26 Jun 2017 14:24:39 +0000 (10:24 -0400)]
Zaqar: support configurable backends

This patch updates the Zaqar profile so that we have
support for configuring alternate versions of the messaging
and management backends.

In Pike instack-undercloud started using the swift/sqlalchemy
backends and the intent here is to update the new containers
undercloud to use a similar default (thus letting us drop Mongodb).

Change-Id: Ie6a56b9163950cee2c0341afa0c0ddce665f3704

7 years agoDo not fail if PCI device is missing
Brent Eagles [Tue, 27 Jun 2017 12:25:37 +0000 (09:55 -0230)]
Do not fail if PCI device is missing

Fixes a problem where SR-IOV VF count configuration will fail if a
physical function is in use by a guest when 'puppet apply' is executed.
This change substitutes warnings for failures and skips complaints if a
PCI device is unavailable.

Note: this patch has the side-effect of allowing the same configuration
data on hosts that may *not* or *ever* have PCI SR-IOV devices on the
hardware. Time will tell how evil this is in practice.

Closes-Bug: #1701284
Change-Id: I71edc135432ab2193741c37ce977dd11172401e6

7 years agoMerge the nova HAproxy TLS options
Rob Crittenden [Wed, 28 Jun 2017 19:47:20 +0000 (15:47 -0400)]
Merge the nova HAproxy TLS options

This makes sure that we set the necessary options so HAProxy uses TLS
to contact nova.  It was commented out when nova was moved to not run
over httpd. Since that is no longer the case we can re-enable it.

Change-Id: I026a7dab30b00a4e93966f650f098c570b0b624b
Depends-On: Iac35b7ddcd8a800901548c75ca8d5083ad17e4d3

7 years agoMerge "Split docker options and insecure registry"
Jenkins [Wed, 28 Jun 2017 13:50:48 +0000 (13:50 +0000)]
Merge "Split docker options and insecure registry"

7 years agoMerge "Change CRL refresh to run every 2 hours"
Jenkins [Tue, 27 Jun 2017 21:47:13 +0000 (21:47 +0000)]
Merge "Change CRL refresh to run every 2 hours"

7 years agoSplit docker options and insecure registry
Bogdan Dobrelya [Thu, 22 Jun 2017 11:38:46 +0000 (13:38 +0200)]
Split docker options and insecure registry

Use augeas to modify only parameters' dedicated configuration.
Split options from insecure registry. Overlapping those params may
unschedule the docker service restarts for some cases, ending up with
a split brain state for the docker service run-time config vs changed
/etc/sysconfig/options config.

Change-Id: Ic5640061837b022f7175f0db0dc269f9a61e6023
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
7 years agoAlways start httpd at the same time (TLS proxy)
Juan Antonio Osorio Robles [Tue, 27 Jun 2017 11:26:57 +0000 (14:26 +0300)]
Always start httpd at the same time (TLS proxy)

For the TLS everywhere job, there are some apache vhosts set up that
serve as TLS proxies. These need to be started at the same time as the
rest of the apache vhosts too.

Change-Id: I15e67c7c04142cff01704e2590d3b2a6a949cc06

7 years agoAlways start httpd at the same time
Juan Antonio Osorio Robles [Wed, 21 Jun 2017 12:43:25 +0000 (15:43 +0300)]
Always start httpd at the same time

Puppet wipes out whatever is not in it's resource catalog each run for
httpd. This causes httpd to restart if in the next step there are
reasources added that were not there earlier.

This patch, thus changes the instances of httpd to start at the same
time: On step 3 for the bootstrap node, and on step 4 for every other
node.

Closes-Bug: #1699502
Change-Id: I3d29728c1ab7bd5b78100f89e00e5fa082f97b0c
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
7 years agoMerge "MySQL: configure ::zaqar::db::mysql selectively"
Jenkins [Tue, 27 Jun 2017 06:02:50 +0000 (06:02 +0000)]
Merge "MySQL: configure ::zaqar::db::mysql selectively"

7 years agoMySQL: configure ::zaqar::db::mysql selectively
Dan Prince [Mon, 26 Jun 2017 14:35:25 +0000 (10:35 -0400)]
MySQL: configure ::zaqar::db::mysql selectively

Adds the ability to create an empty MySQL database for Zaqar
if zaqar is enabled and settings for the mysql backend are
also available in hiera. This should allow Zaqar's database to
get created when needed, but skipped if MongoDB is used
instead (per overcloud defaults).

Change-Id: I3598e39c0a3cdf80b96e728d9aa8a7e6505e0690

7 years agoChange CRL refresh to run every 2 hours
Juan Antonio Osorio Robles [Mon, 19 Jun 2017 08:46:40 +0000 (11:46 +0300)]
Change CRL refresh to run every 2 hours

The default CA issues CRLs for 4 hours by default. So we need to change
these values to reflect this, else we'll get verification issues due to
the CRL having expired before its refreshed.

However, the nextupdate value for the CRLs might not be aligned with the
cron job. And getting this alignment is not entirely trivial. So I opted
for updating every 2 hours to address this.

Change-Id: I732b400462c5cabd7c6c18c007fc9e8c87b700d3

7 years agoForce MySQL users to use SSL if internal TLS is enabled
Juan Antonio Osorio Robles [Fri, 27 Jan 2017 15:42:18 +0000 (17:42 +0200)]
Force MySQL users to use SSL if internal TLS is enabled

This forces the MySQL users to use SSL when connecting to MySQL.

bp tls-via-certmonger

Depends-On: I24e4c195a31109835739e78a6b53d36f661f9fd0
Change-Id: I98856955132b680a159144204da1d5b400fe9794

7 years agoSwitch from oslosphinx to openstackdocstheme
ZhongShengping [Mon, 26 Jun 2017 02:12:30 +0000 (10:12 +0800)]
Switch from oslosphinx to openstackdocstheme

As part of the docs migration work[0] for Pike we need to switch to use the
openstackdocstheme.

[0]https://review.openstack.org/#/c/472275/

Change-Id: Ic82c4a2ec9fe26c8621ab2c7c9598b1582f73156

7 years agoAdd Swift dispersion profile
Christian Schwede [Wed, 21 Jun 2017 19:34:09 +0000 (21:34 +0200)]
Add Swift dispersion profile

The swift-dispersion-populate command needs to be called when Swift and
Keystone are up and running, and therefore we need to ensure this is
running in step 5 or later.

Change-Id: I5b4c08c252b6083dace5a65367920c475de416ce

7 years agoMerge "Remove manifest/profile/baseui.pp"
Jenkins [Fri, 23 Jun 2017 00:30:02 +0000 (00:30 +0000)]
Merge "Remove manifest/profile/baseui.pp"

7 years agoMerge "Make collectd to log also to file"
Jenkins [Fri, 23 Jun 2017 00:29:45 +0000 (00:29 +0000)]
Merge "Make collectd to log also to file"

7 years agoMerge "Deploy ironic-api with WSGI"
Jenkins [Thu, 22 Jun 2017 14:15:47 +0000 (14:15 +0000)]
Merge "Deploy ironic-api with WSGI"

7 years agoMerge "Adds OpenDaylight resources for configuring cluster with docker"
Jenkins [Wed, 21 Jun 2017 17:15:13 +0000 (17:15 +0000)]
Merge "Adds OpenDaylight resources for configuring cluster with docker"

7 years agoMerge "Ignore failures when loading nf_conntrack_proto_sctp kernel module"
Jenkins [Wed, 21 Jun 2017 16:21:26 +0000 (16:21 +0000)]
Merge "Ignore failures when loading nf_conntrack_proto_sctp kernel module"

7 years agoMerge "Enable TLS for MySQL's replication traffic"
Jenkins [Wed, 21 Jun 2017 15:53:15 +0000 (15:53 +0000)]
Merge "Enable TLS for MySQL's replication traffic"

7 years agoMake collectd to log also to file
Martin MĂ¡gr [Tue, 20 Jun 2017 13:47:36 +0000 (15:47 +0200)]
Make collectd to log also to file

This change will make possible to set collectd to log to file
(/var/log/collectd.log by default).

Change-Id: I50289ad6657852d37abbf12938128ff9ab9e3bac

7 years agoDeploy ironic-api with WSGI
Dmitry Tantsur [Mon, 12 Jun 2017 13:14:15 +0000 (15:14 +0200)]
Deploy ironic-api with WSGI

Change-Id: I952c86db88dcd611722a3feaea88f618eee17620

7 years agoMerge "Make enabling haproxy stats interface configurable"
Jenkins [Wed, 21 Jun 2017 13:35:20 +0000 (13:35 +0000)]
Merge "Make enabling haproxy stats interface configurable"

7 years agoMerge "Allow certmonger mysql resource to use several DNS names"
Jenkins [Wed, 21 Jun 2017 13:28:18 +0000 (13:28 +0000)]
Merge "Allow certmonger mysql resource to use several DNS names"

7 years agoEnable TLS for MySQL's replication traffic
Juan Antonio Osorio Robles [Mon, 19 Jun 2017 12:50:49 +0000 (12:50 +0000)]
Enable TLS for MySQL's replication traffic

This enables the options so Galera can use TLS for the replication
traffic.

bp tls-via-certmonger

Depends-On: I9252303b92a2805ba83f86a85770db2551a014d3
Change-Id: I2ee3bf4bbda3f65f5b03440ecbc75f14225a2428

7 years agoAllow certmonger mysql resource to use several DNS names
Juan Antonio Osorio Robles [Mon, 19 Jun 2017 12:33:19 +0000 (12:33 +0000)]
Allow certmonger mysql resource to use several DNS names

This allows for several SubjectAltNames which will subsequently be
used for the replication traffic as well.

bp tls-via-certmonger

Change-Id: Ic68266eaf39d6803f7c3e299095578bbcfd63b88

7 years agoMerge "Add maxconn parameter to MySQL / HAProxy"
Jenkins [Tue, 20 Jun 2017 20:04:41 +0000 (20:04 +0000)]
Merge "Add maxconn parameter to MySQL / HAProxy"

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

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

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

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

7 years agoMake enabling haproxy stats interface configurable
Juan Antonio Osorio Robles [Tue, 20 Jun 2017 15:50:12 +0000 (18:50 +0300)]
Make enabling haproxy stats interface configurable

Some people might or might not want to enable it. So this makes it
configurable. It defaults to true as we were always deploying it before.

Change-Id: I8d2a08cdaf3e5ec3d1a69d4f95e57522508c8610

7 years agoAdd maxconn parameter to MySQL / HAProxy
Mike Bayer [Tue, 18 Apr 2017 21:35:19 +0000 (17:35 -0400)]
Add maxconn parameter to MySQL / HAProxy

Allows configurability of maxconn as applies to
the MySQL section of the HAProxy config, both
for clustercheck and single node.

Also adds a new test for the haproxy class
overall to exercise options.

Change-Id: I023682dd5e85cc78d6dd3e5214a53863acc4f303

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

7 years agoRemove manifest/profile/baseui.pp
Carlos Camacho [Mon, 19 Jun 2017 13:29:28 +0000 (15:29 +0200)]
Remove manifest/profile/baseui.pp

This file is not needed anymore.

Change-Id: I904443624c18cc5116bc6027c016b9ccdd5e10aa
Closes-bug: 1698105
Depends-On: Ie20ecabea91ca4c2040c5ef3bf6c71b2b53d26ef

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

Quickstart is failing with this error:

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

Puppet cant create the folders tree by itself.

Closes-bug: 1698105
Change-Id: I5cce963a6225552f4b7253cb34edc72b392b9dda

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

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

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

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

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

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

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

Change-Id: I19b9d07ac8925366ed27fefcaca4fdb9a9ab1b37

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

The bootstrap_nodeid comparison should be case insensitive.

Change-Id: I1e6672bb0219c1cf56ab21dd911c6f33e2436cc3
Closes-Bug: #1698190

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

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

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

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

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

Change-Id: Ib56a7ad8f43fc6274eebc83bd2a62e68c030599d

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

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

7 years agoOnly set the stonith property on the pacemaker_master node
Michele Baldessari [Wed, 7 Jun 2017 08:20:25 +0000 (10:20 +0200)]
Only set the stonith property on the pacemaker_master node

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

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

Change-Id: Ifef08033043a4cc90a6261e962d2fdecdf275650
Closes-Bug: #1696336

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

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

  {"step": 1}

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

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

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

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

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

Change-Id: I8a47ca53a7dea8391103abcb8960a97036a6f5b3

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

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

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

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

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

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

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

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

Change-Id: I5d2c89db29ef75aaf371b3c9dd561587d7b6f87b
Closes-Bug: #1697752

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

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

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

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

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

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

Change-Id: I2f146afdd32aef2d11cf25a65fa8d67428f621f5

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

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

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

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

Changed author to OpenStack

Change-Id: I5f8806d1a765a1b5ae823b9e537e0ba672d81545

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

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

Change-Id: I6044ea98ec4480c8c1e431921df43ee425d9cba4
Closes-Bug: #1697091

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

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

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

Add environment variable {toxinidir} in tox.ini

Change-Id: Iee0e6e1f5ea49a7307bdfd493b4203df17369d75

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

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

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

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

[1] - I9dc366002ef5919339961e5deebbf8aa815c73db

Change-Id: I94d3960e6c5406e3af309cc8c787ac0a6c9b1756
Partial-bug: #1670564

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

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

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

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

Depends-On: I44449861cbfe56304b8829c9ca10fd648353b3ae
Change-Id: I48fb490040497ba08cae19937159c0efdf99e3f8

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

Change-Id: I097c494d3953b7d26d94aecc546ddef5225d1125
Depends-On: I2f0eb779b711e57f1532b1227896542d0ecffc89

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

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

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

Change-Id: I15641c32266939c9a00936cc471cc59b1bb54eec

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

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