apex-tripleo-heat-templates.git
8 years agoChanges for configuring Nuage
Lokesh Jain [Thu, 1 Oct 2015 19:57:57 +0000 (15:57 -0400)]
Changes for configuring Nuage

Added ExtraConfig templates and environment files for Nuage specific parameters.
Modified overcloud_compute.pp and overcloud_controller.pp to conditionally
include Nuage plugin and agents.

Change-Id: I95510c753b0a262c73566481f9e94279970f4a4f

8 years agoMerge "Make load balancer deployment optional via template param"
Jenkins [Thu, 26 Nov 2015 10:37:34 +0000 (10:37 +0000)]
Merge "Make load balancer deployment optional via template param"

8 years agoMerge "Add net_vip_map_external to be used for an external balancer"
Jenkins [Thu, 26 Nov 2015 10:31:31 +0000 (10:31 +0000)]
Merge "Add net_vip_map_external to be used for an external balancer"

8 years agoMinor fixes to TLS related resources
Juan Antonio Osorio Robles [Wed, 25 Nov 2015 11:23:54 +0000 (13:23 +0200)]
Minor fixes to TLS related resources

* Fixed a comment to avoid ambiguity with concepts in Heat
* Removed default values from necessary parameters in the TLS
  environment
* Simplified setting of the cert/key into a file.

Change-Id: I351778150a6fbf7affe1a0fddb1abb9869324dfc

8 years agoMake enabling of controller services configurable.
vinayrao123 [Sat, 3 Oct 2015 19:24:10 +0000 (15:24 -0400)]
Make enabling of controller services configurable.

Following parameters will be user configurable:
1. enable_dhcp_agent
2. enable_metadta_agent
3. enable_l3_agent
4. enable_ovs_agent

This change was made as the Nuage plugin does not require these
services to come up as a part of the installation.
Now, a user can explicitly disable these services using a heat
template.

Change-Id: Ic132ecbb2e81a3746f304da1cecdc66d0342db72

8 years agoDrop deprecated templates/Makefile/merge.py
Dan Prince [Wed, 25 Nov 2015 16:17:14 +0000 (11:17 -0500)]
Drop deprecated templates/Makefile/merge.py

This patch drops a bunch of deprecated stuff from
tripleo-heat-templates. Once we remove the Makefile
(which creates overcloud.yaml) we can proceed
in renaming overcloud-without-mergepy.yaml to
overcloud.yaml.

Change-Id: Ic6ab3777d19e207cae29dcbc2e3839815cd80181

8 years agoMerge "Update: clean keepalived and radvd instances after pcs cluster stop"
Jenkins [Wed, 25 Nov 2015 18:58:17 +0000 (18:58 +0000)]
Merge "Update: clean keepalived and radvd instances after pcs cluster stop"

8 years agoMerge "Output the SSL Certificate and Key modulus"
Jenkins [Wed, 25 Nov 2015 17:59:03 +0000 (17:59 +0000)]
Merge "Output the SSL Certificate and Key modulus"

8 years agoMerge "Enable trust anchor injection"
Jenkins [Wed, 25 Nov 2015 17:58:58 +0000 (17:58 +0000)]
Merge "Enable trust anchor injection"

8 years agoMerge "Inject TLS certificate and keys for the Overcloud"
Jenkins [Wed, 25 Nov 2015 17:57:38 +0000 (17:57 +0000)]
Merge "Inject TLS certificate and keys for the Overcloud"

8 years agoMerge "Fixup neutron constraints in older overclouds before updating"
Jenkins [Wed, 25 Nov 2015 14:42:10 +0000 (14:42 +0000)]
Merge "Fixup neutron constraints in older overclouds before updating"

8 years agoOutput the SSL Certificate and Key modulus
Mark Chappell [Wed, 4 Nov 2015 11:18:22 +0000 (12:18 +0100)]
Output the SSL Certificate and Key modulus

Provides a simple mechanism to verify the correct certificates
landed.

A quick and simple way to verify SSL certificates were generated for
a given key is by comparing the modulus of the two.  By outputing
the key modulus and certificate modulus we offer a way to verify
that the right cert and key have been deployed without compromising
any of the secrets.

Change-Id: I882c9840719a09795ba8057a19b0b3985e036c3c

8 years agoEnable trust anchor injection
Juan Antonio Osorio Robles [Tue, 3 Nov 2015 13:27:28 +0000 (15:27 +0200)]
Enable trust anchor injection

This commit enables the injection of a trust anchor or root
certificate into every node in the overcloud. This is in case that the
TLS certificates for the controllers are signed with a self-signed CA
or if the deployer would like to inject a relevant root certificate
for other purposes. In this case the other nodes might need to have
the root certificate in their trust chain in order to do proper
validation

Change-Id: Ia45180fe0bb979cf12d19f039dbfd22e26fb4856

