apex-puppet-tripleo.git
8 years agoMerge "Add ceilometer profile rspec testing"
Jenkins [Fri, 7 Oct 2016 04:49:57 +0000 (04:49 +0000)]
Merge "Add ceilometer profile rspec testing"

8 years agoMerge "Add aodh profile rspec testing"
Jenkins [Fri, 7 Oct 2016 04:04:21 +0000 (04:04 +0000)]
Merge "Add aodh profile rspec testing"

8 years agoMerge "Enable usage of "short names" for Ceph cluster"
Jenkins [Thu, 6 Oct 2016 11:55:13 +0000 (11:55 +0000)]
Merge "Enable usage of "short names" for Ceph cluster"

8 years agoMerge "Enable usage of "short names" for Galera cluster"
Jenkins [Thu, 6 Oct 2016 08:52:15 +0000 (08:52 +0000)]
Merge "Enable usage of "short names" for Galera cluster"

8 years agoMerge "Explicitly use Keystone v2 endpoint in the UI"
Jenkins [Wed, 5 Oct 2016 23:06:42 +0000 (23:06 +0000)]
Merge "Explicitly use Keystone v2 endpoint in the UI"

8 years agoMerge "Use service-specific servernames for haproxy"
Jenkins [Wed, 5 Oct 2016 13:22:50 +0000 (13:22 +0000)]
Merge "Use service-specific servernames for haproxy"

8 years agoEnable usage of "short names" for Ceph cluster
Juan Antonio Osorio Robles [Wed, 5 Oct 2016 13:22:40 +0000 (16:22 +0300)]
Enable usage of "short names" for Ceph cluster

We're not able to use FQDNs yet, so to work around this, we give
precedence to a "short name" list we'll get from t-h-t. We can
migrate to using FQDNs in the next cycle.

Change-Id: Ic6fec1057439ed9122d44ef294be890d3ff8a8ee
Related-Bug: #1628521

8 years agoMerge "Change rabbitmq queues HA mode from ha-all to ha-exactly"
Jenkins [Wed, 5 Oct 2016 12:51:26 +0000 (12:51 +0000)]
Merge "Change rabbitmq queues HA mode from ha-all to ha-exactly"

8 years agoExplicitly use Keystone v2 endpoint in the UI
Julie Pichon [Wed, 5 Oct 2016 11:58:21 +0000 (12:58 +0100)]
Explicitly use Keystone v2 endpoint in the UI

The UI expects a Keystone endpoint URL that includes the version
(without it, it is not possible to log in). Looking at the
dist/tripleo_ui_config.js.sample configuration sample in the tripleo-ui
repository, the current expectation is a v2.0 URL so let's use that for
now.

Change-Id: I4ca04b16251fbee264cd4ce5e5433c2c1cb6d2f0
Closes-Bug: #1630546

8 years agoUse service-specific servernames for haproxy
Juan Antonio Osorio Robles [Wed, 5 Oct 2016 07:37:27 +0000 (10:37 +0300)]
Use service-specific servernames for haproxy

Right now we're hardcoding the server names for the services to be
the controllers. This is problematic if we start  using custom roles
for services, which listen on nodes that are not controllers.

We already have the server names for each service, so using this
mapping instead fixes the issue.

Change-Id: Ic4b65edb3dc1b75abbc3421a87cab97425b058c4
Closes-Bug: #1629098

8 years agoEnable usage of "short names" for Galera cluster
Juan Antonio Osorio Robles [Wed, 5 Oct 2016 07:48:32 +0000 (10:48 +0300)]
Enable usage of "short names" for Galera cluster

We're not able to use FQDNs yet, so to work around this, we give
precedence to a "short name" list we'll get from t-h-t.

Change-Id: I4ef7786474c229d5212a0deb2ca02ee992b030d8
Related-Bug: #1628521

8 years agoChange rabbitmq queues HA mode from ha-all to ha-exactly
Michele Baldessari [Thu, 29 Sep 2016 16:35:25 +0000 (18:35 +0200)]
Change rabbitmq queues HA mode from ha-all to ha-exactly

It turns out that reducing number of rabbitmq queues in cluster
significantly improves performance of cluster especially in the case of
failover recovery time. Right now the cluster uses ha-all mode for rabbitmq
queues.

It is best to change this to "ha-exactly" mode and reduce the number
of queue copies to ceil(N/2) where N is number of controllers in the
cluster - so in typical scenario of 3 controller It would be 2 by
default.

It does not make much sense to keep the copies of queues over whole
cluster since if the quorum of nodes is lost then the rest of cluster
nodes will be stopped anyway. We let the user override this with a
parameter.

I.e. for a 3 node controlplane cluster we will go from this:
pcs resource show rabbitmq
 Resource: rabbitmq (class=ocf provider=heartbeat type=rabbitmq-cluster)
  Attributes: set_policy="ha-all ^(?!amq\.).* {"ha-mode":"all"}"

To this:
pcs resource show rabbitmq
 Resource: rabbitmq (class=ocf provider=heartbeat type=rabbitmq-cluster)
  Attributes: set_policy="ha-all ^(?!amq\.).* {"ha-mode":"exactly","ha-params":2}"

