apex-tripleo-heat-templates.git
7 years agoMerge "Remove deprecated minor update pcs code"
Jenkins [Tue, 2 May 2017 12:27:16 +0000 (12:27 +0000)]
Merge "Remove deprecated minor update pcs code"

7 years agoAdd parameter Ec2ApiExternalNetwork for VPCs
Sven Anderson [Thu, 13 Apr 2017 16:29:50 +0000 (18:29 +0200)]
Add parameter Ec2ApiExternalNetwork for VPCs

Change-Id: I26652afe0f513ec354c05570e7fa0e5b4b0ab669

7 years agoMove containers common volumes from yaql to list_concat
Juan Antonio Osorio Robles [Tue, 25 Apr 2017 07:55:25 +0000 (10:55 +0300)]
Move containers common volumes from yaql to list_concat

list_concat was introduced recently and is able to replace the yaql
calls for concatenating lists.

Change-Id: Id3a80a0e1e4c25b6d838898757c69ec99d0cd826

7 years agoUse list_concat for metadata_settings for haproxy
Juan Antonio Osorio Robles [Tue, 25 Apr 2017 07:39:16 +0000 (10:39 +0300)]
Use list_concat for metadata_settings for haproxy

Change-Id: Ia0e0a12e1863dce657d4e1c7f9894ea5bfd008be

7 years agoImprove logging for docker-puppet.py
Bogdan Dobrelya [Wed, 26 Apr 2017 09:55:04 +0000 (11:55 +0200)]
Improve logging for docker-puppet.py

Log prepared docker command
Use logger stdout instead of print command
Log stderr as debug as well

Change-Id: I3d48fbf4fa3381d325e3be3788b041e06d4bb294
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
7 years agoDisable Telemetry services on undercloud containers
Pradeep Kilambi [Wed, 26 Apr 2017 18:31:46 +0000 (14:31 -0400)]
Disable Telemetry services on undercloud containers

We dont deploy telemetry by default on undercloud anymore.
Lets disable by default and provide an env file to enable
on demand.

Change-Id: I03807b3b75bb038c2d2bb342f3327e6eca2f3976

7 years agoMerge "Validate NTP servers"
Jenkins [Mon, 1 May 2017 13:07:20 +0000 (13:07 +0000)]
Merge "Validate NTP servers"

7 years agoAllow to deploy Octavia API & Neutron Server on 2 different nodes
Emilien Macchi [Fri, 28 Apr 2017 14:09:44 +0000 (10:09 -0400)]
Allow to deploy Octavia API & Neutron Server on 2 different nodes

Exporting the neutron::server parameter into the neutron_api service, so
Octavia API and Neutron Server can be separated.

Change-Id: Iee28b0e84a00bd589d6f14a73f0c3f32d310b393
Closes-Bug: #1687026

7 years agoMerge "Enables support for configuring Cinder with Pure Storage FlashArray storage...
Jenkins [Fri, 28 Apr 2017 18:34:21 +0000 (18:34 +0000)]
Merge "Enables support for configuring Cinder with Pure Storage FlashArray storage backend"

7 years agoMerge "Unset the UpgradeInitCommand on converge"
Jenkins [Fri, 28 Apr 2017 14:23:39 +0000 (14:23 +0000)]
Merge "Unset the UpgradeInitCommand on converge"

7 years agoMerge "Add $STACK_NAME input var"
Jenkins [Fri, 28 Apr 2017 12:57:29 +0000 (12:57 +0000)]
Merge "Add $STACK_NAME input var"

7 years agoUnset the UpgradeInitCommand on converge
marios [Thu, 27 Apr 2017 13:51:42 +0000 (16:51 +0300)]
Unset the UpgradeInitCommand on converge

In the converge envs we unset the UpgradeInitCommon since we used
that for the N..O upgrades workflow. However an operator may have
also overridden the UpgradeInitCommand so we should unset that
too.

Closes-Bug: 1686918
Change-Id: I3b316d04b78a4ab1e3f9f69948e42e6fb0ad6632

7 years agoMerge "Fix redis container"
Jenkins [Fri, 28 Apr 2017 10:25:07 +0000 (10:25 +0000)]
Merge "Fix redis container"

7 years agoMerge "Add missing tag to nova-placement docker image"
Jenkins [Thu, 27 Apr 2017 20:51:35 +0000 (20:51 +0000)]
Merge "Add missing tag to nova-placement docker image"

7 years agoMerge "aodh-base.yaml uses a hard coded keystone region name"
Jenkins [Thu, 27 Apr 2017 20:51:27 +0000 (20:51 +0000)]
Merge "aodh-base.yaml uses a hard coded keystone region name"

7 years agoMerge "Disable default vhost for apache"
Jenkins [Thu, 27 Apr 2017 20:21:28 +0000 (20:21 +0000)]
Merge "Disable default vhost for apache"

