apex-tripleo-heat-templates.git
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 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 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 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 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 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 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 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

7 years agoSpecify cell0 db creation
Alex Schultz [Tue, 3 Jan 2017 20:14:03 +0000 (13:14 -0700)]
Specify cell0 db creation

This change pulls the hard coded value out of puppet-tripleo to later
allow people to skip the cell0 creation if they want a more complex cell
v2 setup for nova.

Change-Id: I08119d781ef60750cc19753bc03190e413159925
Related-Bug: #1649341

7 years agoMerge "Increase libvirt/qemu.conf max_files and max_processes"
Jenkins [Tue, 3 Jan 2017 19:39:52 +0000 (19:39 +0000)]
Merge "Increase libvirt/qemu.conf max_files and max_processes"

7 years agoMerge "Set gnocchi wsgi display name"
Jenkins [Tue, 3 Jan 2017 10:32:05 +0000 (10:32 +0000)]
Merge "Set gnocchi wsgi display name"

7 years agoMerge "Bump template version for all templates to "ocata""
Jenkins [Tue, 3 Jan 2017 10:31:44 +0000 (10:31 +0000)]
Merge "Bump template version for all templates to "ocata""

7 years agoMerge "Set aodh wsgi display name"
Jenkins [Tue, 3 Jan 2017 10:16:23 +0000 (10:16 +0000)]
Merge "Set aodh wsgi display name"

7 years agoDB connection: prevent src address from binding to a VIP
Damien Ciabrini [Fri, 23 Dec 2016 16:57:48 +0000 (17:57 +0100)]
DB connection: prevent src address from binding to a VIP

When a service connects to the database VIP from the node hosting this
VIP, the resulting TCP socket has a src address which is by default
bound to the VIP as well. If the VIP is failed over to another node
while the socket's Send-Q is not empty, TCP keepalive won't engage and
the service will become unavailable for a very long time (by default
more than 10m).

To prevent failover issues, DB connections should have the src address
of their TCP socket bound to the IP of the network interface used for
MySQL traffic. This is achieved by passing a new option to the
database connection URIs. This option is available starting from
PyMySQL 0.7.9-2.

We use a new intermediate variable in hiera to hold the IP to be used
as a source address for all DB connections. All services adapt their
database URI accordingly.

Moreover, a new YAML validation check is added to guarantee that new
services will construct their database URI appropriately.

Change-Id: Ic69de63acbfb992314ea30a3a9b17c0b5341c035
Closes-Bug: #1643487

7 years agoMerge "Use overcloud-full instead of atomic-image"
Jenkins [Mon, 2 Jan 2017 15:14:21 +0000 (15:14 +0000)]
Merge "Use overcloud-full instead of atomic-image"

7 years agoMerge "Pass nova rabbit information to mysql"
Jenkins [Fri, 23 Dec 2016 18:42:57 +0000 (18:42 +0000)]
Merge "Pass nova rabbit information to mysql"

7 years agoMerge "Split OVN northd and ml2 plugin"
Jenkins [Fri, 23 Dec 2016 12:45:49 +0000 (12:45 +0000)]
Merge "Split OVN northd and ml2 plugin"

7 years agoBump template version for all templates to "ocata"
Steven Hardy [Fri, 23 Dec 2016 11:43:39 +0000 (11:43 +0000)]
Bump template version for all templates to "ocata"

Heat now supports release name aliases, so we can replace
the inconsistent mix of date related versions with one consistent
version that aligns with the supported version of heat for this
t-h-t branch.

This should also help new users who sometimes copy/paste old templates
and discover intrinsic functions in the t-h-t docs don't work because
their template version is too old.

Change-Id: Ib415e7290fea27447460baa280291492df197e54

7 years agoMerge "Manage disallow_iframe_embed"
Jenkins [Fri, 23 Dec 2016 11:29:14 +0000 (11:29 +0000)]
Merge "Manage disallow_iframe_embed"

