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

8 years agoMerge "Create memcache_servers list in swift proxy profile"
Jenkins [Fri, 2 Sep 2016 10:49:40 +0000 (10:49 +0000)]
Merge "Create memcache_servers list in swift proxy profile"

8 years agoMake service profiles default to rabbitmq_node_ips
Steven Hardy [Sun, 28 Aug 2016 11:18:07 +0000 (12:18 +0100)]
Make service profiles default to rabbitmq_node_ips

Instead of hard-coded yaml aliases in t-h-t, make each service
profile that requires rabbit default to the list of rabbit ips.

Note this could still be extended in future to e.g enable per
service rabbit clusters, but the default is to lookup the
hiera which should be logically equivalent to current t-h-t.

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

8 years agoRelease puppet-tripleo 5.0.0
Emilien Macchi [Thu, 1 Sep 2016 17:09:20 +0000 (13:09 -0400)]
Release puppet-tripleo 5.0.0

This is the first tag for newton and OpenStack Infra will create a
tarball from it.

Change-Id: I7a98743bbbd1879426790a9821cadfa7ecbd5d22

8 years agoMerge "midonet: update neutron parameter"
Jenkins [Thu, 1 Sep 2016 16:42:06 +0000 (16:42 +0000)]
Merge "midonet: update neutron parameter"

8 years agoMerge "Write restart flags to restart services only when necessary"
Jenkins [Thu, 1 Sep 2016 16:18:12 +0000 (16:18 +0000)]
Merge "Write restart flags to restart services only when necessary"

8 years agoCreate memcache_servers list in swift proxy profile
Steven Hardy [Thu, 1 Sep 2016 14:46:01 +0000 (15:46 +0100)]
Create memcache_servers list in swift proxy profile

Instead of mangling this list in t-h-t, generate the list derived
from memcached_node_ips, which is now always set when memcached
is deployed, regardless of the role.

Note the port default is hard-coded as this is already hard-coded
(in two places) in t-h-t, but we can override it if this changes
in future.

We need this to remove the swift specific stuff out of overcloud.yaml
to enable custom-roles.

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

8 years agoMerge "Default haproxy listeners activation on hiera service _enabled"
Jenkins [Thu, 1 Sep 2016 10:51:01 +0000 (10:51 +0000)]
Merge "Default haproxy listeners activation on hiera service _enabled"

8 years agoAdd Ceph RGW profile
Keith Schincke [Fri, 24 Jun 2016 20:17:24 +0000 (16:17 -0400)]
Add Ceph RGW profile

This patch adds tripleo::profile::base::ceph::rgw

Co-Authored-By: Giulio Fidente <gfidente@redhat.com>
Change-Id: Ib69b8171321284bb64e348d45b7eea2f00f8d506

8 years agoEnsure iscsi_ip_address is in brackets if IPv6
Giulio Fidente [Wed, 31 Aug 2016 22:02:52 +0000 (00:02 +0200)]
Ensure iscsi_ip_address is in brackets if IPv6

Change-Id: I787becce343b38e6c27c9a1b937b47c0aefb034d
Related-Bug: 1618930

8 years agomidonet: update neutron parameter
Emilien Macchi [Tue, 30 Aug 2016 19:58:55 +0000 (15:58 -0400)]
midonet: update neutron parameter

Update neutron parameter to lookup the right variable in Hiera.

Change-Id: I7b93e8d308f2ff2fb3a2083af75140dfa62b3ad8

8 years agoMerge "Reload HAProxy on refresh"
Jenkins [Wed, 31 Aug 2016 15:48:12 +0000 (15:48 +0000)]
Merge "Reload HAProxy on refresh"

8 years agoAdd Ceph RGW listener to HAProxy
Giulio Fidente [Tue, 30 Aug 2016 12:17:42 +0000 (14:17 +0200)]
Add Ceph RGW listener to HAProxy

Shares the same (ssl)port with Swift Proxy

Change-Id: I2e1de1a3fa6ad62895a1e972e43858f23c08bbea

