apex-tripleo-heat-templates.git
7 years agoMerge "Enable internal network TLS for etcd"
Jenkins [Tue, 25 Apr 2017 22:05:04 +0000 (22:05 +0000)]
Merge "Enable internal network TLS for etcd"

7 years agoMerge "Updated from global requirements"
Jenkins [Tue, 25 Apr 2017 19:50:26 +0000 (19:50 +0000)]
Merge "Updated from global requirements"

7 years agoMerge "Containerize etcd service"
Jenkins [Tue, 25 Apr 2017 16:49:43 +0000 (16:49 +0000)]
Merge "Containerize etcd service"

7 years agoDeploy ceilometer_auth_enabled to node containing keystone
Juan Antonio Osorio Robles [Mon, 24 Apr 2017 15:53:05 +0000 (18:53 +0300)]
Deploy ceilometer_auth_enabled to node containing keystone

This hiera key is used by keystone to create the ceilometer service
user. It works in CI cause keystone and the ceilometer services are in
the same node. However, this fails if keystone is deployed on a separate
note.

We should only deploy it in the nodes containing the keystone service
since it's only relevant to create the service user.

Change-Id: Ic0f02fe9a78a1fe14ac2b87197692fbd80c003b8
Closes-Bug: #1685828

7 years agoMerge "Disable Manila CephFS snapshots by default"
Jenkins [Tue, 25 Apr 2017 06:14:13 +0000 (06:14 +0000)]
Merge "Disable Manila CephFS snapshots by default"

7 years agoMerge "Add initial support for NSX plugin"
Jenkins [Tue, 25 Apr 2017 04:11:08 +0000 (04:11 +0000)]
Merge "Add initial support for NSX plugin"

7 years agoUpdated from global requirements
OpenStack Proposal Bot [Mon, 24 Apr 2017 20:36:13 +0000 (20:36 +0000)]
Updated from global requirements

Change-Id: I8dabf83907b2e50f6611f1ef93702b6bd5ac5e19

7 years agoMerge "Merge pre|post puppet resources into pre|post config."
Jenkins [Mon, 24 Apr 2017 18:42:00 +0000 (18:42 +0000)]
Merge "Merge pre|post puppet resources into pre|post config."

7 years agoMerge "Fix containerized RabbitMQ service deployment"
Jenkins [Mon, 24 Apr 2017 17:56:30 +0000 (17:56 +0000)]
Merge "Fix containerized RabbitMQ service deployment"

7 years agoContainerize etcd service
Bogdan Dobrelya [Wed, 15 Mar 2017 13:17:49 +0000 (14:17 +0100)]
Containerize etcd service

Depends-On: I3ad463217ed3f2d6374627248236b274cfed72fb
Depends-On: If4b01934a9a5cb6ca2ff6c1831e4fe073f1b04ea
Closes-bug: #1668938

Change-Id: I6cb902d712849bf11f331ed776cd0ed6e200dcd9
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
7 years agoMerge "Don't attempt to configure live migration"
Jenkins [Mon, 24 Apr 2017 13:12:00 +0000 (13:12 +0000)]
Merge "Don't attempt to configure live migration"

7 years agoMerge "Run Zaqar with httpd in puppet service"
Jenkins [Mon, 24 Apr 2017 13:02:34 +0000 (13:02 +0000)]
Merge "Run Zaqar with httpd in puppet service"

7 years agoMerge "Remove no longer used environment files - older upgrade workflows"
Jenkins [Mon, 24 Apr 2017 12:30:39 +0000 (12:30 +0000)]
Merge "Remove no longer used environment files - older upgrade workflows"

7 years agoMerge pre|post puppet resources into pre|post config.
Carlos Camacho [Mon, 3 Apr 2017 12:24:06 +0000 (14:24 +0200)]
Merge pre|post puppet resources into pre|post config.

The [Pre|Post]Puppet resources were renamed in
https://review.openstack.org/#/c/365763.
This was intended for having a pre/post deployment
steps using an agnostic name instead of
being attached to a technology.

The renaming was unintentionally reverted in
https://review.openstack.org/#/c/393644/ and
https://review.openstack.org/#/c/434451.

This submission merge both resources into one,
and remove the old pre|post hooks.

Closes-bug: #1669756
Change-Id: Ic9d97f172efd2db74255363679b60f1d2dc4e064

7 years agoFix containerized RabbitMQ service deployment
Bogdan Dobrelya [Wed, 19 Apr 2017 08:54:04 +0000 (10:54 +0200)]
Fix containerized RabbitMQ service deployment