According to Marin Krcmarik's testing recovery time from failure was
reduced significantly.

Co-Authored-By: Marian Krcmarik <mkrcmari@redhat.com>
Change-Id: Ib62001c03e1e08f58cf0c6e0ba07a8879a584084
Partial-Bug: #1628998

8 years agoCleanup the firewall logic.
Dan Prince [Tue, 4 Oct 2016 14:11:55 +0000 (10:11 -0400)]
Cleanup the firewall logic.

We added code in t-h-t to strip empty services from the service_names
list. (These are often the result of a service set to OS::Heat::None).

As such we can now drop this puppet reject statement.

Change-Id: Ie66f14f183de7e44a1f69af862f7d4be9a14c904

8 years agoMerge "Fix the timeout for pacemaker systemd resources"
Jenkins [Tue, 4 Oct 2016 09:12:27 +0000 (09:12 +0000)]
Merge "Fix the timeout for pacemaker systemd resources"

8 years agoClean out UI httpd configuration file
Julie Pichon [Fri, 30 Sep 2016 10:32:45 +0000 (11:32 +0100)]
Clean out UI httpd configuration file

When updating the package with yum directly, a new httpd config file is
created with a different name than the one used by Puppet, causing
httpd to fail. Cleaning out the package config file and keeping it
around means it won't get overwritten on update, and is the way other
projects such as puppet-horizon handle this.

Change-Id: I539729ce4cd0898f8b0f3f26266e4e6d55b99e37
Closes-Bug: #1628983

8 years agoMerge "Use FallbackResource instead of Rewrite for UI"
Jenkins [Mon, 3 Oct 2016 19:16:18 +0000 (19:16 +0000)]
Merge "Use FallbackResource instead of Rewrite for UI"

8 years agoFix the timeout for pacemaker systemd resources
Michele Baldessari [Fri, 30 Sep 2016 22:10:18 +0000 (00:10 +0200)]
Fix the timeout for pacemaker systemd resources

Back in the Mitaka cycle via the change If6b43982c958f63bc78ad997400bf1279c23df7e
we made sure that the default start and stop timeouts for pacemaker
systemd resources is 200s (>= twice the default 90s DefaultTimeoutStopSec
in systemd). We did this change by setting puppet resource defaults for
the Pacemaker::Resource::Service class:

Pacemaker::Resource::Service {
  op_params => 'start timeout=200s stop timeout=200s',
}

The problem is that after the composable services rework, this does not
work anymore and the pacemaker systemd resources that still exist do not
have these timeouts set.