8 years agoApply mongod timeout via cib-push
Giulio Fidente [Wed, 25 Nov 2015 08:45:24 +0000 (09:45 +0100)]
Apply mongod timeout via cib-push

We forgot to apply the mongod timeout in the cib dump first, to
apply it later in a single cib-push step.

Change-Id: Ib104e51782c6d3f646907cdb06c74fd4cbf9028c

8 years agoUpdate typos
Swapnil Kulkarni (coolsvap) [Tue, 24 Nov 2015 13:48:47 +0000 (19:18 +0530)]
Update typos

Change-Id: Id63c1bcfc34058eb7285698ba9bf86d1cf2025a6

8 years agoUpdate: clean keepalived and radvd instances after pcs cluster stop
Jiri Stransky [Tue, 24 Nov 2015 12:18:44 +0000 (13:18 +0100)]
Update: clean keepalived and radvd instances after pcs cluster stop

Older neutron versions have a bug which makes them leave keepalived and
radvd running even after all neutron services are stopped, preventing
neutron router failover from happening. Router can then get stuck on the
inactive node, like this:

[stack@instack ~]$ neutron l3-agent-list-hosting-router default_router
+--------------------------------------+------------------------------------+----------------+-------+----------+
| id                                   | host                               | admin_state_up | alive | ha_state |
+--------------------------------------+------------------------------------+----------------+-------+----------+
48ca9477-b93b-4305-9e6d-9f1c5d3388f0 | overcloud-controller-1.localdomain | True           | :-)   | standby  |
eba0575c-654f-4da6-b1cd-f7fdf1cd3726 | overcloud-controller-2.localdomain | True           | :-)   | standby  |
68815390-251f-4425-a5f8-38bdbf3bdb90 | overcloud-controller-0.localdomain | True           | xxx   | active   |
+--------------------------------------+------------------------------------+----------------+-------+----------+

We need to kill the leftover processes manually to prevent the state
described above from happening.

See https://review.gerrithub.io/#/c/248931

Change-Id: I2deaa176222983daa0c33ab52a6aa5dbe7365302

8 years agoMerge "Point registry at tripleoupstream"
Jenkins [Tue, 24 Nov 2015 10:21:16 +0000 (10:21 +0000)]
Merge "Point registry at tripleoupstream"

8 years agoMake load balancer deployment optional via template param
Giulio Fidente [Wed, 11 Nov 2015 12:05:20 +0000 (13:05 +0100)]
Make load balancer deployment optional via template param

Adds control over the load balancer deployment via template param.

Change-Id: I5625083ff323a87712a5fd3f9a64dd66d2838468

8 years agoAdd net_vip_map_external to be used for an external balancer
Dan Prince [Thu, 10 Sep 2015 13:30:01 +0000 (09:30 -0400)]
Add net_vip_map_external to be used for an external balancer

Changes VipMap into a new NetVipMap resource which defaults to
being the same as the 'old' VipMap. An environment file can be
used to map NetVipMap instead to the net_vip_map_external.yaml
which allows for passing in explicit Virtual IP addresses.

It also ensures that references to the Virtual IPs are gathered
from the VipMap resource and allows for an empty ControlPlaneIP
parameter in the neutron port templates where it can be.

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

8 years agoMerge "Sample environment with old ServiceNetMap value"
Jenkins [Mon, 23 Nov 2015 18:28:30 +0000 (18:28 +0000)]
Merge "Sample environment with old ServiceNetMap value"

8 years agoMerge "Implement Advanced Firewalling support"
Jenkins [Mon, 23 Nov 2015 18:22:48 +0000 (18:22 +0000)]
Merge "Implement Advanced Firewalling support"

8 years agoSample environment with old ServiceNetMap value
James Slagle [Mon, 23 Nov 2015 18:06:12 +0000 (13:06 -0500)]
Sample environment with old ServiceNetMap value

The original value for the ServiceNetMap parameter had the Keystone
Admin API service on the Internal API network. Later, it was moved to
the ctlplane network by default.

Users updating from clouds already deployed may not want to have the
service moved, and we've occassionly seen it cause issues with services
not getting restarted properly.

This sample environment file documents the old value so that users can
just optionally include it via -e to keep the services the same as they
were when they originally deployed.

Change-Id: I0b68542337a2f40e26df15fe7ac2da5aafe651d5

8 years agoFixup neutron constraints in older overclouds before updating
marios [Mon, 23 Nov 2015 08:24:00 +0000 (10:24 +0200)]
Fixup neutron constraints in older overclouds before updating

The neutron pcs constraints were reworked in
https://review.openstack.org/#/c/229466/

For overclouds deployed with older tripleo-heat-templates the
current pcs ordering constraints will not have those changes,
meaning that the behaviour discussed at
https://bugs.launchpad.net/tripleo/+bug/1501378 is likely
given we will stop and restart all services. This review
applies those, in short, remove the ovs-cleanup after
neutron-server and add openvswitch-agent instead. Detail in
the bug report and linked BZ.