* Use default puppet tags instead of the 'file' tag only
* Noop user/policy providers for puppet_config docker step
  and move them into docker_puppet_tasks (init container)

Change-Id: I98a54808aae6fca060b23f074b71178f2d4c815e
Closes-bug: #1684138
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
7 years agoMerge "Allow configuring enabled hardware types for Ironic"
Jenkins [Mon, 24 Apr 2017 09:30:30 +0000 (09:30 +0000)]
Merge "Allow configuring enabled hardware types for Ironic"

7 years agoMerge "Containers: disable downloading rabbitmqadmin"
Jenkins [Mon, 24 Apr 2017 09:30:23 +0000 (09:30 +0000)]
Merge "Containers: disable downloading rabbitmqadmin"

7 years agoMerge "Replace six.iteritems() with .items()"
Jenkins [Sat, 22 Apr 2017 04:09:46 +0000 (04:09 +0000)]
Merge "Replace six.iteritems() with .items()"

7 years agoMerge "Increase documentation about parameters"
Jenkins [Sat, 22 Apr 2017 01:48:59 +0000 (01:48 +0000)]
Merge "Increase documentation about parameters"

7 years agoMerge "Add service config settings to agent services"
Jenkins [Fri, 21 Apr 2017 19:52:52 +0000 (19:52 +0000)]
Merge "Add service config settings to agent services"

7 years agoMerge "scenario001/pingtest: enable Gnocchi resource again"
Jenkins [Fri, 21 Apr 2017 15:14:57 +0000 (15:14 +0000)]
Merge "scenario001/pingtest: enable Gnocchi resource again"

7 years agoRemove no longer used environment files - older upgrade workflows
marios [Fri, 21 Apr 2017 14:47:59 +0000 (17:47 +0300)]
Remove no longer used environment files - older upgrade workflows

In I7831d20eae6ab9668a919b451301fe669e2b1346 we removed some of
the old upgrades but left the environment files removed here.

Change-Id: Ib3eca5687285b280832d19b647c3b4aa3d9ac36d

7 years agoDon't attempt to configure live migration
Jiri Stransky [Thu, 20 Apr 2017 09:25:23 +0000 (11:25 +0200)]
Don't attempt to configure live migration

When configuring nova containers via puppet, the puppet class chain
includes a class for live migration, which configures live migration
aspects in nova and libvirt.

Some of the libvirt config parts try to notify Service[libvirt], but
that service definition is only included in nova-libvirt service, it's
not included in the control plan nova services. However, our hieradata
is currently global on the node, it's not per-service, which means even
though only nova-compute and nova-libvirt service set

  tripleo::profile::base::nova::manage_migration: true

this hiera setting is applied to all containers running puppet, most
notably the ones which configure nova control plane services. As a
result, configuration of nova control plane services failed, and in turn
the whole deployment failed.

This commit disables the libvirt part of live migration config until we
implement some better solution (e.g. hieradata separation between
different puppet containers, or move the libvirt config parts only to
nova-compute manifests in puppet-tripleo).

Change-Id: I0328406607d451e6bdce4d92c441c03648925fa7
Closes-Bug: #1684107

7 years agoMerge "Use -net=host for docker-puppet.py config gen"
Jenkins [Fri, 21 Apr 2017 12:56:11 +0000 (12:56 +0000)]
Merge "Use -net=host for docker-puppet.py config gen"

7 years agoMerge "Add defaults for docker puppet tasks"
Jenkins [Fri, 21 Apr 2017 12:20:33 +0000 (12:20 +0000)]
Merge "Add defaults for docker puppet tasks"

7 years agoMerge "containers: TLS in the internal network for telemetry services"
Jenkins [Fri, 21 Apr 2017 09:17:59 +0000 (09:17 +0000)]
Merge "containers: TLS in the internal network for telemetry services"

7 years agoMerge "glance: deploy services with Keystone v3 endpoints"
Jenkins [Fri, 21 Apr 2017 07:48:52 +0000 (07:48 +0000)]
Merge "glance: deploy services with Keystone v3 endpoints"

7 years agoMerge "SSHD Service extensions"
Jenkins [Fri, 21 Apr 2017 06:42:55 +0000 (06:42 +0000)]
Merge "SSHD Service extensions"

7 years agoMerge "Use conditionals for neutron and glance worker defaults"
Jenkins [Fri, 21 Apr 2017 03:16:30 +0000 (03:16 +0000)]
Merge "Use conditionals for neutron and glance worker defaults"