7 years agoMerge "upgrades: deploy mod_ssl when upgrading apache"
Jenkins [Thu, 27 Apr 2017 20:21:18 +0000 (20:21 +0000)]
Merge "upgrades: deploy mod_ssl when upgrading apache"

7 years agoRemove deprecated minor update pcs code
Michele Baldessari [Thu, 27 Apr 2017 19:46:40 +0000 (21:46 +0200)]
Remove deprecated minor update pcs code

We fixed pcs resources start/stop timeouts via
I587136d8d045d213875c657ea5a405074f80c8ad in Nov 2015.for mitaka.

And there we stated:
  This can be removed once updates from deployments made prior to
  I6fc18f1ad876c5a25723710a3b20d8ec9519dcba are no longer supported.

We can now safely remove these updates as they are useless and cost time
anyway.

Change-Id: Ibad2b3eed0d08560d52d5ebe700746b61e5b8f51

7 years agoMerge "Change the default for rabbitmq back to ha-mode: all"
Jenkins [Thu, 27 Apr 2017 19:20:24 +0000 (19:20 +0000)]
Merge "Change the default for rabbitmq back to ha-mode: all"

7 years agoAdd $STACK_NAME input var
James Slagle [Thu, 27 Apr 2017 17:00:17 +0000 (13:00 -0400)]
Add $STACK_NAME input var

The stack name can now be overridden in the get-occ-config.sh script for
deployed-server's by setting the $STACK_NAME variable in the
environment.

Change-Id: Iecba21499b80e463b4c629be53c309996d39472d
Closes-Bug: #1686719

7 years agoMerge "TLS-everywhere: Add missing profiles to docker compute services"
Jenkins [Thu, 27 Apr 2017 16:23:02 +0000 (16:23 +0000)]
Merge "TLS-everywhere: Add missing profiles to docker compute services"

7 years agoMerge "Pass httpd service_name to Zaqar"
Jenkins [Thu, 27 Apr 2017 16:16:18 +0000 (16:16 +0000)]
Merge "Pass httpd service_name to Zaqar"

7 years agoMerge "[ironic] expose default boot_option in configuration and change it to local"
Jenkins [Thu, 27 Apr 2017 16:01:43 +0000 (16:01 +0000)]
Merge "[ironic] expose default boot_option in configuration and change it to local"

7 years agoFix redis container
Martin André [Thu, 27 Apr 2017 09:38:24 +0000 (11:38 +0200)]
Fix redis container

The puppet-redis module makes use of the exec puppet tag to copy the
/etc/redis.conf.puppet file to /etc/redis.conf. We need to explicitly
enable it otherwise our redis container will pick up the default redis
configuration and not the one that was generated with puppet.

Also creates the /var/run/redis directory on the host since we bind
mount /run, and ensure the container sets the correct ownership on the
directory.

Finally, configure redis to not daemonize otherwise the container ends
up in a restart loop.

Change-Id: Ia1dce2120ca7479eef8bc77dedf9431adbe210cc
Closes-Bug: #1686707

7 years agoMerge "Upgrade failure when service parameter is changed for PankoApi"
Jenkins [Thu, 27 Apr 2017 11:24:31 +0000 (11:24 +0000)]
Merge "Upgrade failure when service parameter is changed for PankoApi"

7 years agoMerge "Fix etcd_init_task volume"
Jenkins [Thu, 27 Apr 2017 11:13:28 +0000 (11:13 +0000)]
Merge "Fix etcd_init_task volume"

7 years agoDisable default vhost for apache
Bogdan Dobrelya [Thu, 27 Apr 2017 10:11:12 +0000 (12:11 +0200)]
Disable default vhost for apache

It is required for a hybrid deployments
when WSGI based services running both at host and in containers, without conflicting default ports.

Partial-bug: #1686637
Co-authored-by: Juan Antonio Osorio Robles <jaosorior@redhat.com>
Change-Id: I9d0a5bb32337a6a8f1a4036f9560df79dfe1d90a
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
7 years agoTLS-everywhere: Add missing profiles to docker compute services
Juan Antonio Osorio Robles [Thu, 27 Apr 2017 08:07:31 +0000 (11:07 +0300)]
TLS-everywhere: Add missing profiles to docker compute services

the CA and certmonger user profiles were needed in the compute services
list from the tls-everywhere in containers environment.

bp tls-via-certmonger-containers

Change-Id: Ib584ac0745d68828467bcfad7f6472ab66adbac3

7 years agoupgrades: deploy mod_ssl when upgrading apache
Emilien Macchi [Wed, 26 Apr 2017 19:56:41 +0000 (15:56 -0400)]
upgrades: deploy mod_ssl when upgrading apache

1) When Apache is upgraded, install mod_ssl rpm.
   See https://bugs.launchpad.net/tripleo/+bug/1682448
   to understand why we need mod_ssl.

2) All services that run Apache for API will use the snippet from
   Apache service to deploy mod_ssl, so we don't duplicate the code
   in all services. It's using the same mechanism as ovs upgrade to
   compile upgrade_tasks between both services.