Change-Id: I45822c5fe9029f11635400b7fbd386880ac80a4e
Related-Bug: 1501378

8 years agoMerge "Add constraints and timeouts from file in single step"
Jenkins [Mon, 23 Nov 2015 12:47:37 +0000 (12:47 +0000)]
Merge "Add constraints and timeouts from file in single step"

8 years agoInject TLS certificate and keys for the Overcloud
Juan Antonio Osorio Robles [Tue, 3 Nov 2015 13:19:18 +0000 (15:19 +0200)]
Inject TLS certificate and keys for the Overcloud

This is a first implementation of adding TLS termination to the load
balancer in the controllers. The implementation was made so that the
appropriate certificate/private key in PEM format is copied to the
appropriate controller(s) via a software deployment resource.

And the path is then referenced on the HAProxy configuration, but this
part was left commented out because we need to be able to configure the
keystone endpoints in order for this to work properly.

Change-Id: I0ba8e38d75a0c628d8132a66dc25a30fc5183c79

8 years agoMerge "Allows for customization of NetworkDeployment actions"
Jenkins [Mon, 23 Nov 2015 09:48:47 +0000 (09:48 +0000)]
Merge "Allows for customization of NetworkDeployment actions"

8 years agoMerge "Change default host reserved memory to 2048MB from 512MB"
Jenkins [Fri, 20 Nov 2015 20:21:03 +0000 (20:21 +0000)]
Merge "Change default host reserved memory to 2048MB from 512MB"

8 years agoAllows for customization of NetworkDeployment actions
Giulio Fidente [Fri, 20 Nov 2015 17:14:03 +0000 (18:14 +0100)]
Allows for customization of NetworkDeployment actions

We don't necessarily want the network configuration to be reapplied
with every template update so we add a param to configure on which
action the NetworkDeployment resource should be executed.

Change-Id: I0e86318eb5521e540cc567ce9d77e1060086d48b
Co-Authored-By: Dan Sneddon <dsneddon@redhat.com>
Co-Authored-By: James Slagle <jslagle@redhat.com>
Co-Authored-By: Jiri Stransky <jstransk@redhat.com>
Co-Authored-By: Steven Hardy <shardy@redhat.com>
8 years agoPoint registry at tripleoupstream
Ryan Hallisey [Fri, 20 Nov 2015 18:21:39 +0000 (13:21 -0500)]
Point registry at tripleoupstream

The tripleoupstream registry contains images that are built
every time there is a change in delorean.

The gate also needs this.

Change-Id: If460853284588f637de820afa54069f773f2e6f7

8 years agoMerge "Nova-libvirt needs to bind to /sys/fs/cgroup"
Jenkins [Fri, 20 Nov 2015 17:28:57 +0000 (17:28 +0000)]
Merge "Nova-libvirt needs to bind to /sys/fs/cgroup"

8 years agoMerge "Add local docker registry support"
Jenkins [Fri, 20 Nov 2015 17:28:48 +0000 (17:28 +0000)]
Merge "Add local docker registry support"

8 years agoMerge "Update docker compute environment to use json config"
Jenkins [Fri, 20 Nov 2015 17:26:46 +0000 (17:26 +0000)]
Merge "Update docker compute environment to use json config"

8 years agoChange default host reserved memory to 2048MB from 512MB
Joe Talerico [Thu, 19 Nov 2015 13:07:26 +0000 (08:07 -0500)]
Change default host reserved memory to 2048MB from 512MB

Results from pmap of idle nova-compute:
  https://gist.github.com/jtaleric/addd9079d6cdf4f7cf42

Results from free -m and cat /proc/meminfo:
  https://gist.github.com/jtaleric/410130f09c2aad2dc7e9

bug: https://bugzilla.redhat.com/show_bug.cgi?id=1282644
Change-Id: I9b3ceecabfdae0a516cfc72886fde7b26cc68f82

8 years agoImplement Advanced Firewalling support
Emilien Macchi [Fri, 12 Jun 2015 19:20:17 +0000 (15:20 -0400)]
Implement Advanced Firewalling support

Consume puppet-tripleo to create/manage IPtables from Heat templates.

This review put in place the logic to enable and setup firewall rules.

A known set of rules are applied. More to come.

Change-Id: Ib79c23fb27fe3fc03bf223e6922d896cb33dad22
Co-Authored-By: Yanis Guenane <yguenane@redhat.com>
Depends-On: I144c60db2a568a94dce5b51257f1d10980173325

8 years agoAdd constraints and timeouts from file in single step
Giulio Fidente [Wed, 18 Nov 2015 21:23:26 +0000 (22:23 +0100)]
Add constraints and timeouts from file in single step

To avoid pcmk reconfiguring the resources on each config change,
we want to apply the constraints and timeouts from file.

We also *do not* want to alter the timeouts for a few ocf resources
which are rabbitmq, neutron-netns-cleanup and neutron-ovs-cleanup