7 years agoMerge "Add network_data.yaml to encapsulate list of networks for j2"
Jenkins [Fri, 21 Apr 2017 00:41:15 +0000 (00:41 +0000)]
Merge "Add network_data.yaml to encapsulate list of networks for j2"

7 years agoMerge "Add environment to preselect only VIP IP addresses"
Jenkins [Fri, 21 Apr 2017 00:41:09 +0000 (00:41 +0000)]
Merge "Add environment to preselect only VIP IP addresses"

7 years agoMerge "Add NeutronDnsDomain heat option, undercloud fix"
Jenkins [Fri, 21 Apr 2017 00:08:08 +0000 (00:08 +0000)]
Merge "Add NeutronDnsDomain heat option, undercloud fix"

7 years agoMerge "Add all hosts to HostsEntry output"
Jenkins [Thu, 20 Apr 2017 23:55:19 +0000 (23:55 +0000)]
Merge "Add all hosts to HostsEntry output"

7 years agoMerge "N->O Manual puppet commands have the right modulepath."
Jenkins [Thu, 20 Apr 2017 15:46:28 +0000 (15:46 +0000)]
Merge "N->O Manual puppet commands have the right modulepath."

7 years agoAdd defaults for docker puppet tasks
Steven Hardy [Tue, 11 Apr 2017 10:44:46 +0000 (11:44 +0100)]
Add defaults for docker puppet tasks

Currently we're referencing some steps that don't exist in the
output from the OS::Heat::Value resource, but as noted in the heat
bug #1681749 I think this isn't valid and probably should not be
allowed, so instead merge defaults with the non-empty step
tasks. To avoid further duplication of the loop variables, I
made the max step a variable.

Change-Id: Icf3d639b53c97006a0c370c12600449fba6f3323
Related-Bug: #1681749

7 years agoN->O Manual puppet commands have the right modulepath.
Sofer Athlan-Guyot [Thu, 20 Apr 2017 10:30:46 +0000 (12:30 +0200)]
N->O Manual puppet commands have the right modulepath.

In two places during upgrade we manually trigger puppet.

There can be a problem when new puppet modules are added, and their
corresponding symlinks in /etc/puppet/modules are not created during
the installation as their are installed in
/usr/share/openstack-puppet/modules.  To prevent the issue tripleo set
modulepath in the templates.

We must use the same modulepath to make sure that we don't fail
because of missing module in the manual puppet run.

This particulary happens when you upgrade from M->N->O, as the base
image in Mitaka doesn't have the proper symlinks and they are not
created during the installation of the package.

Closes-Bug: #1684587

Change-Id: I79df6ea33f1c58e13309176a6de41b7572541fd6

7 years agoMerge "TLS-everywhere: Enable for TLS libvirt live migration"
Jenkins [Thu, 20 Apr 2017 11:20:14 +0000 (11:20 +0000)]
Merge "TLS-everywhere: Enable for TLS libvirt live migration"

7 years agoRun Zaqar with httpd in puppet service
Thomas Herve [Tue, 21 Mar 2017 09:01:39 +0000 (10:01 +0100)]
Run Zaqar with httpd in puppet service

This switches Zaqar to run with httpd when configured by puppet.

Change-Id: I69b923dd76a60e9ec786cae886c137ba572ec906

7 years agoMerge "N->O upgrade, fix wrong parameters to nova placement."
Jenkins [Thu, 20 Apr 2017 09:34:46 +0000 (09:34 +0000)]
Merge "N->O upgrade, fix wrong parameters to nova placement."

7 years agoMerge "Pluggable server type per Role"
Jenkins [Thu, 20 Apr 2017 09:26:59 +0000 (09:26 +0000)]
Merge "Pluggable server type per Role"

7 years agoglance: deploy services with Keystone v3 endpoints
Emilien Macchi [Tue, 7 Mar 2017 21:47:34 +0000 (16:47 -0500)]
glance: deploy services with Keystone v3 endpoints

* Switch auth_uri to point to Keystone versionless endpoint.
* Switch Swift auth url to use Keystone versionless endpoint and
  Keystone v3 API.

Co-Authored-By: Juan Antonio Osorio Robles <jaosorior@redhat.com>
Change-Id: I78cdd2286b5a5094f36d4f3c7c58340745664449
Partial-blueprint: keystone-v3

