apex-tripleo-heat-templates.git
8 years agoMerge "Don't have separate protocols/ports for Keystone v3"
Jenkins [Mon, 11 Apr 2016 11:00:37 +0000 (11:00 +0000)]
Merge "Don't have separate protocols/ports for Keystone v3"

8 years agoMerge "Change /etc/hosts format and add domain"
Jenkins [Mon, 11 Apr 2016 06:29:01 +0000 (06:29 +0000)]
Merge "Change /etc/hosts format and add domain"

8 years agoDon't have separate protocols/ports for Keystone v3
Zane Bitter [Wed, 24 Feb 2016 17:04:59 +0000 (12:04 -0500)]
Don't have separate protocols/ports for Keystone v3

The change in ab068a824ed51e78bf111387223e58e885ec5c84 is described as
temporary, so it would be better if it did not affect the EndpointMap
parameter (which is effectively a public interface, since it may be
overridden in an environment file). No configuration should end up with
different ports/protocols/hosts for Keystone v2 and v3, and somebody
customising them should not have to account for them separately. Nor
should things break when the need to distinguish between v2 and v3
endpoints goes away.

This change removes the KeystoneV3* keys from the EndpointMap input and
uses the Keystone* keys instead, so that any change to the internal
organisation becomes transparent to the user.

Change-Id: If4cdd9232f4dbc9f2af651bbdfe68f09dc26ed2e

8 years agoMerge "Replace extraconfig/tasks/noop.yaml w/ Heat::None"
Jenkins [Mon, 11 Apr 2016 01:14:08 +0000 (01:14 +0000)]
Merge "Replace extraconfig/tasks/noop.yaml w/ Heat::None"

8 years agoMerge "Add EndpointMap as output"
Jenkins [Sat, 9 Apr 2016 15:01:20 +0000 (15:01 +0000)]
Merge "Add EndpointMap as output"

8 years agoMerge "ha/glance-fs: avoid a race condition"
Jenkins [Sat, 9 Apr 2016 08:42:28 +0000 (08:42 +0000)]
Merge "ha/glance-fs: avoid a race condition"

8 years agoReplace extraconfig/tasks/noop.yaml w/ Heat::None
Dan Prince [Fri, 8 Apr 2016 12:06:18 +0000 (08:06 -0400)]
Replace extraconfig/tasks/noop.yaml w/ Heat::None

Removes the old noop nested stack template for extraconfig
tasks and instead uses OS::Heat::None. This should avoid a few
extra resource checks on create and update.

Change-Id: I5a42fc78ece2553e86385236e214aa1e3c91cd85

8 years agoRemove network/noop.yaml, use OS::Heat::None
Dan Prince [Thu, 7 Apr 2016 23:27:57 +0000 (19:27 -0400)]
Remove network/noop.yaml, use OS::Heat::None

Removes the old noop nested stack template for networks and
instead uses OS::Heat::None instead. This should avoid a few
extra resource checks on create and update.

Change-Id: Ia3d7f62dbda2705ffc3d9edcddebcd3ece3cc9d2

8 years agoha/glance-fs: avoid a race condition
Emilien Macchi [Mon, 28 Mar 2016 20:09:20 +0000 (16:09 -0400)]
ha/glance-fs: avoid a race condition

Create the glance-fs Pacemaker resource on one node (pacemaker master)
instead of all nodes, and set verify_on_create to True.

* It will avoid a race condition if Puppet is applied on 2 nodes on the
  same time, so the filesystem is attempted to be created once.
* Verify with psc that the resource has been correctly created.

The full context of the bug is decribed here:
https://bugzilla.redhat.com/show_bug.cgi?id=1319384

Change-Id: I625f0879ae56e814664d1433ae47e27148779f12

8 years agoAdd removal of the /etc/resolv.conf.save file for +bug/1567004
marios [Thu, 7 Apr 2016 13:39:46 +0000 (16:39 +0300)]
Add removal of the /etc/resolv.conf.save file for +bug/1567004

The change at https://review.openstack.org/#/c/302352/ should stop
the if up/down scripts from making changes to resolv.conf as
discussed in that review and the related bug below. However during
upgrades, as we are moving from a version of the ifcfg-vlanXX files
that don't have the PEERDNS=no added by /#/c/302352 the if up
script will restore the /etc/resolv.conf.save to /etc/resolv.conf
and overwrite it. This removes the .save file during the upgrade
init command which gets delivered to all nodes as the first stage
of a major upgrade.

Change-Id: I91dd139f43be4912c20d8661691bee2b662964d4
Related-Bug: 1567004

8 years agoRevert "Ping retry"
Dan Prince [Wed, 6 Apr 2016 18:17:23 +0000 (14:17 -0400)]
Revert "Ping retry"

This reverts commit 570c690bfb118e0cf130b7dbed7992676519ed9b.

This patch broke the ping_gateway_function when using IPv6
network isolation.

Change-Id: I57850a527804f2e753270fd9063d119d41a83b17
Closes-bug: #1567011

