apex-puppet-tripleo.git
8 years agosyntax error extra comma in rabbitmq.pp
Jon Schlueter [Fri, 7 Apr 2017 11:29:09 +0000 (07:29 -0400)]
syntax error extra comma in rabbitmq.pp

bundle rake syntax

Could not parse for environment *root*: Syntax error at ')'; expected '}'

Change-Id: Idfb254df068b3d7342a6ea3c71dabd1316a61bdf

8 years agoMerge "Clean up TLS-related bits from swift-proxy"
Jenkins [Thu, 6 Apr 2017 02:10:26 +0000 (02:10 +0000)]
Merge "Clean up TLS-related bits from swift-proxy"

8 years agoMerge "Fix missing groups for fluentd user"
Jenkins [Thu, 6 Apr 2017 00:20:19 +0000 (00:20 +0000)]
Merge "Fix missing groups for fluentd user"

8 years agoMerge "Add TLS in the internal network for Swift Proxy"
Jenkins [Wed, 5 Apr 2017 19:53:07 +0000 (19:53 +0000)]
Merge "Add TLS in the internal network for Swift Proxy"

8 years agoMerge "Introduce profile to configure l2 gateway Neutron agent."
Jenkins [Wed, 5 Apr 2017 17:21:14 +0000 (17:21 +0000)]
Merge "Introduce profile to configure l2 gateway Neutron agent."

8 years agoMerge "Certmonger/rabbitmq: Remove parameter doc for unexisting parameter"
Jenkins [Wed, 5 Apr 2017 13:47:50 +0000 (13:47 +0000)]
Merge "Certmonger/rabbitmq: Remove parameter doc for unexisting parameter"

8 years agoMerge "SSHD Service extensions"
Jenkins [Wed, 5 Apr 2017 07:41:56 +0000 (07:41 +0000)]
Merge "SSHD Service extensions"

8 years agoCertmonger/rabbitmq: Remove parameter doc for unexisting parameter
Juan Antonio Osorio Robles [Wed, 5 Apr 2017 06:12:37 +0000 (09:12 +0300)]
Certmonger/rabbitmq: Remove parameter doc for unexisting parameter

This parameter was used at some point in the implementation but ended up
not being needed in favor of getting this information from the puppet
manifest. So it's removed as the parameter doesn't actually exist.

Change-Id: I09f4091ee7a2221b26249959ea2927090d36ba0f

8 years agoMerge "Configure migration SSH tunnel"
Jenkins [Tue, 4 Apr 2017 23:29:06 +0000 (23:29 +0000)]
Merge "Configure migration SSH tunnel"

8 years agoMerge "Refactor enabled languages from an array to a hash"
Jenkins [Tue, 4 Apr 2017 22:09:54 +0000 (22:09 +0000)]
Merge "Refactor enabled languages from an array to a hash"

8 years agoMerge "Use correct manage_firewall hieradata"
Jenkins [Tue, 4 Apr 2017 22:02:55 +0000 (22:02 +0000)]
Merge "Use correct manage_firewall hieradata"

8 years agoMerge "Fixes missing neutron base in sriov"
Jenkins [Tue, 4 Apr 2017 21:50:00 +0000 (21:50 +0000)]
Merge "Fixes missing neutron base in sriov"

8 years agoMerge "Remove cluster_enabled setting for etcd"
Jenkins [Tue, 4 Apr 2017 19:02:23 +0000 (19:02 +0000)]
Merge "Remove cluster_enabled setting for etcd"

8 years agoSSHD Service extensions
lhinds [Wed, 8 Mar 2017 12:32:57 +0000 (12:32 +0000)]
SSHD Service extensions

This change adds an `include` statement to bring in the extra
functionality available from the existing puppet-ssh module in
already available in RDO.

By using puppet-ssh it provides a framework to allow the passing in of
server options using just hiera values under ssh::server_options.
For example, sshd_config banner can now be passed a server option, as
well as all the new parameters outlined in the launchpad issue that
the patch references for Closing. For this reason, the former augeas
setting for `Banner /etc/issue` is now managed by the main puppet-ssh
module instead.

The change also allows population of MOTD text to `/etc/motd` as
well as `issue.net`.

$bannertext is refactored in accordance with patch [1]

[1] https://review.openstack.org/#/c/442406/

Change-Id: Id329538fb7b623526f1d91d8a513cf3440c86a7c
Closes-Bug: 1668543

8 years agoClean up TLS-related bits from swift-proxy
Juan Antonio Osorio Robles [Tue, 4 Apr 2017 07:10:49 +0000 (10:10 +0300)]
Clean up TLS-related bits from swift-proxy