7 years agoMerge "Remove root_template and root_environment from capabilities-map.yaml"
Jenkins [Wed, 19 Apr 2017 18:38:18 +0000 (18:38 +0000)]
Merge "Remove root_template and root_environment from capabilities-map.yaml"

7 years agoSSHD Service extensions
Luke Hinds [Sun, 12 Mar 2017 03:24:35 +0000 (03:24 +0000)]
SSHD Service extensions

This change implements a MOTD message and provides a hash of
sshd config options which are sourced to the puppet-ssh module
as a hash.

The SSHD puppet service is enabled by default, as it is
required for Idb56acd1e1ecb5a5fd4d942969be428cc9cbe293.
Also added the service to the CI roles.

Change-Id: Ie2e01d93082509b8ede37297067eab03bb1ab06e
Depends-On: I1d09530d69e42c0c36311789166554a889e46556
Closes-Bug: #1668543
Co-Authored-By: Oliver Walsh <owalsh@redhat.com>
7 years agoContainers: disable downloading rabbitmqadmin
Jiri Stransky [Wed, 19 Apr 2017 15:02:15 +0000 (17:02 +0200)]
Containers: disable downloading rabbitmqadmin

There's no need for puppet to download rabbitmqadmin script from
rabbitmq, as the script would be immediately deleted together with the
ephemeral puppet container. Also, since rabbitmq isn't running at the
time we run the puppet container (rabbitmq doesn't have config files
generated at that point), puppet couldn't connect to rabbitmq anyway.

Change-Id: Ia59e1013c24ab02037246135024418cc9b674606
Closes-Bug: #1684104

7 years agoN->O upgrade, fix wrong parameters to nova placement.
Sofer Athlan-Guyot [Wed, 19 Apr 2017 09:26:45 +0000 (11:26 +0200)]
N->O upgrade, fix wrong parameters to nova placement.

According to [1] we need os_region_name, not region_name.  Furthermore
the os_interface is configured as well.  The hard check on this
parameter was introduced in ocata[2], explaining why the newton version
did not chock on it.

[1] https://docs.openstack.org/ocata/config-reference/compute/config-options.html
[2] https://github.com/openstack/nova/commit/d486315e0

Closes-Bug: #1684058
Change-Id: If6118bf03e832fe3fa5ea4fcb1b436afd2adf80a

7 years agocontainers: TLS in the internal network for telemetry services
Juan Antonio Osorio Robles [Wed, 19 Apr 2017 10:58:11 +0000 (10:58 +0000)]
containers: TLS in the internal network for telemetry services

This covers aodh, gnocchi and panko.

cp tls-via-certmonger-containers

Change-Id: I6dabb0d82755c28b8940c0baab0e23cfcc587c42

7 years agoMerge "Introduce common CAs to be mounted to the containers"
Jenkins [Wed, 19 Apr 2017 10:54:44 +0000 (10:54 +0000)]
Merge "Introduce common CAs to be mounted to the containers"

7 years agoMerge "Introduce common resources for docker templates"
Jenkins [Wed, 19 Apr 2017 10:54:36 +0000 (10:54 +0000)]
Merge "Introduce common resources for docker templates"

7 years agoMerge "Rework DOCKER_PUPPET_CONFIG validate tool"
Jenkins [Wed, 19 Apr 2017 10:05:38 +0000 (10:05 +0000)]
Merge "Rework DOCKER_PUPPET_CONFIG validate tool"

7 years agoTLS-everywhere: Enable for TLS libvirt live migration
Juan Antonio Osorio Robles [Tue, 28 Mar 2017 11:23:48 +0000 (14:23 +0300)]
TLS-everywhere: Enable for TLS libvirt live migration

This relies on using the default paths for certs/keys used by libvirt
and is only enabled if TLS-everywhere is enabled.

bp tls-via-certmonger
Depends-On: If18206d89460f6660a81aabc4ff8b97f1f99bba7
Depends-On: I0a1684397ebefaa8dc00237e0b7952e9296381fa
Change-Id: I0538bbdd54fd0b82518585f4f270b4be684f0ec4

7 years agoMerge "Use underscore for Aodh and Gnocchi's container names"
Jenkins [Wed, 19 Apr 2017 05:26:58 +0000 (05:26 +0000)]
Merge "Use underscore for Aodh and Gnocchi's container names"

7 years agoMerge "Use tripleo profile for bigswitch agent"
Jenkins [Wed, 19 Apr 2017 03:11:23 +0000 (03:11 +0000)]
Merge "Use tripleo profile for bigswitch agent"

