apex-tripleo-heat-templates.git
8 years agoMerge "Adding ManagementIpSubnet to linux bridge net conf"
Jenkins [Thu, 7 Jan 2016 23:58:46 +0000 (23:58 +0000)]
Merge "Adding ManagementIpSubnet to linux bridge net conf"

8 years agoMerge "Use new heat-docker-agents images"
Jenkins [Thu, 7 Jan 2016 17:30:24 +0000 (17:30 +0000)]
Merge "Use new heat-docker-agents images"

8 years agoMerge "Remove deleted Cinder rows"
Jenkins [Thu, 7 Jan 2016 17:23:10 +0000 (17:23 +0000)]
Merge "Remove deleted Cinder rows"

8 years agoMerge "Add TimeZone parameter for all node types"
Jenkins [Thu, 7 Jan 2016 11:56:58 +0000 (11:56 +0000)]
Merge "Add TimeZone parameter for all node types"

8 years agoMerge "Enable configuration of Neutron QoS"
Jenkins [Thu, 7 Jan 2016 11:40:01 +0000 (11:40 +0000)]
Merge "Enable configuration of Neutron QoS"

8 years agoEnable configuration of Neutron QoS
Brent Eagles [Wed, 18 Nov 2015 17:25:26 +0000 (13:55 -0330)]
Enable configuration of Neutron QoS

This change adds support for setting the configuration options required
to enable the quality of service feature in Neutron. The default values
will enable the feature.

Closes-Bug: #1524052

Depends-On: Iefc289a6eee13b9c66f8131c258af982f232df4b

Change-Id: I1abf7d37d39e6927e482b56de4ee3d3d7c313a1c

8 years agoEnable Dell Storage Center iscsi Backends in Cinder
rajinir [Thu, 12 Nov 2015 22:50:39 +0000 (16:50 -0600)]
Enable Dell Storage Center iscsi Backends in Cinder

Enables support for configuring Cinder with a Dell
Storage Center iscsi storage backend.
This change adds all relevant parameters for:
 - Dell Storage Center SC Series (iSCSI)

Change-Id: I3b1a4346f494139ab123c7dc1a62f81d03c9e728

8 years agoMerge "Enable Equallogic Backends in Cinder"
Jenkins [Wed, 6 Jan 2016 16:40:40 +0000 (16:40 +0000)]
Merge "Enable Equallogic Backends in Cinder"

8 years agoMerge "Ensure cluster remains stable during services restarts"
Jenkins [Wed, 6 Jan 2016 12:55:46 +0000 (12:55 +0000)]
Merge "Ensure cluster remains stable during services restarts"

8 years agoMerge "Bump the pacemaker service op_params to 200s for start and stop"
Jenkins [Wed, 6 Jan 2016 12:18:31 +0000 (12:18 +0000)]
Merge "Bump the pacemaker service op_params to 200s for start and stop"

8 years agoRemove deleted Cinder rows
Martin Mágr [Tue, 4 Aug 2015 12:00:11 +0000 (14:00 +0200)]
Remove deleted Cinder rows

Creates cron job running every 24 hours
for "cinder-manage db purge"

Partial-bug: rhbz#1249106
Change-Id: I9156e0bf1401eda49a7c9a2921dc3a8723af026d
Depends-On: I677f2ef3d9ca81fff0f672c8e34b6e4278674a96

8 years agoMerge "Align template defaults with the client"
Jenkins [Wed, 6 Jan 2016 09:04:18 +0000 (09:04 +0000)]
Merge "Align template defaults with the client"

8 years agoBump the pacemaker service op_params to 200s for start and stop
marios [Tue, 5 Jan 2016 13:35:31 +0000 (15:35 +0200)]
Bump the pacemaker service op_params to 200s for start and stop

Based on observed timeouts during updates bump the stop and start
timeouts for pacemaker service resources (via op_params) to 200.
This is based on the reasoning that the full timeout may be as
long as two elapsed timeout intervals. After an initial timeout,
the sigterm that follows is then allowed another
DefaultTimeoutStopSec seconds. The 200s is produced by allowing
this 2xDefaultTimeoutStopSec (@90s for systemd) and some
scheduling delta. Many thanks to Michele Baldessari.

Closes-Bug: 1531204
Change-Id: If6b43982c958f63bc78ad997400bf1279c23df7e

8 years agoMerge "Remove deleted Nova rows"
Jenkins [Tue, 5 Jan 2016 15:21:01 +0000 (15:21 +0000)]
Merge "Remove deleted Nova rows"