bp tls-via-certmonger
Change-Id: I8a66d3a067f934ea30b668308237cbca1d58fbb8
Depends-On: I3cb9d53d75f982068f1025729c1793efaee87380

8 years agoAdd TLS in the internal network for Swift Proxy
Juan Antonio Osorio Robles [Tue, 4 Apr 2017 06:54:21 +0000 (09:54 +0300)]
Add TLS in the internal network for Swift Proxy

This adds the necessary bits for a TLS Proxy to be placed in front of
swift proxy when TLS-everywhere is enabled.

This will be furtherly cleaned up once the t-h-t bits are added.

bp tls-via-certmonger

Change-Id: I6e7193cc5b4bb7e56cc89e0a293c91b0d391c68e

8 years agoMerge "Deploy WSGI apps at the same step (3)"
Jenkins [Mon, 3 Apr 2017 23:23:54 +0000 (23:23 +0000)]
Merge "Deploy WSGI apps at the same step (3)"

8 years agoMerge "Add tunnel timeout for ui proxy container"
Jenkins [Mon, 3 Apr 2017 22:25:10 +0000 (22:25 +0000)]
Merge "Add tunnel timeout for ui proxy container"

8 years agoRestrict mongodb memory usage
Pradeep Kilambi [Wed, 11 Jan 2017 18:56:57 +0000 (13:56 -0500)]
Restrict mongodb memory usage

Currently, mongodb has no limits on how much memory
it can consume. This enforces restriction so mongodb
service limits through systemd.

The puppet-systemd module has support for limits. The
MemoryLimit support is added in the follwoing pull
request https://github.com/camptocamp/puppet-systemd/pull/23

Closes-bug: #1656558

Change-Id: Ie9391aa39532507c5de8dd668a70d5b66e17c891

8 years agoFixes missing neutron base in sriov
Tim Rozet [Mon, 3 Apr 2017 14:58:49 +0000 (10:58 -0400)]
Fixes missing neutron base in sriov

This causes issues in deployments that is not using ML2
ComputeNeutronCorePlugin or OVS agent on the compute nodes.

Closes-Bug: 1679202

Change-Id: I9cdfd115add8c0d2d3ae6802e7bde007c1677c67
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoUse correct manage_firewall hieradata
Ben Nemec [Mon, 3 Apr 2017 14:04:47 +0000 (14:04 +0000)]
Use correct manage_firewall hieradata

The manage_firewall hieradata was moved to
tripleo::firewall::manage_firewall but some of the references to it
were not updated, which makes it impossible to completely disable
the firewall rules.

Change-Id: I5f40f3b8b07bd312cce862aa319b8a1ef331ee49
Closes-Bug: 1679189

8 years agoConfigure migration SSH tunnel
Oliver Walsh [Tue, 28 Mar 2017 15:02:18 +0000 (16:02 +0100)]
Configure migration SSH tunnel

This patch configures SSH tunneling for nova cold-migration and reuses the
tunnel for libvirt live-migration unless TLS has been enabled.

Change-Id: I367757cbe8757d11943af7e41af620f9ce919a06
Depends-On: Iac1763761c652bed637cb7cf85bc12347b5fe7ec

8 years agoDeploy WSGI apps at the same step (3)
Emilien Macchi [Wed, 29 Mar 2017 21:42:32 +0000 (17:42 -0400)]
Deploy WSGI apps at the same step (3)

So we avoid useless apache restart and save time during the deployment.

Related-Bug: #1664418
Change-Id: Ie00b717a6741e215e59d219710154f0d2ce6b39e

8 years agoMove horizon to step 3
Alex Schultz [Fri, 31 Mar 2017 23:41:36 +0000 (17:41 -0600)]
Move horizon to step 3

We configure apache in step 3 so horizon should be configured at the
same time or else updates will cause horizon to be unvailable during the
update process.

Change-Id: I4032f7c24edc0ff9ed637e213870cdd3beb9a54e
Closes-Bug: #1678338

8 years agoMerge "Decouple ceilometer user create from API"
Jenkins [Sun, 2 Apr 2017 03:53:20 +0000 (03:53 +0000)]
Merge "Decouple ceilometer user create from API"

8 years agoAdd tunnel timeout for ui proxy container
Dan Trainor [Fri, 31 Mar 2017 00:36:04 +0000 (20:36 -0400)]
Add tunnel timeout for ui proxy container

Add an explicit tunnel timeout configuration option to increase the
tunnel timeout for persistent socket connections from two minutes (2m)
to one hour (3600s).  A configuration was already present to apply a
tunnel timeout to the zaqar_ws endpoint, but that only applies to
connections made directly to the zaqar_ws endpoint directly.  Since UI
now uses mod_proxy to proxy WebSocket connections for Zaqar, the timeout
is now applied for the same reasons to the ui haproxy server.