7 years agoMerge "Add migration SSH tunneling support"
Jenkins [Wed, 19 Apr 2017 01:39:27 +0000 (01:39 +0000)]
Merge "Add migration SSH tunneling support"

7 years agoMerge "SSH known_hosts config"
Jenkins [Tue, 18 Apr 2017 22:53:25 +0000 (22:53 +0000)]
Merge "SSH known_hosts config"

7 years agoMerge "Run token flush cron job hourly by default"
Jenkins [Tue, 18 Apr 2017 20:55:04 +0000 (20:55 +0000)]
Merge "Run token flush cron job hourly by default"

7 years agoMerge "Support for external swift proxy"
Jenkins [Tue, 18 Apr 2017 14:22:59 +0000 (14:22 +0000)]
Merge "Support for external swift proxy"

7 years agoscenario001/pingtest: enable Gnocchi resource again
Emilien Macchi [Tue, 7 Mar 2017 21:38:36 +0000 (16:38 -0500)]
scenario001/pingtest: enable Gnocchi resource again

We disabled it because it stopped working. Let's see how it works now.

Change-Id: If1efb86cb1d6ada357d4562408a566ac702fb6be
Closes-Bug: #1646506

7 years agoMerge "Fix nova-compute service name in upgrade steps"
Jenkins [Tue, 18 Apr 2017 12:58:04 +0000 (12:58 +0000)]
Merge "Fix nova-compute service name in upgrade steps"

7 years agoMerge "Non-ha multinode environment for container upgrade job"
Jenkins [Tue, 18 Apr 2017 12:25:50 +0000 (12:25 +0000)]
Merge "Non-ha multinode environment for container upgrade job"

7 years agoMerge "Add RoleNetIpMap output to overcloud.j2.yaml"
Jenkins [Tue, 18 Apr 2017 11:51:41 +0000 (11:51 +0000)]
Merge "Add RoleNetIpMap output to overcloud.j2.yaml"

7 years agoRun token flush cron job hourly by default
Juan Antonio Osorio Robles [Wed, 12 Apr 2017 11:31:53 +0000 (14:31 +0300)]
Run token flush cron job hourly by default

Running this job once a day has proven problematic for large
deployments as seen in the bug report. Setting it to run hourly
would be an improvement to the current situation, as the flushes
wouldn't need to process as much data.

Note that this only affects people using UUID as the token provider.

Change-Id: I462e4da2bfdbcba0403ecde5d613386938e2283a
Related-Bug: #1649616

7 years agoIntroduce common CAs to be mounted to the containers
Juan Antonio Osorio Robles [Thu, 13 Apr 2017 13:51:46 +0000 (13:51 +0000)]
Introduce common CAs to be mounted to the containers

When TLS is enabled, the containers need to trust the CAs that the
host trusts.

Change-Id: I0434b0ac10290970857cad3d1a89d00f5b054196

7 years agoIntroduce common resources for docker templates
Juan Antonio Osorio Robles [Thu, 13 Apr 2017 13:46:31 +0000 (13:46 +0000)]
Introduce common resources for docker templates

This enables common resources that the docker templates might need.
The initial resource only is common volumes, and two volumes are
introduced (localtime and hosts).

Change-Id: Ic55af32803f9493a61f9b57aff849bfc6187d992

7 years agoSupport for external swift proxy
Luca Lorenzetto [Fri, 14 Apr 2017 09:20:58 +0000 (11:20 +0200)]
Support for external swift proxy

Users may have an external swift proxy already available (i.e. radosgw
from already existing ceph, or hardware appliance implementing swift
proxy). With this change user may specify an environment file that
registers the specified urls as endpoint for the object-store service.
The internal swift proxy is left as unconfigured.

Change-Id: I5e6f0a50f26d4296565f0433f720bfb40c5d2109
Depends-On: Ia568c3a5723d8bd8c2c37dbba094fc8a83b9d67e

7 years agoAdd all hosts to HostsEntry output
James Slagle [Mon, 17 Apr 2017 21:49:45 +0000 (17:49 -0400)]
Add all hosts to HostsEntry output

Previously only the VIPs and their associated hostnames were present in
the HostsEntry output, due to the hosts_entries output on the
hosts-config.yaml nested stack being empty. It was referencing an
invalid attribute.

Change-Id: Iec41926e27bdbf86eb30f230f904df1b7dbfa9c2
Closes-Bug: #1683517

7 years agoRevert "Use httpd in Zaqar docker service"
Dan Prince [Mon, 17 Apr 2017 01:38:33 +0000 (21:38 -0400)]
Revert "Use httpd in Zaqar docker service"