We want to move away from resource defaults for this because its results
are dependent on the inclusion order which in tripleo is not guaranteed
any longer (https://docs.puppet.com/puppet/latest/reference/lang_scope.html#scope-lookup-rules)

The only services affected in Newton are: cinder-volume,
cinder-backup, manila-share, haproxy. I preferred fixing all the
pacemaker resources because it seems the cleanest and most logical
commit.

Change-Id: If89a95706514e536a7a2949871a0002c79b6046e
Closes-Bug: #1629366

8 years agoMerge "Add swift proxy for ceilometer middleware"
Jenkins [Mon, 3 Oct 2016 16:40:19 +0000 (16:40 +0000)]
Merge "Add swift proxy for ceilometer middleware"

8 years agoMerge "Cinder: Add iSCSI protocol parameter"
Jenkins [Mon, 3 Oct 2016 07:49:58 +0000 (07:49 +0000)]
Merge "Cinder: Add iSCSI protocol parameter"

8 years agoMerge "Added X-Forwarded-Proto headers for horizon"
Jenkins [Mon, 3 Oct 2016 06:30:41 +0000 (06:30 +0000)]
Merge "Added X-Forwarded-Proto headers for horizon"

8 years agoAdd ceilometer profile rspec testing
Alex Schultz [Fri, 30 Sep 2016 15:49:35 +0000 (09:49 -0600)]
Add ceilometer profile rspec testing

This change adds rspec testing for the ceilometer profiles. While
writing these tests, the tripleo::profile::base::ceilometer::collector
class needed to have the hiera lookups moved to class parameters to
allow for testing the possible options around the database backend.
These tests add coverage for ipv4 and ipv6 configurations for the
collector profile as well as excluding mongodb on the backend.

Change-Id: I1abae040104e8492a9fe266de74080e1e7701731

8 years agoAdd aodh profile rspec testing
Alex Schultz [Wed, 21 Sep 2016 21:21:49 +0000 (15:21 -0600)]
Add aodh profile rspec testing

This change adds rspec testing for the aodh profile and serves as an
example as to how to add in spec testing using hieradata to provide some
required parameters.  This testing adds improved coverage for
expectations around computed configuration items as well as for
conditions around the steps within the tripleo deployment

Change-Id: Ic763a544289a222fea97020a98821c1e375651a3

8 years agotelemetry: normalize coordination_url
Emilien Macchi [Fri, 30 Sep 2016 13:41:11 +0000 (09:41 -0400)]
telemetry: normalize coordination_url

Normalize coordination_url for Telemetry services, so we can deploy them
with IPv6.

Change-Id: Ic6de09acf0d36ca90cc2041c0add1bc2b4a369a5
Partial-Bug: #1629279
Depends-On: I038e2bac22e3bfa5047d2e76e23cff664546464d

8 years agoUse FallbackResource instead of Rewrite for UI
Honza Pokorny [Wed, 28 Sep 2016 12:23:30 +0000 (09:23 -0300)]
Use FallbackResource instead of Rewrite for UI

The original configuration produced a 400 error for all requests.  The
new FallbackResource directive accomplishes our task in a more elegant
fashion.

Change-Id: Ib5d77d158e73acc63d5c0c85d6aa6d99d2176333
Closes-Bug: 1628484

8 years agometadata.json: prepare RC2 release
Emilien Macchi [Wed, 28 Sep 2016 13:05:19 +0000 (09:05 -0400)]
metadata.json: prepare RC2 release

Bump to 5.2.0 which is RC2 release.

Change-Id: If5e650c52fa3d7701d3079712a9cc8db3a431e36

8 years agoMerge "Move db syncs into mysql base role"
Jenkins [Wed, 28 Sep 2016 09:29:57 +0000 (09:29 +0000)]
Merge "Move db syncs into mysql base role"

8 years agoMove db syncs into mysql base role
Dan Prince [Mon, 26 Sep 2016 16:48:49 +0000 (12:48 -0400)]
Move db syncs into mysql base role

This patch moves the various DB syncs into the MySQL role.

Database creation needs to occur on the MySQL server to
avoid permission issues.

This patch also moves database creation to step 2 so we can
guarantee that all per-service databases exist at this time.
This avoids complex ordering needed during step 3 where
services, on different hosts, can run their own db sync's
in a distributed fashion.

Change-Id: I05cc0afa9373429a3197c194c3e8f784ae96de5f
Partial-bug: #1620595

8 years agoMerge "Add pameter for gmcast.listen_addr configuration"
Jenkins [Mon, 26 Sep 2016 20:42:42 +0000 (20:42 +0000)]
Merge "Add pameter for gmcast.listen_addr configuration"

8 years agoMerge "Make mysql bind-address configurable"
Jenkins [Mon, 26 Sep 2016 13:53:21 +0000 (13:53 +0000)]
Merge "Make mysql bind-address configurable"

8 years agoMerge "Move inclusion of ::manila::db::mysql in manila/api profile"
Jenkins [Mon, 26 Sep 2016 13:33:23 +0000 (13:33 +0000)]
Merge "Move inclusion of ::manila::db::mysql in manila/api profile"

8 years agoAdd pameter for gmcast.listen_addr configuration
Juan Antonio Osorio Robles [Mon, 26 Sep 2016 12:36:49 +0000 (15:36 +0300)]
Add pameter for gmcast.listen_addr configuration

having an actual name for that configuration will allow us to pass a
more proper name via t-h-t.

Change-Id: Iea4bd67074824e5dc6732fd7e408743e693d80b3

8 years agoMerge "Fix Swift manifest for Puppet4 deployment"
Jenkins [Mon, 26 Sep 2016 08:17:27 +0000 (08:17 +0000)]
Merge "Fix Swift manifest for Puppet4 deployment"

8 years agoMake mysql bind-address configurable
Juan Antonio Osorio Robles [Fri, 23 Sep 2016 14:26:45 +0000 (17:26 +0300)]
Make mysql bind-address configurable

It used to be hardcoded that the bind-address was always coming from
the $::hostname fact. This is wrong, as it disregards where we have
configured the mysql address. This commit actually makes it
configurable, so we'll be able to set it via hieradata.

On the other hand, we use the hiera key that we already set
'mysql_bind_host' as a default; if, for some reason, that's
unavailable then we fall back to $::hostname.

Related-Bug: #1627060
Change-Id: I316acfd514aac63b84890e20283c4ca611ccde8b

8 years agoAdd swift proxy for ceilometer middleware
Pradeep Kilambi [Fri, 16 Sep 2016 14:46:21 +0000 (10:46 -0400)]
Add swift proxy for ceilometer middleware

swift proxy has already been updated to use updated
ceilometermiddleware as indicated here [1]. Include
it in the proxy class.

[1] https://github.com/openstack/puppet-swift/commit/e8ad981eff0f97c24a53197c42caf350627d3c9f

Change-Id: Ie49f4a750368ff174b23b8d6baa743d0956d727e

8 years agoMerge "Switch puppet-tripleo to use puppet-openstack_spec_helper"
Jenkins [Fri, 23 Sep 2016 20:55:26 +0000 (20:55 +0000)]
Merge "Switch puppet-tripleo to use puppet-openstack_spec_helper"

8 years agoMerge "Add in rspec-puppet-facts support"
Jenkins [Fri, 23 Sep 2016 19:25:35 +0000 (19:25 +0000)]
Merge "Add in rspec-puppet-facts support"

8 years agoMerge "Add FQDN testcase in swift proxy profile rspec tests"
Jenkins [Fri, 23 Sep 2016 19:09:15 +0000 (19:09 +0000)]
Merge "Add FQDN testcase in swift proxy profile rspec tests"

8 years agoMerge "Add support for rabbit hosts to mistral"
Jenkins [Fri, 23 Sep 2016 19:08:52 +0000 (19:08 +0000)]
Merge "Add support for rabbit hosts to mistral"

8 years agoMerge "certmonger: improve orchestration for puppet4"
Jenkins [Fri, 23 Sep 2016 16:32:25 +0000 (16:32 +0000)]
Merge "certmonger: improve orchestration for puppet4"

8 years agoMove inclusion of ::manila::db::mysql in manila/api profile
Giulio Fidente [Thu, 22 Sep 2016 16:15:45 +0000 (18:15 +0200)]
Move inclusion of ::manila::db::mysql in manila/api profile

In puppet-manila it is the api service performing db sync, not
scheduler. This change moves ::manila::db::mysql (which creates
the empty database and users) in the tripleo manila/api profile.

Also moves rabbit config into a general manila base profile as
that would be needed by the scheduler service as well.

Change-Id: I2b537f735b8d1be8f39e8c274be3872b193c1014

8 years agoAdd support for rabbit hosts to mistral
Brad P. Crochet [Fri, 23 Sep 2016 13:10:47 +0000 (09:10 -0400)]
Add support for rabbit hosts to mistral

The mistral puppet did not have support for configuring the rabbit hosts.
This change adds that support.

Change-Id: I6cb2cbf4a2abf494668d24b8c36b0d525643f0af

8 years agoSwitch puppet-tripleo to use puppet-openstack_spec_helper
Emilien Macchi [Thu, 22 Sep 2016 15:11:13 +0000 (11:11 -0400)]
Switch puppet-tripleo to use puppet-openstack_spec_helper

Align puppet-tripleo with other Puppet OpenStack modules to use
puppet-openstack_spec_helper.

Here are the benefits:

- Allow to use Depends-On between Puppet OpenStack modules and
  puppet-tripleo, and unit tests will work correctly with dependencies.
- Use the Puppet OpenStack gemspec file that handle gems dependencies to
  test the module.
- Allow to re-use ruby helper that Puppet OpenStack modules have in unit
  tests, to avoid duplicated code.
- Don't manage .fixtures.yml file, it will be generated by Puppet
  OpenStack tooling. TripleO dependencies will live in Puppetfile_extras.

Change-Id: Ic66e9f872c57545327a9fb4b8ae86fbf0abbd8be

8 years agoAdd in rspec-puppet-facts support
Alex Schultz [Wed, 21 Sep 2016 19:41:58 +0000 (13:41 -0600)]
Add in rspec-puppet-facts support

This change pulls in rspec-puppet-facts to provide the basic default
facts for puppet-tripleo rspec tests. rspec-puppet-facts provides an
easy to use interface to allow for the same set of tests to be executed
with multiple sets of operating system facts. In most cases this
includes defaults for Debian/RedHat based systems. In puppet-tripleo's
case this is just RHEL/CentOS. We are removing the Fedora listing from
the metadata.json as we only support RHEL and CentOS for tripleo.
This change also updates the existing rspec tests to leverage
rspec-puppet-facts to be more consistent with how facts are defined.

Change-Id: I0ddc71799d74ee95b9828aea6a8dcb4abb4e4e62

8 years agoMerge "Manage tripleo-ui configuration files with puppet"
Jenkins [Wed, 21 Sep 2016 21:00:30 +0000 (21:00 +0000)]
Merge "Manage tripleo-ui configuration files with puppet"

8 years agoFix Swift manifest for Puppet4 deployment
Emilien Macchi [Wed, 21 Sep 2016 19:11:31 +0000 (15:11 -0400)]
Fix Swift manifest for Puppet4 deployment

1) swift/ringbuilder: seed must be a String
Because we use validate_re in puppet-swift and puppet4 requires the
regex to be a string, not an integer.