7 years agoMerge "Add network_config_hook interface to run-os-net-config.sh"
Jenkins [Fri, 23 Dec 2016 11:16:44 +0000 (11:16 +0000)]
Merge "Add network_config_hook interface to run-os-net-config.sh"

7 years agoMerge "Modify external loadbalancer environments to use new FixedIPs"
Jenkins [Fri, 23 Dec 2016 00:36:21 +0000 (00:36 +0000)]
Merge "Modify external loadbalancer environments to use new FixedIPs"

7 years agoMerge "Add CI matrix to THT"
Jenkins [Fri, 23 Dec 2016 00:22:13 +0000 (00:22 +0000)]
Merge "Add CI matrix to THT"

7 years agoMerge "Introduce role-specific NodeUserData, use for docker"
Jenkins [Thu, 22 Dec 2016 23:41:08 +0000 (23:41 +0000)]
Merge "Introduce role-specific NodeUserData, use for docker"

7 years agoMerge "FreeIPA: Make OTP and FreeIPA server parameters optional"
Jenkins [Thu, 22 Dec 2016 23:37:22 +0000 (23:37 +0000)]
Merge "FreeIPA: Make OTP and FreeIPA server parameters optional"

7 years agoMerge "Use ws instead of http for Zaqar websocket endpoints"
Jenkins [Thu, 22 Dec 2016 23:14:16 +0000 (23:14 +0000)]
Merge "Use ws instead of http for Zaqar websocket endpoints"

7 years agoMerge "Add bind mounts for agent state"
Jenkins [Thu, 22 Dec 2016 22:14:44 +0000 (22:14 +0000)]
Merge "Add bind mounts for agent state"

7 years agoMerge "Adds missing OpenDaylight username/password from ODL OVS service"
Jenkins [Thu, 22 Dec 2016 22:12:07 +0000 (22:12 +0000)]
Merge "Adds missing OpenDaylight username/password from ODL OVS service"

7 years agoPass nova rabbit information to mysql
Alex Schultz [Mon, 19 Dec 2016 16:23:33 +0000 (09:23 -0700)]
Pass nova rabbit information to mysql

The cell v2 setup requires the transport url for nova. We need to
provide mysql with the rabbit connection information so that it can it
when setting up the cell information.

Change-Id: I43ba77cd4c8da7c6dc117ab0bd53e5cd330dc3de
Related-Bug: #1649341

7 years agoMerge "Decouple swift-proxy from ceilometer"
Jenkins [Thu, 22 Dec 2016 14:06:55 +0000 (14:06 +0000)]
Merge "Decouple swift-proxy from ceilometer"

7 years agoAdd network_config_hook interface to run-os-net-config.sh
James Slagle [Fri, 9 Dec 2016 21:52:22 +0000 (16:52 -0500)]
Add network_config_hook interface to run-os-net-config.sh

run-os-net-config.sh only allows for limited customization of the
network configuration in config.json. Namely, it only customizes the
bridge_name and interface_name.

This will likely not be sufficient for all use cases. This patch adds a
generic network_config_hook bash function that will be called if it is
defined. The function is an entry point for deployers to write custom
code to further influence run-os-net-config.sh.

A possible alternative approach would be to pass the server resource
into the NetworkConfig template. That would allow running arbitrary
SoftwareDeployments on the server before NetworkDeployment is executed.
However, the interface of NetworkDeployment is likely still not as
flexible as this approach as the inputs are hardcoded in the role
template files (role.role.j2.yaml), which are not meant to be modified
by deployers.

The immediate use case for this work is using os-net-config in our
multinode CI jobs where we need to create vxlan tunnels between the
nodes and we need to know the local private IP of each node for the
tunnel endpoint. As the IP is different for each node, it's not a
parameter we could specify in the templates.

Change-Id: I26d0ebdaba6fcd3fe885e41ed234eb79a2405228
Implements: blueprint multinode-ci-os-net-config

7 years agoMerge "Add hook to generate metadata from service profiles"
Jenkins [Thu, 22 Dec 2016 12:08:12 +0000 (12:08 +0000)]
Merge "Add hook to generate metadata from service profiles"