8 years agoEnsure cluster remains stable during services restarts
Giulio Fidente [Fri, 18 Dec 2015 16:36:25 +0000 (17:36 +0100)]
Ensure cluster remains stable during services restarts

Using crm_resource --wait we wait for the cluster to get into
a stable state before moving into the next step of the piloted
restart procedure.

Change-Id: I80199653024383fd07900dad0b8d23fb8afade26
Co-Authored-By: Jiri Stransky <jistr@redhat.com>
8 years agoUse new heat-docker-agents images
Ryan Hallisey [Fri, 4 Dec 2015 14:14:50 +0000 (14:14 +0000)]
Use new heat-docker-agents images

Hosted at tripleoupstream/heat-docker-agents.

Change-Id: I2133a7cb789a34c60b87339d816d29d353cb015f

8 years agoMerge "Network Isolation support for containerized compute"
Jenkins [Tue, 5 Jan 2016 13:10:26 +0000 (13:10 +0000)]
Merge "Network Isolation support for containerized compute"

8 years agoAdd TimeZone parameter for all node types
Nico Auv [Wed, 25 Nov 2015 15:34:48 +0000 (16:34 +0100)]
Add TimeZone parameter for all node types

Adds a TimeZone parameter for node types and the top level
stack. Defaults to UTC.

Change-Id: I98123d894ce429c34744233fe3e631cbdd7c12b5
Depends-On: Icf7c681f359e3e48b653ea4648db6a73b532d45e

8 years agoAdding ManagementIpSubnet to linux bridge net conf
Jaume Devesa [Tue, 5 Jan 2016 10:38:15 +0000 (10:38 +0000)]
Adding ManagementIpSubnet to linux bridge net conf

Because of the new ManagementIpSubnet parameter (introduced by the
15bb6726 commit), the net-config-linux-bridge network configuration file
must be updated.

Change-Id: I020692eedd9a96e28d0b871e2c27b4f0ee87e3fa

8 years agoMerge "Wait for cluster to settle in yum_update.sh"
Jenkins [Tue, 5 Jan 2016 10:19:15 +0000 (10:19 +0000)]
Merge "Wait for cluster to settle in yum_update.sh"

8 years agoNetwork Isolation support for containerized compute
Ryan Hallisey [Mon, 7 Dec 2015 16:57:21 +0000 (11:57 -0500)]
Network Isolation support for containerized compute

The template will all neutron-agents to be configured so that it can
run the network isolation templates on the containerized compute node.

Co-Authored-By: Dan Prince <dpince@redhat.com>
Change-Id: I7837ed7ed3e807ec5c1276904893695918bef293

8 years agoMerge "Convert JSON generations from bash to python"
Jenkins [Mon, 4 Jan 2016 19:04:12 +0000 (19:04 +0000)]
Merge "Convert JSON generations from bash to python"

8 years agoWait for cluster to settle in yum_update.sh
Jiri Stransky [Thu, 17 Dec 2015 13:40:15 +0000 (14:40 +0100)]
Wait for cluster to settle in yum_update.sh

Occasionally we hit "Error: unable to push cib" during update. This is
probably due to the fact that when we try to replace cib in
yum_update.sh, services on the previous updated controller are still
coming up and changing cib, and racing/conflicting with the cib push
from yum_update.sh.

This commit adds waiting for the cluster to settle before exiting from
yum_update.sh, to avoid this kind of conflict.

Also a check for cib-push success is added, to make the update fail
properly instead of hanging indefinitely as we've observed with this
issue.

Change-Id: I953087e0e565474ac553fd57bea2459d2e3a6081
Closes-Bug: #1527644

8 years agoRemove deleted Nova rows
Martin Mágr [Fri, 31 Jul 2015 14:01:56 +0000 (16:01 +0200)]
Remove deleted Nova rows

Creates cron job running every twelve hours
for "nova-manage db archive_deleted_rows"

Partial-bug: rhbz#1249106
Depends-On: Ic674f4d39bc88f89abfeb0ce99a571c2534e57e4
Change-Id: I4740cc02aa9714f48798521fe9918ac3487db031

8 years agoMerge "Enable TLS in loadbalancer if cert path is detected"
Jenkins [Tue, 29 Dec 2015 06:34:27 +0000 (06:34 +0000)]
Merge "Enable TLS in loadbalancer if cert path is detected"

8 years agoMerge "Add all isolated networks to all nodes."
Jenkins [Wed, 23 Dec 2015 17:29:37 +0000 (17:29 +0000)]
Merge "Add all isolated networks to all nodes."