2) Fix Swift package name
In puppet4, we need the resource title, not the resource name.

Change-Id: I50cea96d45e0eb46c19040d9a7105ab72c2dbef7

8 years agoMerge "swift: normalize memcache servers IP addresses"
Jenkins [Wed, 21 Sep 2016 18:25:27 +0000 (18:25 +0000)]
Merge "swift: normalize memcache servers IP addresses"

8 years agoAdd FQDN testcase in swift proxy profile rspec tests
Emilien Macchi [Wed, 21 Sep 2016 13:31:25 +0000 (09:31 -0400)]
Add FQDN testcase in swift proxy profile rspec tests

Add more coverage in our unit testing for FQDNs.

Change-Id: I74859cdecc0d81138b2fe986883c4f7c49b8cab3

8 years agoMerge "Fix puppet-lint in composable contrail"
Jenkins [Wed, 21 Sep 2016 08:36:44 +0000 (08:36 +0000)]
Merge "Fix puppet-lint in composable contrail"

8 years agoMerge "Fixup manila-cephfs native backend defaults"
Jenkins [Tue, 20 Sep 2016 22:42:44 +0000 (22:42 +0000)]
Merge "Fixup manila-cephfs native backend defaults"

8 years agocertmonger: improve orchestration for puppet4
Emilien Macchi [Tue, 20 Sep 2016 19:52:18 +0000 (15:52 -0400)]
certmonger: improve orchestration for puppet4