7 years agoMerge "Add a per service bootstrap node variable"
Jenkins [Thu, 22 Dec 2016 11:58:32 +0000 (11:58 +0000)]
Merge "Add a per service bootstrap node variable"

7 years agoAdd CI matrix to THT
Carlos Camacho [Mon, 12 Dec 2016 09:41:36 +0000 (10:41 +0100)]
Add CI matrix to THT

Currently the description of CI matrix is defined
in tripleo-ci, but the services for each scenario
lives now in THT. This submission moves this table
to the repo in which the configuration is defined.

Change-Id: I9ef1acefc6e1f347528a48edcb4d997a9628fcf6

7 years agoAdd hook to generate metadata from service profiles
Juan Antonio Osorio Robles [Thu, 15 Dec 2016 12:28:57 +0000 (14:28 +0200)]
Add hook to generate metadata from service profiles

This enables the deployer to dynamically add nova metadata to the
servers based on the output of service profiles that implement the
metadata_settings key in the role_data output for the profiles.

One can set an implementation via the OS::TripleO::ServerMetadataHook
resource, which currently is set as OS::Heat::None. So, because of
the default implementation, if left untouched it actually does
nothing.

Currently, besides the list, which is metadata_settings, this hook also
takes the name of the node that it's setting the metadata for.

This is useful for nova vendordata plugins that can parse said metadata.

Change-Id: I8a937f711f0b90156fbb6c4632760435ef846474

7 years agoMerge "Use df instead of findmnt in cephstorage upgrade scripts"
Jenkins [Wed, 21 Dec 2016 21:09:36 +0000 (21:09 +0000)]
Merge "Use df instead of findmnt in cephstorage upgrade scripts"

7 years agoMerge "Add "deployed server" fake neutron ports"
Jenkins [Wed, 21 Dec 2016 14:52:36 +0000 (14:52 +0000)]
Merge "Add "deployed server" fake neutron ports"

7 years agoMerge "Synchronize NetworkDeployment inputs for generic roles"
Jenkins [Wed, 21 Dec 2016 13:53:48 +0000 (13:53 +0000)]
Merge "Synchronize NetworkDeployment inputs for generic roles"

7 years agoAdd FreeIPA server installation script
Juan Antonio Osorio Robles [Mon, 19 Dec 2016 12:50:18 +0000 (14:50 +0200)]
Add FreeIPA server installation script

This script is meant for CI and it deploys an instance of FreeIPA.
This instance is needed for deploying TLS everywhere and will serve as
the CA. The parameters relevant to this instance will then be passed to
the overcloud deploy command.

Change-Id: I38b880250c3b30d7fa1c9e56e82a1be8b59b7e30

7 years agoAdd a per service bootstrap node variable
Michele Baldessari [Mon, 19 Dec 2016 13:27:51 +0000 (14:27 +0100)]
Add a per service bootstrap node variable

In order to call commands that need to be run on a single node, we
create a new per-service variable that will contain the first node of
each role containing the service.

Change-Id: I03e8685f939e8ae1fcd8b16883b559615042505d
Partial-Bug: #1615983

7 years agoMerge "Make the openvswitch 2.4->2.5 upgrade more robust"
Jenkins [Wed, 21 Dec 2016 10:28:54 +0000 (10:28 +0000)]
Merge "Make the openvswitch 2.4->2.5 upgrade more robust"

7 years agoMerge "net-conf: make bridge and interface name optional"
Jenkins [Wed, 21 Dec 2016 09:36:29 +0000 (09:36 +0000)]
Merge "net-conf: make bridge and interface name optional"

7 years agoAdds missing firewall rules for OpenDaylight API service
Tim Rozet [Tue, 20 Dec 2016 20:56:00 +0000 (15:56 -0500)]
Adds missing firewall rules for OpenDaylight API service