8 years agoDefault haproxy listeners activation on hiera service _enabled
Giulio Fidente [Tue, 30 Aug 2016 11:51:33 +0000 (13:51 +0200)]
Default haproxy listeners activation on hiera service _enabled

Change-Id: I5c620ba717f782b39c599aff24b4ac56fb695a04

8 years agoAdded Contrail Composable Services
michaelhenkel [Fri, 29 Jul 2016 14:35:05 +0000 (16:35 +0200)]
Added Contrail Composable Services

changed parameter order

for tripleo heat templates see https://review.openstack.org/#/c/346799/

Implements: blueprint contrail-services

Change-Id: I8de63b6e21f8fdf3c2fd13bf5475cce4a85311d6

8 years agoIronic: manage PXE environment for conductors
Dmitry Tantsur [Fri, 26 Aug 2016 11:41:46 +0000 (13:41 +0200)]
Ironic: manage PXE environment for conductors

Change-Id: Icb9633134114041bbd497e7652482dd5d34c9327
Depends-On: I8b83eff694316755e4dd2dbcde7b569472893bc5
Partially-Implements: blueprint ironic-integration

8 years agoMerge "Defaults to ceph_mon_node_ips and ceph_mon_node_names"
Jenkins [Tue, 30 Aug 2016 15:34:14 +0000 (15:34 +0000)]
Merge "Defaults to ceph_mon_node_ips and ceph_mon_node_names"

8 years agoMerge "Handle galera_node_names being an array"
Jenkins [Tue, 30 Aug 2016 09:37:25 +0000 (09:37 +0000)]
Merge "Handle galera_node_names being an array"

8 years agoWrite restart flags to restart services only when necessary
Jiri Stransky [Fri, 19 Aug 2016 13:17:59 +0000 (15:17 +0200)]
Write restart flags to restart services only when necessary

Write restart flag file for services managed by Pacemaker into
/var/lib/tripleo/pacemaker-restarts directory. The name of the file must
match the name of the clone resource defined in pacemaker. The
post-puppet restart script will restart each service having a restart
flag file and remove those files.

This approach focuses on $pacemaker_master only (we don't want to
restart the pacemaker services 3 times when we have 3 controllers), so
it relies on the assumption that we're making the matching config
changes across the pacemaker nodes.

Change-Id: I6369ab0c82dbf3c8f21043f8aa9ab810744ddc12

8 years agoDefaults to ceph_mon_node_ips and ceph_mon_node_names
Giulio Fidente [Fri, 26 Aug 2016 11:41:28 +0000 (13:41 +0200)]
Defaults to ceph_mon_node_ips and ceph_mon_node_names

Uses the ceph_mon_node_ips and _names from all_nodes.yaml which
are formatted as arrays.

Also deprecates ceph_ipv6 parameter as will determine if ipv6
using is_ipv6_address.

Change-Id: I481dd2cd2cde7f1491080e6d9c7dcb7047c22de1

8 years agoMerge "Add ML2/OVN support for neutron profile"
Jenkins [Tue, 30 Aug 2016 01:23:45 +0000 (01:23 +0000)]
Merge "Add ML2/OVN support for neutron profile"

8 years agoMerge "Configure the numvfs for SRIOV interfaces"
Jenkins [Mon, 29 Aug 2016 23:29:27 +0000 (23:29 +0000)]
Merge "Configure the numvfs for SRIOV interfaces"

8 years agoMerge "Removing WARNING: line has more than 140 characters in puppet-tripleo profiles"
Jenkins [Mon, 29 Aug 2016 15:21:14 +0000 (15:21 +0000)]
Merge "Removing WARNING: line has more than 140 characters in puppet-tripleo profiles"

8 years agoMerge "Configure keystone endpoints in service profile"
Jenkins [Mon, 29 Aug 2016 14:20:02 +0000 (14:20 +0000)]
Merge "Configure keystone endpoints in service profile"

8 years agoConfigure the numvfs for SRIOV interfaces
karthik s [Fri, 26 Aug 2016 16:18:04 +0000 (21:48 +0530)]
Configure the numvfs for SRIOV interfaces