8 years agoIncrease corosync token timeout
Jiri Stransky [Tue, 5 Apr 2016 17:15:39 +0000 (19:15 +0200)]
Increase corosync token timeout

This might prevent dropping members from corosync cluster on high load
environments. Symptoms of this problem happening can sometimes be found
in corosync log:

dub 05 17:23:45 overcloud-controller-0 corosync[14152]: [MAIN ] Corosync
main process was not scheduled for 3691.8391 ms (threshold is 1320.0000
ms). Consider token timeout increase.

The default in the Puppet manifest is 1 second, which matches the
corosync default, and we override it with hiera to 10 seconds.

Change-Id: I5ea850ada657e5eecafa3e8b28613a0ac48e78f3

8 years agoMerge "Filter for local nodes in check_resource function"
Jenkins [Tue, 5 Apr 2016 16:14:39 +0000 (16:14 +0000)]
Merge "Filter for local nodes in check_resource function"

8 years agoMerge "Ping retry"
Jenkins [Tue, 5 Apr 2016 15:48:26 +0000 (15:48 +0000)]
Merge "Ping retry"

8 years agoMerge "Nova needs the proper volumes to use Cinder"
Jenkins [Tue, 5 Apr 2016 11:21:38 +0000 (11:21 +0000)]
Merge "Nova needs the proper volumes to use Cinder"

8 years agoMerge "Enable galera replication for Mariadb 10.1"
Jenkins [Mon, 4 Apr 2016 12:31:34 +0000 (12:31 +0000)]
Merge "Enable galera replication for Mariadb 10.1"

8 years agoChange /etc/hosts format and add domain
Juan Antonio Osorio Robles [Tue, 15 Mar 2016 10:16:06 +0000 (12:16 +0200)]
Change /etc/hosts format and add domain

Right now, the service-related IPs assosiated with the machine are
registered in the /etc/hosts with different hostnames. This is fine,
except if you need to register that hostname in a third party service
(such as FreeIPA), since the current configuration is not assigning a
domain to those IP addresses. So the current implementation requires
DNS to be properly working, which is not ideal for testing purposes.

Since the current hostnames are not currently being used; it's still
trivial to change this mapping and the format of them. instead of
having entries such as:

    <INTERNAL IP>  <node>-internalapi
    <STORAGE IP>   <node>-storage
    ...

in /etc/hosts; This changes the format to:

    <INTERNAL IP>  <node>.internalapi.<domain>  <node>.internalapi
    <STORAGE IP>   <node>.storage.<domain>  <node>.storage
    ...

So the network (external, internal, storage, etc...) is now
represented as a subdomain. For simplicity, the format without the
domain is still available through an alias.

Change-Id: I6502959a974546e5de757935acea15df6326acda

8 years agoNova needs the proper volumes to use Cinder
Ryan Hallisey [Sat, 19 Mar 2016 12:31:29 +0000 (12:31 +0000)]
Nova needs the proper volumes to use Cinder

Kolla has been using ceph.  For a while, cinder had
iscsi build into it, but it was removed.  In order to
get this to work with containers again, nova-compute and
libvirt containers need /dev and /lib/udev mounted into their
containers.

We also need to copy nova's rootwrap.conf into the nova.
It was missing this config file.

Change-Id: Ie77f56b4576d5393ad3756b0f5ecc3eeff844d1f

8 years agoFilter for local nodes in check_resource function
Raoul Scarazzini [Fri, 1 Apr 2016 13:52:33 +0000 (15:52 +0200)]
Filter for local nodes in check_resource function

While having extra customizations inside a TripleO deployed
Pacemaker environment, say you have instance HA with
pacemaker_remoted or you need to configure an external arbitrator
for something, then the status of the resources for remote nodes
is "Stopped".
This leads to failures while, for example, scaling up.
This fixes the way status is checked, filtering just local nodes.

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

8 years agoMerge "Restart haproxy after configuring SSL certs"
Jenkins [Sun, 3 Apr 2016 19:58:31 +0000 (19:58 +0000)]
Merge "Restart haproxy after configuring SSL certs"

8 years agoMerge "Configure ControllerServices via resource chains"
Jenkins [Sun, 3 Apr 2016 15:33:06 +0000 (15:33 +0000)]
Merge "Configure ControllerServices via resource chains"

8 years agoRestart haproxy after configuring SSL certs
Ben Nemec [Thu, 31 Mar 2016 21:42:11 +0000 (16:42 -0500)]
Restart haproxy after configuring SSL certs

If a certificate expires, the user will need to update it.  However,
because we only restart services at the end of a stack-update the
new certificate doesn't take effect until after puppet has run.
This is a problem because puppet makes OpenStack calls, which will
fail if the certificate is expired.  In that case we never get to
the service restart so the stack is wedged until the user manually
restart haproxy.

This patch addresses the problem by reloading haproxy before puppet
runs.  This is done in a pre-puppet script for pacemaker after pacemaker
is maintenance mode because we need to make sure it happens after all of
the certs have been installed on the controllers, but before puppet
runs.

For non-pacemaker, haproxy is simply reloaded.