Change-Id: If749dc9148ccf8f2fa12b56b6ed6740f42e65aeb
Closes-Bug: 1672826

8 years agoMerge "Add missing include of ::ec2api::keystone::authtoken"
Jenkins [Thu, 30 Mar 2017 22:07:36 +0000 (22:07 +0000)]
Merge "Add missing include of ::ec2api::keystone::authtoken"

8 years agoMerge "Fix deprecated eqlx parameters"
Jenkins [Thu, 30 Mar 2017 21:42:20 +0000 (21:42 +0000)]
Merge "Fix deprecated eqlx parameters"

8 years agoDecouple ceilometer user create from API
Pradeep Kilambi [Wed, 29 Mar 2017 19:07:36 +0000 (15:07 -0400)]
Decouple ceilometer user create from API

Ceilometer user is needed for other ceilometer services to
authenticate with keystone even when API is not present.
So the data can be dispatched to gnocchi. Lets keep these
separate so user always exists even when api is not.

Depends-On: Iffebd40752eafb1d30b5962da8b5624fb9df7d48

Closes-bug: #1677354

Change-Id: I8f4e543a7cef5e50a35a191fe20e276d518daf20

8 years agoMerge "Tuned should be configured properly"
Jenkins [Thu, 30 Mar 2017 20:46:39 +0000 (20:46 +0000)]
Merge "Tuned should be configured properly"

8 years agoFix missing groups for fluentd user
Martin Mágr [Thu, 30 Mar 2017 19:51:40 +0000 (21:51 +0200)]
Fix missing groups for fluentd user

This patch moves fluentd deployment to step 4 (the same as openstack services)
and makes resource for user fluentd be dependent on all openstack packages,
so that we avoid errors such as "usermod: group 'cinder' does not exist".

Change-Id: Ibabd4688c00c6a12ea22055c95563d906716954d

8 years agoMerge "securetty: use validate_array for tty list"
Jenkins [Thu, 30 Mar 2017 18:23:48 +0000 (18:23 +0000)]
Merge "securetty: use validate_array for tty list"

8 years agoMerge "Move neutron profile out of step 4"
Jenkins [Thu, 30 Mar 2017 15:47:28 +0000 (15:47 +0000)]
Merge "Move neutron profile out of step 4"

8 years agoRefactor enabled languages from an array to a hash
Honza Pokorny [Tue, 7 Mar 2017 18:57:09 +0000 (14:57 -0400)]
Refactor enabled languages from an array to a hash

Change-Id: I5173361818508849e5012a943a984af69d9d08cd
Depends-On: I2d28d9019e8bcf9f6b8ef5698958932d44321679
Closes-Bug: #1668978

8 years agosecuretty: use validate_array for tty list
Juan Antonio Osorio Robles [Thu, 30 Mar 2017 09:01:32 +0000 (12:01 +0300)]
securetty: use validate_array for tty list

Change-Id: I1e79407ec6f360a2b205cec6cf8e812a11b799ea

8 years agoMerge "Adds service for managing securetty"
Jenkins [Thu, 30 Mar 2017 07:27:34 +0000 (07:27 +0000)]
Merge "Adds service for managing securetty"

8 years agoMerge "Qpid dispatch router puppet profile"
Jenkins [Thu, 30 Mar 2017 03:45:51 +0000 (03:45 +0000)]
Merge "Qpid dispatch router puppet profile"

8 years agoAdds service for managing securetty
lhinds [Thu, 23 Mar 2017 13:28:19 +0000 (13:28 +0000)]
Adds service for managing securetty

This adds the ability to manage the securetty file.

By allowing management of securetty, operators can limit root
console access and improve security through hardening.

Change-Id: Ic4647fb823bd112648c5b8d102913baa8b4dac1c
Closes-Bug: #1665042

8 years agoFix reno for rabbitmq-user-check
Emilien Macchi [Wed, 29 Mar 2017 11:55:12 +0000 (07:55 -0400)]
Fix reno for rabbitmq-user-check

Change-Id: I5eed22ab0230a477d1629545b8ab1aeff33f4a35

8 years agoQpid dispatch router puppet profile
Michele Baldessari [Thu, 26 Jan 2017 14:00:30 +0000 (15:00 +0100)]
Qpid dispatch router puppet profile

Depends-On: I4b56417ce8ee7502ad32da578bdc29c46e459bd5
Change-Id: Idecbbabdd4f06a37ff0cfb34dc23732b1176a608
Author: John Eckersberg <jeckersb@redhat.com>

8 years agoIntroduce profile to configure l2 gateway Neutron agent.
Peng Liu [Fri, 3 Mar 2017 06:13:18 +0000 (14:13 +0800)]
Introduce profile to configure l2 gateway Neutron agent.