This patch shall create VFs via the PCI SYS interface.
Default value : $::os_service_default
Sample Format : ['eth0:4','eth2:128']
For values as in sample format, the sriov_numvfs config files
for eth0 and eth2 will have the values 4 and 128 respectively
The SR-IOV numvfs configuration shall be persisted in /sbin/ifup-local
so that, during the bootup of the compute nodes, the numvfs
configuration will be restored.

Change-Id: I7450b904475bdf46498d9af633416b3eba12f761
Implements: blueprint tripleo-sriov
Signed-off-by: karthik s <ksundara@redhat.com>
8 years agoReload HAProxy on refresh
Juan Antonio Osorio Robles [Tue, 23 Aug 2016 08:37:28 +0000 (11:37 +0300)]
Reload HAProxy on refresh

If the configuration for the HAProxy class or any of the frontend
endpoints has changed, we explicitly execute a reload on HA setups.
This is useful since on updates of HA setups we set pacemaker on
maintenance mode, and thus we are unable to refresh HAProxy's
configuration; The aforementioned detail is problematic, since some
puppet configurations rely on HAProxy taking into account the
configuration.  An example of this is changing a port in the endpoint
map or enabling SSL.

Change-Id: I7f26257fb43146afebca928f5498ee2174178063

8 years agoAdd ML2/OVN support for neutron profile
Babu Shanmugam [Wed, 11 May 2016 06:17:50 +0000 (06:17 +0000)]
Add ML2/OVN support for neutron profile

Partially-Implements: blueprint refactor-puppet-manifests
Depends-on: https://review.openstack.org/#/c/340343

Add OVN plugin for non-ha profiles of neutron

Change-Id: I3850a8b5584eaf14a656b547f6a47008a2d1289e

8 years agoHandle galera_node_names being an array
Jiri Stransky [Mon, 29 Aug 2016 11:50:12 +0000 (13:50 +0200)]
Handle galera_node_names being an array

Prepare the pacemaker mysql manifest that galera_node_names will be an
array. Stay backwards compatible to handle comma-delimited-string too
and avoid a chicken-and-egg patch problem between t-h-t and
puppet-tripleo.

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

8 years agoMerge "Add Manila CephFS backend to manila class"
Jenkins [Mon, 29 Aug 2016 07:22:32 +0000 (07:22 +0000)]
Merge "Add Manila CephFS backend to manila class"

8 years agoMerge "Remove the ceilo wsgi transient flag"
Jenkins [Sat, 27 Aug 2016 06:43:17 +0000 (06:43 +0000)]
Merge "Remove the ceilo wsgi transient flag"

8 years agoMerge "UI profile for tripleo"
Jenkins [Sat, 27 Aug 2016 01:31:58 +0000 (01:31 +0000)]
Merge "UI profile for tripleo"

8 years agoRemove the ceilo wsgi transient flag
Pradeep Kilambi [Fri, 26 Aug 2016 18:58:05 +0000 (14:58 -0400)]
Remove the ceilo wsgi transient flag

This was a temporary flag until the tht changes got merged.
Now that the tht changes are merged we can remove this as
params are set for wsgi classes by tht.

Depends-On: I728d0980f7742aa390f11a0f0b8598d1299e2886

Change-Id: I93ea8ebb9053f269de8974880bd33d1b3e487f96

8 years agoMerge "Adds OpenDaylight"
Jenkins [Fri, 26 Aug 2016 18:06:54 +0000 (18:06 +0000)]
Merge "Adds OpenDaylight"

8 years agoMerge "Expose enable_combination_alarm setting"
Jenkins [Fri, 26 Aug 2016 18:01:00 +0000 (18:01 +0000)]
Merge "Expose enable_combination_alarm setting"

8 years agoUI profile for tripleo
Martin André [Fri, 12 Aug 2016 10:10:09 +0000 (12:10 +0200)]
UI profile for tripleo

The new tripleo::profile::base::ui profile installs the
openstack-tripleo-ui RPM package and setup CORS for required services.