Change-Id: Ia2f6fea45c2c09790c49baab19b1efcab25e9a84
Closes-Bug: #1686503

7 years agoMerge "Containerize Redis service"
Jenkins [Wed, 26 Apr 2017 17:20:34 +0000 (17:20 +0000)]
Merge "Containerize Redis service"

7 years agoChange the default for rabbitmq back to ha-mode: all
Michele Baldessari [Wed, 26 Apr 2017 08:29:18 +0000 (10:29 +0200)]
Change the default for rabbitmq back to ha-mode: all

In change Ib62001c03e1e08f58cf0c6e0ba07a8879a584084 we switched the
rabbitmq queues HA mode from ha-all to ha-exactly. While this gives us a
nice performance boost with rabbitmq, it makes rabbit less resilient to
network glitches as we painfully found out via
https://bugzilla.redhat.com/show_bug.cgi?id=1441635.

This is the THT part of the change that changes the default to
ha-mode: all.

Closes-Bug: #1686337
Co-Authored-By: Damien Ciabrini <dciabrin@redhat.com>
Co-Authored-By: John Eckersberg <jeckersb@redhat.com>
Change-Id: I7afcf2b3c8deb13fc2134e4cae9c06a44e775384
Depends-On: I9a90e71094b8d8d58b5be0a45a2979701b0ac21c

7 years agoFix etcd_init_task volume
Bogdan Dobrelya [Wed, 26 Apr 2017 12:24:01 +0000 (14:24 +0200)]
Fix etcd_init_task volume

Docker puppet hook writes to /etc of
containers. Mount /etc as rw for etcd container.

Change-Id: I8e45de18a91022690c19888cbfaa68d2fdfe46ce
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
7 years agoUpgrade failure when service parameter is changed for PankoApi
Saravanan KR [Mon, 24 Apr 2017 05:39:56 +0000 (11:09 +0530)]
Upgrade failure when service parameter is changed for PankoApi

scenario001 env in ocata has mapped PankoApi locally and it
has been removed master scenario001 env file. In tripleo.sh
upgrade command, both old (ocata) and new (master) env files
are included, because of which new service file is not used,
as it has been removed. This change is to add the PankoApi
mapping back to scenario001 env file for now. Actual fix
will be remove old env file from upgrade command of tripleo.sh.

Partial-Bug: #1685759
Change-Id: I4a8ee38d990a1980eea6ec63f2780357d040ded4

7 years agoMerge "Fix dependencies for PreConfig/PostConfig resources"
Jenkins [Tue, 25 Apr 2017 22:05:11 +0000 (22:05 +0000)]
Merge "Fix dependencies for PreConfig/PostConfig resources"

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 agoDeprecate ceilometer collector
Pradeep Kilambi [Tue, 28 Mar 2017 16:49:04 +0000 (12:49 -0400)]
Deprecate ceilometer collector

Ceilometer collector is deprecated in Pike release.
Do not deploy by default. Instead use the pipeline
yaml to configure the publisher directly.

Closes-bug: #1676961

Change-Id: Ic71360c6307086d5393cd37d38ab921de186a2e0

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 agoFix dependencies for PreConfig/PostConfig resources
Steven Hardy [Tue, 25 Apr 2017 15:13:38 +0000 (15:13 +0000)]
Fix dependencies for PreConfig/PostConfig resources

We have a circular dependency errror since

https://review.openstack.org/#/c/452734/ landed.

This adjusts the dependencies to ensure we run pre-config before
the first puppet deploy step, and removes the duplicate declaration
of the ControllerPostConfig resource.  Also we ensure the first
container step always depends on the same step puppet deploy.

Change-Id: I70c5a39fb36b951bdeb04c15bddac7d00eebf08a
Closes-Bug: #1686098

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 agoPass httpd service_name to Zaqar
Thomas Herve [Tue, 25 Apr 2017 10:01:56 +0000 (12:01 +0200)]
Pass httpd service_name to Zaqar

This removes the need to do it in puppet-tripleo

Change-Id: I6f44a6a02041c0fbbafb770a087a0032c3a53a76

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 agoContainerize Redis service
Pradeep Kilambi [Mon, 6 Mar 2017 20:26:38 +0000 (15:26 -0500)]
Containerize Redis service

Closes-bug: #1668919

Change-Id: Ie750caa34c6fa22ca6eae6834b9ca20e15d97f7f

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 agoAdd missing tag to nova-placement docker image
Martin André [Wed, 19 Apr 2017 12:56:59 +0000 (14:56 +0200)]
Add missing tag to nova-placement docker image

This is not really an issue, but this is now consistent with other
images and is generally nicer to people with OCD.

Also, this helps generating a consistent overcloud_containers.yaml from
parsing the heat templates.

Change-Id: I24b41dea51d2a8e862f43e9092c94ba07431af4a

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