8 years agoMerge "Add Management Network For System Administration."
Jenkins [Wed, 23 Dec 2015 17:27:25 +0000 (17:27 +0000)]
Merge "Add Management Network For System Administration."

8 years agoMerge "Remove unsafe "unset" defaults"
Jenkins [Wed, 23 Dec 2015 16:37:17 +0000 (16:37 +0000)]
Merge "Remove unsafe "unset" defaults"

8 years agoMerge "Fix description of control plane route parameter"
Jenkins [Tue, 22 Dec 2015 21:55:42 +0000 (21:55 +0000)]
Merge "Fix description of control plane route parameter"

8 years agoMerge "Add sample environment file to document usage of predictable IPs"
Jenkins [Tue, 22 Dec 2015 21:31:44 +0000 (21:31 +0000)]
Merge "Add sample environment file to document usage of predictable IPs"

8 years agoMerge "MidoNet heat templates"
Jenkins [Tue, 22 Dec 2015 07:45:33 +0000 (07:45 +0000)]
Merge "MidoNet heat templates"

8 years agoMerge "Add SoftwareConfigTransport for switching transports"
Jenkins [Mon, 21 Dec 2015 20:27:10 +0000 (20:27 +0000)]
Merge "Add SoftwareConfigTransport for switching transports"

8 years agoMidoNet heat templates
Jaume Devesa [Sat, 17 Oct 2015 16:30:36 +0000 (16:30 +0000)]
MidoNet heat templates

Deploy a TripleO overcloud with networking midonet. MidoNet is a
monolithic plugin and quite changes on the puppet manifest must be done.

Depends-On: I72f21036fda795b54312a7d39f04c30bbf16c41b
Depends-On: I6f1ac659297b8cf6671e11ad23284f8f543568b0
Depends-On: Icea9bd96e4c80a26b9e813d383f84099c736d7bf
Change-Id: I9692e2ef566ea37e0235a6059b1ae1ceeb9725ba

8 years agoAdd all isolated networks to all nodes.
Dan Sneddon [Tue, 24 Nov 2015 17:08:01 +0000 (09:08 -0800)]
Add all isolated networks to all nodes.

This change allows every overcloud node to optionally participate in
any of the isolated networks. The optional networks are not enabled
by default, but allow additional flexibility. Since the new networks
are not enabled by default, the standared deployment is unchanged.
This change was originally requested for OpenDaylight support.

There are several use cases for using non-standard networks.
For instance, one example might be adding the Internal API network
to the Ceph nodes, in order to use that network for administrative
functions. Another example would be adding the Storage Management
network to the compute nodes, in order to use it for backup. Without
this change, any deviation from the standard set of roles that use a
network is a custom change to the Heat templates, which makes
upgrades much more difficult.

Change-Id: Ia386c964aa0ef79e457821d8d96ebb8ac2847231

8 years agoAdd Management Network For System Administration.
Dan Sneddon [Mon, 21 Sep 2015 20:41:21 +0000 (13:41 -0700)]
Add Management Network For System Administration.

This change adds a system management network to all overcloud
nodes. The purpose of this network is for system administration,
for access to infrastructure services like DNS or NTP, or for
monitoring. This allows the management network to be placed on a
bond for redundancy, or for the system management network to be
an out-of-band network with no routing in or out. The management
network might also be configured as a default route instead of the
provisioning 'ctlplane' network.

This change does not enable the management network by default. An
environment file named network-management.yaml may be included to
enable the network and ports for each role. The included NIC config
templates have been updated with a block that may be uncommented
when the management network is enabled.

This change also contains some minor cleanup to the NIC templates,
particularly the multiple nic templates.

Change-Id: I0813a13f60a4f797be04b34258a2cffa9ea7e84f

8 years agoAlign template defaults with the client
Giulio Fidente [Mon, 14 Dec 2015 19:08:46 +0000 (20:08 +0100)]
Align template defaults with the client

This aligns the parameter default values from python-tripleoclient
with tripleo-heat-templates. This is in preparation for removing
all the defaults from the client, and maintaining them only in the
templates.

Change-Id: I7b635a250f1ecc170e18d8e434f0118c6fcbb942
Co-Authored-By: James Slagle <jslagle@redhat.com>
8 years agoMerge "Fix typo in HostsEntry output description"
Jenkins [Fri, 18 Dec 2015 11:00:33 +0000 (11:00 +0000)]
Merge "Fix typo in HostsEntry output description"