Change-Id: Id5ed05b3a20d06af8ae7a3d6f859b03399b0d77d

8 years agoMerge "Disable Nova v3 API"
Jenkins [Fri, 1 Apr 2016 15:58:13 +0000 (15:58 +0000)]
Merge "Disable Nova v3 API"

8 years agoDisable Nova v3 API
Jiri Stransky [Thu, 31 Mar 2016 12:31:53 +0000 (14:31 +0200)]
Disable Nova v3 API

Microversions since Nova API v2.1 are aimed to replace the v3 work. The
/v2.1 is backwards compatible with the legacy /v2 endpoint. What we
called in the past /v3 is now something defunct in-tree. The /v2.1 API
is based on the v3 work, but there are many things that differ, in
particular with the backwards-compat thing. We keep the /v2 path in
api-paste.ini for making sure an upgrade doesn't trample operators and
users but if you look in tree, that's redirecting to the v2.1
codepath (just not asking for microversions). In summary, we only need
one endpoint, ie. /v2.1.

Additional information at https://bugzilla.redhat.com/show_bug.cgi?id=1291291

Related-Bug: #1564372
Change-Id: I1654665663bc5a19c201f7d25407910654ac1308
Depends-On: I6d64b8bcd0f79f1f298ddc809e6d92fbc2985c45

8 years agoConfigure ControllerServices via resource chains
Dan Prince [Tue, 15 Mar 2016 14:49:30 +0000 (10:49 -0400)]
Configure ControllerServices via resource chains

This patch wires in a new for Mitaka Heat feature
that allows us to dynamically include a set of nested
stacks representing individual services via a Heat resource chain.
Follow on patches will use this interface to decompose the controller
role into isolated services.

Co-Authored-By: Steve Hardy <shardy@redhat.com>
Depends-On: If510abe260ea7852dfe2d1f7f92b529979483068
Change-Id: I84c97a76159704c2d6c963bc4b26e365764b1366

8 years agoAdd EndpointMap as output
Juan Antonio Osorio Robles [Wed, 30 Mar 2016 15:30:42 +0000 (15:30 +0000)]
Add EndpointMap as output

The endpoint map contains, not only the hosts and protocols that
the resulting services will use, but also the ports. This
information is useful, and the aim of this patch is to make it
available for the tripleoclient to use it.

Change-Id: I4cc5bbf2e7200f78cd90b93659c326a9200278d7

8 years agoRemove hack the pulls latest docker
Ryan Hallisey [Tue, 15 Mar 2016 19:49:10 +0000 (19:49 +0000)]
Remove hack the pulls latest docker

Atomic is set to Docker 1.8.2. We no longer need to pull the
latest Docker to make our template work.

Change-Id: I8ab4e135ed4891763f8ced596116b14101466160
Co-Authored-By: Ian Main <imain@redhat.com>
8 years agoCentos gives /dev/pts/ptmx the wrong perms
Ryan Hallisey [Mon, 21 Mar 2016 23:39:37 +0000 (23:39 +0000)]
Centos gives /dev/pts/ptmx the wrong perms

In order to use cinder, we need to be able to use
/dev/pts/ptmx.  Centos sets this to 000 when on Fedora
it's 666.

Change-Id: I76dc5adc64d2da0d27204ea31175244bc1b94428

8 years agoEnable galera replication for Mariadb 10.1
Damien Ciabrini [Wed, 30 Mar 2016 12:19:39 +0000 (14:19 +0200)]
Enable galera replication for Mariadb 10.1

The generated galera config has to include additional settings for
galera to be active on MariaDB 10.1.

wsrep_on must be explicitely set to ON. On MariaDB 5.5, this was
implicitely set as soon as wsrep_provider was specified.

a valid wsrep_cluster_address must be configured in addition to
wsrep_on, otherwise recovery command mysqld_safe --wsrep-recover
cannot retrieve replication state, and cluster cannot be bootstrapped.

These explicit settings are backward compatible with MariaDB 5.5 since
the two variables exist in both versions of MariaDB.

Change-Id: I4ab4f4eeb8679899f194399ba8695155e9a2f4a5
Closes-Bug: 1563751

8 years agoMerge "compute: restart OVS agent on neutron.conf changes"
Jenkins [Wed, 30 Mar 2016 09:35:19 +0000 (09:35 +0000)]
Merge "compute: restart OVS agent on neutron.conf changes"

8 years agoMerge "change the default satellite tools rpm repo."
Jenkins [Wed, 30 Mar 2016 06:44:56 +0000 (06:44 +0000)]
Merge "change the default satellite tools rpm repo."

8 years agoPing retry
Joe Talerico [Tue, 29 Mar 2016 18:10:20 +0000 (14:10 -0400)]
Ping retry