The extract-and-trust-ca actually needs /var/lib/certmonger/local/creds
file to be created, which is created when certmonger is started, not
when package is installed.
This patch change the exec dependency to run it only when service is
started.
Also, since the service create the file, let's relax the Exec a little
bit by allowing to retry 5 times after 1s break in case the Exec fails,
for example if service takes more than 5 seconds to create this file.
It will avoid us some race condition in the deployment.

Change-Id: I4cf4a04bddb8f042e8e8f7e1d1b69f846c533e3b

8 years agoswift: normalize memcache servers IP addresses
Emilien Macchi [Mon, 19 Sep 2016 19:43:46 +0000 (15:43 -0400)]
swift: normalize memcache servers IP addresses

In the case of memcache servers are IPv6, make sure brackets set in the
way we construct the list of memcache server + memcache port parameter.

Also add unit-tests to test that the output is what we want in the
configuration.

Depends-On: I8d361ce9cfcfe6a3f8592b2b7991971a3c748c75
Closes-Bug: 1625335
Change-Id: I9fb8168d8fb56c9d8465d58a45fd8c6edfee6fdd

8 years agoFixup manila-cephfs native backend defaults
marios [Wed, 7 Sep 2016 13:37:26 +0000 (16:37 +0300)]
Fixup manila-cephfs native backend defaults

The puppet-tripleo side for manila-cephfs landed without specifying
defaults for all class params [1] so when cephfs isn't enabled
e.g. only generic, then you will get errors for those params. See
review comments at [2] for reports of this.

This will fixup the manila-cephfs puppet-tripleo side to be more
in line with the tidy up adding netapp at [3]. The config is all
moved tripleo-heat-templates side. The tht review for this
is at https://review.openstack.org/#/c/358525/ and that will now
depend on this review.

[1] https://review.openstack.org/#/c/354047/
[2] https://review.openstack.org/#/c/354019/
[3] https://review.openstack.org/#/c/354014/
Change-Id: I918f6f23ae0bd3542bcfe1bf0c797d4e6aa8f4d9

8 years agoMerge "Terminate Zaqar websocket endpoint in HAProxy"
Jenkins [Tue, 20 Sep 2016 11:55:51 +0000 (11:55 +0000)]
Merge "Terminate Zaqar websocket endpoint in HAProxy"

8 years agoTerminate Zaqar websocket endpoint in HAProxy
Juan Antonio Osorio Robles [Thu, 25 Aug 2016 08:36:10 +0000 (11:36 +0300)]
Terminate Zaqar websocket endpoint in HAProxy

Note that there was a need to modify different timeouts due
to the nature of how websockets work. The source where the
reasoning and value came from is listed as a comment in the
code.

Related-Bug: #1625448
Co-Authored-By: Brad P. Crochet <brad@redhat.com>
Change-Id: I9de77d5f692c1c9d04e3c59c5de5312e63f81aed

8 years agoMerge "Swift add_devices.pp IPv6 handling"
Jenkins [Sat, 17 Sep 2016 18:50:56 +0000 (18:50 +0000)]
Merge "Swift add_devices.pp IPv6 handling"

8 years agoMerge "Fix dependencies for HAProxy when certmonger is used"
Jenkins [Sat, 17 Sep 2016 17:37:35 +0000 (17:37 +0000)]
Merge "Fix dependencies for HAProxy when certmonger is used"

8 years agorelease 5.1.0
Emilien Macchi [Sat, 17 Sep 2016 04:35:35 +0000 (00:35 -0400)]
release 5.1.0

Change-Id: I89fcd94460c995a18fd35800b5736d70687c4f42

8 years agoMerge "mysql: never add brackets to mysql_bind_host"
Jenkins [Sat, 17 Sep 2016 02:51:17 +0000 (02:51 +0000)]
Merge "mysql: never add brackets to mysql_bind_host"

8 years agoMerge "Wait for MongoDB connections before creating replset"
Jenkins [Sat, 17 Sep 2016 01:08:34 +0000 (01:08 +0000)]
Merge "Wait for MongoDB connections before creating replset"

8 years agoWait for MongoDB connections before creating replset
Jiri Stransky [Fri, 16 Sep 2016 14:41:58 +0000 (16:41 +0200)]
Wait for MongoDB connections before creating replset

Sometimes the mongodb_replset resource fails with:

Could not evaluate: Can't find master host for replicaset tripleo.

This issue is intermittent so the fix cannot be perfectly verified, but
the assumption is that if we wait for MongoDB to be reachable on all
nodes, it will assure that the members will appear to the puppet module
as alive when creating or verifying the replset. If the validation
fails, it should help us uncover which of the members was causing
trouble.

Change-Id: I0bcd0d063a7a766483426fdd5ea81cbe1dfaa348
Closes-Bug: #1624420

8 years agoSwift add_devices.pp IPv6 handling
Gabriele Cerami [Wed, 14 Sep 2016 09:36:20 +0000 (11:36 +0200)]
Swift add_devices.pp IPv6 handling