8 years agoMerge "Allow for usage of pre-allocated IPs for the controller nodes"
Jenkins [Fri, 18 Dec 2015 10:22:39 +0000 (10:22 +0000)]
Merge "Allow for usage of pre-allocated IPs for the controller nodes"

8 years agoConvert JSON generations from bash to python
Ryan Hallisey [Thu, 3 Dec 2015 18:54:30 +0000 (18:54 +0000)]
Convert JSON generations from bash to python

Python script in the heat template will handle JSON generation
for the containers.

Change-Id: I296fd4a4948f3f937e3a108bc926af6415b350c4

8 years agoMerge "Add fixup for pcs order constraints after update to new templates"
Jenkins [Thu, 17 Dec 2015 18:15:38 +0000 (18:15 +0000)]
Merge "Add fixup for pcs order constraints after update to new templates"

8 years agoMerge "pacemaker: run neutron-server-start-wait-stop only at step 4"
Jenkins [Thu, 17 Dec 2015 18:14:06 +0000 (18:14 +0000)]
Merge "pacemaker: run neutron-server-start-wait-stop only at step 4"

8 years agoMerge "Implement Workers parameters"
Jenkins [Thu, 17 Dec 2015 18:13:58 +0000 (18:13 +0000)]
Merge "Implement Workers parameters"

8 years agoMerge "Wire Neutron ML2 plugin and OVS agent settings as arrays"
Jenkins [Wed, 16 Dec 2015 11:12:59 +0000 (11:12 +0000)]
Merge "Wire Neutron ML2 plugin and OVS agent settings as arrays"

8 years agoAdd capabilities map
Jiri Tomasek [Fri, 6 Nov 2015 10:54:31 +0000 (11:54 +0100)]
Add capabilities map

This file holds metadata about the capabilities of the tripleo-heat-templates
repository for deployment using puppet. It groups configuration by topic,
describes possible combinations of environments and resource capabilities

It's main purpose is to provide relevant information to the user to guide
him through the deployment options. tripleo-common can use this
information to streamline deployment process on environment and resource
registry level. Heat templates themself aren't currently able to provide
this information.

Change-Id: I82a7ba6defc13ac2efae73a6caa36bfee69dd94b

8 years agoAdd fixup for pcs order constraints after update to new templates
marios [Mon, 23 Nov 2015 18:10:45 +0000 (20:10 +0200)]
Add fixup for pcs order constraints after update to new templates

In https://review.openstack.org/#/c/248572/ yum_update.sh
sets the pcs constraints before restarting the cluster. However
after post-update pacemaker run, the previous constraint of
neutron-server...neutron-ovs-cleanup is re-added. Explicitly
remove this before the post-update restart of certain services

Change-Id: I84dd650dcc66ce3f48926cf369b7d691014c2254

8 years agoMerge "Pacemaker maintenance mode for the duration of Puppet run on update"
Jenkins [Tue, 15 Dec 2015 13:26:50 +0000 (13:26 +0000)]
Merge "Pacemaker maintenance mode for the duration of Puppet run on update"

8 years agoWire Neutron ML2 plugin and OVS agent settings as arrays
Giulio Fidente [Tue, 2 Jun 2015 13:33:11 +0000 (09:33 -0400)]
Wire Neutron ML2 plugin and OVS agent settings as arrays

Wires the following as arrays to the neutron module:
 - mechanism_drivers
 - flat_networks
 - tenant_network_types
 - tunnel_types
 - bridge_mappings

Also updates the template version to use a Liberty feature which
allows serialization of comma_delimited_list into JSON.

Tidies up the manifests by removing the class declarations since
config is passed by the puppet/controller+compute hiera mapped_data.

Change-Id: Ie9f85fb827099f897ef750e267bc3ed3a864fe59
Co-Authored-By: Steven Hardy <shardy@redhat.com>
8 years agoFix description of control plane route parameter
Jiri Stransky [Tue, 15 Dec 2015 12:25:36 +0000 (13:25 +0100)]
Fix description of control plane route parameter

In the other templates this seems to be already correct.

Change-Id: Ied3c49cca878bd370068c9b8d1cafdec176c1725

8 years agoAdd sample environment file to document usage of predictable IPs
Giulio Fidente [Wed, 4 Nov 2015 13:51:08 +0000 (14:51 +0100)]
Add sample environment file to document usage of predictable IPs

This change adds a sample environment file which documents how to
assign to controllers a predictable IP on each network.

Change-Id: I5be21428c66c82488af8e0240c1614ac3b9b55f0