Implements: blueprint l2gw-service-integration

Change-Id: If1501c153b1b170b9550cb7e5a23be463fba1fe9

8 years agoMerge "Re-run gnocchi and ceilometer upgrade in step 5"
Jenkins [Tue, 28 Mar 2017 18:22:56 +0000 (18:22 +0000)]
Merge "Re-run gnocchi and ceilometer upgrade in step 5"

8 years agoMerge "Include oslo.messaging amqp support for rpc and notifications"
Jenkins [Tue, 28 Mar 2017 11:44:04 +0000 (11:44 +0000)]
Merge "Include oslo.messaging amqp support for rpc and notifications"

8 years agoMerge "Add openstack-kolla to docker-registry profile"
Jenkins [Tue, 28 Mar 2017 08:08:19 +0000 (08:08 +0000)]
Merge "Add openstack-kolla to docker-registry profile"

8 years agoMerge "Check rabbitmq user at step >= 2"
Jenkins [Tue, 28 Mar 2017 05:58:00 +0000 (05:58 +0000)]
Merge "Check rabbitmq user at step >= 2"

8 years agoMerge "Include ceph::profile::client from rgw.pp"
Jenkins [Tue, 28 Mar 2017 05:27:59 +0000 (05:27 +0000)]
Merge "Include ceph::profile::client from rgw.pp"

8 years agoAdd missing include of ::ec2api::keystone::authtoken
Sven Anderson [Mon, 27 Mar 2017 15:35:21 +0000 (17:35 +0200)]
Add missing include of ::ec2api::keystone::authtoken

Change-Id: Id933276fab16eebd72751dca136ad805547e6291
Related-Bug: #1676491

8 years agoRe-run gnocchi and ceilometer upgrade in step 5
Pradeep Kilambi [Mon, 20 Mar 2017 15:44:53 +0000 (11:44 -0400)]
Re-run gnocchi and ceilometer upgrade in step 5

Without this gnocchi resources types are not created
as they are skipped initially and the resources from
ceilometer wont make it to gnocchi.

Closes-bug: #1674421

Depends-On: I753f37e121b95813e345f200ad3f3e75ec4bd7e1

Change-Id: Ib45bf1b3e526a58f675d7555fe7bb5038dadeede

8 years agoAdd l2 gateway Neutron service plugin profile
Peng Liu [Fri, 3 Mar 2017 06:12:11 +0000 (14:12 +0800)]
Add l2 gateway Neutron service plugin profile

Introduce profile to configure l2 gateway Neutron
service plugin.

Implements: blueprint l2gw-service-integration

Change-Id: I01a8afdc51b2a077be1bbc7855892f68756e1fd3
Signed-off-by: Peng Liu <pliu@redhat.com>
8 years agoRemove certificate request bits from service profiles
Juan Antonio Osorio Robles [Mon, 13 Mar 2017 12:56:01 +0000 (14:56 +0200)]
Remove certificate request bits from service profiles

This is now the job of the certmonger_user profile. So these bits are
not needed anymore in the service profiles.

Change-Id: Iaa3137d7d13d5e707f587d3905a5a32598c08800
Depends-On: Ibf58dfd7d783090e927de6629e487f968f7e05b6

8 years agoEnsure iscsi-initiator-utils installed
Alex Schultz [Thu, 23 Mar 2017 15:58:34 +0000 (09:58 -0600)]
Ensure iscsi-initiator-utils installed

We attempt to use iscsi-iname in an exec for our nova compute profile
but we do not ensure that the package providing this command is
installed. This change adds the package definition for
iscsi-initiator-utils to ensure it is installed before trying to use
iscsi-iname.

Change-Id: I1bfdb68170931fd05a09859cf8eefb50ed20915d
Closes-Bug: #1675462

8 years agoCheck rabbitmq user at step >= 2
James Slagle [Wed, 22 Mar 2017 21:58:29 +0000 (17:58 -0400)]
Check rabbitmq user at step >= 2

The rabbitmq user check is moved to step >= 2 from step >= 1. There is
no gaurantee that rabbitmq is running at step 1, especially if updating
a failed stack that never made it past step 1 to begin with.

Change-Id: I029193da4c180deff3ab516bc8dc2da14c279317
Closes-Bug: #1675194

8 years agoMove neutron profile out of step 4
Carlos Camacho [Mon, 13 Mar 2017 07:51:07 +0000 (08:51 +0100)]
Move neutron profile out of step 4

This submission moves the neutron profile
`::tripleo::profile::base::neutron`
our of step 4.

Change-Id: I4d0617b0d7801426ea6827e70f5f31f10bbcc038

