apex-tripleo-heat-templates.git
7 years agoAdd deployed server bootstrap to noop-ctlplane
Dan Prince [Tue, 17 Jan 2017 23:34:47 +0000 (18:34 -0500)]
Add deployed server bootstrap to noop-ctlplane

This patch adds the new OS::TripleO::DeployedServer::Bootstrap
entry to this template as OS::Heat::None.

This fixes the undercloud t-h-t installer.

Change-Id: I211fff6dd81cb1a6425dbae4b81d4e9e8819fc52

7 years agoMerge "Allow user to configure Ceph rbd_default_features"
Jenkins [Tue, 17 Jan 2017 18:06:01 +0000 (18:06 +0000)]
Merge "Allow user to configure Ceph rbd_default_features"

7 years agoMerge "HPELeftHandISCSIDriver support for Cinder"
Jenkins [Tue, 17 Jan 2017 18:04:54 +0000 (18:04 +0000)]
Merge "HPELeftHandISCSIDriver support for Cinder"

7 years agoMerge "Simplify passing config to ovs agent container"
Jenkins [Tue, 17 Jan 2017 16:38:55 +0000 (16:38 +0000)]
Merge "Simplify passing config to ovs agent container"

7 years agoMerge "Fix typo in template description"
Jenkins [Tue, 17 Jan 2017 15:47:27 +0000 (15:47 +0000)]
Merge "Fix typo in template description"

7 years agoMerge "Use custom role names in deployed-server roles"
Jenkins [Tue, 17 Jan 2017 15:47:19 +0000 (15:47 +0000)]
Merge "Use custom role names in deployed-server roles"

7 years agoSimplify passing config to ovs agent container
Martin André [Fri, 13 Jan 2017 15:55:54 +0000 (16:55 +0100)]
Simplify passing config to ovs agent container

The mechanism to pass config files to the neutron-ovs-agent container
was overly complex and not at all justified. This commit removes a few
useless parameters and aligns the neutron-ovs-agents with the rest of
the containers.

Change-Id: Ib9a5985ac9d098731c2fb798d6c9e03cba4b87dd

7 years agoMerge "Remove old ControllerConfig override from puppet-pacemaker.yaml"
Jenkins [Tue, 17 Jan 2017 11:11:51 +0000 (11:11 +0000)]
Merge "Remove old ControllerConfig override from puppet-pacemaker.yaml"

7 years agoMerge "Fix for AllNodesExtraConfig and fix environment files to create swap files...
Jenkins [Mon, 16 Jan 2017 23:27:02 +0000 (23:27 +0000)]
Merge "Fix for AllNodesExtraConfig and fix environment files to create swap files/partitions"

7 years agoAllow user to configure Ceph rbd_default_features
John Fulton [Sat, 15 Oct 2016 20:38:13 +0000 (16:38 -0400)]
Allow user to configure Ceph rbd_default_features

Allow user to configure rbd_default_features parameter in
ceph.conf / [client] section. Operators deploying newer
Ceph clients that must use older Ceph servers need to be
able to easily set this option for backwards compatibility.

Change-Id: I685c95c47282894bb6309168c537de877dbccc66
Depends-On: I477640c5db2cc84622da7734fb54cfe7740bd137
Related-Bug: 1633552

7 years agoMerge "Deployed server bootstrap via Heat"
Jenkins [Mon, 16 Jan 2017 19:54:50 +0000 (19:54 +0000)]
Merge "Deployed server bootstrap via Heat"

7 years agoMerge "Add heat service support for composable upgrades"
Jenkins [Mon, 16 Jan 2017 15:54:07 +0000 (15:54 +0000)]
Merge "Add heat service support for composable upgrades"

7 years agoMerge "Add cinder service support for composable upgrades"
Jenkins [Mon, 16 Jan 2017 15:53:59 +0000 (15:53 +0000)]
Merge "Add cinder service support for composable upgrades"

7 years agoFix typo in template description
James Slagle [Sun, 15 Jan 2017 21:42:25 +0000 (16:42 -0500)]
Fix typo in template description

The DeployedServerPortMap parameter actually joins the hostname and
network name with a dash, not an underscore. This commit just fixes the
template description for documentation purproses.

Change-Id: Iea874e090bc615fd56b07e327465d093bcb0df9c

7 years agoUse custom role names in deployed-server roles
James Slagle [Fri, 13 Jan 2017 20:17:14 +0000 (15:17 -0500)]
Use custom role names in deployed-server roles

Custom role names need to be used in the deployed server role files,
otherwise the new customized roles are not generated by jinja since the
default roles are excluded from templating in j2_excludes.yaml.