Change-Id: I6875f19e1f34f0fdcf0928421f49b61d857ca7c8
Co-Authored-By: Andrew Beekhof <abeekhof@redhat.com>
8 years agoMerge "Implement Neutron enable_isolated_metadata parameters"
Jenkins [Wed, 18 Nov 2015 11:24:45 +0000 (11:24 +0000)]
Merge "Implement Neutron enable_isolated_metadata parameters"

8 years agoMerge "Verify galera is sync'd in yum_update.sh"
Jenkins [Wed, 18 Nov 2015 10:53:59 +0000 (10:53 +0000)]
Merge "Verify galera is sync'd in yum_update.sh"

8 years agoMerge "neutron: enable nova-event-callback by default"
Jenkins [Tue, 17 Nov 2015 20:13:41 +0000 (20:13 +0000)]
Merge "neutron: enable nova-event-callback by default"

8 years agoMerge "Pass ceph::pool arguments when calling class"
Jenkins [Tue, 17 Nov 2015 17:41:28 +0000 (17:41 +0000)]
Merge "Pass ceph::pool arguments when calling class"

8 years agoAdded libvirt_vif_driver, ovs_bridge and security_group_api parameters
Lokesh Jain [Wed, 30 Sep 2015 21:41:32 +0000 (17:41 -0400)]
Added libvirt_vif_driver, ovs_bridge and security_group_api parameters

Made libvirt_vif_driver, ovs_bridge and security_group_api parameters
in nova as configurable parameters through heat templates
Change-Id: I3f355c31a64912baa1a159d59f0fa9089f77b8f4

8 years agoneutron: enable nova-event-callback by default
Emilien Macchi [Mon, 21 Sep 2015 17:46:02 +0000 (13:46 -0400)]
neutron: enable nova-event-callback by default

* Add NovaApiVirtualIP string parameter.
* Compute nova_url and nova_admin_auth_url parameters.
* Configure in Hiera neutron::server::notifications::* parameters.
* non-ha: include ::neutron::server::notifications
* ha: include ::neutron::server::notifications and create orchestration
* Set vif_plugging_is_fatal to True so we actually fail if Neutron is not
  able to create the VIF during Nova server creation workflow.

Depends-On: I21dc10396e92906eab4651c318aa2ee62a8e03c7
Change-Id: I02e41f87404e0030d488476680af2f6d45af94ff

8 years agoImplement Neutron enable_isolated_metadata parameters
Cyril Lopez [Tue, 20 Oct 2015 07:48:49 +0000 (09:48 +0200)]
Implement Neutron enable_isolated_metadata parameters

* Use the parameter in Puppet configuration (Hiera) to configure neutron

BZ-1273303

Change-Id: Ic5a7a1f13fd2bc800cadc3a78b1daadbc0394787
Signed-off-by: Cyril Lopez <cylopez@redhat.com>
8 years agoVerify galera is sync'd in yum_update.sh
James Slagle [Wed, 11 Nov 2015 20:54:25 +0000 (15:54 -0500)]
Verify galera is sync'd in yum_update.sh

When the cluster is brought back online after a yum update in
yum_update.sh, we should verify that galera is fully sync'd before
moving on. This ensures the sync is complete before moving on to update
any other nodes in the cluster.

Change-Id: Ie8fc2c5d5214deacea94ca658ac75359b318ced1

8 years agoMerge "Add support for enabling L2 population in Neutron"
Jenkins [Tue, 17 Nov 2015 15:40:44 +0000 (15:40 +0000)]
Merge "Add support for enabling L2 population in Neutron"

8 years agoMerge "Add simple linux bridge as network environment"
Jenkins [Tue, 17 Nov 2015 12:47:20 +0000 (12:47 +0000)]
Merge "Add simple linux bridge as network environment"

8 years agoAdd simple linux bridge as network environment
Jaume Devesa [Tue, 10 Nov 2015 10:45:22 +0000 (10:45 +0000)]
Add simple linux bridge as network environment

Create a bridge for the overcloud services using linux bridge instead of
openvswitch. Some SDNs may be incompatible with openvswitch datapath.

Change-Id: I873368e74ddfd95bf5c6e1f88cec33ba011e09dd

8 years agoAdd support for enabling L2 population in Neutron
Brent Eagles [Thu, 12 Nov 2015 14:56:53 +0000 (11:26 -0330)]
Add support for enabling L2 population in Neutron

This change adds support for enabling/disabling L2 population in
Neutron agents. It currently defaults to false.

Change-Id: I3dd19feb4acb1046bc560b35e5a7a111364ea0d7

8 years agoMerge "Add environment for isolated networks without tunneling VLAN"
Jenkins [Mon, 16 Nov 2015 14:08:12 +0000 (14:08 +0000)]
Merge "Add environment for isolated networks without tunneling VLAN"