Custom role deployments were not working when ODL API was on a different
node due to firewall rules blocking traffic.  This patch adds the
missing rules for the REST communication to ODL (8081 by default), OVSDB
connection (6640), and OpenFlow protocol (6653).

Closes-Bug: 1651476
Depends-On: I1f2af2793d040fda17bf73252afe59434d99f31f

Change-Id: Ic0119c783d01e864c49fa06a66fdd68c059a726b
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoMerge "Set the default event pipeline publisher"
Jenkins [Tue, 20 Dec 2016 20:25:44 +0000 (20:25 +0000)]
Merge "Set the default event pipeline publisher"

7 years agoMerge "Use OS::Heat::DeployedServer"
Jenkins [Tue, 20 Dec 2016 20:24:22 +0000 (20:24 +0000)]
Merge "Use OS::Heat::DeployedServer"

7 years agoAdds missing OpenDaylight username/password from ODL OVS service
Tim Rozet [Tue, 20 Dec 2016 18:55:35 +0000 (13:55 -0500)]
Adds missing OpenDaylight username/password from ODL OVS service

ODL username and password are already present in the OpenDaylightApi
service.  However, when moving the OpenDaylightApi service to its own
custom role, the Controller/Compute nodes no longer have access to these
hiera values.  This patch adds them also to the OpenDaylightOvs service.

Closes-Bug: 1651499
Depends-On: I418643810ee6b8a2c17a4754c83453140ebe39c7

Change-Id: I169fdad4c94bd6dfc1fe7cde3d6b19b36d916af7
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoSet gnocchi wsgi display name
Pradeep Kilambi [Tue, 20 Dec 2016 16:12:46 +0000 (11:12 -0500)]
Set gnocchi wsgi display name

Depends-On: Ice921f0fdd4bec6de50e62c39c447ee40dc0e8f5

Change-Id: I4109ac83c32ee2365695611009579a8b117134ff

7 years agoSet aodh wsgi display name
Pradeep Kilambi [Tue, 20 Dec 2016 16:09:20 +0000 (11:09 -0500)]
Set aodh wsgi display name

Depends-On: I53b156505e08625d56ed6a302cf5b5c30e8e288c

Change-Id: Id9791d8a19a74c1f0855e794170f66542f88a548

7 years agoSet the default event pipeline publisher
Pradeep Kilambi [Mon, 12 Dec 2016 21:17:49 +0000 (16:17 -0500)]
Set the default event pipeline publisher

Since we have aodh enabled for alarms, we should set the
notifier to the default queue alarm.all.

Closes-bug: #1590473

Change-Id: Ibcb5076424ac2ddcd18ff717d82da1aec4c035cb

7 years agoUse ws instead of http for Zaqar websocket endpoints
Dan Prince [Tue, 20 Dec 2016 15:06:34 +0000 (10:06 -0500)]
Use ws instead of http for Zaqar websocket endpoints

This patch updates the endpoint map for Zaqar websockets
so that we use ws (or wss for SSL) instead of the http varients.
This should help resolve protocol issues when trying to make
connections to the websocket API.

Change-Id: Iea88d1e30299cb621424740a39d498defa371ca4

7 years agoMerge "Expose param to enable legacy ceilometer api"
Jenkins [Tue, 20 Dec 2016 14:57:47 +0000 (14:57 +0000)]
Merge "Expose param to enable legacy ceilometer api"

7 years agoMerge "Move UpgradeInitCommand to role templates"
Jenkins [Tue, 20 Dec 2016 14:46:54 +0000 (14:46 +0000)]
Merge "Move UpgradeInitCommand to role templates"

7 years agoMerge "Run upgrade steps before post-deploy config"
Jenkins [Tue, 20 Dec 2016 14:45:57 +0000 (14:45 +0000)]
Merge "Run upgrade steps before post-deploy config"

7 years agoFreeIPA: Make OTP and FreeIPA server parameters optional
Juan Antonio Osorio Robles [Tue, 20 Dec 2016 08:02:23 +0000 (10:02 +0200)]
FreeIPA: Make OTP and FreeIPA server parameters optional