8 years agoAllow for usage of pre-allocated IPs for the controller nodes
Giulio Fidente [Wed, 9 Dec 2015 12:07:32 +0000 (13:07 +0100)]
Allow for usage of pre-allocated IPs for the controller nodes

This change adds a new *_from_pool.yaml meant to return an IP from
a list instead of allocating a Neutron port, useful to pick an IP
from a pre-defined list and making it possible to configure, for
example an external balancer in advance (or dns), with the future
IPs of the controller nodes.

The list of IPs is provided via parameter_defaults (in the
ControllerIPs struct) using ControllerIPs param.

Also some additional VipPort types are created for the *VirtualIP
resources. The VIPs were previously created using the same port
resource used by the nodes, but when deploying with an external
balancer we want the VIP resource to be nooped instead.

Change-Id: Id3d4f12235501ae77200430a2dc022f378dce336

8 years agoMerge "Set swift replicas = min(device_count, replicas)"
Jenkins [Tue, 15 Dec 2015 09:32:45 +0000 (09:32 +0000)]
Merge "Set swift replicas = min(device_count, replicas)"

8 years agoMerge "Fix wrong keypair parameter description"
Jenkins [Mon, 14 Dec 2015 22:48:51 +0000 (22:48 +0000)]
Merge "Fix wrong keypair parameter description"

8 years agoFix typo in HostsEntry output description
Juan Antonio Osorio Robles [Mon, 14 Dec 2015 22:12:32 +0000 (00:12 +0200)]
Fix typo in HostsEntry output description

Change-Id: I72a79d8200adee8258033e8da370051bbfd1986b

8 years agoMerge "Add output for host entries"
Jenkins [Mon, 14 Dec 2015 22:05:57 +0000 (22:05 +0000)]
Merge "Add output for host entries"

8 years agoSet swift replicas = min(device_count, replicas)
Dan Prince [Mon, 14 Dec 2015 19:09:07 +0000 (14:09 -0500)]
Set swift replicas = min(device_count, replicas)

Per Swift upstream commit: 7035639dfd239b52d4ed46aae50f78d16ec8cbfe
Swift's ringbuilder now validates that the number of devices is greater
than or equal to the replicas.

Change-Id: I56eaa9ddda138e87f7615d3bde797b568fa5e302
Related-bug: #1525356

8 years agoMerge "Enable per-role SchedulerHints"
Jenkins [Mon, 14 Dec 2015 15:20:41 +0000 (15:20 +0000)]
Merge "Enable per-role SchedulerHints"

8 years agoMerge "Remove deprecated overcloud-resource-registry.yaml"
Jenkins [Mon, 14 Dec 2015 15:14:41 +0000 (15:14 +0000)]
Merge "Remove deprecated overcloud-resource-registry.yaml"

8 years agoPacemaker maintenance mode for the duration of Puppet run on update
Steven Hardy [Fri, 13 Nov 2015 11:18:50 +0000 (11:18 +0000)]
Pacemaker maintenance mode for the duration of Puppet run on update

This enables pacemaker maintenantce mode when running Puppet on stack
update. Puppet can try to restart some overcloud services, which
pacemaker tries to prevent, and this can result in a failed Puppet run.

At the end of the puppet run, certain pacemaker resources are restarted
in an additional SoftwareDeployment to make sure that any config changes
have been fully applied. This is only done on stack updates (when
UpdateIdentifier is set to something), because the assumption is that on
stack create services already come up with the correct config.

(Change I9556085424fa3008d7f596578b58e7c33a336f75 has been squashed into
this one.)

Change-Id: I4d40358c511fc1f95b78a859e943082aaea17899
Co-Authored-By: Jiri Stransky <jistr@redhat.com>
Co-Authored-By: James Slagle <jslagle@redhat.com>
8 years agoAdd SoftwareConfigTransport for switching transports
Steve Baker [Fri, 27 Nov 2015 04:35:27 +0000 (04:35 +0000)]
Add SoftwareConfigTransport for switching transports

This change adds a SoftwareConfigTransport parameter to role templates
so that the transport can be changed via a parameter_defaults entry.

This change will have no effect on an existing overcloud as the current
default POLL_SERVER_CFN is now explicit in the parameter default.

Change-Id: I5c2a2d2170714093c5757282cba12ac65f8738a4

8 years agoMerge "Update typos"
Jenkins [Fri, 11 Dec 2015 14:26:25 +0000 (14:26 +0000)]
Merge "Update typos"