8 years agoMerge "Support network isolation without external nets"
Jenkins [Mon, 16 Nov 2015 14:05:41 +0000 (14:05 +0000)]
Merge "Support network isolation without external nets"

8 years agoMerge "Add the GlanceRegistry and Horizon endpoints to EndpointMap"
Jenkins [Mon, 16 Nov 2015 14:01:53 +0000 (14:01 +0000)]
Merge "Add the GlanceRegistry and Horizon endpoints to EndpointMap"

8 years agoMerge "Expose the IP of the Endpoints"
Jenkins [Mon, 16 Nov 2015 14:00:50 +0000 (14:00 +0000)]
Merge "Expose the IP of the Endpoints"

8 years agoMerge "Make CloudName available for Endpoints"
Jenkins [Mon, 16 Nov 2015 13:59:19 +0000 (13:59 +0000)]
Merge "Make CloudName available for Endpoints"

8 years agoMake all network ports type to consume FixedIPs
Giulio Fidente [Mon, 16 Nov 2015 12:49:00 +0000 (13:49 +0100)]
Make all network ports type to consume FixedIPs

This change adds to the internal_api, storage, storage_mgmt and
tenant network ports the FixedIPs param and make them consume it
when passed.

Change-Id: Ica2bca9f573b206cc60c9d572224a8cc7b9b8aa4

8 years agoMerge "Bump further the stop/start timeout for pcmk/systemd services"
Jenkins [Mon, 16 Nov 2015 10:17:43 +0000 (10:17 +0000)]
Merge "Bump further the stop/start timeout for pcmk/systemd services"

8 years agoMerge "Set start/stop pacemaker resource timeouts for updates"
Jenkins [Mon, 16 Nov 2015 09:49:58 +0000 (09:49 +0000)]
Merge "Set start/stop pacemaker resource timeouts for updates"

8 years agoMerge "Add missing constraints in yum_update.sh"
Jenkins [Mon, 16 Nov 2015 09:47:55 +0000 (09:47 +0000)]
Merge "Add missing constraints in yum_update.sh"

8 years agoMerge "honor the rabbit user and password provided"
Jenkins [Fri, 13 Nov 2015 21:43:51 +0000 (21:43 +0000)]
Merge "honor the rabbit user and password provided"

8 years agoMerge "Fix cinder error when CinderNfsMountOptions option is absent"
Jenkins [Fri, 13 Nov 2015 18:46:51 +0000 (18:46 +0000)]
Merge "Fix cinder error when CinderNfsMountOptions option is absent"

8 years agoPass ceph::pool arguments when calling class
Giulio Fidente [Wed, 11 Nov 2015 10:51:23 +0000 (11:51 +0100)]
Pass ceph::pool arguments when calling class

Pass the ceph::pool properties as arguments to the class call
instead of setting them as class defaults.

Ceph recommends max 32 PGs and min 4 PGs per OSD so this change
also lowers the defaults to 32 which works with 1 OSD, suits well
a scenario with 3 OSDs and is easy to customize in the static
hiera if more than 8 OSDs are deployed.

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

Change-Id: Ifed11d1857900b2251dfdf69d6b6f168150e6330

8 years agoMerge "Refacter Endpoints into EndpointMap"
Jenkins [Fri, 13 Nov 2015 17:53:30 +0000 (17:53 +0000)]
Merge "Refacter Endpoints into EndpointMap"

8 years agoMerge "Add DeployIdentifier overcloud parameter"
Jenkins [Fri, 13 Nov 2015 17:26:34 +0000 (17:26 +0000)]
Merge "Add DeployIdentifier overcloud parameter"

8 years agoFix cinder error when CinderNfsMountOptions option is absent
Pierre Blanc [Fri, 13 Nov 2015 16:28:54 +0000 (11:28 -0500)]
Fix cinder error when CinderNfsMountOptions option is absent

When I deploy director with NFS backend for cinder,
sometimes I don't need nfs mount options.
If I choose to omit this option, or if the option
is defined to '', the deployment fails.

This patch add just a default value for this option.

Change-Id: Idf708aaecebd5c6db14f48ad2a53d6c2453be5ee
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1281870

8 years agoSet start/stop pacemaker resource timeouts for updates
Jiri Stransky [Fri, 13 Nov 2015 14:12:54 +0000 (15:12 +0100)]
Set start/stop pacemaker resource timeouts for updates

This matches change I6fc18f1ad876c5a25723710a3b20d8ec9519dcba, but we
need it to set it before attempting the cluster stop - yum update -
cluster start cycle, to make sure this cycle doesn't hit the low timeout
limits.

This can be removed once updates from deployments made prior to
I6fc18f1ad876c5a25723710a3b20d8ec9519dcba are no longer supported.

Change-Id: I587136d8d045d213875c657ea5a405074f80c8ad

8 years agoBump further the stop/start timeout for pcmk/systemd services
Giulio Fidente [Fri, 13 Nov 2015 14:00:30 +0000 (15:00 +0100)]
Bump further the stop/start timeout for pcmk/systemd services