This reverts commit 57a26486128982c9887edd02eb8897045215b10a.

Change-Id: I1bbe16a1a7a382ae0c898bd19cd64d3d49aa84c7
Closes-bug: #1683210

7 years agoAdd migration SSH tunneling support
Oliver Walsh [Tue, 28 Mar 2017 15:15:08 +0000 (16:15 +0100)]
Add migration SSH tunneling support

This enables nova cold migration.

This also switches to SSH as the default transport for live-migration.
The tripleo-common mistral action that generates passwords supplies the
MigrationSshKey parameter that enables this.
The TCP transport is no longer used for live-migration and the firewall
port has been closed.

Change-Id: I4e55a987c93673796525988a2e4cc264a6b5c24f
Depends-On: I367757cbe8757d11943af7e41af620f9ce919a06
Depends-On: I9e7a1862911312ad942233ac8fc828f4e1be1dcf
Depends-On: Iac1763761c652bed637cb7cf85bc12347b5fe7ec

7 years agoMerge "Allow for update after RHEL registration"
Jenkins [Fri, 14 Apr 2017 15:27:48 +0000 (15:27 +0000)]
Merge "Allow for update after RHEL registration"

7 years agoRework DOCKER_PUPPET_CONFIG validate tool
Bogdan Dobrelya [Thu, 13 Apr 2017 11:47:29 +0000 (13:47 +0200)]
Rework DOCKER_PUPPET_CONFIG validate tool

* Split it to REQUIRED/OPTIONAL
* Move puppet_tags to OPTIONAL as it already has a
  default set of tags that need not to be repeated
  explicitly.

Change-Id: Ib70176f1edf61228771c983b0c3231fb7939a316
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
7 years agoMerge "Add name and description fields to plan-environment.yaml"
Jenkins [Thu, 13 Apr 2017 21:28:14 +0000 (21:28 +0000)]
Merge "Add name and description fields to plan-environment.yaml"

7 years agoSSH known_hosts config
Oliver Walsh [Fri, 24 Mar 2017 14:35:09 +0000 (14:35 +0000)]
SSH known_hosts config

Fetch the host public keys from each node, combine them all and write to the
system-wide ssh known hosts. The alternative of disabling host key
 verification is vulnerable to a MITM attack.

Change-Id: Ib572b5910720b1991812256e68c975f7fbe2239c

7 years agoPluggable server type per Role
James Slagle [Thu, 13 Apr 2017 19:38:02 +0000 (15:38 -0400)]
Pluggable server type per Role

The server resource type, OS::TripleO::Server can now be mapped per role
instead of globally. This allows users to mix baremetal
(OS::Nova::Server) and deployed-server (OS::Heat::DeployedServer) server
resources in the same deployment.

blueprint pluggable-server-type-per-role

Change-Id: Ib9e9abe2ba5103db221f0b485c46704b1e260dbf

7 years agoMerge "Add tags to roles"
Jenkins [Thu, 13 Apr 2017 17:29:59 +0000 (17:29 +0000)]
Merge "Add tags to roles"

7 years agoMerge "Use comma_delimited_list for token flush cron time settings"
Jenkins [Thu, 13 Apr 2017 15:46:27 +0000 (15:46 +0000)]
Merge "Use comma_delimited_list for token flush cron time settings"

7 years agoMerge "Do not log errors on non-existing container"
Jenkins [Thu, 13 Apr 2017 14:00:15 +0000 (14:00 +0000)]
Merge "Do not log errors on non-existing container"

7 years agoMerge "Add Docker to services list in multinode CI environments"
Jenkins [Thu, 13 Apr 2017 12:51:50 +0000 (12:51 +0000)]
Merge "Add Docker to services list in multinode CI environments"

7 years agoFix nova-compute service name in upgrade steps
Jiri Stransky [Thu, 13 Apr 2017 09:11:35 +0000 (11:11 +0200)]
Fix nova-compute service name in upgrade steps

Previously Ansible upgrade steps failed with: Could not find the
requested service nova-compute: cannot disable.

Change-Id: I14e8bc89aca0a3f7308d88488b431e23251cc043
Closes-Bug: #1682373

7 years agoUse underscore for Aodh and Gnocchi's container names
Juan Antonio Osorio Robles [Thu, 13 Apr 2017 06:52:01 +0000 (09:52 +0300)]
Use underscore for Aodh and Gnocchi's container names