This patch also removes the OS::TripleO::Services::Core service that was
recently removed from the default Controller role as well in
I48cd2b6a4593d673d5883b45feae088392e7e713

Partially-implements: blueprint split-stack-software-configuration
Change-Id: I60cb60382d472cd093f07e134245f666029f3b16

7 years agoDeployed server bootstrap via Heat
James Slagle [Thu, 15 Dec 2016 18:26:38 +0000 (13:26 -0500)]
Deployed server bootstrap via Heat

Adds an environment file, template, and script that can be used to do
initial bootstrapping of deployed servers during NodeExtraConfig. It is
meant to install and configure the initial dependencies needed to apply
the rest of the OpenStack configuration via Heat.

Enabling yum repos and installing the initial python-heat-agent package
would still have to be manual steps when using this environment. But the
goal is to keep those manual steps to a minimum and automate as much as
possible in deployed-server-bootstrap.sh.

Along with setting EnablePackageInstall: True, this could eventually
replace bootstrap-overcloud-full.sh from tripleo-ci.

Partially-implements: blueprint split-stack-software-configuration
Change-Id: I6be94604a46382e6288df1b36b9de8fab58696cc

7 years agoFix for AllNodesExtraConfig and fix environment files to create swap files/partitions
Carlos Camacho [Tue, 10 Jan 2017 09:02:14 +0000 (10:02 +0100)]
Fix for AllNodesExtraConfig and fix environment files to create swap files/partitions