8 years agopacemaker: run neutron-server-start-wait-stop only at step 4
Emilien Macchi [Thu, 10 Dec 2015 21:23:50 +0000 (16:23 -0500)]
pacemaker: run neutron-server-start-wait-stop only at step 4

neutron-server-start-wait-stop is a dangerous Exec that is exposed to
race conditions, because it does not have "onlyif" or "unless"
statements.

That means during a deployment, this exec can be run in the wrong order
during Step 5 and/or 6, while it was supposed to be run at Step 4 only.
If that happens, the exec will fail because puppet tries to start
neutron-server while Pacemaker already started the resource. So in that
case, systemd would returns 1 to Puppet which would return 6 to the
overcloud deployment and the deployment would fail to finish correctly.

This patch aims to prevent from this scenario by making sure we run the
exec only during the step 4.

Also, in order to secure it a bit more, we add 'unless' statement to
this exec, so we would make sure the Puppet run would be idempotent and
the Exec would run one successful time only.

https://bugzilla.redhat.com/show_bug.cgi?id=1290582

Change-Id: I42813c5cff6c525c15c9c24baad4e355f88af672

8 years agoFix wrong keypair parameter description
Steven Hardy [Thu, 10 Dec 2015 10:40:16 +0000 (10:40 +0000)]
Fix wrong keypair parameter description

The parameters have nothing to do with EC2 keypairs, they are used to
specify Nova SSH key pairs.

Change-Id: Ia8d37cb5c443812d02133747cb54fcaf0110d091

8 years agoRemove unsafe "unset" defaults
Steven Hardy [Wed, 9 Dec 2015 18:23:08 +0000 (18:23 +0000)]
Remove unsafe "unset" defaults

All of our sensitive parameters are defaulted to easily predictable
values, which is very bad from a security perspective because we don't
force clients to make sane choices thus risk deploying with the
predictable default values.  tripleoclient supports generating random
values for all of these, so remove the defaults, for non-tripleoclient
usage we can create a developer-only environment with defaults.

Related-Bug: #1516027
Change-Id: Ia0cf3b7e2de1aa42cf179cba195fb7770a1fc21c
Depends-On: Ifb34b43fdedc55ad220df358c3ccc31e3c2e7c14

8 years agoRemove deprecated overcloud-resource-registry.yaml
Steven Hardy [Wed, 9 Dec 2015 17:57:39 +0000 (17:57 +0000)]
Remove deprecated overcloud-resource-registry.yaml

We recently removed all the templates this references
in I29e2a8f1b0c66f3cf88f40244d6da49f3d7420be

Change-Id: I599d18675d829935893d6bfb375f8f0d15e01197

8 years agoMerge "Remove Ceilometer Alarm from the overcloud"
Jenkins [Tue, 8 Dec 2015 21:27:04 +0000 (21:27 +0000)]
Merge "Remove Ceilometer Alarm from the overcloud"

8 years agoMerge "Change for configuring use_forwarded_for value for Nuage"
Jenkins [Tue, 8 Dec 2015 12:21:45 +0000 (12:21 +0000)]
Merge "Change for configuring use_forwarded_for value for Nuage"

8 years agoImplement Workers parameters
Emilien Macchi [Wed, 30 Sep 2015 15:08:48 +0000 (11:08 -0400)]
Implement Workers parameters

* For each OpenStack service, create a new parameter to change worker
  number (default to 0 to keep default behavior)
* Use the parameter in Puppet configuration (Hiera) to configure the
  services with the number of workers defined by the parameter.

Change-Id: Ic147bc9225aab48e94243a94a2189467829b8d55

8 years agoEnable per-role SchedulerHints
Steven Hardy [Tue, 8 Dec 2015 10:28:08 +0000 (10:28 +0000)]
Enable per-role SchedulerHints

This adds a parameter for each role, where optional scheduler hints
may be passed to nova.  One potential use-case for this is using
the ComputeCapabilities to pin deployment to a specific node (not
just a specific role/profile mapping to a pool of nodes like we
have currently documented in the ahc-match docs).

This could work as follows:

1. Tag a specific node as "node:controller-0" in Ironic:

ironic node-update <id> replace properties/capabilities='node:controller-0,boot_option:local'

2. Create a heat environment file which uses %index%

parameters:
  ControllerSchedulerHints:
    'capabilities:node': 'controller-%index%'

Change-Id: I79251dde719b4bb5c3b0cce90d0c9d1581ae66f2

8 years agoEnable TLS in loadbalancer if cert path is detected
Juan Antonio Osorio Robles [Wed, 25 Nov 2015 11:05:17 +0000 (13:05 +0200)]
Enable TLS in loadbalancer if cert path is detected