The rest of the services are using underscores, so this helps
uniformity.

Change-Id: I4ce3cc76f430a19fa08c77b004b86ecad02119ae

7 years agoAdd service config settings to agent services
Pradeep Kilambi [Wed, 12 Apr 2017 20:36:38 +0000 (16:36 -0400)]
Add service config settings to agent services

When containerizing ceilometer agents, keystone auth is not getting
set correctly as we're not including the service config settings.

Change-Id: Ic17d64eb39e1fcb64c198410f27adbe94c84b7d4

7 years agoMerge "Update Dell EMC Cinder back end services"
Jenkins [Wed, 12 Apr 2017 20:09:14 +0000 (20:09 +0000)]
Merge "Update Dell EMC Cinder back end services"

7 years agoMerge "yum_update.sh - Use the yum parameter: check-update"
Jenkins [Wed, 12 Apr 2017 18:04:48 +0000 (18:04 +0000)]
Merge "yum_update.sh - Use the yum parameter: check-update"

7 years agoMerge "Add upgrade tasks for gnocchi container services"
Jenkins [Wed, 12 Apr 2017 16:39:56 +0000 (16:39 +0000)]
Merge "Add upgrade tasks for gnocchi container services"

7 years agoMerge "Add IPv6 disable option"
Jenkins [Wed, 12 Apr 2017 16:39:47 +0000 (16:39 +0000)]
Merge "Add IPv6 disable option"

7 years agoMerge "Use httpd in Zaqar docker service"
Jenkins [Wed, 12 Apr 2017 16:39:40 +0000 (16:39 +0000)]
Merge "Use httpd in Zaqar docker service"

7 years agoMerge "Add composable role support for NetApp Cinder back end"
Jenkins [Wed, 12 Apr 2017 15:28:00 +0000 (15:28 +0000)]
Merge "Add composable role support for NetApp Cinder back end"

7 years agoAdd name and description fields to plan-environment.yaml
Ana Krivokapic [Tue, 28 Mar 2017 15:48:12 +0000 (17:48 +0200)]
Add name and description fields to plan-environment.yaml

Change-Id: I99b96343742ee5c40d8786e26b2336427e225c82
Implements: blueprint update-plan-environment-yaml

7 years agoMerge "Bind mount directories that contain the key/certs for keystone"
Jenkins [Wed, 12 Apr 2017 14:18:57 +0000 (14:18 +0000)]
Merge "Bind mount directories that contain the key/certs for keystone"

7 years agoMerge "docker/all: Bind-mount OpenSSL CA bundle"
Jenkins [Wed, 12 Apr 2017 14:18:50 +0000 (14:18 +0000)]
Merge "docker/all: Bind-mount OpenSSL CA bundle"

7 years agoMerge "Change the directory for httpd certs/keys to be service-specific"
Jenkins [Wed, 12 Apr 2017 14:17:36 +0000 (14:17 +0000)]
Merge "Change the directory for httpd certs/keys to be service-specific"

7 years agoAdd tags to roles
Alex Schultz [Wed, 29 Mar 2017 20:43:45 +0000 (14:43 -0600)]
Add tags to roles

Prior to Ocata, the Controller role was hardcoded for various lookups.
When we switched to having the primary role name being dynamically
pulled from the roles_data.yaml using the first role as the primary
role as part of I36df7fa86c2ff40026d59f02248af529a4a81861, it
introduced a regression for folks who had previously been using
a custom roles file without the Controller being listed first.

Instead of relying on the position of the role in the roles data, this
change adds the concepts of tags to the role data that can be used when
looking for specific functionality within the deployment process. If
no roles are specified with this the tags indicating a 'primary'
'controller', it will fall back to using  the first role listed in the
roles data as the primary role.

Change-Id: Id3377e7d7dcc88ba9a61ca9ef1fb669949714f65
Closes-Bug: #1677374

7 years agoNon-ha multinode environment for container upgrade job
Jiri Stransky [Wed, 12 Apr 2017 11:55:59 +0000 (13:55 +0200)]
Non-ha multinode environment for container upgrade job

Non-working containers upgrade CI is caused by the fact that all
multinode jobs deploy pacemaker environments.

Currently we cannot upgrade Pacemakerized deployments
anyway (containerization of pacemakerized services is WIP), upgrades
have only been tested with non-Pacemaker deployments so far.

We need a new environment which will not try deploying in a
pacemakerized way. When pacemaker-managed services are containerized, we
can change the job to upgrade an HA deployment (or single-node "HA" at
least), and perhaps even get rid of the environment file introduced
here, and reuse multinode.yaml.