Change-Id: Ib9d8643da3f51171495fcb8b64d1a7ca86cd66bc

8 years agoConfigure keystone endpoints in service profile
Juan Antonio Osorio Robles [Mon, 8 Aug 2016 11:29:50 +0000 (14:29 +0300)]
Configure keystone endpoints in service profile

This commit enables the configuration of the service users and
keystone endpoints in the keystone profile. Since with the
composable services work, we can't assure that the APIs will be in
the same node as keystone, this needs to be done from the keystone
profile.

Depends-On: I62273f403838893602816204d9bc50d516c0057f
Change-Id: I36e1c478e7c92be61da6a0d710e9025d4d354072

8 years agoMerge "SR-IOV nic agent changes in line with composable roles."
Jenkins [Thu, 25 Aug 2016 22:53:40 +0000 (22:53 +0000)]
Merge "SR-IOV nic agent changes in line with composable roles."

8 years agoAdd Manila CephFS backend to manila class
Erno Kuvaja [Thu, 11 Aug 2016 12:28:45 +0000 (13:28 +0100)]
Add Manila CephFS backend to manila class

Change-Id: Idaad75238a2884fe82b1e5fce3ed910d866b98a2

8 years agoupdates to fluentd support
Lars Kellogg-Stedman [Tue, 9 Aug 2016 19:48:52 +0000 (15:48 -0400)]
updates to fluentd support

This change contains modifications to the fluentd module to support
https://review.openstack.org/353506.

bp tripleo-opstools-centralized-logging
Change-Id: I2e1abe4d8c8359e56ff626255ee50c9cacca1940

8 years agoMerge "Add manifests to inject and trust CA certificates"
Jenkins [Wed, 24 Aug 2016 14:08:11 +0000 (14:08 +0000)]
Merge "Add manifests to inject and trust CA certificates"

8 years agoRevert "Pin puppetlabs_spec_helper to 1.1.1"
Emilien Macchi [Wed, 24 Aug 2016 01:50:03 +0000 (01:50 +0000)]
Revert "Pin puppetlabs_spec_helper to 1.1.1"

This reverts commit 8f8860c0343b49b50b3d0259b9c4a859f5d81cc3.

Change-Id: I456c3a46a16a904042b5af6c5fbe347912d1bf30

8 years agoPin puppetlabs_spec_helper to 1.1.1
Emilien Macchi [Tue, 23 Aug 2016 20:18:31 +0000 (16:18 -0400)]
Pin puppetlabs_spec_helper to 1.1.1

Version 1.2.0 of puppetlabs_spec_helper pulled in a version gem with
ruby 2.2 requirements.
TripleO CI has ruby 2.0 so we need to pin the gem.

Change-Id: Idc3959e16aa329c1dfc335b766f52cd9dbde5de5

8 years agoExpose enable_combination_alarm setting
Pradeep Kilambi [Tue, 23 Aug 2016 19:31:19 +0000 (15:31 -0400)]
Expose enable_combination_alarm setting

Combination alarms are deprecated in Newton and hence turned off
by default. This allows users still using this type of alarms to
flip the flag and use until they migrate themselves to composite
alarms.

Change-Id: I9220b7d020dc8ed45dd6ca83ea9647efd67ea648

8 years agoMerge "Move ceilometer api to run under apache wsgi"
Jenkins [Tue, 23 Aug 2016 14:36:34 +0000 (14:36 +0000)]
Merge "Move ceilometer api to run under apache wsgi"

8 years agoAdd manifests to inject and trust CA certificates
Juan Antonio Osorio Robles [Tue, 9 Aug 2016 17:12:38 +0000 (20:12 +0300)]
Add manifests to inject and trust CA certificates

Change-Id: I84273b4cd6576a63fa78dc93ad6b077dd2a780c7

8 years agoMerge "Clean up unused params from aodh profiles"
Jenkins [Tue, 23 Aug 2016 14:31:45 +0000 (14:31 +0000)]
Merge "Clean up unused params from aodh profiles"