If there is a value for the certificate path (which should only happen
if the environment for enabling TLS is used) then the loadbalancer will
detect it and configure it's front ends correctly. On the other hand
a proper override for the example environment was given, since this
will be needed because we want to pass the hosts and protocols
correctly so the tripleoclient will catch it and pass it to
os-cloud-config

Change-Id: Ifba51495f0c99398291cfd29d10c04ec33b8fc34
Depends-On: Ie2428093b270ab8bc19fcb2130bb16a41ca0ce09

8 years agoMerge "Making nova parameters configurable for nuage-metadata-agent"
Jenkins [Mon, 7 Dec 2015 20:39:12 +0000 (20:39 +0000)]
Merge "Making nova parameters configurable for nuage-metadata-agent"

8 years agoMerge "Add option to add metadata for the overcloud nodes"
Jenkins [Mon, 7 Dec 2015 19:17:56 +0000 (19:17 +0000)]
Merge "Add option to add metadata for the overcloud nodes"

8 years agoChange for configuring use_forwarded_for value for Nuage
Lokesh Jain [Thu, 3 Dec 2015 19:22:30 +0000 (14:22 -0500)]
Change for configuring use_forwarded_for value for Nuage

Added a parameter to Nuage ExtraConfig template for setting
use_forwarded_for value required by Nuage metadata agent

Change-Id: I02c15311272126c5e530f118fbfb4a8f6e11a620

8 years agoRemove Ceilometer Alarm from the overcloud
John Trowbridge [Fri, 4 Dec 2015 21:57:52 +0000 (16:57 -0500)]
Remove Ceilometer Alarm from the overcloud

The Ceilometer alarm service is no longer available
in Mitaka. It is replaced by Aodh.

Aodh support is added in a follow-up to this patch.

Partial-Bug: 1521922
Change-Id: I5babaab7029eaaccf3cc6f194b6c062fd62372cf
Backport: none

8 years agoMerge "Fix the wrong selinux context when glance uses nfs backend"
Jenkins [Mon, 7 Dec 2015 09:29:57 +0000 (09:29 +0000)]
Merge "Fix the wrong selinux context when glance uses nfs backend"

8 years agoMaking nova parameters configurable for nuage-metadata-agent
Rohit Pagedar [Wed, 14 Oct 2015 20:13:07 +0000 (16:13 -0400)]
Making nova parameters configurable for nuage-metadata-agent

Exposing 'instance_name_template' to be set via
  extra config for nuage-metadata-agent to function

Making nova::api::admin_tenant_name
  available on the compute node which is
    required by nuage-metadata-agent service

Making KeystonePublicApiVirtualIP available
  on the compute node, which is used by the
    nuage-metadata-agent to build the auth-url

Change-Id: I9736015e18cebf32b07940bf559063b60085f2fb

8 years agoAdd output for host entries
Juan Antonio Osorio Robles [Fri, 4 Dec 2015 13:42:53 +0000 (15:42 +0200)]
Add output for host entries

For testing purposes it is useful to have an easy way to get the given
IPs for the nodes; since currently one would have to ssh to one of the
ndoes and actually fetch the entries from there.

This will facilitate testing when the keystone endpoints have been
changed for hostnames, as done in this CR:
https://review.openstack.org/#/c/238887

Change-Id: I9b9362192d7e97690ba23d02e74389225913adb9

8 years agoAdd option to add metadata for the overcloud nodes
Juan Antonio Osorio Robles [Fri, 4 Dec 2015 13:36:30 +0000 (15:36 +0200)]
Add option to add metadata for the overcloud nodes

Some Nova hooks might require custom properties/metadata set for the
servers deployed in the overcloud, and this would enable us to inject
such information.

For FreeIPA (IdM) integration, there is effectively a Nova hook that
requires such data.

Currently this inserts metadata for all servers, but a subsequent CR
will introduce per-role metadata. However, that was not added to this
because it will require the usage of map_merge. which will block those
changes to be backported. However, this one is not a problem in that
sense.

Change-Id: I98b15406525eda8dff704360d443590260430ff0

8 years agoDrop os-apply-config. No longer maintained.
Dan Prince [Wed, 25 Nov 2015 16:21:09 +0000 (11:21 -0500)]
Drop os-apply-config. No longer maintained.

Change-Id: I29e2a8f1b0c66f3cf88f40244d6da49f3d7420be

8 years agoRename overcloud-without-mergepy to overcloud.
Dan Prince [Wed, 25 Nov 2015 16:19:40 +0000 (11:19 -0500)]
Rename overcloud-without-mergepy to overcloud.