Add brackets to IPv6 addresses before forming $object from $base

Change-Id: I4568d538561a0102b69f331a122d4989333a3bfa
Closes-Bug: #1623096

8 years agoMerge "Add manila-netapp backend to manila class and tidy up generic"
Jenkins [Fri, 16 Sep 2016 20:27:49 +0000 (20:27 +0000)]
Merge "Add manila-netapp backend to manila class and tidy up generic"

8 years agoAdd manila-netapp backend to manila class and tidy up generic
marios [Thu, 11 Aug 2016 12:01:42 +0000 (15:01 +0300)]
Add manila-netapp backend to manila class and tidy up generic

This adds support for the manila-netapp backend. The backend
specific config is set tht side. So this change also
tidies up the manila generic config, which is unnecessarily
being duplicated here
( see https://review.openstack.org/#/c/354019/ )

Change-Id: Ic6f8e8d27ca20b9badddea5d16550aa18bff8418

8 years agoManage tripleo-ui configuration files with puppet
Martin André [Tue, 30 Aug 2016 14:09:24 +0000 (16:09 +0200)]
Manage tripleo-ui configuration files with puppet

This commit ensures the tripleo-ui configuration files are present and
are matching the environment.

Change-Id: I0deeffa9026b1f5cd36a9810aaee7832e31c3c93

8 years agomysql: never add brackets to mysql_bind_host
Emilien Macchi [Tue, 13 Sep 2016 11:29:32 +0000 (07:29 -0400)]
mysql: never add brackets to mysql_bind_host

Don't add brackets on mysql_bind_host parameter in Galera config.
Having brackets from this parameter works with old version of
Galera but not newest one.
So let's remove them at all, so we can safely upgrade Galera in RDO.

Change-Id: Ic904d4efda162f18ec8dffb91c2f383f54361f41
Closes-Bug: #1622755

8 years agoFix dependencies for HAProxy when certmonger is used
Juan Antonio Osorio Robles [Thu, 15 Sep 2016 07:30:21 +0000 (10:30 +0300)]
Fix dependencies for HAProxy when certmonger is used

Installing the undercloud with generate_service_certificate=True
fails if HAProxy is not pre-installed. This is due to missing
dependency setting on our puppet manifests. We need to specify that
the PEM file needs to be written only if the haproxy user and group
exist (which comes from the package) and that the haproxy frontend
configuration needs to be notified if there are changes in the
certificates.

Change-Id: Iba3030e4489eb31f9c07ab49913687d8b595a91b
Closes-Bug: #1623805

8 years agoFix wrong flag name for VNC Proxy in HAProxy
Juan Antonio Osorio Robles [Thu, 15 Sep 2016 06:17:06 +0000 (09:17 +0300)]
Fix wrong flag name for VNC Proxy in HAProxy

The name was wrong, and so fixing it will actually enable VNC Proxy
when the service is enabled.

Change-Id: I65e90479fd33844b4dcd70c19cec3cd838aeff69
Closes-Bug: #1623796

8 years agoMerge "Add validations profile for tripleo"
Jenkins [Wed, 14 Sep 2016 09:36:01 +0000 (09:36 +0000)]
Merge "Add validations profile for tripleo"

8 years agoMerge "Enable X-Forwarded-Proto for manila"
Jenkins [Tue, 13 Sep 2016 15:00:05 +0000 (15:00 +0000)]
Merge "Enable X-Forwarded-Proto for manila"

8 years agoMerge "Fill DNS name for haproxy certificates"
Jenkins [Tue, 13 Sep 2016 02:21:53 +0000 (02:21 +0000)]
Merge "Fill DNS name for haproxy certificates"

8 years agoMerge "Fix value of ctlplane fqdn fact"
Jenkins [Mon, 12 Sep 2016 17:27:13 +0000 (17:27 +0000)]
Merge "Fix value of ctlplane fqdn fact"

8 years agoAdd validations profile for tripleo
Tomas Sedovic [Mon, 12 Sep 2016 15:32:48 +0000 (17:32 +0200)]
Add validations profile for tripleo

This adds the tripleo::profile::base::validations profile which sets up
the `validations` user and installs the openstack-tripleo-validations
package.

Change-Id: Ib2b1ddcda3a41cb7263171d3024f05ba8bfd2f28

8 years agoFix puppet-lint in composable contrail
Carlos Camacho [Mon, 12 Sep 2016 12:37:37 +0000 (14:37 +0200)]
Fix puppet-lint in composable contrail

After landing this new service, there ase some puppet
styles misalignments.

These changes are in favor of start using puppet-lint 2.0.0

2016-09-12 08:55:07.952492 | manifests/network/contrail/analytics.pp:130:WARNING: optional parameter listed before required parameter
2016-09-12 08:55:07.952573 | manifests/network/contrail/config.pp:117:WARNING: optional parameter listed before required parameter
2016-09-12 08:55:07.952604 | manifests/network/contrail/config.pp:118:WARNING: optional parameter listed before required parameter
2016-09-12 08:55:07.952632 | manifests/network/contrail/config.pp:119:WARNING: optional parameter listed before required parameter
2016-09-12 08:55:07.952660 | manifests/network/contrail/config.pp:120:WARNING: optional parameter listed before required parameter
2016-09-12 08:55:07.952688 | manifests/network/contrail/control.pp:95:WARNING: optional parameter listed before required parameter
2016-09-12 08:55:07.952717 | manifests/network/contrail/control.pp:96:WARNING: optional parameter listed before required parameter
2016-09-12 08:55:07.952745 | manifests/network/contrail/control.pp:97:WARNING: optional parameter listed before required parameter
2016-09-12 08:55:07.952773 | manifests/network/contrail/database.pp:37:WARNING: optional parameter listed before required parameter
2016-09-12 08:55:07.952800 | manifests/network/contrail/webui.pp:80:WARNING: optional parameter listed before required parameter
2016-09-12 08:55:07.952828 | manifests/network/contrail/webui.pp:81:WARNING: optional parameter listed before required parameter
2016-09-12 08:55:07.952856 | manifests/network/contrail/webui.pp:82:WARNING: optional parameter listed before required parameter

Change-Id: Id45d2daf49bfd081ceb074a2687306a7ac977da8

8 years agoFix value of ctlplane fqdn fact
Juan Antonio Osorio Robles [Fri, 9 Sep 2016 05:40:06 +0000 (08:40 +0300)]
Fix value of ctlplane fqdn fact

This fact was being retrieving the value of the hostname for the management
network. We should instead be using a value set explicitly in t-h-t.

Depends-On: Idb3ca22ac136691b0bff6f94524d133a4fa10617
Change-Id: I6fcf7c7853071a9f3377aec475308bc8d10d5b33
Related-Bug: #1621742

8 years agoEnable X-Forwarded-Proto for manila
Juan Antonio Osorio Robles [Mon, 12 Sep 2016 06:37:56 +0000 (09:37 +0300)]
Enable X-Forwarded-Proto for manila

This is necessary so the middleware in manila can set the protocol
correctly in case we're terminating SSL in HAProxy.

Depends-On: Ice78b0abceb6a956bb8c1dc6212ee1b56b62b43f
Change-Id: Iedaabaf1379466c22e3b9bb2307e940459d26de7

8 years agoFill DNS name for haproxy certificates
Juan Antonio Osorio Robles [Mon, 12 Sep 2016 05:56:04 +0000 (08:56 +0300)]
Fill DNS name for haproxy certificates

This sets the subject alt name field for the certificates we
auto-generate, which will remove the security warnings we constantly
see in the undercloud. This is the proper way to set certificates,
since the usage of the CN as a replacement for the subjectAltName is
being deprecated (very slowly).

Change-Id: I475cbffd47425e850902838eec06bf461df2acd0
Closes-Bug: #1622446

8 years agoMerge "Added Contrail Composable Services"
Jenkins [Fri, 9 Sep 2016 20:10:13 +0000 (20:10 +0000)]
Merge "Added Contrail Composable Services"

8 years agoMerge "Add Ceph RGW profile"
Jenkins [Fri, 9 Sep 2016 15:46:59 +0000 (15:46 +0000)]
Merge "Add Ceph RGW profile"

8 years agoCinder: Add iSCSI protocol parameter
Dimitri Savineau [Thu, 8 Sep 2016 17:16:30 +0000 (13:16 -0400)]
Cinder: Add iSCSI protocol parameter

This patch allows to spefify the iscsi_protocol in the iSCSI cinder
backend when we want to use iSCSI Extensions for RDMA (iSER).
The default value remains 'iscsi'.

Change-Id: I6d2c4d71fb3ab1f7749d6e1defb59e86b9364cc1

8 years agoMerge "Add class to write overcloud VIPs into /etc/hosts"
Jenkins [Thu, 8 Sep 2016 09:29:31 +0000 (09:29 +0000)]
Merge "Add class to write overcloud VIPs into /etc/hosts"

8 years agognocchi: move statsd and metricd at step5
Emilien Macchi [Wed, 7 Sep 2016 17:38:49 +0000 (13:38 -0400)]
gnocchi: move statsd and metricd at step5

Gnocchi statsd and metricd require Keystone resources to be in place
when using Swift backend, because those services will try to access to
Swift containers.

To do so, we want to move the service start at step 5 instead of 4 and
also require Keystone resource to be managed before starting the
services.

Change-Id: Ie5bc1481a8700c7cd080a76d0978146a84825767
Closes-Bug: #1621164

8 years agoMerge "Manage Redis VIP when deploying with keepalived"
Jenkins [Wed, 7 Sep 2016 00:49:55 +0000 (00:49 +0000)]
Merge "Manage Redis VIP when deploying with keepalived"

8 years agoMerge "Include heat base profile outside of step"
Jenkins [Tue, 6 Sep 2016 15:04:07 +0000 (15:04 +0000)]
Merge "Include heat base profile outside of step"

8 years agoMerge "Add Ceph RGW listener to HAProxy"
Jenkins [Tue, 6 Sep 2016 14:57:14 +0000 (14:57 +0000)]
Merge "Add Ceph RGW listener to HAProxy"

8 years agoMerge "Convert ringbuilder to build devices array"
Jenkins [Tue, 6 Sep 2016 14:54:38 +0000 (14:54 +0000)]
Merge "Convert ringbuilder to build devices array"

8 years agoAdd class to write overcloud VIPs into /etc/hosts
Juan Antonio Osorio Robles [Fri, 19 Aug 2016 10:46:48 +0000 (13:46 +0300)]
Add class to write overcloud VIPs into /etc/hosts

This will be useful to start using FQDNs instead of IPs if we don't
have a DNS set-up. This will effectively grab a map of hosts to add
and create them with puppet's host resource.

Change-Id: I1bdb2701dfb3e7ef072e674c9882d3be5af7296c

8 years agoMerge "Map ctlplane network to management fqdn"
Jenkins [Tue, 6 Sep 2016 13:42:49 +0000 (13:42 +0000)]
Merge "Map ctlplane network to management fqdn"

8 years agoMerge "Make fqdn fact names match service net map"
Jenkins [Tue, 6 Sep 2016 13:20:33 +0000 (13:20 +0000)]
Merge "Make fqdn fact names match service net map"

8 years agoMerge "Ironic: update included drivers"
Jenkins [Mon, 5 Sep 2016 15:15:50 +0000 (15:15 +0000)]
Merge "Ironic: update included drivers"

8 years agoMerge "Ironic: manage PXE environment for conductors"
Jenkins [Mon, 5 Sep 2016 13:47:06 +0000 (13:47 +0000)]
Merge "Ironic: manage PXE environment for conductors"

8 years agoMap ctlplane network to management fqdn
Juan Antonio Osorio Robles [Mon, 5 Sep 2016 11:45:47 +0000 (14:45 +0300)]
Map ctlplane network to management fqdn

We don't really expose a management network, but a ctlplane one. So
when someone requests the ctlplane fqdn, we'll give the management
one. Since that's what we actually fill in the hosts.

Change-Id: Iede5a06d73206f98f283729f1879484f09d4012a

8 years agoMake fqdn fact names match service net map
Juan Antonio Osorio Robles [Mon, 5 Sep 2016 11:33:45 +0000 (14:33 +0300)]
Make fqdn fact names match service net map

This will make it easier to use and consume from t-h-t, making their
use more dynamic. This is still safe to do, since these are not used
by anything yet.

Change-Id: I4d603938c568320d4ae1cc7a396070ad4ac62132

8 years agoMerge "updates to fluentd support"
Jenkins [Mon, 5 Sep 2016 09:01:31 +0000 (09:01 +0000)]
Merge "updates to fluentd support"

8 years agoIronic: update included drivers
Dmitry Tantsur [Sun, 4 Sep 2016 15:44:06 +0000 (17:44 +0200)]
Ironic: update included drivers

Configure drac, ilo and ssh drivers out of box.
Remove deprecated ironic::drivers::deploy.

This change brings the default driver list closer to one of undercloud.

Change-Id: I8b9a136a0ff22916d7c468bbb0df7248bc35a5c2
Partially-Implements: blueprint ironic-integration

8 years agoMerge "Make service profiles default to rabbitmq_node_ips"
Jenkins [Sat, 3 Sep 2016 16:05:22 +0000 (16:05 +0000)]
Merge "Make service profiles default to rabbitmq_node_ips"

8 years agoMerge "Plumgrid helper"
Jenkins [Fri, 2 Sep 2016 21:28:36 +0000 (21:28 +0000)]
Merge "Plumgrid helper"

8 years agoMerge "Opencontrail vrouter profile"
Jenkins [Fri, 2 Sep 2016 20:57:53 +0000 (20:57 +0000)]
Merge "Opencontrail vrouter profile"

8 years agoPlumgrid helper
Dan Prince [Wed, 6 Jul 2016 14:20:43 +0000 (10:20 -0400)]
Plumgrid helper

Extra settings that need to be applied for plumgrid where compute
nodes are running.

Change-Id: Ided5483f0f36f0efd5a09112832d07f028a2a7f9

8 years agoManage Redis VIP when deploying with keepalived
Jiri Stransky [Fri, 2 Sep 2016 13:18:00 +0000 (15:18 +0200)]
Manage Redis VIP when deploying with keepalived

Previously we weren't creating Redis VIP in keepalived, causing Redis to
be unusable in non-HA deployments.

Change-Id: I0bb37f6fb3eed022288b2dcfc7a88e8ff88a7ace
Related-Bug: #1618510

8 years agoConvert ringbuilder to build devices array
Steven Hardy [Fri, 2 Sep 2016 08:09:58 +0000 (09:09 +0100)]
Convert ringbuilder to build devices array

Currently we have some hard-coded mangling in t-h-t but we
instead need to build the array based on the nodes running swift
storage, combined with the SwiftRawDisks parameter.

This will enable running SwiftStorage on nodes other than Controller
and SwiftStorage roles, and is required for custom-roles due to
the hard-coded stuff in the role templates and overcloud.yaml

Change-Id: I11deed1df712ecccf85d36a75b3bd2e9d226af36
Partially-Implements: blueprint custom-roles