This submission:

 - Fix an error in the AllNodesExtraConfig resource.
   (Can't merge servers multiple times).
 - Add environment files to deploy swap file/partition
   without manual edit over the templates.
 - If a swap partition is mounted without having it available
   the deployment will fail, the fix checks that if the
   partition is not created then the deployment continues.
 - Removing empty extra lines in swap templates.
 - Adjust description and remove unnecessary comments in
   swap templates.

Closes-Bug: 1652184

Change-Id: I828bbbbd4c178956aac74af49f80fcd4f62fa16b

7 years agoMerge "Adds a step0 for pre upgrade-init checks"
Jenkins [Mon, 16 Jan 2017 11:24:39 +0000 (11:24 +0000)]
Merge "Adds a step0 for pre upgrade-init checks"

7 years agoMerge "Add deployed-server backwards compatible template"
Jenkins [Mon, 16 Jan 2017 10:06:43 +0000 (10:06 +0000)]
Merge "Add deployed-server backwards compatible template"

7 years agoMerge "Continue checking for request url if initially null"
Jenkins [Mon, 16 Jan 2017 10:06:36 +0000 (10:06 +0000)]
Merge "Continue checking for request url if initially null"

7 years agoMerge "Add UpgradeInitCommand to deployed-server"
Jenkins [Mon, 16 Jan 2017 10:04:28 +0000 (10:04 +0000)]
Merge "Add UpgradeInitCommand to deployed-server"

7 years agoUpdated from global requirements
OpenStack Proposal Bot [Sat, 14 Jan 2017 10:47:01 +0000 (10:47 +0000)]
Updated from global requirements

Change-Id: Icadcb1b27852d729608195f4890f914c8350ac8c

7 years agoMerge "Add ReNo support"
Jenkins [Sat, 14 Jan 2017 06:47:27 +0000 (06:47 +0000)]
Merge "Add ReNo support"

7 years agoMerge "Add git to FreeIPA test server install script"
Jenkins [Fri, 13 Jan 2017 23:25:56 +0000 (23:25 +0000)]
Merge "Add git to FreeIPA test server install script"

7 years agoMerge "Revert "Specify cell0 db creation""
Jenkins [Fri, 13 Jan 2017 19:49:27 +0000 (19:49 +0000)]
Merge "Revert "Specify cell0 db creation""

7 years agoAdd ReNo support
Emilien Macchi [Fri, 13 Jan 2017 19:02:05 +0000 (14:02 -0500)]
Add ReNo support

Add ReNo support to manage release notes.
http://docs.openstack.org/developer/reno/

Change-Id: Ie5154d909e616e4e7e813052f9c121d6ac5b0875

7 years agoMerge "Add neutron service support for composable upgrades"
Jenkins [Fri, 13 Jan 2017 19:02:26 +0000 (19:02 +0000)]
Merge "Add neutron service support for composable upgrades"

7 years agoRevert "Specify cell0 db creation"
Alex Schultz [Fri, 13 Jan 2017 16:55:56 +0000 (16:55 +0000)]
Revert "Specify cell0 db creation"

This reverts commit 4e3b085a59e7af49d1025986fd80796be338f5fd.

Change-Id: Id9b3610af7167572b292ba330c3f0aad660fedc4
Related-Bug: #1656276

7 years agoHPELeftHandISCSIDriver support for Cinder
chinthagovardhan [Thu, 1 Dec 2016 13:45:36 +0000 (05:45 -0800)]
HPELeftHandISCSIDriver support for Cinder

Cinder configuration with HPELeftHandISCSIDriver
for VSA storage

Change-Id: Iaefbf38522069f6c636130e357f19a7fb7d54fe4

7 years agoMerge "Add THT for networking-fujitsu"
Jenkins [Fri, 13 Jan 2017 16:14:07 +0000 (16:14 +0000)]
Merge "Add THT for networking-fujitsu"

7 years agoMerge "Use provided qemu.conf in libvirt container"
Jenkins [Fri, 13 Jan 2017 16:04:22 +0000 (16:04 +0000)]
Merge "Use provided qemu.conf in libvirt container"

7 years agoAdd git to FreeIPA test server install script
Juan Antonio Osorio Robles [Fri, 13 Jan 2017 13:50:36 +0000 (15:50 +0200)]
Add git to FreeIPA test server install script

This is needed to fetch the tripleo repo; since it's not available
because we're using the generic cloud image on CI.

Change-Id: I22ebe028c7b23cb5fba7d03ce89e967bca5951f8

7 years agoAdd heat service support for composable upgrades
Steven Hardy [Thu, 1 Dec 2016 10:04:09 +0000 (10:04 +0000)]
Add heat service support for composable upgrades

Change-Id: Idbbff1e7b3947a8a381ddae172006d724a98a344
Partially-Implements: blueprint overcloud-upgrades-per-service

7 years agoAdd cinder service support for composable upgrades
Steven Hardy [Thu, 1 Dec 2016 10:03:53 +0000 (10:03 +0000)]
Add cinder service support for composable upgrades

Change-Id: I5447afb18b43bc3442e411a6b0ac7c32e8075116
Partially-Implements: blueprint overcloud-upgrades-per-service

7 years agoAdd neutron service support for composable upgrades
Steven Hardy [Thu, 1 Dec 2016 10:03:30 +0000 (10:03 +0000)]
Add neutron service support for composable upgrades

Change-Id: I9c6116ddb4475b798876635cbb701214759fa33b
Partially-Implements: blueprint overcloud-upgrades-per-service

7 years agoMerge "Configure specific module path for ansible."
Jenkins [Fri, 13 Jan 2017 12:47:17 +0000 (12:47 +0000)]
Merge "Configure specific module path for ansible."

7 years agoAdds a step0 for pre upgrade-init checks
marios [Thu, 8 Dec 2016 13:04:48 +0000 (15:04 +0200)]
Adds a step0 for pre upgrade-init checks

Adds a step0 for any pre-upgrade checks. This migrates
some of the checks we have at the top of
extraconfig/tasks/major_upgrade_controller_pacemaker_1.sh

Checks for other services (and for the cluster) will follow
in separate commits.

Partially-Implements: blueprint overcloud-upgrades-per-service
Change-Id: I607f1fed68d7f11773484c3d7cb3e5af67465d57

7 years agoAdd glance service support for composable upgrades
Steven Hardy [Thu, 1 Dec 2016 10:01:42 +0000 (10:01 +0000)]
Add glance service support for composable upgrades

Change-Id: I730abee756598c0a23209a53e52cc83e0b815a50
Partially-Implements: blueprint overcloud-upgrades-per-service

7 years agoMerge "Add retry to RHEL registration"
Jenkins [Wed, 11 Jan 2017 21:06:23 +0000 (21:06 +0000)]
Merge "Add retry to RHEL registration"

7 years agoMerge "Fix protocol for ZaqarWebsockets endpoint"
Jenkins [Wed, 11 Jan 2017 18:56:56 +0000 (18:56 +0000)]
Merge "Fix protocol for ZaqarWebsockets endpoint"

7 years agoMerge "Make build_endpoint_map.py output an ocata versioned template"
Jenkins [Wed, 11 Jan 2017 18:56:48 +0000 (18:56 +0000)]
Merge "Make build_endpoint_map.py output an ocata versioned template"

7 years agoMerge "Remove unused pacemaker profiles"
Jenkins [Wed, 11 Jan 2017 18:56:44 +0000 (18:56 +0000)]
Merge "Remove unused pacemaker profiles"

7 years agoMerge "Fix error path for tools/process-templates.py"
Jenkins [Wed, 11 Jan 2017 18:51:58 +0000 (18:51 +0000)]
Merge "Fix error path for tools/process-templates.py"

7 years agoMerge "Allow freeipa environment file to be in /tmp"
Jenkins [Wed, 11 Jan 2017 16:53:04 +0000 (16:53 +0000)]
Merge "Allow freeipa environment file to be in /tmp"

7 years agoFix protocol for ZaqarWebsockets endpoint
Juan Antonio Osorio Robles [Wed, 11 Jan 2017 16:37:15 +0000 (18:37 +0200)]
Fix protocol for ZaqarWebsockets endpoint

We needed to set the 'ws' protocol so we would get the correct endpoint
map generated when using build_endpoint_map.py

Change-Id: I6f2cfce058a803f1925c4e22f9791d0117a6c0e3

7 years agoMake build_endpoint_map.py output an ocata versioned template
Juan Antonio Osorio Robles [Wed, 11 Jan 2017 16:34:50 +0000 (18:34 +0200)]
Make build_endpoint_map.py output an ocata versioned template

the version it was using was 2015-04-30, but we should be using ocata
instead.

Change-Id: I3eca2f235b3623f08e9cd6b7c2eafe0959b2fb3c

7 years agoMerge "Update net-config-noop to use apply-config"
Jenkins [Wed, 11 Jan 2017 16:21:50 +0000 (16:21 +0000)]
Merge "Update net-config-noop to use apply-config"

7 years agoMerge "Removes deprecated OpenDaylight L2 only deployments"
Jenkins [Wed, 11 Jan 2017 16:19:49 +0000 (16:19 +0000)]
Merge "Removes deprecated OpenDaylight L2 only deployments"

7 years agoMerge "Add support for the deployment of Ceph MDS"
Jenkins [Wed, 11 Jan 2017 13:17:24 +0000 (13:17 +0000)]
Merge "Add support for the deployment of Ceph MDS"

7 years agoFix error path for tools/process-templates.py
Steven Hardy [Wed, 11 Jan 2017 11:47:11 +0000 (11:47 +0000)]
Fix error path for tools/process-templates.py

The error path for this fails because we don't import six
or install it in the templates tox venv

Change-Id: Ie9f46332f2b03d48a1b0a4a432e9721757833569

7 years agoAllow freeipa environment file to be in /tmp
Juan Antonio Osorio Robles [Tue, 10 Jan 2017 22:19:18 +0000 (00:19 +0200)]
Allow freeipa environment file to be in /tmp

Relying on home can be tricky if run on CI, since we would need to
hard-code the user. So for this case, we can use /tmp to source that
environment file from.

bp tls-via-certmonger

Change-Id: Ie6234a15af7aa493257c13bd40cbf51ab36085be

7 years agoMerge "Add example showing how to set root password via cloud-init"
Jenkins [Tue, 10 Jan 2017 21:48:14 +0000 (21:48 +0000)]
Merge "Add example showing how to set root password via cloud-init"

7 years agoRemoves deprecated OpenDaylight L2 only deployments
Tim Rozet [Fri, 6 Jan 2017 15:18:57 +0000 (10:18 -0500)]
Removes deprecated OpenDaylight L2 only deployments

Deploying ODL without L3 DVR is no longer supported.  This patch moves
the opendaylight-l3 env settings to be the new default for opendaylight
env file, while also removing any option to disable L3.

Closes-Bug: 1654586

Change-Id: Ia2488cb0b752fb4b33f03caa7a1d2469d20395f0
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoMerge "Updated from global requirements"
Jenkins [Tue, 10 Jan 2017 18:45:51 +0000 (18:45 +0000)]
Merge "Updated from global requirements"

7 years agoMerge "README: Add mistral"
Jenkins [Tue, 10 Jan 2017 18:34:49 +0000 (18:34 +0000)]
Merge "README: Add mistral"

7 years agoAdd deployed-server backwards compatible template
James Slagle [Mon, 9 Jan 2017 19:40:27 +0000 (14:40 -0500)]
Add deployed-server backwards compatible template

In Newton, the ctlplane port on deployed-server was called
<hostname>-ctlplane-port. When this code was refactored in
I29fbc720c3d582cbb94385e65e4b64b101f7eac9, the -port suffix was dropped
in favor of <hostname>-<network> convention, and the port resource was
created directly in deployed-server.yaml instead of in a nested stack.

Both of those changes were backwards incompatible -- making it
impossible to upgrade to the new version of deployed-server.yaml without
the ctlplane port getting deleted/recreated, which causes a change in IP
address. The IP address change causes services to be misconfigured on
upgrade attempts.

Change-Id: I45991b60a151abf3c5e4d05a3aa7246b2d25ac5a

7 years agoMerge "Setting networking-odl v2 as a mechanism driver"
Jenkins [Tue, 10 Jan 2017 17:01:40 +0000 (17:01 +0000)]
Merge "Setting networking-odl v2 as a mechanism driver"

7 years agoAdd support for the deployment of Ceph MDS
Giulio Fidente [Fri, 25 Nov 2016 09:57:41 +0000 (10:57 +0100)]
Add support for the deployment of Ceph MDS

This change adds a CephMds service, disabled by default, on the
Controller role and an environment file to enable it.

Change-Id: If7cb46319038a80ed52f753a623989885e1b7da4
Depends-On: Iaecc3ff7acb851776c5057c42a5a513a70425d2c
Partial-Bug: #1644784

7 years agoAdd THT for networking-fujitsu
Koki Sanagi [Sat, 7 Jan 2017 23:48:57 +0000 (18:48 -0500)]
Add THT for networking-fujitsu

Introduce THT for networking-fujitsu. networking-fujitsu is a neutron ML2 plugin
which enables FUJITSU C-Fabric switch in OpenStack environment. This templates
deploy overcloud with C-Fabric switch.

Change-Id: Iee75a1a30552d8dc9f55f52d10b0dc2b623992ef
Implements: blueprint integration-networking-fujitsu
Depends-On: I37a502b43eb7d91bfe20625248ed117eae3ca535
Depends-On: I5eb2c2a9c50b5991d62f4b6d74b83351c86b02de

7 years agoAdd retry to RHEL registration
Charles Llewellyn [Fri, 14 Oct 2016 10:14:28 +0000 (11:14 +0100)]
Add retry to RHEL registration

Occasionally we can see transient network outages when attempting
to register with the Redhat Portal or Satellite server. This causes
deployment or scaleout operations to fail. These outages are minimal
and retrying often resolves the issue. This becomes more prevelant
during testing as we deploy infrastructure far more frequently.

Change-Id: If23785fbe2eea4643918b2e68915bbc13c1b1112

7 years agoUpdated from global requirements
OpenStack Proposal Bot [Tue, 10 Jan 2017 09:44:01 +0000 (09:44 +0000)]
Updated from global requirements

Change-Id: I9ae60dfb2ef5e8fb5aae482ddb08206fc1980ca5

7 years agoMerge "Make update-from-keystone-admin-internal-api.yaml work on newton+"
Jenkins [Tue, 10 Jan 2017 09:40:35 +0000 (09:40 +0000)]
Merge "Make update-from-keystone-admin-internal-api.yaml work on newton+"

7 years agoMerge "Configure Kernel Args and Tuned and then reboot for Compute"
Jenkins [Mon, 9 Jan 2017 21:43:24 +0000 (21:43 +0000)]
Merge "Configure Kernel Args and Tuned and then reboot for Compute"

7 years agoREADME: Add mistral
Emilien Macchi [Mon, 9 Jan 2017 20:23:22 +0000 (15:23 -0500)]
README: Add mistral

Mistral is tested by scenario003. Let's document it.

Change-Id: If715a2071b7e421b63033fd00f49d3a3f1948af1

7 years agoConfigure specific module path for ansible.
Sofer Athlan-Guyot [Mon, 9 Jan 2017 18:25:56 +0000 (19:25 +0100)]
Configure specific module path for ansible.

Change-Id: Icd23553e94fd573a8032c52e18857e722eb2ea49

7 years agoMerge "Add FreeIPA server installation script"
Jenkins [Mon, 9 Jan 2017 16:30:02 +0000 (16:30 +0000)]
Merge "Add FreeIPA server installation script"

7 years agoMerge "Template and role support for the undercloud"
Jenkins [Mon, 9 Jan 2017 16:25:37 +0000 (16:25 +0000)]
Merge "Template and role support for the undercloud"

7 years agoMerge "scenario001: add Panko testing"
Jenkins [Mon, 9 Jan 2017 16:20:26 +0000 (16:20 +0000)]
Merge "scenario001: add Panko testing"

7 years agoSetting networking-odl v2 as a mechanism driver
Itzik Brown [Tue, 27 Dec 2016 10:46:03 +0000 (12:46 +0200)]
Setting networking-odl v2 as a mechanism driver

The current environment files for OpenDaylight use
the opendaylight mechanism driver - changing it to
opendaylight_v2.
Also using the l3_odl_v2 as a service plugin

Depends-On: I2a1c5097614e47cc09e43bbc77305a0548d54baa
Change-Id: Iba6f52663ce4a5e4c070f58f079465fdd24ecc7c

7 years agoMerge "Add missing VIP definitions into -no-tunneling env file"
Jenkins [Mon, 9 Jan 2017 14:29:47 +0000 (14:29 +0000)]
Merge "Add missing VIP definitions into -no-tunneling env file"

7 years agoMake update-from-keystone-admin-internal-api.yaml work on newton+
Cyril Lopez [Fri, 2 Dec 2016 16:26:52 +0000 (17:26 +0100)]
Make update-from-keystone-admin-internal-api.yaml work on newton+

There are change of ServiceNetMapDefaults in service_net_map.j2.yaml but
were not reproduce in update-from-keystone-admin-internal-api.yaml
environment. Tested in newton.

Closes-Bug: #1646862

Change-Id: I307dcaabbc6d583896090bf3f046b442007fbc42
Signed-off-by: Cyril Lopez <cylopez@redhat.com>
Co-Authored-By: Gregory Charot <gcharot@redhat.com>
7 years agoContinue checking for request url if initially null
James Slagle [Sun, 8 Jan 2017 21:21:51 +0000 (16:21 -0500)]
Continue checking for request url if initially null

When using get-occ-config.sh during overcloud upgrades, the script could
potentially be started before the stack has been upgraded. In that
scenario, the script will return null for the request metadata url for
the deployed-server resource since the stack has not yet been updated
and it's still using the previous Heat signaling.

This patch updates the script to just continue checking the resource
metadata if the request url is null. Eventually, once the resource has
been updated, the script will continue and properly populate the
os-collect-config configuration.

Change-Id: I9db54d8ad278715f42b768edf8f0fd21998b2098

7 years agoUpdate net-config-noop to use apply-config
Dan Prince [Sun, 8 Jan 2017 20:02:11 +0000 (15:02 -0500)]
Update net-config-noop to use apply-config

Some deployments of the undercloud would like to use
net-config-noop (to disable all network configuration).
This patch changes this noop software deployment to use
'apply-config' instead of 'os-apply-config' which allows it
to work with the undercloud installer which only supports the
newer (apply-config) style due to heat signalling requirements.

Change-Id: If7b579b759477afd81ad64a4847169e59ddcbd77

7 years agoAdd UpgradeInitCommand to deployed-server
James Slagle [Sun, 8 Jan 2017 16:07:13 +0000 (11:07 -0500)]
Add UpgradeInitCommand to deployed-server

The commands specified by UpgradeInitCommand need to be run before
InstanceIdDeployment in deployed-server.yaml, otherwise the upgrades
hang with the resource in progress. This is because the new
python-heat-agent-apply-config has not yet been installed on the
deployed server.

Adding the UpgradeInitCommand (and corresponding
SoftwareConfig/SoftwareDeployment to apply it) will cause the new repos
and python-heat-agent-* rpm's to be installed before
InstanceIdDeployment.

An open question is whether or not Heat should even be triggering the
InstanceIdDepoyment to IN_PROGRESS on upgrade when only the group is
changing from os-apply-config to apply-config. If that turns out to be a
Heat bug, then this patch wouldn't be necessary.

Change-Id: I9d87f995744415b110a7d0bca8d2309d7167148c

7 years agoTemplate and role support for the undercloud
Dan Prince [Sun, 11 Dec 2016 19:54:16 +0000 (14:54 -0500)]
Template and role support for the undercloud

Add a new roles data YAML file and environment to help
create the undercloud via t-h-t.

Partially-implements: blueprint heat-undercloud

Change-Id: I36df7fa86c2ff40026d59f02248af529a4a81861

7 years agoHeat engine settings required for Undercloud
Dan Prince [Wed, 4 Jan 2017 14:47:56 +0000 (09:47 -0500)]
Heat engine settings required for Undercloud

This patch adds several new heat engine setting that are required
in order to configure a fully working Heat engine in the undercloud.

New parameters have been added for the max resources and convergence
settings. I've hard coded the max stack depth at 6 which matches our
undercloud and should be fine as a default setting I think (would
rarely need overridden).

Change-Id: I335476f46b4bea4b9f3ac70a6312a7e906f43ba6

7 years agoMerge "Set rabbitmq package_provider to yum"
Jenkins [Fri, 6 Jan 2017 21:25:00 +0000 (21:25 +0000)]
Merge "Set rabbitmq package_provider to yum"

7 years agoMerge "Add custom roles data for deployed-server"
Jenkins [Fri, 6 Jan 2017 18:19:05 +0000 (18:19 +0000)]
Merge "Add custom roles data for deployed-server"

7 years agoscenario001: add Panko testing
Emilien Macchi [Fri, 6 Jan 2017 12:05:32 +0000 (07:05 -0500)]
scenario001: add Panko testing

Panko has been introduced in TripleO but is not tested yet.
Adding it on scenario001 with other telemetry services.

Depends-On: If2f6559a7d76b26fa9b0a3ecfa2e2101aae93e3c

Change-Id: Ic76f1cb36ee05e22cfda1fff8ad3f0ec18acf617

7 years agoREADME: updates for CI matrix
Emilien Macchi [Fri, 6 Jan 2017 12:03:28 +0000 (07:03 -0500)]
README: updates for CI matrix

Update the CI matrix to fit with what is actually tested.

Change-Id: Ib9c96fe7a3ff25043395cb5a89657b3b6d22f12a

7 years agoRemove unused pacemaker profiles
Michele Baldessari [Sun, 18 Dec 2016 10:05:21 +0000 (11:05 +0100)]
Remove unused pacemaker profiles

With change I80c8559bb2d915385bcc20ae71fe144ddd6591c1 we removed
all the unused puppet-tripleo pacemaker profiles. With this change
we remove the corresponding puppet profiles from tripleo-heat-templates.

We can also remove any trace of the fake ::Core service as it was
introduced via Iacd94294b8a66bc082bb2b3e8d3364ec1bf053b8
for the fake openstack-core pacemaker resource during the Mitaka cycle
and became unused in Newton.

Change-Id: I48cd2b6a4593d673d5883b45feae088392e7e713

7 years agoConfigure Kernel Args and Tuned and then reboot for Compute
Saravanan KR [Fri, 16 Dec 2016 13:15:57 +0000 (18:45 +0530)]
Configure Kernel Args and Tuned and then reboot for Compute

* On top of the https://review.openstack.org/#/c/411204
* Added Kernel args and Tune-d configuration
* Added provision to provide different kernel args per role (applicable
  for different types of compute roles only)

Implements: blueprint tuned-nfv-dpdk

Change-Id: I5c538428c376c9d2ebd1c364f0ee8503fd7d620e

7 years agoMerge "Merge mysql service_config_settings for nova"
Jenkins [Thu, 5 Jan 2017 23:51:00 +0000 (23:51 +0000)]
Merge "Merge mysql service_config_settings for nova"

7 years agoMerge mysql service_config_settings for nova
James Slagle [Wed, 4 Jan 2017 20:16:01 +0000 (15:16 -0500)]
Merge mysql service_config_settings for nova

The hieradata from the nova-base.yaml service template needs to be available to
the role running mysql, which isn't necessarily the same role as nova.

nova-base.yaml isn't an actual service template though that is included in any
ServiceChain resources, it's outputs need to be merged with an actual nova
service template, such as nova-api.yaml.

As nova-api.yaml already provides some hieradata for the mysql service in
service_config_settings, this patch uses map_merge to combine the 2 values.

Change-Id: I4dc684b3611b13f177f9499e69468d3f6ef6fa76
Closes-Bug: #1654058

7 years agoMerge "nova-api: legacy cleanup with old wsgi params"
Jenkins [Thu, 5 Jan 2017 17:10:01 +0000 (17:10 +0000)]
Merge "nova-api: legacy cleanup with old wsgi params"

7 years agoMerge "nova-api: also include hiera for new apache_api class"
Jenkins [Thu, 5 Jan 2017 14:17:13 +0000 (14:17 +0000)]
Merge "nova-api: also include hiera for new apache_api class"

7 years agoMerge "Configure Heat engine metadata URL's"
Jenkins [Thu, 5 Jan 2017 14:17:06 +0000 (14:17 +0000)]
Merge "Configure Heat engine metadata URL's"

7 years agopuppet/role.role.j2.yaml has invalid get_resource reference
Dan Prince [Wed, 4 Jan 2017 23:17:08 +0000 (18:17 -0500)]
puppet/role.role.j2.yaml has invalid get_resource reference

Found this today when rebasing the undercloud installer.
The puppet/role.role.j2.yaml Yaml has an invalid get_resource reference
that causes a cryptic heat stack failures.

Change-Id: Icfb7d73a1c4d02213b23a427605f2b0d5eaa984f

7 years agonova-api: legacy cleanup with old wsgi params
Emilien Macchi [Wed, 4 Jan 2017 20:15:59 +0000 (15:15 -0500)]
nova-api: legacy cleanup with old wsgi params

Cleanup old legacy params for wsgi config.

Change-Id: Ic775de171c95d43d9273e1a29db2ab685fdf7706
Depends-On: I59b3b36be33268fa6e261a7db3c4aa8e8e712ffb

7 years agonova-api: also include hiera for new apache_api class
Emilien Macchi [Wed, 4 Jan 2017 20:07:27 +0000 (15:07 -0500)]
nova-api: also include hiera for new apache_api class

puppet-nova renamed nova::wsgi::apache to nova::wsgi::apache_api to
welcome nova::wsgi::apache_placement (for nova placement API).

This patch adds the required parameters before we make the switch in
puppet-tripleo.

Legacy parameters will be removed when the switch will be done in
puppet-tripleo.

Change-Id: I5fc99062d349597393e2248c66f2d863029c7730

7 years agoMerge "Add pre-network hook and example showing config-then-reboot"
Jenkins [Wed, 4 Jan 2017 19:34:27 +0000 (19:34 +0000)]
Merge "Add pre-network hook and example showing config-then-reboot"

7 years agoSet rabbitmq package_provider to yum
James Slagle [Thu, 15 Dec 2016 19:03:39 +0000 (14:03 -0500)]
Set rabbitmq package_provider to yum

When deploying with EnablePackageInstall:True, the rabbitmq puppet
module defaults to the rpm package provider, which then tries to "rpm -i
undef" since we are setting rabbitmq::package_source to undef. Instead
of using the rpm provider at all, we should just use the yum provider to
install whatever rabbitmq rpm's are found in enabled repos.

Change-Id: I29365e675bfde676fde7a54dfc6c660c3970f50a
Partially-implements: blueprint split-stack-software-configuration

7 years agoAdd custom roles data for deployed-server
James Slagle [Tue, 13 Dec 2016 20:46:43 +0000 (15:46 -0500)]
Add custom roles data for deployed-server

Adds a custom roles data file for use when using the deployed-server
templates.  The file takes care of setting disable_constraints: True, so
that deployers don't have to do things like create fake images in
glance.

Also adds a comment to roles_data.yaml documenting disable_constraints.

Partially-implements: blueprint split-stack-software-configuration
Change-Id: I7c26c0c2851e0d6bcea42d7af7f4295a1944ec9f

7 years agoMerge "Adds missing firewall rules for OpenDaylight API service"
Jenkins [Wed, 4 Jan 2017 19:13:28 +0000 (19:13 +0000)]
Merge "Adds missing firewall rules for OpenDaylight API service"

7 years agoAdd example showing how to set root password via cloud-init
Steven Hardy [Wed, 4 Jan 2017 18:07:13 +0000 (18:07 +0000)]
Add example showing how to set root password via cloud-init

There have been some requests to enable this, and although it's not
something we should enable by default, this shows how you can use
the generic NodeUserData interface to have cloud-init do it.

To use this you create an environment file like:

resource_registry:
  OS::TripleO::NodeUserData: path/to/userdata_root_password.yaml
parameter_defaults:
  NodeRootPassword: insecure_changeme

Obviously this isn't that secure, and thus isn't intended for
production environments, but it may be useful for debugging and
as a further example showing how to configure things via cloud-init.

Change-Id: If87a1e1dbfaf31b84cc0667c9a60bbd3c757d8cd

7 years agoMerge "DB connection: prevent src address from binding to a VIP"
Jenkins [Wed, 4 Jan 2017 16:43:34 +0000 (16:43 +0000)]
Merge "DB connection: prevent src address from binding to a VIP"

7 years agoMerge "Specify cell0 db creation"
Jenkins [Wed, 4 Jan 2017 15:00:18 +0000 (15:00 +0000)]
Merge "Specify cell0 db creation"

7 years agoConfigure Heat engine metadata URL's
Dan Prince [Wed, 4 Jan 2017 14:41:02 +0000 (09:41 -0500)]
Configure Heat engine metadata URL's

Tried to use the heat-engine composable service in the Undercloud and I
discovered that my software deployments (when spinning up an overcloud)
weren't getting signals from my t-h-t configured undercloud heat.
This patch resolves the issues by configuring the metadata URLs
for Heat.

Change-Id: I57c9e7010bfe4afc6e62fb4c3406716d11cdfa28
Closes-bug: #1653985

7 years agoAdd missing VIP definitions into -no-tunneling env file
Giulio Fidente [Thu, 14 Jan 2016 00:00:18 +0000 (01:00 +0100)]
Add missing VIP definitions into -no-tunneling env file

Also removes from network-isolation env file the old RedisVioPort resource.

Change-Id: I09ea1fe441a9dbe71a0af36cb123a117f2f0055f

7 years agoExpose enabled_perf_events libvirt options
Pradeep Kilambi [Tue, 3 Jan 2017 16:24:00 +0000 (11:24 -0500)]
Expose enabled_perf_events libvirt options

For cache monitoring technology feature to work, nova config
libvirt settings should have the perf events enabled for
nova to emit these so telemetry can capture them.

Depends-On:  Ia27e6831f3f6e9cdeaacb650039be5c81b90cb40

Change-Id: I92c318008b965a6527acbce85b41a545eda7ee18