Mergepy is gone. We can now rename our primary overcloud
template to be more sensible.

Change-Id: I14f5ff78b083b34590d30357df94c42ff6a0c2c0

8 years agoMerge "Minor fixes to TLS related resources"
Jenkins [Thu, 3 Dec 2015 18:27:04 +0000 (18:27 +0000)]
Merge "Minor fixes to TLS related resources"

8 years agoMerge "Make all network ports type to consume FixedIPs"
Jenkins [Thu, 3 Dec 2015 14:36:37 +0000 (14:36 +0000)]
Merge "Make all network ports type to consume FixedIPs"

8 years agoMerge "Add pcmk constraints against haproxy-clone only if applicable"
Jenkins [Thu, 3 Dec 2015 09:08:19 +0000 (09:08 +0000)]
Merge "Add pcmk constraints against haproxy-clone only if applicable"

8 years agoMerge "Fix default route in multiple nics net isolation templates"
Jenkins [Thu, 3 Dec 2015 09:06:29 +0000 (09:06 +0000)]
Merge "Fix default route in multiple nics net isolation templates"

8 years agoMerge "Introduce domain configuration through parameter"
Jenkins [Thu, 3 Dec 2015 09:06:03 +0000 (09:06 +0000)]
Merge "Introduce domain configuration through parameter"

8 years agoMerge "Apply mongod timeout via cib-push"
Jenkins [Thu, 3 Dec 2015 09:03:44 +0000 (09:03 +0000)]
Merge "Apply mongod timeout via cib-push"

8 years agoMerge "Added libvirt_vif_driver, ovs_bridge and security_group_api parameters"
Jenkins [Wed, 2 Dec 2015 14:40:12 +0000 (14:40 +0000)]
Merge "Added libvirt_vif_driver, ovs_bridge and security_group_api parameters"

8 years agoMerge "Make enabling of controller services configurable."
Jenkins [Wed, 2 Dec 2015 14:39:59 +0000 (14:39 +0000)]
Merge "Make enabling of controller services configurable."

8 years agoMerge "Changes for configuring Nuage"
Jenkins [Wed, 2 Dec 2015 14:39:56 +0000 (14:39 +0000)]
Merge "Changes for configuring Nuage"

8 years agoMerge "Changes for configuring Nuage"
Jenkins [Wed, 2 Dec 2015 14:37:51 +0000 (14:37 +0000)]
Merge "Changes for configuring Nuage"

8 years agoAdd pcmk constraints against haproxy-clone only if applicable
Giulio Fidente [Wed, 2 Dec 2015 14:07:22 +0000 (15:07 +0100)]
Add pcmk constraints against haproxy-clone only if applicable

When the Overcloud does not host an instance of haproxy, pcmk will
not have any resource named haproxy-clone so we should not add
any constraint relying on it.

Change-Id: I801f07b7570f3805aa71c22998fec6b6f192b350

8 years agoIntroduce domain configuration through parameter
Juan Antonio Osorio Robles [Wed, 28 Oct 2015 14:43:51 +0000 (16:43 +0200)]
Introduce domain configuration through parameter

Introduce configuration of the nodes' domains through a parameter.

Change-Id: Ie012f9f2a402b0333bebecb5b59565c26a654297

8 years agoFix default route in multiple nics net isolation templates
Dan Sneddon [Wed, 2 Dec 2015 02:04:46 +0000 (18:04 -0800)]
Fix default route in multiple nics net isolation templates

The non-controller nodes in the network/config/multiple-nics
directory do not have a default route configured. This change
adds the default route to the non-controller nodes using the
ControlPlaneDefaultRoute parameter, which was already a part
of these templates.

Change-Id: Idaaeb2a539555ac14cc613b202c428108bc19a30

8 years agoMerge "Drop deprecated templates/Makefile/merge.py"
Jenkins [Tue, 1 Dec 2015 22:46:44 +0000 (22:46 +0000)]
Merge "Drop deprecated templates/Makefile/merge.py"

8 years agoChanges for configuring Nuage
Rohit Pagedar [Wed, 14 Oct 2015 20:25:18 +0000 (16:25 -0400)]
Changes for configuring Nuage

Added ExtraConfig templates and environment files
 for Nuage Networks specific parameters.
Modified overcloud_compute.pp to conditionally
 include nuage-metadata-agent.

Change-Id: I28106d8e26ad4d0158fe5e3a13f2f7b21e5c0b28

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