In the freeipa-enroll.yaml, it can be the case that the node has been
enrolled (via a cloud-init script); in this case, the OTP and the
FreeIPA server are optional. However, we still need to get a kerberos
ticket, which is the last step of this script, since this ticket is what
certmonger will use to request the certificates in subsequent steps.

Change-Id: I7e9d6a747cdcbe81c9a74a17db5e91aa9d459f65

7 years agoMerge "Remove unused attr from templates"
Jenkins [Mon, 19 Dec 2016 23:32:48 +0000 (23:32 +0000)]
Merge "Remove unused attr from templates"

7 years agoMerge "Revert "Switch mistral to use authtoken configuration""
Jenkins [Mon, 19 Dec 2016 23:32:12 +0000 (23:32 +0000)]
Merge "Revert "Switch mistral to use authtoken configuration""

7 years agoRevert "Switch mistral to use authtoken configuration"
Ben Nemec [Mon, 19 Dec 2016 20:34:46 +0000 (20:34 +0000)]
Revert "Switch mistral to use authtoken configuration"

It turns out the puppet-mistral change this depends on broke
introspection, so we need to back it out for now.

This reverts commit ed029e5bf279945e82bff8766af4093856a7ac6a.

Change-Id: I828478267935cdc68aa24de8c9dc2d12fcadb631

7 years agoMerge "Switch mistral to use authtoken configuration"
Jenkins [Mon, 19 Dec 2016 18:46:25 +0000 (18:46 +0000)]
Merge "Switch mistral to use authtoken configuration"

7 years agoUse overcloud-full instead of atomic-image
Steve Baker [Tue, 8 Nov 2016 20:50:17 +0000 (20:50 +0000)]
Use overcloud-full instead of atomic-image

This switches to using overcloud-full as the OS image for
containerized compute. It includes the following changes:
- install docker, until this change lands
  I1eab2a6de721c8f3c21c7df0019f2d4d1cc3775f
- agent image pull has been removed. This avoids a race between docker
  starting and the current call to pull. This relies on "docker run"
  to do the initial pull and leaves open the option of some other
  prefetch mechanism to do the initial pull
- rely on unit Conflicts= to ensure heat-docker-agents and
  os-collect-config do not run at the same time
- tweaks to host bind mounts
- removal of commands which only apply to atomic

Co-Authored-By: Martin André <m.andre@redhat.com>
Change-Id: I2e82634785834a877a4dbdbdcd788a9ac1c14a9d

7 years agoIntroduce role-specific NodeUserData, use for docker
Steve Baker [Thu, 8 Dec 2016 01:44:35 +0000 (14:44 +1300)]
Introduce role-specific NodeUserData, use for docker

Currently when the docker environments are invoked, every node has the
boot script run which replaces os-collect-config with the heat-agents
container. This should only be happening on Compute nodes currently,
and each role will be converted to heat-agents one at a time.

This change implements a role-specific NodeUserData resource and uses
that mechanism to run docker/firstboot/install_docker_agents.yaml only
on Compute nodes.

Change-Id: Id81811dbcaf0e661c3980aa25f3ca80db5ef0954

7 years agoAdd bind mounts for agent state
Steve Baker [Tue, 6 Dec 2016 22:18:23 +0000 (22:18 +0000)]
Add bind mounts for agent state

These ensure that software configuration tasks are not re-run when the
heat-agents container is restarted.

Change-Id: Ieb84fe1f6dd849737ff22f51daa12ddc467dcdde

7 years agoMerge "Add a type for the ControlVirtualIP resource"
Jenkins [Mon, 19 Dec 2016 15:05:02 +0000 (15:05 +0000)]
Merge "Add a type for the ControlVirtualIP resource"

7 years agoMerge "Correction to SRIOV THT Examples"
Jenkins [Mon, 19 Dec 2016 13:20:47 +0000 (13:20 +0000)]
Merge "Correction to SRIOV THT Examples"