This bumps further up the stop/start timeout for the pcmk/systemd
services so that it matches the 100s default set in future pcmk
versions [1].

1. https://github.com/ClusterLabs/pacemaker/commit/17d65e9f44061a4fa14a9cddd6edc403b2d6d2b3

Change-Id: I6fc18f1ad876c5a25723710a3b20d8ec9519dcba

8 years agoEnable Equallogic Backends in Cinder
rajinir [Fri, 6 Nov 2015 21:28:16 +0000 (15:28 -0600)]
Enable Equallogic Backends in Cinder

Enables support for configuring Cinder with a Dell
Equallogic storage backend.
This change adds all relevant parameters for:
 - Equallogic PS-Series (iSCSI)

Change-Id: Ia0f71863cfb12f2cdda43dcf707a9a7145963001

8 years agoMerge "Pin docker version for atomic at 1.8.2"
Jenkins [Thu, 12 Nov 2015 15:57:14 +0000 (15:57 +0000)]
Merge "Pin docker version for atomic at 1.8.2"

8 years agoMerge "Set default start/stop timeout for pcmk services to 95s"
Jenkins [Thu, 12 Nov 2015 11:02:55 +0000 (11:02 +0000)]
Merge "Set default start/stop timeout for pcmk services to 95s"

8 years agoMerge "Change default bond-mode"
Jenkins [Thu, 12 Nov 2015 10:24:46 +0000 (10:24 +0000)]
Merge "Change default bond-mode"

8 years agoAdd DeployIdentifier overcloud parameter
Dan Prince [Wed, 11 Nov 2015 22:46:50 +0000 (17:46 -0500)]
Add DeployIdentifier overcloud parameter

We've heard from end users that it is confusing that puppet
isn't re-executed on a heat stack-update.

This patch adds a new DeployIdentifier parameter which
we can set via client tooling (tripleoclient) to a unique
value so that on each heat stack-update we always execute
all of our configuration deployments.

Change-Id: Ic352ddd30807dc378e5e7b6c396bc53f5d6d5622
Related-bug: #1505430

8 years agoChange default bond-mode
Joe Talerico [Thu, 22 Oct 2015 17:47:04 +0000 (13:47 -0400)]
Change default bond-mode

The default balance-tcp is causing issues with deployments.
Defaulting to active-backup.

After ~ 100 guests (total) connectivity to each guest would become spotty
(simple pings would fail, then become successful.) In /var/log/messages
we saw :
"overcloud-controller-1 kernel: openvswitch: ovs-system: deferred action
limit reached, drop recirc action"

For more details, refer to this link:
http://openvswitch.org/pipermail/discuss/2015-October/019168.html

Change-Id: Ia0f2592a289e13472b98d97057cd516c5048fe59

8 years agoAdd missing constraints in yum_update.sh
James Slagle [Wed, 11 Nov 2015 20:46:52 +0000 (15:46 -0500)]
Add missing constraints in yum_update.sh

Some missing pacemaker constraints were added in the following commits:

https://review.openstack.org/#/c/219770/
https://review.openstack.org/#/c/219665/
https://review.openstack.org/#/c/218931/
https://review.openstack.org/#/c/218930/

Overclouds that were deployed prior to these constraints being added to
tripleo-heat-templates still have the constraints missing. During an
update, stopping and starting the cluster can fail without these
constraints in place.  As a workaround, conditionally add these
contraints in yum_update.sh so that we're sure they're always present
before updating.

Change-Id: Id46c85dbbe5e85d362279661091b17ce1b697fe0

8 years agoMerge "Allow customization of Ceph client user"
Jenkins [Wed, 11 Nov 2015 15:29:28 +0000 (15:29 +0000)]
Merge "Allow customization of Ceph client user"

8 years agoMerge "Allow a user to specify a comma separated list of ntp servers"
Jenkins [Wed, 11 Nov 2015 10:44:05 +0000 (10:44 +0000)]
Merge "Allow a user to specify a comma separated list of ntp servers"

8 years agoAdd the GlanceRegistry and Horizon endpoints to EndpointMap
Mark Chappell [Tue, 3 Nov 2015 16:15:46 +0000 (17:15 +0100)]
Add the GlanceRegistry and Horizon endpoints to EndpointMap

We need to pass details of the Glance Registry and public Horizon
endpoints to the load balancers so add them to the EndpointMap

Change-Id: Ia6261223e7701734f47ce48471c86f690ba3dcd5

8 years agoExpose the IP of the Endpoints
Mark Chappell [Tue, 3 Nov 2015 16:14:04 +0000 (17:14 +0100)]
Expose the IP of the Endpoints

We expose all of the other parameters, so expose the IP too for
consistency

Change-Id: I5c31befde51e398318c7b8c744310212288ad892