Change-Id: Ie635b1b3a0b91ed5305f38d3c76f6a961efc1d30
Closes-Bug: #1682051

7 years agoUse comma_delimited_list for token flush cron time settings
Juan Antonio Osorio Robles [Wed, 12 Apr 2017 11:30:27 +0000 (14:30 +0300)]
Use comma_delimited_list for token flush cron time settings

This allows us to better configure these parametes, e.g. we could set
the cron job to run more times per day, and not just one.

Change-Id: I0a151808804809c0742bcfa8ac876e22f5ce5570
Closes-Bug: #1682097

7 years agoBind mount directories that contain the key/certs for keystone
Juan Antonio Osorio Robles [Fri, 24 Mar 2017 10:52:40 +0000 (12:52 +0200)]
Bind mount directories that contain the key/certs for keystone

This is only done when TLS-everywhere is enabled, and depends on those
directories being exclusive for services that run over httpd. Which is
the commit this is on top of.

Also, an environment file was added that's similar to
environments/docker.yaml. The difference is that this one will contain
the services that can run containerized with TLS-everywhere. This file
will be updated as more services get support for this.

bp tls-via-certmonger-containers

Change-Id: I87bf59f2c33de6cf2d4ce0679a5e0e22bc24bf78

7 years agodocker/all: Bind-mount OpenSSL CA bundle
Juan Antonio Osorio Robles [Tue, 11 Apr 2017 11:43:06 +0000 (11:43 +0000)]
docker/all: Bind-mount OpenSSL CA bundle

The containers also need to trust the CA's that the overcloud node
trusts, else we'll get SSL verification failures.

bp tls-via-certmonger-containers

Change-Id: I7d3412a6273777712db2c90522e365c413567c49

7 years agoMerge "Grouped all the Operational tools"
Jenkins [Wed, 12 Apr 2017 02:22:11 +0000 (02:22 +0000)]
Merge "Grouped all the Operational tools"

7 years agoMerge "Add missing name properties on deloyment resources"
Jenkins [Tue, 11 Apr 2017 22:22:14 +0000 (22:22 +0000)]
Merge "Add missing name properties on deloyment resources"

7 years agoUse -net=host for docker-puppet.py config gen
Dan Prince [Tue, 11 Apr 2017 17:51:26 +0000 (13:51 -0400)]
Use -net=host for docker-puppet.py config gen

We pass the short hostname to docker-puppet.py. In order to satisfy the
factor FQDN check for the short hostname we need to run the container
with --net=host in some cases.

Change-Id: I2929f122f23ee33e8ea5d4c5006d2bbb8b928b67
Closes-bug: #1681903

7 years agoAdd RoleNetIpMap output to overcloud.j2.yaml
Steven Hardy [Tue, 11 Apr 2017 15:26:39 +0000 (16:26 +0100)]
Add RoleNetIpMap output to overcloud.j2.yaml

To enable easier detection of the IPs associated with nodes (such
as to enable the tripleo-validations ansible inventory to work with
custom roles more easily) expose the data we already have about the
nodes/roles and the list of IPs for each network.

Change-Id: I5667a142f47fbff120c703bedadd8b6e163c9480

7 years agodocker: use noop_resource for Nova_cell_v2
Dan Prince [Tue, 11 Apr 2017 13:14:38 +0000 (09:14 -0400)]
docker: use noop_resource for Nova_cell_v2

Per puppet-nova commit 2c743a6bff5b17a85d1e0500f3a9ecb21468204e
there is now a custom resource for Nova_cell_v2 configuration.
As this resource runs automatically regardless of our use
of puppet tags we need to explicitly disable it to be able to
generate Nova API configs for docker.

Change-Id: Id675dc124464acddc3fc5a88b017a351e93ba685
Closes-bug: #1681841

7 years agoChange the directory for httpd certs/keys to be service-specific
Juan Antonio Osorio Robles [Fri, 24 Mar 2017 10:38:33 +0000 (12:38 +0200)]
Change the directory for httpd certs/keys to be service-specific

This moves the directories containing the certs/keys for httpd one step
further inside the hierarchy. This way we will be able to bind-mount
this certificate into the container without bind-mounting any other
certs/keys from other services.

bp tls-via-certmonger-containers

Change-Id: Ibe6e66ae4589b9eab7db330dd8b178e0f8775639
Depends-On: I0b71902358b754fa8bd7fdbb213479503c87aa46