8 years agoInclude oslo.messaging amqp support for rpc and notifications
Andrew Smith [Sun, 19 Mar 2017 21:07:47 +0000 (17:07 -0400)]
Include oslo.messaging amqp support for rpc and notifications

This commit conditionally includes messaging amqp class for the
oslo.messaging AMQP 1.0 driver to support notifications.

This patch:
* include keystone::messaging::amqp class for oslo_messaging_amqp opts

Change-Id: I8eb23a21d2499795c3a76ae3197bda7773165a8c

8 years agoMerge "Enables OpenDaylight Clustering in HA deployments"
Jenkins [Fri, 17 Mar 2017 21:46:57 +0000 (21:46 +0000)]
Merge "Enables OpenDaylight Clustering in HA deployments"

8 years agoMerge "Explicitly configure credentials used by ironic to access other services"
Jenkins [Fri, 17 Mar 2017 11:27:05 +0000 (11:27 +0000)]
Merge "Explicitly configure credentials used by ironic to access other services"

8 years agoEnables OpenDaylight Clustering in HA deployments
Tim Rozet [Wed, 25 Jan 2017 20:09:32 +0000 (15:09 -0500)]
Enables OpenDaylight Clustering in HA deployments

Previously ODL was restricted to only running on the first node in an
tripleO HA deployment.  This patches enables clustering for ODL and
allows multiple ODL instances (minimum 3 for HA).

Partially-implements: blueprint opendaylight-ha

Change-Id: Ic9a955a1c2afc040b2f9c6fb86573c04a60f9f31
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoExplicitly configure credentials used by ironic to access other services
Dmitry Tantsur [Wed, 15 Mar 2017 15:58:23 +0000 (16:58 +0100)]
Explicitly configure credentials used by ironic to access other services

Using keystone_authtoken credentials for this purpose is deprecated, and also
prevents ironic-conductor from being used as a separate role.