8 years agoMake CloudName available for Endpoints
Mark Chappell [Wed, 28 Oct 2015 14:30:41 +0000 (15:30 +0100)]
Make CloudName available for Endpoints

CloudName is the DNS name for the public VIP this means we will likely
want it available for use in the endpoint hostnames, rather than people
needing to copy and paste the same hostname

Change-Id: Ic6d708b083244442195eee890de91bbc7e133ec2

8 years agoRefacter Endpoints into EndpointMap
Mark Chappell [Tue, 3 Nov 2015 13:29:57 +0000 (15:29 +0200)]
Refacter Endpoints into EndpointMap

Because many of the service endpoints URLs use the same patterns for
generating the URLs it makes sense to use the same templates to reduce
the copy and paste.

In the process also adds support for explicitly specifying hostnames
for use in the endpoints.  Note: DNS must be pre-configured.   The
Heat templates do not directly configure DNS.

Change-Id: Ie3270909beca3d63f2d7e4bcb04c559380ddc54d
Co-Authored-By: Juan Antonio Osorio Robles <jaosorior@redhat.com>
8 years agoMerge "Enable glance-api show_image_direct_url for COW"
Jenkins [Wed, 11 Nov 2015 02:32:30 +0000 (02:32 +0000)]
Merge "Enable glance-api show_image_direct_url for COW"

8 years agoMerge "Revert "Manage keystone initialization directly in t-h-t manifests""
Jenkins [Wed, 11 Nov 2015 02:21:17 +0000 (02:21 +0000)]
Merge "Revert "Manage keystone initialization directly in t-h-t manifests""

8 years agoMerge "Align some defaults with with ControllerCount default"
Jenkins [Wed, 11 Nov 2015 02:07:22 +0000 (02:07 +0000)]
Merge "Align some defaults with with ControllerCount default"

8 years agoMerge "Allow customization of the Ceph pool names"
Jenkins [Tue, 10 Nov 2015 23:22:03 +0000 (23:22 +0000)]
Merge "Allow customization of the Ceph pool names"

8 years agoChange the Atomic image name so it's less specific
Ryan Hallisey [Tue, 10 Nov 2015 18:28:30 +0000 (13:28 -0500)]
Change the Atomic image name so it's less specific

The atomic image name in glance was being set to 'fedora-atomic'.
The glance image can be any form of atomic distro so we shouldn't
name this specifically 'fedora-atomic', but instead 'atomic-image'.

Change-Id: Ic539b82b92e3fdd834750e591d8622b7dc85fc6d

8 years agoNova-libvirt needs to bind to /sys/fs/cgroup
Ryan Hallisey [Tue, 3 Nov 2015 21:17:57 +0000 (21:17 +0000)]
Nova-libvirt needs to bind to /sys/fs/cgroup

Nova-compute was mounting in /sys/fs/cgroup when the libvirt
container is the one that actually needs it.

Change-Id: Iae5c7ad24083a8547474611d72f015c4fd23a073

8 years agohonor the rabbit user and password provided
Mike Burns [Tue, 10 Nov 2015 18:06:58 +0000 (13:06 -0500)]
honor the rabbit user and password provided

Currently rabbit username and password are defaulted and attempting
to use anything else would result in a failure during deployment.

Change-Id: I8a2e240a19f915309eee45ea3c3368d131af6c1b
Related:  rhbz#1261303

8 years agoSet default start/stop timeout for pcmk services to 95s
Giulio Fidente [Wed, 4 Nov 2015 11:19:50 +0000 (12:19 +0100)]
Set default start/stop timeout for pcmk services to 95s

This change will increase the default start/stop timeout for all
the non-ocf pcmk services to 95s to make sure it allows for at
least 90s to the systemd script to complete the start/stop.

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

Change-Id: I04f691396a4118b456728a43d71d32ac9a556431

8 years agoPin docker version for atomic at 1.8.2
Jeff Peeler [Mon, 9 Nov 2015 22:40:19 +0000 (17:40 -0500)]
Pin docker version for atomic at 1.8.2

docker-latest now points to 1.9.0, which isn't the version we're
targetting. More importantly, docker-1.9.0 doesn't work since it
complains about /etc not being able to be relabeled. Not sure how to fix
that, but we can save that battle for another time.

Change-Id: I947b7569d9cf40a409253336e51b4dec5ada36f8

8 years agoFix the wrong selinux context when glance uses nfs backend
Pierre Blanc [Thu, 5 Nov 2015 19:36:18 +0000 (14:36 -0500)]
Fix the wrong selinux context when glance uses nfs backend

We updated the pacemaker resource configuration
of fs-varlibglanceimages-clone to mount nfs directory
with a specified context.

Details on : https://bugzilla.redhat.com/show_bug.cgi?id=1237150

Change-Id: Ia0dd471858f470ae3e82d25151ebe65b8cdbec4f

8 years agoMerge "Make puppet manifests compliant with Puppet 4.x"
Jenkins [Mon, 9 Nov 2015 18:32:30 +0000 (18:32 +0000)]
Merge "Make puppet manifests compliant with Puppet 4.x"

