Jenkins [Thu, 13 Jul 2017 01:33:47 +0000 (01:33 +0000)]
Merge "Leverage kolla config_files to copy config into containers"
Jenkins [Wed, 12 Jul 2017 21:14:31 +0000 (21:14 +0000)]
Merge "Refactor nova migration config into client & target profiles"
Jenkins [Wed, 12 Jul 2017 19:59:31 +0000 (19:59 +0000)]
Merge "Let pacemaker bind-mount needed cert for haproxy bundle"
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
Jenkins [Wed, 12 Jul 2017 03:28:26 +0000 (03:28 +0000)]
Merge "Do not fail if PCI device is missing"
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
Jenkins [Sat, 8 Jul 2017 01:06:44 +0000 (01:06 +0000)]
Merge "Remove reference to bootstack_nodeid"
Jenkins [Thu, 6 Jul 2017 18:12:58 +0000 (18:12 +0000)]
Merge "Add Swift dispersion profile"
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
Jenkins [Wed, 5 Jul 2017 19:43:53 +0000 (19:43 +0000)]
Merge "Update 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
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
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
Jenkins [Fri, 30 Jun 2017 11:27:06 +0000 (11:27 +0000)]
Merge "Merge the nova HAproxy TLS options"
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
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
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
Jenkins [Wed, 28 Jun 2017 13:50:48 +0000 (13:50 +0000)]
Merge "Split docker options and insecure registry"
Jenkins [Tue, 27 Jun 2017 21:47:13 +0000 (21:47 +0000)]
Merge "Change CRL refresh to run every 2 hours"
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>
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
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>
Jenkins [Tue, 27 Jun 2017 06:02:50 +0000 (06:02 +0000)]
Merge "MySQL: 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
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
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
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
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
Jenkins [Fri, 23 Jun 2017 00:30:02 +0000 (00:30 +0000)]
Merge "Remove manifest/profile/baseui.pp"
Jenkins [Fri, 23 Jun 2017 00:29:45 +0000 (00:29 +0000)]
Merge "Make collectd to log also to file"
Jenkins [Thu, 22 Jun 2017 14:15:47 +0000 (14:15 +0000)]
Merge "Deploy ironic-api with WSGI"
Jenkins [Wed, 21 Jun 2017 17:15:13 +0000 (17:15 +0000)]
Merge "Adds OpenDaylight resources for configuring cluster with docker"
Jenkins [Wed, 21 Jun 2017 16:21:26 +0000 (16:21 +0000)]
Merge "Ignore failures when loading nf_conntrack_proto_sctp kernel module"
Jenkins [Wed, 21 Jun 2017 15:53:15 +0000 (15:53 +0000)]
Merge "Enable TLS for MySQL's replication traffic"
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
Dmitry Tantsur [Mon, 12 Jun 2017 13:14:15 +0000 (15:14 +0200)]
Deploy ironic-api with WSGI
Change-Id: I952c86db88dcd611722a3feaea88f618eee17620
Jenkins [Wed, 21 Jun 2017 13:35:20 +0000 (13:35 +0000)]
Merge "Make enabling haproxy stats interface configurable"
Jenkins [Wed, 21 Jun 2017 13:28:18 +0000 (13:28 +0000)]
Merge "Allow certmonger mysql resource to use several DNS names"
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
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
Jenkins [Tue, 20 Jun 2017 20:04:41 +0000 (20:04 +0000)]
Merge "Add maxconn parameter to MySQL / HAProxy"
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
Jenkins [Tue, 20 Jun 2017 16:50:29 +0000 (16:50 +0000)]
Merge "Require the UI package when creating the virtual host"
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
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
Jenkins [Mon, 19 Jun 2017 18:29:47 +0000 (18:29 +0000)]
Merge "Fix the port for Panko API"
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
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
Jenkins [Mon, 19 Jun 2017 14:01:59 +0000 (14:01 +0000)]
Merge "Fixes an issue when rebooting with an NFS mount."
Jenkins [Mon, 19 Jun 2017 13:57:53 +0000 (13:57 +0000)]
Merge "Addition of Nuage as mechanism driver for ML2"
Jenkins [Fri, 16 Jun 2017 23:25:23 +0000 (23:25 +0000)]
Merge "Ensure hiera step value is an integer"
Jenkins [Fri, 16 Jun 2017 21:43:25 +0000 (21:43 +0000)]
Merge "For http service endpoints always redirect to https"
Jenkins [Fri, 16 Jun 2017 20:39:12 +0000 (20:39 +0000)]
Merge "Only set the stonith property on the pacemaker_master node"
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
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
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
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
Jenkins [Wed, 14 Jun 2017 11:03:13 +0000 (11:03 +0000)]
Merge "Do not create VIP for pacemaker OVN OCF resource"
Jenkins [Wed, 14 Jun 2017 09:43:03 +0000 (09:43 +0000)]
Merge "Remove condition to match hdr(host) in haproxy redirect rule"
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
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
Jenkins [Wed, 14 Jun 2017 01:10:44 +0000 (01:10 +0000)]
Merge "Changed author"
Jenkins [Wed, 14 Jun 2017 01:04:08 +0000 (01:04 +0000)]
Merge "Add environment variable"
Jenkins [Wed, 14 Jun 2017 01:00:37 +0000 (01:00 +0000)]
Merge "Fix Swift ring management in container deployments"
Jenkins [Wed, 14 Jun 2017 00:59:48 +0000 (00:59 +0000)]
Merge "Remove unnecessary references to neutron core plugin hiera"
Jenkins [Tue, 13 Jun 2017 23:59:28 +0000 (23:59 +0000)]
Merge "Fix Swift ring rebalance order"
Jenkins [Tue, 13 Jun 2017 21:49:21 +0000 (21:49 +0000)]
Merge "Make sure the resource bundles use a location_rule"
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
Jenkins [Tue, 13 Jun 2017 18:09:38 +0000 (18:09 +0000)]
Merge "Configure Galera cluster with FQDNs instead of shortnames"
Jenkins [Tue, 13 Jun 2017 15:52:28 +0000 (15:52 +0000)]
Merge "Configure credentials for ironic to access cinder"
Jenkins [Tue, 13 Jun 2017 14:06:25 +0000 (14:06 +0000)]
Merge "Update README with info for new contributors"
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
Jenkins [Tue, 13 Jun 2017 00:29:03 +0000 (00:29 +0000)]
Merge "Support for proxying ironic-inspector via Apache"
Jenkins [Mon, 12 Jun 2017 18:07:19 +0000 (18:07 +0000)]
Merge "Puppet module to deploy cinder-backup 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"
Luong Anh Tuan [Mon, 12 Jun 2017 14:06:58 +0000 (21:06 +0700)]
Changed author
Changed author to OpenStack
Change-Id: I5f8806d1a765a1b5ae823b9e537e0ba672d81545
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
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>
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
Jenkins [Sun, 11 Jun 2017 16:01:33 +0000 (16:01 +0000)]
Merge "Install rsync package for galera"
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
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
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
Jenkins [Fri, 9 Jun 2017 10:56:18 +0000 (10:56 +0000)]
Merge "Update global requirements"
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
Jenkins [Fri, 9 Jun 2017 09:25:20 +0000 (09:25 +0000)]
Merge "Use CRL for HAProxy"
Jenkins [Fri, 9 Jun 2017 08:14:16 +0000 (08:14 +0000)]
Merge "Add resource to fetch CRL"
Jenkins [Thu, 8 Jun 2017 20:55:47 +0000 (20:55 +0000)]
Merge "Move tripleo::certmonger::httpd to defines folder and fix suffix"
Juan Antonio Osorio Robles [Thu, 4 May 2017 10:28:01 +0000 (13:28 +0300)]
Use CRL for HAProxy
This sets up the CRL file to be triggered on the certmonger_user
resource. Furtherly, HAProxy uses this CRL file in the member options,
thus effectively enabling revocation for proxied nodes.
So, if a certificate has been revoked by the CA, HAProxy will not proxy
requests to it.
bp tls-via-certmonger
Change-Id: I4f1edc551488aa5bf6033442c4fa1fb0d3f735cd
Juan Antonio Osorio Robles [Thu, 4 May 2017 10:23:33 +0000 (13:23 +0300)]
Add resource to fetch CRL
This will fetch the CRL file from the specified file or URL. Furtherly
it will set up a cron job to refresh the crl file once a week and notify
the needed services.
bp tls-via-certmonger
Change-Id: I38e163e8ebb80ea5f79cfb8df44a71fdcd284e04
Damien Ciabrini [Thu, 8 Jun 2017 11:48:38 +0000 (07:48 -0400)]
Puppet module to deploy cinder-volume bundle for HA
This module is used by tripleo-heat-templates to configure and deploy
Kolla-based cinder-volume containers managed by pacemaker.
We use short-lived containers that call pcs via puppet to create
the needed pacemaker resources, properties and constraints.
Co-Authored-By: Michele Baldesari <michele@acksyn.org>
Partial-Bug: #
1668920
Change-Id: I95ad4dd89b47396bea672813d87de35e64c04b2d
Damien Ciabrini [Fri, 2 Jun 2017 18:50:02 +0000 (14:50 -0400)]
Puppet module to deploy cinder-backup bundle for HA
This module is used by tripleo-heat-templates to configure and deploy
Kolla-based cinder-backup containers managed by pacemaker.
We use short-lived containers that call pcs via puppet to create
the needed pacemaker resources, properties and constraints.
Co-Authored-By: Michele Baldesari <michele@acksyn.org>
Partial-Bug: #
1668920
Change-Id: If53495ff75d4832cc6be80dc0dc9bd540ab6583b
Jenkins [Thu, 8 Jun 2017 10:17:35 +0000 (10:17 +0000)]
Merge "Add _spec suffix to class spec tests"
Jenkins [Thu, 8 Jun 2017 09:49:49 +0000 (09:49 +0000)]
Merge "Add polkit rule to allow kolla nova user access to libvirtd socket on docker host"
Jenkins [Thu, 8 Jun 2017 06:50:28 +0000 (06:50 +0000)]
Merge "Add novajoin profile"
Juan Antonio Osorio Robles [Thu, 8 Jun 2017 06:34:45 +0000 (09:34 +0300)]
Move tripleo::certmonger::httpd to defines folder and fix suffix
It's a define, not a class. And it also needs the _spec suffix.
Change-Id: Ie5e0cf81d03379d8b791fd77a5c78d12048ebfef
Juan Antonio Osorio Robles [Thu, 8 Jun 2017 05:58:24 +0000 (08:58 +0300)]
Add _spec suffix to class spec tests
Some of them didn't have it. So I added it to them for uniformity.
Change-Id: I2ea57d0ecfe151f9a14db9f7722a26f09aa8a506
ZhongShengping [Thu, 8 Jun 2017 06:00:17 +0000 (14:00 +0800)]
Update global requirements
Pin reno version to reno!=2.0.0,!=2.3.1,>=1.8.0
Pin sphinx version to sphinx!=1.6.1,>=1.5.1
reno=2.3.1 and sphinx=1.6.1 break releasenotes and doc tests.
Change-Id: I9daab4d970f387ae20ded1bf920ec3b98c7e4597
ZhongShengping [Wed, 7 Jun 2017 03:23:41 +0000 (11:23 +0800)]
Fix the port for Panko API
The port used for Panko is conflicts with Trove[1]. According to the
official documentation[2] this should be 8777. The 8777 port has been
occupied by ceilometer. So set the panko api port to 8977.
[1]https://github.com/openstack/trove/blob/master/etc/apache2/trove#L20
[2]https://docs.openstack.org/developer/panko/install/manual.html#installing-the-api-server
Change-Id: I5ccfc97765fc8b8bf9686b2451eda9c44c77dffc
Closes-Bug: #
1691283
Depends-On: I53b286d1d6466b574fdb286cc45f3138f96dff59
Brent Eagles [Wed, 7 Jun 2017 15:55:47 +0000 (13:25 -0230)]
Remove unnecessary references to neutron core plugin hiera
If the tripleo::profile::base::neutron::sriov is included it
is expected that the SR-IOV agent should be deployed and configured so
references to core plugin configuration is out of place and currently
breaks deployment.
Change-Id: Ie5d8cd7863c0d042cc6a4e1fc52602d8a03a1935