As a side effect, this change makes it possible to potentially enable
ironic-inspector support in the future (it's not enabled yet).

Change-Id: I21180678bec911f1be36e3b174bae81af042938c
Partial-Bug: #1661250

8 years agoMerge "Add spec tests for tripleo::certmonger::mysql class"
Jenkins [Thu, 16 Mar 2017 15:50:10 +0000 (15:50 +0000)]
Merge "Add spec tests for tripleo::certmonger::mysql class"

8 years agoMerge "Add spec tests for tripleo::certmonger::ca::local class"
Jenkins [Thu, 16 Mar 2017 15:22:18 +0000 (15:22 +0000)]
Merge "Add spec tests for tripleo::certmonger::ca::local class"

8 years agoMerge "Add spec test for tripleo::certmonger::httpd resource"
Jenkins [Thu, 16 Mar 2017 15:21:49 +0000 (15:21 +0000)]
Merge "Add spec test for tripleo::certmonger::httpd resource"

8 years agoRemove cluster_enabled setting for etcd
Feng Pan [Thu, 16 Mar 2017 13:59:21 +0000 (09:59 -0400)]
Remove cluster_enabled setting for etcd

Setting cluster_enabled to false causes ETCD_INITIAL_ADVERTISE_PEER_URLS
to be unset, which will cause deployment failure when etcd is deployed
in a single node mode.

Closes-Bug: #1673188

Change-Id: Iadff36bf7beb247d0408913c89f83fa5c8ac6874
Signed-off-by: Feng Pan <fpan@redhat.com>
8 years agoMerge "Create profile to request certificates for the services in the node"
Jenkins [Thu, 16 Mar 2017 09:32:23 +0000 (09:32 +0000)]
Merge "Create profile to request certificates for the services in the node"

8 years agoAdd spec tests for tripleo::certmonger::ca::local class
Juan Antonio Osorio Robles [Thu, 16 Mar 2017 09:13:36 +0000 (11:13 +0200)]
Add spec tests for tripleo::certmonger::ca::local class

Change-Id: I81e0850777f1498ba9b7a213ba02819847a40786

8 years agoAdd spec tests for tripleo::certmonger::mysql class
Juan Antonio Osorio Robles [Thu, 16 Mar 2017 09:01:53 +0000 (11:01 +0200)]
Add spec tests for tripleo::certmonger::mysql class

Change-Id: I81b0b8b54a034817f5791ff7e29f1a3065902642

8 years agoAdd spec test for tripleo::certmonger::httpd resource
Juan Antonio Osorio Robles [Thu, 16 Mar 2017 09:07:16 +0000 (11:07 +0200)]
Add spec test for tripleo::certmonger::httpd resource

Change-Id: Ia002aced6de474022d4aa4e9e3d7d5ee7c31a2b0

8 years agoInclude ceph::profile::client from rgw.pp
Giulio Fidente [Wed, 15 Mar 2017 23:45:11 +0000 (00:45 +0100)]
Include ceph::profile::client from rgw.pp

To deploy successfully the RadosGW service on a dedicated node
it is necessary to provision on the node a CephX keyring with the
needed permissions to import the RadosGW service keyring. This
change will provision any keyring passed via client_keys.

It makes possible to deploy the CephRgw service on any custom role
without including the CephClient service.

Change-Id: I5772eeb233ca241887226145a472c7a0363249cb
Closes-Bug: #1673288

8 years agoMerge "HAProxy: Refactor certificate retrieval bits"
Jenkins [Wed, 15 Mar 2017 13:54:46 +0000 (13:54 +0000)]
Merge "HAProxy: Refactor certificate retrieval bits"

8 years agoMerge "Correct haproxy's stat unix socket path"
Jenkins [Tue, 14 Mar 2017 12:23:02 +0000 (12:23 +0000)]
Merge "Correct haproxy's stat unix socket path"

8 years agoCreate profile to request certificates for the services in the node
Juan Antonio Osorio Robles [Mon, 13 Mar 2017 12:21:17 +0000 (14:21 +0200)]
Create profile to request certificates for the services in the node

This profile will specifically be used to create all the certificates
required in the node. These are fetched from hiera and will be ran in
the first step of the overcloud deployment and in the undercloud.

The reasoning for this is that, with services moving to containers, we
can't yet do these requests for certificates within the containers for
the specific services. this is because the containers won't have
credentials to the CA, while the baremetal node does. So instead we
still do this on the baremetal node, and will subsequently bind mount
the certificates to the containers that need them. Also, this gives us
flexibility since this approach still works for the baremetal case.

There will be a subsequent commit removing the certificate requests from
the service-specific profiles.

Change-Id: I4d2e62b5c1b893551f9478cf5f69173c334ac81f

8 years agoFixes issues with raising mysql file limit
Tim Rozet [Thu, 9 Mar 2017 17:04:10 +0000 (12:04 -0500)]
Fixes issues with raising mysql file limit

Changes Include:
 - Adds spec testing
 - Only raise limits if nonha.  puppet-systemd will restart the mariadb
   service which breaks ha deployments.  Hence we only want to do this
   in noha.
 - Minor fix to hiera value refrenced not as parameter to mysql.pp

Partial-Bug: #1648181
Related-Bug: #1524809

Co-Authored By: Feng Pan <fpan@redhat.com>

Change-Id: Id063bf4b4ac229181b01f40965811cb8ac4230d5
Signed-off-by: Tim Rozet <trozet@redhat.com>
Signed-off-by: Feng Pan <fpan@redhat.com>
8 years agoCorrect haproxy's stat unix socket path
Michele Baldessari [Wed, 8 Mar 2017 14:23:59 +0000 (15:23 +0100)]
Correct haproxy's stat unix socket path

We currently set the haproxy stat socket to /var/run/haproxy.sock.
On Centos/RHEL with selinux enabled this will break:

avc: denied { link } for pid=284010 comm="haproxy"
name="haproxy.sock" dev="tmpfs" ino=330803
scontext=system_u:system_r:haproxy_t:s0
tcontext=system_u:object_r:var_run_t:s0 tclass=sock_file

The blessed/correctly-labeled path is /var/lib/haproxy/stats

Note: I am setting only Partial-Bug because I would still like
to make this a parameter so other distros may just override the path.
But that change is more apt for pike and not for ocata.

Change-Id: I62aab6fb188a9103f1586edac1c2aa7949fdb08c
Patial-Bug: #1671119

8 years agoAdd bindep support
Paul Belanger [Mon, 13 Mar 2017 16:00:34 +0000 (12:00 -0400)]
Add bindep support

Bindep is an automation tool used by openstack-infra to bootstrap a
worker with default packages. Something not needed for puppet jobs.

Change-Id: I6b4784c233a2abad01da3408f131af2c89586868
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
8 years agoHAProxy: Refactor certificate retrieval bits
Juan Antonio Osorio Robles [Mon, 13 Mar 2017 12:09:36 +0000 (14:09 +0200)]
HAProxy: Refactor certificate retrieval bits

This moves the certificate request bits to simplify the profile and move
the logic to the HAProxy/certmonger specific manifest.

This is a small iteration on the effort to separate the certificate
retrieval to its own manifest since this part won't be containerized
yet.

Change-Id: Ibb01cd9a59049e4728615cb4f37e5bfac5800a92

8 years agoTuned should be configured properly
Joe Talerico [Thu, 23 Feb 2017 22:05:01 +0000 (17:05 -0500)]
Tuned should be configured properly

Currently tuned uses the wrong profile on compute nodes. This patch will
allow users to update their tuned profile.

Fixes bug 1667524

Change-Id: Ic67aca7f5338ea4bb2d3843201e122c72d97056e

8 years agoMerge "Add support for BGPVPN service plugin"
Jenkins [Sat, 11 Mar 2017 19:07:14 +0000 (19:07 +0000)]
Merge "Add support for BGPVPN service plugin"

8 years agoAdd support for BGPVPN service plugin
Ricardo Noriega [Wed, 1 Feb 2017 12:32:14 +0000 (13:32 +0100)]
Add support for BGPVPN service plugin

  Introduce profile to configure networking-bgpvpn service

Implements: blueprint bgpvpn-service-integration

Change-Id: I7c1686693a29cc1985f009bd7a3c268c0e211876
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
8 years agoMerge "httpd: Clean up heat API profiles and add release note"
Jenkins [Sat, 11 Mar 2017 02:58:19 +0000 (02:58 +0000)]
Merge "httpd: Clean up heat API profiles and add release note"

8 years agoMerge "Deploy Heat APIs over httpd"
Jenkins [Fri, 10 Mar 2017 20:42:56 +0000 (20:42 +0000)]
Merge "Deploy Heat APIs over httpd"

8 years agoFix deprecated eqlx parameters
Alex Schultz [Fri, 10 Mar 2017 16:33:33 +0000 (09:33 -0700)]
Fix deprecated eqlx parameters

The eqlx_use_chap, eqlx_chap_login and  eqlx_chap_password were
previously deprecated and are scheduled to be removed in Pike. This
change updates these parameters to use the replacement params.

See I295d8388ba17dd60e83995e7c82f64f02a3c4258 for more details.

Change-Id: I0f229ed2e7bb65d9da81c5caa69dbe1a4aded814

8 years agopanko: Do db_sync in api manifest
Juan Antonio Osorio Robles [Fri, 10 Mar 2017 09:44:56 +0000 (11:44 +0200)]
panko: Do db_sync in api manifest

The db_sync from panko comes from the panko-api package; So we move the
db_sync to be done in the api manifest as it's done for other services
such as barbican.

This is necessary since in cases where the overcloud deploy requires
puppet to do the installations, with the previous setup it failed since
the command wasn't available in the step it was being done.

Change-Id: I20a549cbaa2ee4b2c762dbae97f5cbf4d0b517c8
Closes-Bug: #1671716

8 years agoAdd tests for tripleo::certmonger::rabbitmq class
Juan Antonio Osorio Robles [Thu, 9 Mar 2017 15:17:40 +0000 (17:17 +0200)]
Add tests for tripleo::certmonger::rabbitmq class

Change-Id: I1668b749779bf812d8f55b695dd138cde7eb09d6

8 years agoEnable TLS in the internal network for RabbitMQ
Juan Antonio Osorio Robles [Thu, 9 Jun 2016 06:33:20 +0000 (09:33 +0300)]
Enable TLS in the internal network for RabbitMQ

This optionally enables TLS for RabbitMQ  in the internal network. Note
that this leaves enable_internal_tls as undef instead of using the
regular default. This is because we don't want to enable this just now,
since we first want to pass the necessary hieradata via t-h-t. This will
be cleaned in further commits.

bp tls-via-certmonger
Depends-On: I4f37e77ae12e9582fab7d326ebd4c70127c5445f
Depends-On: Ic32b2cb253fa0dc43aad7226b24919b7e588faa9
Change-Id: Ic2a7f877745a0a490ddc9315123bd1180b03c514

8 years agosahara: include authtoken class
Emilien Macchi [Tue, 7 Mar 2017 17:01:30 +0000 (12:01 -0500)]
sahara: include authtoken class

authtoken class configures the keystone_authtoken parameters, required
to move to Keystone V3 auth.

Change-Id: Ibfd761fef813faa7bf13881c52c34e20d3eac9e5

8 years agoUpdate version for Pike
Alex Schultz [Tue, 7 Mar 2017 18:27:12 +0000 (11:27 -0700)]
Update version for Pike

The current version information is behind that of stable/ocata. In order
to address some version generation issues in packaging, we need to bump
the version numbers for in preparation for the next version.

Change-Id: I586811d9623c4bb03b1b234eaed2b3b365ba6e3e
Releated-Bug: #1669462

8 years agohttpd: Clean up heat API profiles and add release note
Juan Antonio Osorio Robles [Fri, 3 Mar 2017 08:40:04 +0000 (10:40 +0200)]
httpd: Clean up heat API profiles and add release note

There were some values that were passed to the classes manually, and
this takes the parameters from t-h-t instead. Also, the release note was
added.

bp tls-via-certmonger

Change-Id: I17c4b7041e16da6489f4b713fdeb28a6e1c5563c
Depends-On: I88e5ea7b9bbf35ae03f84fdc3ec76ae09f11a1b6

8 years agoDeploy Heat APIs over httpd
Juan Antonio Osorio Robles [Fri, 3 Mar 2017 07:53:35 +0000 (09:53 +0200)]
Deploy Heat APIs over httpd

This deploys the Heat APIs (api, cfn and cloudwatch) over httpd, and
includes the TLS-everywhere bits.

bp tls-via-certmonger

Change-Id: I23971b0164468e67c9b3577772af84bd947e16f1

8 years agoMerge "Stop the chronyd service"
Jenkins [Tue, 7 Mar 2017 13:58:35 +0000 (13:58 +0000)]
Merge "Stop the chronyd service"

8 years agoMerge "fix typo in release note"
Jenkins [Tue, 7 Mar 2017 03:39:32 +0000 (03:39 +0000)]
Merge "fix typo in release note"

8 years agoMerge "Throw warnings for norpm actions"
Jenkins [Tue, 7 Mar 2017 03:16:40 +0000 (03:16 +0000)]
Merge "Throw warnings for norpm actions"

8 years agofix typo in release note
Emilien Macchi [Tue, 7 Mar 2017 02:06:25 +0000 (21:06 -0500)]
fix typo in release note

Change-Id: I89e544474b3f73a9e00d37dcddb605d5fe979ca8

8 years agoStop the chronyd service
Alex Schultz [Mon, 6 Mar 2017 17:02:16 +0000 (10:02 -0700)]
Stop the chronyd service

Since the norpm provider can prevent the chronyd package from actually
getting purged, we need to make sure the chronyd service is stopped and
disabled so that it does not conflict with ntpd.

Change-Id: I7a697aba7aa5a27ba4ab6e46018057f7f01dfab2
Closes-Bug: #1665426

8 years agoAdd docker profile
Steven Hardy [Thu, 2 Mar 2017 11:48:09 +0000 (11:48 +0000)]
Add docker profile

This configures the docker service on the host, as an alternative
to the firstboot script in docker/firstboot/setup_docker_host.sh

Doing this via puppet will enable easier integration with e.g
the multinode jobs where no firstboot scripts run, and also
enables a better error path in the event the service fails to start

Co-Authored-By: Alex Schultz <aschultz@redhat.com>
Change-Id: Id8add1e8a0ecaedb7d8a7dc9ba3747c1ac3b8eea

8 years agoAdd openstack-kolla to docker-registry profile
Martin André [Mon, 6 Mar 2017 14:21:10 +0000 (15:21 +0100)]
Add openstack-kolla to docker-registry profile

Kolla will be used to build container images and populate the local
docker registry.

Change-Id: I325a5248754d269d77eaf78224c7379dd81d6053

8 years agoMerge "mariadb: Move generation of systemd drop-in to puppet-tripleo"
Jenkins [Fri, 3 Mar 2017 20:41:54 +0000 (20:41 +0000)]
Merge "mariadb: Move generation of systemd drop-in to puppet-tripleo"

8 years agoThrow warnings for norpm actions
Alex Schultz [Fri, 3 Mar 2017 16:21:59 +0000 (09:21 -0700)]
Throw warnings for norpm actions

If the norpm provider attempts to do any install/update/remove actions,
we should throw a warning in the logs so people are aware that the
action did not actually take place.

Change-Id: Ieee5cac3412c709ba6b39316e455d7708cc9d22e
Closes-Bug: #1669666

8 years agoMerge "mysqlclient: Drop hiera calls in favor of getting these via t-h-t"
Jenkins [Wed, 1 Mar 2017 01:20:52 +0000 (01:20 +0000)]
Merge "mysqlclient: Drop hiera calls in favor of getting these via t-h-t"

8 years agoMerge "Configure MySQL client SSL connections via the config file"
Jenkins [Wed, 1 Mar 2017 01:20:42 +0000 (01:20 +0000)]
Merge "Configure MySQL client SSL connections via the config file"

8 years agoMerge "Revert "Add httpchk for http services""
Jenkins [Tue, 28 Feb 2017 14:32:17 +0000 (14:32 +0000)]
Merge "Revert "Add httpchk for http services""

8 years agomysqlclient: Drop hiera calls in favor of getting these via t-h-t
Juan Antonio Osorio Robles [Tue, 28 Feb 2017 12:53:58 +0000 (14:53 +0200)]
mysqlclient: Drop hiera calls in favor of getting these via t-h-t

This also updates a leftover comment.

Change-Id: I870caf20103b044655e699aac09f6621414f5326
Depends-On: I5af5ccb88e644f4dd25503d8e7a93796695d3039