8 years agoMerge "Add Puppet 4.x lint checks"
Jenkins [Mon, 9 Nov 2015 18:32:21 +0000 (18:32 +0000)]
Merge "Add Puppet 4.x lint checks"

8 years agoAdd support to tag patch port for Cisco Nexus1000v VSM bringup
Shiva Prasad Rao [Thu, 5 Nov 2015 23:40:26 +0000 (15:40 -0800)]
Add support to tag patch port for Cisco Nexus1000v VSM bringup

In some deployments we will need to tag the patch port connecting to
vsm-br in order for traffic to go out. This patch takes passes the vlan
parameter to the puppet.

Change-Id: I18734ae39007985769db9371abe1740e0f2872f7

8 years agoAllow customization of Ceph client user
Giulio Fidente [Thu, 13 Aug 2015 18:10:29 +0000 (20:10 +0200)]
Allow customization of Ceph client user

Previously we enforced the Ceph user used by the OpenStack clients
to be named 'openstack', this change allows for customization
of such a name.

Change-Id: Idef3e1ed4e8e21b645081869b8d6fad2329bdc60

8 years agoAllow customization of the Ceph pool names
Giulio Fidente [Thu, 13 Aug 2015 17:04:17 +0000 (19:04 +0200)]
Allow customization of the Ceph pool names

This is useful in those scenarios were we want to use an external
Ceph deployment with multiple overclouds.

Change-Id: I1749d2a6547f6ce25843709e46a1447e8d42cfff

8 years agoMerge "Add network templates for multiple NIC configuration"
Jenkins [Thu, 5 Nov 2015 16:42:15 +0000 (16:42 +0000)]
Merge "Add network templates for multiple NIC configuration"

8 years agoMake puppet manifests compliant with Puppet 4.x
Gael Chamoulaud [Mon, 21 Sep 2015 13:14:27 +0000 (15:14 +0200)]
Make puppet manifests compliant with Puppet 4.x

- https://docs.puppetlabs.com/puppet/3.8/reference/deprecated_language.html
- Temporary disablement of the pupppet-lint autoload layout check
  failing for ringbuilder.pp. A fix for that will be part of an other patch.

Change-Id: I495825641ab12e7c5789c1405649c356c5bb8051
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
8 years agoAdd Puppet 4.x lint checks
Gael Chamoulaud [Tue, 13 Oct 2015 11:15:15 +0000 (13:15 +0200)]
Add Puppet 4.x lint checks

- This change adds Puppet-lint bits for checking Puppet manifests.

Change-Id: I82869d8f9f6c64ac2a95429f453c3cb76c046974
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
8 years agoAdd network templates for multiple NIC configuration
Dan Sneddon [Wed, 22 Jul 2015 08:34:07 +0000 (01:34 -0700)]
Add network templates for multiple NIC configuration

This change adds a set of network interface configurations for use
with network isolation. The multiple-nics templates includes one
separate NIC per network, and assumes that nic1 is used for the
provisioning network (ctlplane). Also included is an environment
file for including the multiple-nics configuration in a deployment.

This revision changes the ordering of the NICs. By doing that, it
is possible to wire up only a subset of the NICs for the storage
nodes, and it is possilbe to leave the External NIC only configured
on the controllers.

rdo: Updated this commit for static control plane configuration

Co-Authored-By: Rhys Oxenham <roxenham@redhat.com>
Change-Id: Ic878d1ed1a85b5705295d087a743570ca8213504

8 years agoMerge "compute/ceilometer: use internalURL for os endpoint type"
Jenkins [Thu, 5 Nov 2015 14:08:34 +0000 (14:08 +0000)]
Merge "compute/ceilometer: use internalURL for os endpoint type"

8 years agoMerge "Fix dependency for Ceilometer agent when using MySQL"
Jenkins [Thu, 5 Nov 2015 09:53:19 +0000 (09:53 +0000)]
Merge "Fix dependency for Ceilometer agent when using MySQL"

8 years agoMerge "Do not enforce start timeout to 90s for neutron-server"
Jenkins [Wed, 4 Nov 2015 21:29:43 +0000 (21:29 +0000)]
Merge "Do not enforce start timeout to 90s for neutron-server"

8 years agoRevert "Manage keystone initialization directly in t-h-t manifests"
Ben Nemec [Wed, 4 Nov 2015 16:55:34 +0000 (16:55 +0000)]
Revert "Manage keystone initialization directly in t-h-t manifests"

This reverts commit 86d6c1ddc76bad423194e789ffb5474e4e12960e.

This likely has an impact on upgrades, and since we don't
have an upgrade CI job yet I'm concerned that we may have
just broken ourselves.  I would prefer to wait to merge this
until the CI job is in place.

Change-Id: Ib2366cb4b40471a28122f6e9955da9bdb31a53fb