The single ping method in the validation script is causing for
deployments to fail. When reviewing the network connectivity, we are
finding we actually do have connectivity
( https://gist.github.com/jtaleric/0276a117625e44993be0 ). This patch is
to change the ping count from 1 to 10, to ensure the network is up.

Closes-Bug: 1563521
Change-Id: I9772407554dffa91978a49a16490ef9ed448a054

8 years agocompute: restart OVS agent on neutron.conf changes
Emilien Macchi [Tue, 29 Mar 2016 19:25:20 +0000 (15:25 -0400)]
compute: restart OVS agent on neutron.conf changes

Some options in neutron.conf are used bu OVS agent, like logging &
messaging.
During the upgrade process, you need to restart the agent if these
options change.

We could patch puppet-neutron to add a notify, but the community won't
like it because Neutron OVS agent is not able to restart gracefully
until [1] got merged. Until that, we can fix it in TripleO, where we
suppose Puppet runs happenning during bootstraps and upgrades.

Later, we'll drop this code from here and move it in puppet-neutron.

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

Change-Id: I02b17b66e93331ddfb1a7abd8adff672bc7a32d6
Closes-Bug: #1563437

8 years agoMerge "PLUMgrid Neutron integration"
Jenkins [Tue, 29 Mar 2016 19:19:41 +0000 (19:19 +0000)]
Merge "PLUMgrid Neutron integration"

8 years agochange the default satellite tools rpm repo.
Mike Burns [Mon, 16 Nov 2015 17:19:23 +0000 (12:19 -0500)]
change the default satellite tools rpm repo.

Change-Id: I60ab36b04b8932e4dbee58e21998dc984178b41c
Bugzilla:  https://bugzilla.redhat.com/1275281

8 years agoMerge "Increment step count to include ringbuilder"
Jenkins [Tue, 29 Mar 2016 16:03:05 +0000 (16:03 +0000)]
Merge "Increment step count to include ringbuilder"

8 years agoMerge "Don't restart Pacemaker-managed services from Puppet"
Jenkins [Tue, 29 Mar 2016 15:38:23 +0000 (15:38 +0000)]
Merge "Don't restart Pacemaker-managed services from Puppet"

8 years agoMerge "Add quotes around the cinder_iscsi_ip_address value"
Jenkins [Tue, 29 Mar 2016 15:36:47 +0000 (15:36 +0000)]
Merge "Add quotes around the cinder_iscsi_ip_address value"

8 years agoDon't restart Pacemaker-managed services from Puppet
Jiri Stransky [Tue, 29 Mar 2016 12:11:08 +0000 (14:11 +0200)]
Don't restart Pacemaker-managed services from Puppet

We need to reload/restart services on updates/upgrades to apply any
config changes, but restarting services managed from Pacemaker from
Puppet causes problems.

For now we no-op the restart and rely on the catch-all restart after
Puppet phase.

In the future we should have a service provider for pacemaker resources
that will be using pcs. We still might have to restart services outside
Puppet due to cluster-wide orchestration issues, but we might be able to
do the restarts selectively rather than restart everything.

We also no-op the start/stop commands to be safe, as it also doesn't
make sense for Puppet to try start and stop those services when it
doesn't have knowledge about Pacemaker.

Change-Id: I95e21e10471cd7575f28c095c48150325f1414b3
Closes-Bug: #1562922

8 years agoMerge "Set UpdateIdentifier for upgrade converge, to prevent services down"
Jenkins [Tue, 29 Mar 2016 11:41:19 +0000 (11:41 +0000)]
Merge "Set UpdateIdentifier for upgrade converge, to prevent services down"

8 years agoMerge "Remove password default for AodhPassword"
Jenkins [Mon, 28 Mar 2016 21:32:15 +0000 (21:32 +0000)]
Merge "Remove password default for AodhPassword"

8 years agoIncrement step count to include ringbuilder
Dan Prince [Tue, 22 Mar 2016 20:22:45 +0000 (16:22 -0400)]
Increment step count to include ringbuilder

This patch wires in ringbuilder.pp so that it is always
asserted like the other manifests and it fixes the misaligned
step sequencing in calling our overcloud controller manifests.

Previously it was called as a separate software deployment outside of
the hiera step sequence. This made things confusing in
controller-post.yaml since the deployment names didn't align
with the step hiera variables after step 3. Now that we call it
just like the other modules it should make gradually moving this
code to puppet-tripleo more straightforward as well.

Change-Id: Ibd4f51f65da475bb20a6b08d7bda673f330a5464

8 years agoSet UpdateIdentifier for upgrade converge, to prevent services down
Mathieu Bultel [Thu, 24 Mar 2016 14:06:42 +0000 (15:06 +0100)]
Set UpdateIdentifier for upgrade converge, to prevent services down

We'd like to let the post puppet pacemaker controller services
restart to happen for the convergence step so set the
UpdateIdentifier. However also set the PackageUpdate to noop so the
yum_update.sh doesn't happen.

Since a full haproxy restart is expected, we no longer need the
systemctl reload added at Iae3bad745ecdf952a7a0314fe1375d07eb47c454
so remove that too.

Some more context at
https://bugzilla.redhat.com/show_bug.cgi?id=1321036

Co-Authored-By: marios <marios@redhat.com>
Change-Id: I31c2d97d68c97b435f63863fae2c89f18f99681d

8 years agoRemove password default for AodhPassword
Pradeep Kilambi [Thu, 24 Mar 2016 18:22:27 +0000 (14:22 -0400)]
Remove password default for AodhPassword

Change-Id: Ibf37bfd6150d212fadcc4d2e2e2d0a89cdd76c91

8 years agoMerge "Fix satellite registration for http or https"
Jenkins [Thu, 24 Mar 2016 18:06:00 +0000 (18:06 +0000)]
Merge "Fix satellite registration for http or https"

8 years agoMerge "Add systemctl reload haproxy to the pacemaker_resource_restart.sh"
Jenkins [Thu, 24 Mar 2016 18:00:09 +0000 (18:00 +0000)]
Merge "Add systemctl reload haproxy to the pacemaker_resource_restart.sh"

8 years agoMerge "Deploy Aodh services, replacing Ceilometer Alarm"
Jenkins [Thu, 24 Mar 2016 17:51:42 +0000 (17:51 +0000)]
Merge "Deploy Aodh services, replacing Ceilometer Alarm"

8 years agoAdd quotes around the cinder_iscsi_ip_address value
Giulio Fidente [Thu, 24 Mar 2016 15:23:08 +0000 (16:23 +0100)]
Add quotes around the cinder_iscsi_ip_address value

In I783e939ae304385674909bfd9f1cac95e04cef22 we add brackets around
the cinder_iscsi_ip_address if IPv6 but that causes hiera to try
mapping the value into an array, while it isn't. This change adds
quotes around the brackets.

Change-Id: Id9bb4b12542f1943e9df702486d68424539c7a59
Closes-Bug: 1560934

8 years agoMerge "Remove unused user resource."
Jenkins [Thu, 24 Mar 2016 14:27:07 +0000 (14:27 +0000)]
Merge "Remove unused user resource."

8 years agoWire redis_password to the tripleo module
Giulio Fidente [Tue, 22 Mar 2016 17:00:03 +0000 (18:00 +0100)]
Wire redis_password to the tripleo module

Without this the HAProxy monitoring for Redis would fail to poll
the backends.

Change-Id: Id0826c6b04e471844c7bef69480af263cf2b3bd4

8 years agoMerge "Pass iSCSI bind address in brackets to Cinder when IPv6"
Jenkins [Thu, 24 Mar 2016 12:25:54 +0000 (12:25 +0000)]
Merge "Pass iSCSI bind address in brackets to Cinder when IPv6"

8 years agoMerge "Remove the glance/rbd user name from static hieradata"
Jenkins [Thu, 24 Mar 2016 11:02:30 +0000 (11:02 +0000)]
Merge "Remove the glance/rbd user name from static hieradata"

8 years agoMerge "configure horizon with memcached ipv6 when needed"
Jenkins [Wed, 23 Mar 2016 23:04:00 +0000 (23:04 +0000)]
Merge "configure horizon with memcached ipv6 when needed"

8 years agoMerge "nonha: fix memcached servers string in nova.conf for ipv6"
Jenkins [Wed, 23 Mar 2016 22:50:09 +0000 (22:50 +0000)]
Merge "nonha: fix memcached servers string in nova.conf for ipv6"

8 years agoconfigure horizon with memcached ipv6 when needed
Emilien Macchi [Wed, 23 Mar 2016 14:56:48 +0000 (10:56 -0400)]
configure horizon with memcached ipv6 when needed

* Add MemcachedIPv6 parameter
* If MemcachedIPv6 is set at True, configure Horizon with Memcached IPv6
  addresses.

This patch is required to make Horizon working when running IPv6
networks.

Change-Id: I752e727bfb9040b29f5d755f565fa6b54b9511c8

8 years agoAdd simple parameter test to yaml-validate.py
Steven Hardy [Tue, 12 Jan 2016 19:03:30 +0000 (19:03 +0000)]
Add simple parameter test to yaml-validate.py

Output a warning for parameters which look unused, this should help
developers clean up the template a bit, and eventually could maybe
be developed further into something we can use for gating.

Change-Id: Ide4fbe3c85854cbddee44801d39ae73003d63bb8

8 years agoPass iSCSI bind address in brackets to Cinder when IPv6
Giulio Fidente [Wed, 23 Mar 2016 13:56:29 +0000 (14:56 +0100)]
Pass iSCSI bind address in brackets to Cinder when IPv6

Configure the Cinder iscsi_ip_address key using brackets when
the IP address is of v6 class.

Closes-Bug: 1560934
Change-Id: I783e939ae304385674909bfd9f1cac95e04cef22

8 years agoAdd systemctl reload haproxy to the pacemaker_resource_restart.sh
marios [Wed, 23 Mar 2016 14:17:13 +0000 (16:17 +0200)]
Add systemctl reload haproxy to the pacemaker_resource_restart.sh

As discussed in the related bug below, after upgrading your
environment to latest liberty the haproxy config isn't picked
up. This adds a systemctl reload haproxy in the pacemaker
resource restart we run as part of the post-puppet-pacemaker.

Related-Bug: 1561012
Change-Id: Iae3bad745ecdf952a7a0314fe1375d07eb47c454

8 years agononha: fix memcached servers string in nova.conf for ipv6
Emilien Macchi [Mon, 21 Mar 2016 18:42:52 +0000 (14:42 -0400)]
nonha: fix memcached servers string in nova.conf for ipv6

Full context is described here:
https://review.openstack.org/#/c/270110/

The patch that was supposed to fix [1] was not fixing non-ha scenario.
[1] https://launchpad.net/bugs/1536103

This patch aims to fix it.

Change-Id: Iaf4608de1894ce03f35925939e83230abb9f5207
Closes-Bug: #1560063

8 years agoFix satellite registration for http or https
James Slagle [Tue, 22 Mar 2016 21:26:42 +0000 (17:26 -0400)]
Fix satellite registration for http or https

If the satellite registration url was specified with https, the curl
command to detect the satellite version would not work as expected since
-L was not passed and you get redirected to https when testing the ping
api.

To additionally handle the case where https is specified, also use curl
directly with -k to download the configuration rpm instead of using rpm
with a url.

Fixes another bug with a missing $ in the reference to the
$satellite_version variable.

Change-Id: I984fdfc415eeeed4ef29cc8d0812e1b67545d6b1

8 years agoRemove the glance/rbd user name from static hieradata
Giulio Fidente [Wed, 23 Mar 2016 13:22:50 +0000 (14:22 +0100)]
Remove the glance/rbd user name from static hieradata

The static setting for the glance/rbd user name was overriding
any customization provided via template param because it was
up in the hierarchy for the controller nodes.

More at: https://bugzilla.redhat.com/show_bug.cgi?id=1308889

Change-Id: I3d112de7eeffd524fb1308d5976a28f04aa5ff23

8 years agoMerge "Comment out the ManagementPort in external-loadbalancer-vip.yaml"
Jenkins [Wed, 23 Mar 2016 01:33:41 +0000 (01:33 +0000)]
Merge "Comment out the ManagementPort in external-loadbalancer-vip.yaml"

8 years agoMerge "Fix redis coordination url"
Jenkins [Tue, 22 Mar 2016 21:35:02 +0000 (21:35 +0000)]
Merge "Fix redis coordination url"

8 years agoFix redis coordination url
Pradeep Kilambi [Tue, 22 Mar 2016 16:03:49 +0000 (12:03 -0400)]
Fix redis coordination url

The coordination url connection string to redis
is incorrectly formatted with password.

More details: https://bugzilla.redhat.com/show_bug.cgi?id=1320036

Change-Id: I93f5e93dfce4ba2629aa57534e8d33d5d1e6d77b

8 years agoMerge "Add BondInterfaceOvsOptions parameter to net-config-bond.yaml"
Jenkins [Tue, 22 Mar 2016 16:54:45 +0000 (16:54 +0000)]
Merge "Add BondInterfaceOvsOptions parameter to net-config-bond.yaml"

8 years agoMerge "Remove GlanceRegistry from EndpointMap"
Jenkins [Tue, 22 Mar 2016 15:00:56 +0000 (15:00 +0000)]
Merge "Remove GlanceRegistry from EndpointMap"

8 years agoMerge "Remove CephStorageCount"
Jenkins [Tue, 22 Mar 2016 11:44:23 +0000 (11:44 +0000)]
Merge "Remove CephStorageCount"

8 years agoMerge "Allow option to disable Swift ring management"
Jenkins [Mon, 21 Mar 2016 17:43:42 +0000 (17:43 +0000)]
Merge "Allow option to disable Swift ring management"

8 years agoMerge "Wire in HAProxy stats user and password"
Jenkins [Mon, 21 Mar 2016 16:58:05 +0000 (16:58 +0000)]
Merge "Wire in HAProxy stats user and password"

8 years agoAllow option to disable Swift ring management
Christian Schwede [Sat, 5 Mar 2016 13:49:00 +0000 (14:49 +0100)]
Allow option to disable Swift ring management

There are quite a few cases where it is useful to disable ring building on the
nodes. For example:

- using different weights, regions, and zones
- replacing a node in an existing Swift cluster
- adding a new node to an existing cluster
- using storage policies and therefore multiple rings
- using different nodes and disks for account, container and object servers

This patch allows it to disable ring building. Rings need to be maintained
manually then, and copied to all storage and proxy nodes within a cluster.

This patch is similar to I01311ec3ca265b151f8740bf7dc57cdf0cf0df6f, except that
it uses the current templates.

Change-Id: I56978b15823dd6eaf4b6fd3440df2f895e89611a

8 years agoRemove CephStorageCount
Derek Higgins [Fri, 18 Mar 2016 11:13:54 +0000 (11:13 +0000)]
Remove CephStorageCount

This is set by tripleoclient, remove it from here so it doesn't
override the user provided value.

Change-Id: I6110b71e484af749838f91dc5c6c4982b0c83074

8 years agoRemove unused user resource.
Sofer Athlan-Guyot [Fri, 18 Mar 2016 10:56:55 +0000 (11:56 +0100)]
Remove unused user resource.

The user is created by installation of of the pacemaker package, so it's
not required to add it to the resource catalog.

This paves the way to merge the refeactoring of the puppet-pacemaker
module[1].  It brings a lot of changes, one of them is an idempotent
handling of the hacluster user's password.  Removing it here prevents
duplicate resource error durring puppet run.

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

Change-Id: I56849d9fc00bd3ce342d5c440cfe7c5b6d26b5bf

8 years agoDeploy Aodh services, replacing Ceilometer Alarm
Pradeep Kilambi [Mon, 7 Mar 2016 16:27:17 +0000 (11:27 -0500)]
Deploy Aodh services, replacing Ceilometer Alarm

Ceilometer Alarm is deprecated in Liberty by Aodh.

This patch:
* manage Aodh Keystone resources
* deploy Aodh API under WSGI, Notifier, Listener and Evaluator
* manage new parameters to customize Aodh deployment
* uses ceilometer DB for the upgrade path
* pacemaker config
* Add migration logic to remove pcs resources

Depends-On: I5333faa72e52d2aa2a622ac2d4b60825aadc52b5
Depends-On: Ib6c9c4c35da3fb55e0ca8e2d5a58ebaf4204d792

Co-Authored-By: Emilien Macchi <emilien@redhat.com>
Change-Id: Ib47a22884afb032ebc1655e1a4a06bfe70249134

8 years agoComment out the ManagementPort in external-loadbalancer-vip.yaml
Marius Cornea [Fri, 18 Mar 2016 14:07:17 +0000 (15:07 +0100)]
Comment out the ManagementPort in external-loadbalancer-vip.yaml

The Management network is optional and disabled by default.
This change preserves backward compatibility and fixes
https://bugzilla.redhat.com/show_bug.cgi?id=1317594

Change-Id: I73cf51154c9ee7c05938e2cadf0c5ac107840bad

8 years agoPLUMgrid Neutron integration
Qasim Sarfraz [Tue, 15 Dec 2015 12:36:11 +0000 (07:36 -0500)]
PLUMgrid Neutron integration

Enable PLUMgrid neutron liberty plugin in a TripleO overcloud environment.

Change-Id: I07025f67ec3f3399aac4dcd10cc37e857772548b
Signed-off-by: Qasim Sarfraz <qasims@plumgrid.com>
8 years agoRemove GlanceRegistry from EndpointMap
Giulio Fidente [Tue, 8 Mar 2016 09:29:17 +0000 (10:29 +0100)]
Remove GlanceRegistry from EndpointMap

We don't need an endpoint for the glance-registry service, that is
used by glance-api when needed and is not meant to be user-facing.

Change-Id: Ia6c9dd6164d3b91adbc937d70fa74d5fbbfb28a3

8 years agoMerge "Remove default for the RabbitMQ password"
Jenkins [Fri, 18 Mar 2016 09:37:30 +0000 (09:37 +0000)]
Merge "Remove default for the RabbitMQ password"

8 years agoRemove default for the RabbitMQ password
Juan Antonio Osorio Robles [Wed, 16 Mar 2016 09:47:14 +0000 (11:47 +0200)]
Remove default for the RabbitMQ password

Since the password is now autogenerated from the tripleoclient,
there is no need to keep the default value here.

Change-Id: If41cb56134966456f8590da04f392faffe5c62a1
Closes-Bug: #1557688

8 years agoMerge "Remove forced rabbitmq::file_limit conversion to string"
Jenkins [Thu, 17 Mar 2016 21:52:33 +0000 (21:52 +0000)]
Merge "Remove forced rabbitmq::file_limit conversion to string"

8 years agoMerge "compute: use live_migration_tunnelled"
Jenkins [Wed, 16 Mar 2016 16:20:26 +0000 (16:20 +0000)]
Merge "compute: use live_migration_tunnelled"

8 years agoMerge "Install mongodb client package"
Jenkins [Tue, 15 Mar 2016 21:29:59 +0000 (21:29 +0000)]
Merge "Install mongodb client package"

8 years agoMerge "Fix typos"
Jenkins [Tue, 15 Mar 2016 21:29:22 +0000 (21:29 +0000)]
Merge "Fix typos"

8 years agoMerge "Ensure access to Redis is password protected"
Jenkins [Tue, 15 Mar 2016 15:28:30 +0000 (15:28 +0000)]
Merge "Ensure access to Redis is password protected"

8 years agocompute: use live_migration_tunnelled
Emilien Macchi [Mon, 14 Mar 2016 16:21:18 +0000 (12:21 -0400)]
compute: use live_migration_tunnelled

In a previous patch [1], we added support for VIR_MIGRATE_TUNNELLED when
doing VM shared storage.

In Nova Mitaka [2] [3], we have now a parameter called
'live_migration_tunnelled' to whether or not use tunnelled migration.
It replaces 'block_migration_flag' and 'live_migration_flag' that are
both deprecated.

[1] https://review.openstack.org/#/c/286584/
[2] https://review.openstack.org/#/c/263436/
[3] https://review.openstack.org/#/c/263434/

Change-Id: I8b199b6e72c80b2df7b679e0a20e39f8400d0478

8 years agoMerge "compute: include VIR_MIGRATE_TUNNELLED when doing VM shared storage"
Jenkins [Mon, 14 Mar 2016 15:58:03 +0000 (15:58 +0000)]
Merge "compute: include VIR_MIGRATE_TUNNELLED when doing VM shared storage"

8 years agoMerge "Keystone domain for Heat"
Jenkins [Mon, 14 Mar 2016 12:30:37 +0000 (12:30 +0000)]
Merge "Keystone domain for Heat"

8 years agoMerge "Pass public_addr to ceph::profile::params instead of ceph::mon"
Jenkins [Fri, 11 Mar 2016 15:28:20 +0000 (15:28 +0000)]
Merge "Pass public_addr to ceph::profile::params instead of ceph::mon"

8 years agoMerge "Remove unused Neutron Agents container"
Jenkins [Fri, 11 Mar 2016 13:55:03 +0000 (13:55 +0000)]
Merge "Remove unused Neutron Agents container"

8 years agoMerge "Parameterize the heat-docker-agents image"
Jenkins [Fri, 11 Mar 2016 13:54:47 +0000 (13:54 +0000)]
Merge "Parameterize the heat-docker-agents image"

8 years agoMerge "Allow the containerized compute node to spawn larger VMs"
Jenkins [Fri, 11 Mar 2016 13:54:07 +0000 (13:54 +0000)]
Merge "Allow the containerized compute node to spawn larger VMs"

8 years agoMerge "Upgrades: quiet yum upgrade on cinder nodes"
Jenkins [Fri, 11 Mar 2016 13:37:58 +0000 (13:37 +0000)]
Merge "Upgrades: quiet yum upgrade on cinder nodes"

8 years agocompute: include VIR_MIGRATE_TUNNELLED when doing VM shared storage
Emilien Macchi [Tue, 1 Mar 2016 13:24:25 +0000 (08:24 -0500)]
compute: include VIR_MIGRATE_TUNNELLED when doing VM shared storage

This patch makes sure:

* When doing shared storage
Nova is configured with block_migration_flag and live_migration_flag = '(...),VIR_MIGRATE_TUNNELLED'
flag for security improvements.

* When not doing shared storage
Nova is not configured with VIR_MIGRATE_TUNNELLED flag because it's not
supported by Qemu yet. We need to make sure the value is unset otherwise
live migration will fail when not running shared storage for VMs.

Note: this patch will be backport to stable branches. In a further
iteration, we'll probably use live_migration_tunnelled new Nova
parameter which is a simplier way to manage this feature.

Co-Authored-By: Kashyap Chamarthy <kchamart@redhat.com>
Change-Id: I557c1624ee944a32b1831d504f7b189308cd1961

8 years agoMerge "Enable predictable IPs on non-controllers"
Jenkins [Thu, 10 Mar 2016 21:51:14 +0000 (21:51 +0000)]
Merge "Enable predictable IPs on non-controllers"

8 years agoMerge "Support the deployment of Ceph over IPv6"
Jenkins [Thu, 10 Mar 2016 21:35:50 +0000 (21:35 +0000)]
Merge "Support the deployment of Ceph over IPv6"

8 years agoMerge "Fix vncproxy_host for IPv6"
Jenkins [Thu, 10 Mar 2016 21:15:50 +0000 (21:15 +0000)]
Merge "Fix vncproxy_host for IPv6"

8 years agoMerge "Allow the vnc server to bind on IPv6 address on computes"
Jenkins [Thu, 10 Mar 2016 21:15:43 +0000 (21:15 +0000)]
Merge "Allow the vnc server to bind on IPv6 address on computes"

8 years agoMerge "Surround MongoDB IPs with braces in the connection string if IPv6"
Jenkins [Thu, 10 Mar 2016 21:09:57 +0000 (21:09 +0000)]
Merge "Surround MongoDB IPs with braces in the connection string if IPv6"

8 years agoMerge "Upgrades: initialization command/snippet"
Jenkins [Thu, 10 Mar 2016 18:34:01 +0000 (18:34 +0000)]
Merge "Upgrades: initialization command/snippet"

8 years agoMerge "Add a ceph-storage node upgrade script for the upgrade workflow"
Jenkins [Thu, 10 Mar 2016 18:32:47 +0000 (18:32 +0000)]
Merge "Add a ceph-storage node upgrade script for the upgrade workflow"

8 years agoSupport the deployment of Ceph over IPv6
Giulio Fidente [Mon, 25 Jan 2016 12:05:57 +0000 (13:05 +0100)]
Support the deployment of Ceph over IPv6

To deploy Ceph on IPv6, we need to enable ms_bind_ipv6 in addition
to passing the list of MON IPs in brackets.

Change-Id: I3644b8fc06458e68574afa5573f07442f0a09190