2975 Commits

Author SHA1 Message Date
Jenkins
d73f663f66 Merge "gnocchi statsd should be able to send data to port 8125" 2016-11-03 08:36:35 +00:00
marios
a7af5b90e4 Fixup the start of swift services
Seems the conditional has changed and we should pickup the
tripleo::profile::base::swift::storage::enable_swift_storage
hiera data.

After controller nodes are upgraded the swift services were down
even though there was no stand-alone swift node (the current
conditional was failing as that hiera isn't set any more)

Closes-Bug: 1638821
Change-Id: Id1383c1e54f9cae13fd375e90da525230e5d23eb
2016-11-03 07:33:40 +00:00
Carlos Camacho
56c38c1eea Add Sahara plugins list as a configurable parameter
The hardcoded list should be configurable, and defaulted
to their current value.

Change-Id: I517aa61f21c6f4d0975b10a7aa85177c543487e0
Closes-bug: 1560098
2016-11-02 14:47:01 +01:00
Lukas Bezdicka
9bb00f28b9 Ensure we update ceph and composable nodes
The update configuration is generated into ceph.yaml and into
{rolename}.yaml. We should ensure puppet hiera is looking for
these files.

Change-Id: I261d16bc365b3d19adc502385edcc509a53ffc2a
Closes-Bug: #1638346
Resolves: rhbz#1388977
2016-11-02 13:55:33 +01:00
Giulio Fidente
ba66980aa3 Do not reference CephBase from CephExternal service
We want CephExternal to work without referencing CephBase which
instead defines common settings for hosted Ceph deployments.

This change fixes a reference to CephBase which was mistakenly
introduced with fix for bug #1632285.

Change-Id: Id27e935f91ad76a6877b3aa7588f54d6140aa41f
Closes-Bug: #1635014
2016-11-02 12:15:24 +01:00
Ihar Hrachyshka
c54d323ac3 Revert "Adjust MTU to compensate for VLAN tag issue"
This reverts commit 4223b88b708e145c1dcdc38e4209ecc9029dd91f.

The underlying neutron bug with native ofctl interface was fixed in Newton.
We no longer need to dumb down deployment MTU to accommodate Neutron.

Change-Id: I9082c2d198a02ac3321488df67a66d336556d64c
2016-11-02 10:43:58 +00:00
Pradeep Kilambi
204ebf8233 gnocchi statsd should be able to send data to port 8125
currently udp port 8125 is blocked by default. This can cause issues
when sending statsd data.

Change-Id: Icb5569c4e3dc981e9a8accf32eedd3370552cb34
2016-11-01 16:11:28 -04:00
Jenkins
d106161466 Merge "Add Barbican to the overcloud" 2016-11-01 17:27:20 +00:00
Lukas Bezdicka
d8fa70d2fd Update openstack-puppet-modules dependencies
OPM package is metadata package with unversioned requirements which
means that update does not update the dependencies. This leaves us
with old puppet modules and old puppet during the puppet run.

Change-Id: I80f8a73142a09bb4178bb5a396d256ba81ba98a8
Closes-Bug: #1638266
Resolves: rhbz#1390559
2016-11-01 13:44:57 +01:00
Pradeep Kilambi
a8e119094f Rework gnocchi-upgrade to run in a separate upgrade step
gnocchi when configured with swift will require keystone
to be available to authenticate to migrate to v3. At this
step keystone is not available and gnocchi upgrade fails
with auth error. Instead start apache in step 3, start
apache first and then run gnocchi upgrade in a separate
step and let upgrade happen here.

Closes-Bug: #1634897

Change-Id: I22d02528420e4456f84b80905a7b3a80653fa7b0
2016-11-01 08:33:23 -04:00
Jenkins
0f41197e6a Merge "Re-add NFS backend for Glance" 2016-11-01 12:23:47 +00:00
Steven Hardy
eb34d8cfc0 Change nova ram_allocation_ratio to match puppet-nova
The interface for this moved to init.pp, the one we currently
use now only outputs a warning, it doesn't actually set anything.

Change-Id: Idc40cf0dc4ff0f598e0918e0de8b3233b524cdd5
Closes-Bug: 1638254
2016-11-01 11:15:38 +00:00
Juan Antonio Osorio Robles
65db3743ab Enable internal TLS for Nova API
This adds the necessary hieradata for enabling TLS in the internal
network for Nova API.

bp tls-via-certmonger
Depends-On: I88380a1ed8fd597a1a80488cbc6ce357f133bd70

Change-Id: I45197f98e5b65d6b2ec364676870db4ce582ffe9
2016-11-01 12:22:14 +02:00
Jenkins
3c76dac14d Merge "Add replacepkgs to the manual ovs upgrade workaround and fix a typo" 2016-10-31 23:37:24 +00:00
lokesh-jain
4a17efe5a7 Updated Nuage neutron plugin name
Updated plugin name for configuring Nuage.
Nuage plugin name changed after Liberty release
and needs to be updated at all instances.
Updated neutron-nuage-config.yaml file to reflect
the change.

Change-Id: I7cce9a07b909ab59bf249439eec0833afce5cca6
Closes-Bug: #1635033
2016-10-31 13:05:52 -04:00
Giulio Fidente
178b647166 Add SNMP role to the CephStorage nodes
Previously the CephStorage nodes were missing the SNMP role.

Change-Id: I1356a3ff8da51da4d79b28312f9e3821652b6291
2016-10-31 16:42:31 +01:00
Jenkins
d7653b73a4 Merge "Enable internal TLS for aodh" 2016-10-31 11:49:34 +00:00
Jenkins
e713171e1e Merge "Fix Swift proxy pipeline ordering" 2016-10-31 11:47:52 +00:00
Jenkins
e71604beaf Merge "Enable internal TLS for ceilometer" 2016-10-31 09:43:25 +00:00
Christian Schwede
38fe61be95 Fix Swift proxy pipeline ordering
The Ceilometer middleware is in the wrong place; actually any middleware
should be deployed after catch_errors to catch any errors that would
otherwise crash the proxy service. Additionally the ceilometer
middleware should be deployed after any authentication middleware.

Closes-Bug: 1637471
Co-Authored-By: Thiago da Silva <thiago@redhat.com>
Change-Id: I710ff2f51271a78582fa502e7eecfa687800c664
2016-10-28 13:33:31 +02:00
Christian Schwede
813b3dc4fc Add option to disable "d1" Swift device
A default TripleO installation uses a local directory named "d1" to be
used by Swift. With SwiftRawDisks set it is highly unlikely that that an
operator wants to use this any longer, because it affects system
perforamce and might result in an overfilled the system disk. In this
case d1 should be no longer when building rings.

This patch makes it possible to disable the d1 device usage in the ring
building process by using a new option "SwiftUseLocalDir". This is set
by default to true, not changing the default behavior. If set to false,
the d1 device won't be used when building rings.

Closes-Bug: 1634051
Change-Id: Ia9ad38e3ffa533e170f4cedd0518d830e9b2fa69
2016-10-28 08:49:51 +02:00
Juan Antonio Osorio Robles
9e2e558a5f Set cinder's service name to httpd via t-h-t
With this, we can clean it from puppet-tripleo.

Change-Id: I13638cd1af52537bef8540f0d5fa5f5f7decd392
Depends-On: Ic1967a6f4f60a273965811516f33121115d518b4
2016-10-27 12:08:11 +00:00
Mathieu Bultel
61cba946cd Add replacepkgs to the manual ovs upgrade workaround and fix a typo
rpm command will return an exit 1 if ovs package is already
there and will exit the step_1.sh script. To get around this
force the update with --replacepkgs

Also remove the \ just before the $ which cause a syntax
error for the ceph storage

Change-Id: I11fcf688982ceda5eef7afc8904afae44300c2d9
Closes-bug: 1636748
2016-10-27 11:38:12 +03:00
Jenkins
e60c5377fb Merge "Remove double tcp_listen_options entries for rabbit" 2016-10-26 16:43:41 +00:00
Jenkins
ef38e5af9f Merge "Remove duplicate bind_host from nova-api profile" 2016-10-26 13:35:53 +00:00
Christian Schwede
82e262dff2 Fix usage of SwiftRawDisks
Using the SwiftRawDisks parameter neither created the XFS filesystem nor
mounted the device, requiring manual intervention by an operaror.

Partial-Bug: 1634051
Change-Id: I2da0f12635a37c1f339a3be59a7d00f352adf283
2016-10-26 10:09:41 +02:00
Jenkins
ab00d9393b Merge "Fix the stonith property during upgrades" 2016-10-25 14:38:50 +00:00
Tim Rozet
f49d4d23f6 Enables auto-detection for VIP interfaces
Previously the ctrl plane VIP would default to 'br-ex' which in non-vlan
deployments ends up being the wrong interface.  The public VIP interface
was also defaulted to 'br-ex' which would be incorrect for vlan based
deployments.  Since a user has already given the nic template (and in
most cases the subnet that corresponds to the nic) the installer should
be able to figure out which interface the public/control vip should be
on.

These changes enable that type of auto-detection, unless a user
explicitly overrides the heat parameters for ControlVirtualInterface and
PublicVirtualInterface.  Also, incorrect parameters from haproxy service
are removed.

Depends-On: I05105fce85be8ace986db351cdca2916f405ed04

Closes-Bug: 1606632

Change-Id: I3c1c39824ec32ced304a782edc6ef49c0769c108
Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-10-24 16:41:32 -04:00
Michele Baldessari
3866490052 Fix the rabbitmq/redis pacemaker resource timeouts on updates
With the following two changes we increased the timeout for redis and
rabbit for both starting and stopping to 200s:
https://review.openstack.org/386618 newton (merged)
https://review.openstack.org/385555 master (merged)

We want to also fix that on minor updates on all our supported
releases upstream and downstream (newton, mitaka, liberty, kilo).
This way we can guarantee that we have a uniform timeout for
sart and stop for rabbit and redis across all our releases.

Change-Id: If59bf3386832ee78d3a654f01077aff2e8be76e8
Closes-Bug: #1634851
2016-10-22 20:59:16 +00:00
Jenkins
2dc1618e21 Merge "Composable Mistral services" 2016-10-21 21:04:15 +00:00
Jenkins
774ad60314 Merge "Prefill Sensu client custom config" 2016-10-21 21:00:23 +00:00
Jenkins
f4ec754a4d Merge "Clarify horizon allowed hosts setting" 2016-10-21 20:59:23 +00:00
Jenkins
9b3aba0309 Merge "Use correct password for keystone bootstrap" 2016-10-21 17:13:22 +00:00
Matthias Runge
d6df3c61c2 Clarify horizon allowed hosts setting
Horizon allowed hosts should name the IP addresses/
DNS names (short/long) the Horizon node is listening to.
Allowed hosts is used for header checks and is a security
mechanism.

Change-Id: I81c96357f969a1a436eecd35eb178579159bc719
2016-10-21 16:23:18 +00:00
Jenkins
ec02ba6319 Merge "Add special case handling for OVS upgrade in updates and upgrades" 2016-10-21 16:23:16 +00:00
Jenkins
60750a2e02 Merge "Use ::os_workers fact instead of ::processorcount" 2016-10-21 16:13:55 +00:00
Jenkins
23a1617da9 Merge "Add parameters to run cinder over httpd" 2016-10-21 15:45:37 +00:00
Jenkins
85f6017ba2 Merge "Add missing Ceph endpoints from tls-everywhere environment" 2016-10-21 14:42:17 +00:00
Jiri Stransky
b6a4bdc3e4 Re-add NFS backend for Glance
We lost ability to store Glance images in NFS mounts as we moved to NG
HA architecture. This patch re-adds that ability, but the parameter
interface changes because the semantics change as well. (Pacemaker
allowed for different mounts than just NFS so the parameters were more
generic, although we only ever tested and documented NFS usage.)

Change-Id: Ic5197e09846bbf75d780dcc74da1717dcf8301d0
Related-Bug: #1635606
2016-10-21 16:22:40 +02:00
Jenkins
6d29fdb365 Merge "Include ceilometer in swift proxy pipeline" 2016-10-21 13:16:34 +00:00
Jenkins
cc79c92b73 Merge "Removes EnableODL heat parameter and fixes missing local_ip param" 2016-10-21 12:58:45 +00:00
Juan Antonio Osorio Robles
da3b0cb68f Use ::os_workers fact instead of ::processorcount
Change-Id: Ib25849565c617f32357ef545957f58454b2a53f8
2016-10-21 15:37:35 +03:00
Brad P. Crochet
9dfc243202 Composable Mistral services
Adds new puppet specific services for Mistral
API and Mistral Engine.

This submission enables the mistral service by default in the
overcloud, a following submission will disable it and make it
optional by enabling it on demand based in an environment file.

Depends-On: Iae42ffa37c4c9b1e070b7c3753e04c45bb97703f
Depends-On: I942d419be951651e305d01460f394870c30a9878
Depends-On: I6cb2cbf4a2abf494668d24b8c36b0d525643f0af
Implements: blueprint composable-services-within-roles
Co-Authored-By: Carlos Camacho <ccamacho@redhat.com>

Change-Id: Id5ff9cb498b5a47af38413d211ff0ed6ccd0015b
2016-10-21 08:07:08 -04:00
Jenkins
ded5fe48f7 Merge "Generate internal TLS hieradata for apache services" 2016-10-21 12:05:37 +00:00
Juan Antonio Osorio Robles
7cc594c53a Add missing Ceph endpoints from tls-everywhere environment
Change-Id: Ib945e570556e8e10e5bb07faa57270958c9eda99
2016-10-21 14:36:56 +03:00
Jenkins
f20cac2e94 Merge "Bind mount files to run DiD in latest atomic host" 2016-10-21 09:20:01 +00:00
Jenkins
13839aef60 Merge "Have docker start script honor configuration" 2016-10-21 09:19:54 +00:00
Michele Baldessari
c6ddaafe54 Remove double tcp_listen_options entries for rabbit
After a brand new deployment we have the following in rabbitmq.config:
...
  {rabbit, [
    {tcp_listen_options,
         [binary,
         {packet,        raw},
         {reuseaddr,     true},
         {backlog,       128},
         {nodelay,       true},
         {exit_on_close, false}]
    },
    {tcp_listen_options, [binary, {packet, raw}, {reuseaddr, true},
{backlog, 128}, {nodelay, true}, {exit_on_close, false}, {keepalive,
true}]},
...

Let's remove these duplicate entries and make sure that we use the
parameters for the puppet module to set the following values
explicitely (it's the only parameter where we do not use the default
setting from the puppet module):
keepalive = true -> rabbitmq::tcp_keepalive: true

All the other options that we set are the default in the puppet module:
{packet, raw}
{reuseaddr, true}
{backlog, 128}{nodelay, true}
{exit_on_close, false}

Depends-On: I608477d5714a5081b3b4ab3b9fc2932bdd598301
Change-Id: I35921652bd84d1d6be0727051294983d4a0dde10
2016-10-21 07:46:12 +02:00
James Slagle
1c4ade1d66 Open port 16509 for libvirt for live migration
Port 16509 should be opened for tcp traffic to enable live migration.

See Also:
http://docs.openstack.org/admin-guide/compute-configuring-migrations.html

Previously, we were not enabling any iptables rules on the Compute
Roles, so this is a regression.

Change-Id: Ie4abf53dc2a8171af48d02e34a1a3ad43f27cfb3
Closes-Bug: #1635427
2016-10-20 17:25:21 -04:00
Pradeep Kilambi
f1b509c8c8 Include ceilometer in swift proxy pipeline
new ceilometermiddleware is available and integrated into
puppet-swift. Lets leverage it and include it in the
swift proxy pipeline. The correcponding puppet triple
change for this is Ie49f4a750368ff174b23b8d6baa743d0956d727e

Closes-Bug: #1631108

Change-Id: I82da0240d60d1eed54f1c0927e6157bb63025a19
2016-10-20 19:57:33 +00:00