apex-tripleo-heat-templates.git
7 years agoSeparate config_volume for ringbuilder
James Slagle [Tue, 15 Aug 2017 19:59:08 +0000 (15:59 -0400)]
Separate config_volume for ringbuilder

Use a separate config_volume for swift_ringbuilder puppet_config tasks.
This is necessary so that the swift_ringbuilder and swift-storage
services don't both rsync files to the same bind mounted directory.

The rsync command from docker-puppet.py uses --delete-after, so when
they both use the same config_volume, they can end up deleting the files
generated by the other (depending on the order of execution).

Even though a separate config_volume is used, the rings must still end up
in /etc/swift for the swift services containers.  An additional
container init task is used to copy the ring files into
/var/lib/config-data/puppet-generated/swift/etc/swift so that they will
be present when the actual swift services containers are started.

Change-Id: I05821e76191f64212704ca8e3b7428cda6b3a4b7
Closes-Bug: #1710952
(cherry picked from commit cba00abb7517efa6a8d9b8fb954563204323ffed)

7 years agoMerge "Convert enable-internal-tls.yaml to be generated" into stable/pike
Jenkins [Sat, 2 Sep 2017 08:53:30 +0000 (08:53 +0000)]
Merge "Convert enable-internal-tls.yaml to be generated" into stable/pike

7 years agoConvert enable-internal-tls.yaml to be generated
Ben Nemec [Fri, 11 Aug 2017 21:31:01 +0000 (16:31 -0500)]
Convert enable-internal-tls.yaml to be generated

All of the other SSL environments were converted, but this one was
missed.  That's an inconsistent user experience and should be
cleaned up.

This environment also exposed a bug in the tool where it did not
include the parameter_defaults section key if all the parameters
were marked static.

Change-Id: I19bc422c22b9f60f781e696ce703b026dc317786
Closes-Bug: 1713761
(cherry picked from commit 7c06db3d1c384773c4abccbce450c259f75e5e4a)

7 years agoFix hardcoded references to deprecated *ExtraConfig parameters
Steven Hardy [Wed, 23 Aug 2017 10:23:10 +0000 (11:23 +0100)]
Fix hardcoded references to deprecated *ExtraConfig parameters

These were missed in the previous refactor in role.role.j2.yaml,
we shouldn't reference these via hard-coded values or they become
mandatory in the roles_data.yaml

Change-Id: I014e7d6679c5733b17243d647eaad228c276585a
Closes-Bug: #1711656
(cherry picked from commit 4a4f6783081d9c5b74cda5149bef7655102fcfd8)

7 years agoMerge "Remove ipv6 specific network templates" into stable/pike
Jenkins [Fri, 1 Sep 2017 23:56:00 +0000 (23:56 +0000)]
Merge "Remove ipv6 specific network templates" into stable/pike

7 years agoMerge "Add storage backends env files for containerized deployment" into stable/pike
Jenkins [Fri, 1 Sep 2017 22:58:35 +0000 (22:58 +0000)]
Merge "Add storage backends env files for containerized deployment" into stable/pike

7 years agoRemove ipv6 specific network templates
Dan Sneddon [Wed, 30 Aug 2017 18:26:52 +0000 (11:26 -0700)]
Remove ipv6 specific network templates

This change renders the IPv6 versions of the isolated
networks using j2. To allow for backward compatibility,
there will be 2 versions of the network definitions,
<network>.yaml and <network>_v6.yaml. If the ip_subnet
contains an IPv6 address, or if ipv6: true is set on the
network definition in network_data.yaml, then the
<network>.yaml version will contain an IPv6 definition,
otherwise the <network>.yaml will be IPv4, and the
<network>_v6.yaml will be IPv6.

In a future follow-up patch, we will probably only
create the required versions of the networks, either
IPv4, IPv6, not both.

The ipv6_subnet, ipv6_allocation_pools, and ipv6_gateway
settings in the network_data.yaml definition file are
used for the <network>_v6.yaml network definition.
Note that these subnet/cidr/gateway definitions only set
the defaults, which can be overridden with parameters
set in an environment file.

Since the parameters for IP and subnet range are the
same (e.g. InternalApiNetCidr applies to both IPv4/v6),
only one version can be used at a time. If an operator
wishes to use dual-stack IPv4/IPv6, then two different
networks should be created, and both networks can be
applied to a single interface.

Note that the workflow for the operator is the same as
before this change, but a new example template has been
added to environments/network-environment-v6.yaml.

Change-Id: I0e674e4b1e43786717ae6416571dde3a0e11a5cc
Partially-Implements: blueprint composable-networks
Closes-bug: 1714115
(cherry picked from commit dd299f08bd6b1df43760148d83ce9b6e09ba6572)

7 years agoMerge "Update generated ssl environments" into stable/pike
Jenkins [Fri, 1 Sep 2017 10:31:15 +0000 (10:31 +0000)]
Merge "Update generated ssl environments" into stable/pike

7 years agoMerge "Telemetry specific config for scenario001" into stable/pike
Jenkins [Fri, 1 Sep 2017 10:30:45 +0000 (10:30 +0000)]
Merge "Telemetry specific config for scenario001" into stable/pike

7 years agoMerge "Move deprecated SchedulerHints logic to overcloud.j2.yaml" into stable/pike
Jenkins [Fri, 1 Sep 2017 08:52:57 +0000 (08:52 +0000)]
Merge "Move deprecated SchedulerHints logic to overcloud.j2.yaml" into stable/pike

7 years agoAdd storage backends env files for containerized deployment
Victoria Martinez de la Cruz [Fri, 18 Aug 2017 16:23:34 +0000 (13:23 -0300)]
Add storage backends env files for containerized deployment

A storage backend has to be selected when deploying manila,
otherwise the manila-share service will fail to start. For this,
we have some environment files specifying the configuration for
different storage backends. We need a dockerized version
for this environment files.

In this patch set we add those environment files.

Change-Id: I9886016b02bec26699af1f8165d7b0702dfe8b9b
Partial-Bug: #1668922
(cherry picked from commit d7d54594410f60ea6ebf1301048d95f64c66f645)

7 years agoMerge "Add --wsrep-provider=none to the mysql_bootstrap container" into stable/pike
Jenkins [Fri, 1 Sep 2017 07:55:36 +0000 (07:55 +0000)]
Merge "Add --wsrep-provider=none to the mysql_bootstrap container" into stable/pike

7 years agoMerge "Remove puppet run and workarounds from tripleo_upgrade_node.sh" into stable...
Jenkins [Fri, 1 Sep 2017 07:55:16 +0000 (07:55 +0000)]
Merge "Remove puppet run and workarounds from tripleo_upgrade_node.sh" into stable/pike

7 years agoUpdate generated ssl environments
Ben Nemec [Fri, 11 Aug 2017 21:17:17 +0000 (16:17 -0500)]
Update generated ssl environments

These were edited manually and the input file was not updated, which
is causing problems when trying to generate new/updated envs.

Change-Id: Ia2e53e52361e35d94e2dedf9b8885498693bc2e0
Partial-Bug: 1713761
(cherry picked from commit 406b1982ba530abdd6c629780130851e8e335ae8)

7 years agoRemove puppet run and workarounds from tripleo_upgrade_node.sh
marios [Tue, 29 Aug 2017 11:29:37 +0000 (14:29 +0300)]
Remove puppet run and workarounds from tripleo_upgrade_node.sh

For bug 1708115 and the O..P upgrade, and for the upgrade of
'non-controlers' we are now generating ansible playbooks from
collected service upgrade_tasks and these are executed instead
of the legacy tripleo_upgrade_node.sh.

To clarify, by 'non-controllers' it is meant any node for which
the corresponding roles_data.yaml role has the
disable_upgrade_deployment flag set True.

As a first pass, I am removing the workarounds from the script but
keeping its delivery mechanism for now in case it is needed still.
We can either update here to remove it or keep it until next cycle

The most important part for now is that we no longer 'manually'
run puppet here. Instead the post_deploy_steps are also collected
into a playbook and will be executed after the upgrade_tasks
(see the bug for discussion of the mechanism and related reviews)

Change-Id: Ib017b0ab435ca9558cf8659d434489cdf01df955
Related-Bug: 1708115
(cherry picked from commit 4c5b9c5c967105536106fa4a7e1ec2352b14b08c)

7 years agoAdd --wsrep-provider=none to the mysql_bootstrap container
Michele Baldessari [Wed, 30 Aug 2017 17:26:43 +0000 (19:26 +0200)]
Add --wsrep-provider=none to the mysql_bootstrap container

Depending on the version of mariadb/galera installed the mysql_bootstrap
command might fail. With the following unrevealing error:

openstack-mariadb-docker:2017-08-28.10 "bash -ec 'if [ -e /v" 3 hours ago Exited (124) 3 hours ago

The timeout is actually due to the fact that the following snippets does
not complete within 60 seconds:
"""
if [ -e /var/lib/mysql/mysql ]; then exit 0; fi
kolla_start
mysqld_safe --skip-networking --wsrep-on=OFF &
timeout ${DB_MAX_TIMEOUT} /bin/bash -c ''until mysqladmin -uroot -p"${DB_ROOT_PASSWORD}" ping 2>/dev/null; do sleep 1; done''
mysql -uroot -p"${DB_ROOT_PASSWORD}" -e "CREATE USER ''clustercheck''@''localhost'' IDENTIFIED BY '${DB_CLUSTERCHECK_PASSWORD}'';"
mysql -uroot -p"${DB_ROOT_PASSWORD}" -e "GRANT PROCESS ON *.* TO ''clustercheck'
"""

The problem is that with older mariadb versions:
galera-25.3.16-3.el7ost.x86_64
mariadb-5.5.56-2.el7.x86_64

The mysqld_safe process starts in galera mode (as opposed as to single
local mode):
170830 17:03:05 [Note] WSREP: Start replication
170830 17:03:05 [Note] WSREP: GMCast version 0
...
170830 17:03:05 [ERROR] WSREP: wsrep::connect() failed: 7
170830 17:03:05 [ERROR] Aborting

That means that even though we specified --wsrep-on=OFF it is still
starting in cluster mode. Let's add the extra --wsrep-provider=none
which older versions required.

Let's also add a '-x' to this transient container as that
would have helped a bit because we would have understood right away
that it was mysqld_safe that was not starting. I tested this
successfully on an environment that showed the problem. The new
option is still accepted by newer DB versions in any case.

Closes-Bug: #1714057

Change-Id: Icf67fd2fbf520e8a62405b4d49e8d5169ff3925b
Co-Authored-By: Mike Bayer <mbayer@redhat.com>
(cherry picked from commit c19968ca852ab608513fe692aab958af25276220)

7 years agoTelemetry specific config for scenario001
Pradeep Kilambi [Wed, 23 Aug 2017 15:33:58 +0000 (11:33 -0400)]
Telemetry specific config for scenario001

- Set gnocchi archivepolicy in scenario001 job to high
- Set polling interval to 15 seconds instead of 300

Change-Id: Ie12abe1f03d000824c5fb1a46d74b94ce49d7876
(cherry picked from commit 0855d4c7b12d27721044ab09ca0d6e8f188d2e90)

7 years agoRemove hard-coded image reference
Janki Chhatbar [Fri, 18 Aug 2017 05:38:51 +0000 (11:08 +0530)]
Remove hard-coded image reference

This patch removes hard-coded reference to ODL related images.
Logic is implemented in TripleO-common to render images
based on the environment file specified.

Change-Id: I9a11072f98e1245dc32d27d0b0e9bc6e9e19399f
Partial-Bug: #1713685
(cherry picked from commit 21a6b66c8bb5377bc1391e3f582467de7f7b5562)

7 years agoMove deprecated SchedulerHints logic to overcloud.j2.yaml
Steven Hardy [Wed, 23 Aug 2017 07:39:18 +0000 (08:39 +0100)]
Move deprecated SchedulerHints logic to overcloud.j2.yaml

The changes in puppet/role.role.j2.yaml should have been made
to overcloud.j2.yaml, because we don't want the hard-coded reference
to the deprecated name in the parent template.  Note we need to
pass this value from the parent template so the %index% substitution
works, which is required for predictable placement via *SchedulerHints

Partial-Bug: #1711656
Change-Id: Ided1802daac48d737f53caa7093df814ba101dd0
(cherry picked from commit c6207379db07544240b699ba000537b58d9fb68f)

7 years agoMerge "Add support for Dell EMC VNX Manila Backend" into stable/pike
Jenkins [Thu, 31 Aug 2017 01:52:35 +0000 (01:52 +0000)]
Merge "Add support for Dell EMC VNX Manila Backend" into stable/pike

7 years agoMerge "Add support for Dell EMC Unity Manila Backend" into stable/pike
Jenkins [Thu, 31 Aug 2017 01:52:28 +0000 (01:52 +0000)]
Merge "Add support for Dell EMC Unity Manila Backend" into stable/pike

7 years agoMerge "Remove src_ceph from manila kolla_config" into stable/pike
Jenkins [Thu, 31 Aug 2017 00:27:02 +0000 (00:27 +0000)]
Merge "Remove src_ceph from manila kolla_config" into stable/pike

7 years agoMerge "Change ManageEventPipeline to true" into stable/pike
Jenkins [Thu, 31 Aug 2017 00:26:42 +0000 (00:26 +0000)]
Merge "Change ManageEventPipeline to true" into stable/pike

7 years agoMerge "Use switch to containers instead of take over playbook for ceph-ansible" into...
Jenkins [Thu, 31 Aug 2017 00:25:00 +0000 (00:25 +0000)]
Merge "Use switch to containers instead of take over playbook for ceph-ansible" into stable/pike

7 years agoMerge "Add DockerPuppetProcessCount defaults to 3" into stable/pike
Jenkins [Thu, 31 Aug 2017 00:24:53 +0000 (00:24 +0000)]
Merge "Add DockerPuppetProcessCount defaults to 3" into stable/pike

7 years agoMerge "Add missing Docker service" into stable/pike
Jenkins [Wed, 30 Aug 2017 23:46:50 +0000 (23:46 +0000)]
Merge "Add missing Docker service" into stable/pike

7 years agoMerge "Set docker-puppet --health-cmd = /bin/true" into stable/pike
Jenkins [Wed, 30 Aug 2017 21:34:57 +0000 (21:34 +0000)]
Merge "Set docker-puppet --health-cmd = /bin/true" into stable/pike

7 years agoMerge "container ovs-agent, ensure br-ex exists" into stable/pike
Jenkins [Wed, 30 Aug 2017 21:33:36 +0000 (21:33 +0000)]
Merge "container ovs-agent, ensure br-ex exists" into stable/pike

7 years agoMerge "Use integers for rabbitmq ports" into stable/pike
Jenkins [Wed, 30 Aug 2017 18:28:09 +0000 (18:28 +0000)]
Merge "Use integers for rabbitmq ports" into stable/pike

7 years agoAdd support for Dell EMC VNX Manila Backend
rajinir [Fri, 4 Aug 2017 20:43:09 +0000 (15:43 -0500)]
Add support for Dell EMC VNX Manila Backend

This change adds support for manila::backend::dellemc_vnx

Change-Id: I5fa5c2d6956429d1b9c12a5af6d4a887ed0624d9
Implements: blueprint dellemc-vnx-manila
(cherry picked from commit a3debcfa8b2cbb3acaba292e082b0a3b0ee8ef54)

7 years agoAdd support for Dell EMC Unity Manila Backend
rajinir [Fri, 4 Aug 2017 20:18:44 +0000 (15:18 -0500)]
Add support for Dell EMC Unity Manila Backend

This change adds support for manila::backend::dellemc_unity

Change-Id: Idec67d190b12359e8e6f1c157577088fa84ef41d
Implements: blueprint dellemc-unity-manila
(cherry picked from commit c5ee7b7714c712807f33ca1645186d33103a2264)

7 years agoMerge "Update UPPER_CONSTRAINTS_FILE for stable/pike" into stable/pike
Jenkins [Wed, 30 Aug 2017 15:04:04 +0000 (15:04 +0000)]
Merge "Update UPPER_CONSTRAINTS_FILE for stable/pike" into stable/pike

7 years agoMerge "Update .gitreview for stable/pike" into stable/pike
Jenkins [Wed, 30 Aug 2017 15:03:56 +0000 (15:03 +0000)]
Merge "Update .gitreview for stable/pike" into stable/pike

7 years agoChange ManageEventPipeline to true
Pradeep Kilambi [Mon, 28 Aug 2017 12:00:02 +0000 (08:00 -0400)]
Change ManageEventPipeline to true

Since the event pipeline publisher defaults in the heat templates are
different from what puppet sets. We need to have the Manage to true so
override takes effect. Without this we keep defaulting back to puppet
defaults. We can flip this back to false once panko:// is droppped as
a supported option from the pipeline.

Change-Id: I2248c165783dddfb4cb7cf5644884dd8f6e6ed63
(cherry picked from commit 941b5d6797ea54afbc7b822ee045ce1186627e7c)

7 years agocontainer ovs-agent, ensure br-ex exists
Steve Baker [Mon, 14 Aug 2017 22:26:24 +0000 (10:26 +1200)]
container ovs-agent, ensure br-ex exists

Currently the container neutron-ovs-agent is stuck in a restart loop
in many environments because the bridge br-ex is missing.

This bridge is created by running the puppet class
neutron::agents::ml2::ovs but limiting that run to tag
neutron::plugins::ovs::bridge.

The hiera neutron::agents::ml2::ovs::bridge_mappings should already
exists to create the bridge with the required settings.

This change should ensure br-ex exists after step 3.

Since br-ex is created regardless of the chosen network config,
environments/docker-network.yaml is not longer required. It can be
deleted once there are no more references to it in CI and
documentation.

Change-Id: Ie425148b0ad0f38e149c5fa0a97d98ec35d0a5bb
Closes-Bug: #1699261
Closes-Bug: #1691403
Closes-Bug: #1689556
(cherry picked from commit 76f130d6e8f7434433b2602af9794f1e9c742e1f)

7 years agoRemove src_ceph from manila kolla_config
Jan Provaznik [Mon, 28 Aug 2017 15:09:00 +0000 (17:09 +0200)]
Remove src_ceph from manila kolla_config

Pacemaker puppet module takes care of mounting /etc/ceph into
manila-share container (I23b6890b4cf7f1e6fe84b6be280dde82218275fc).

Change-Id: I1026b2436275b17cfe3ac85192d42c5268f0a630
Related-To: I23b6890b4cf7f1e6fe84b6be280dde82218275fc
(cherry picked from commit 0d8040ca33d42dbb7e06162f2b659ff6cbc0316f)

7 years agoUse switch to containers instead of take over playbook for ceph-ansible
Giulio Fidente [Tue, 22 Aug 2017 14:15:56 +0000 (16:15 +0200)]
Use switch to containers instead of take over playbook for ceph-ansible

On upgrade we need to run a specific playbook for ceph-ansible
to be able to take over the pre-existing Ceph cluster deployed with
puppet-ceph and the migrate it into a containerized deployment.

This changes the playbook we use on upgrade so that it migrates
the cluster in containers in addition to taking over the cluster.

Change-Id: I353c219832c41328f298fa7b65768ecf26c37f29
(cherry picked from commit cab266c9b2b62c0033f8fb66e8e61b7aa46b3e2b)

7 years agoUse integers for rabbitmq ports
Juan Antonio Osorio Robles [Tue, 29 Aug 2017 08:22:30 +0000 (08:22 +0000)]
Use integers for rabbitmq ports

They should be integers as specified in the parameter definition
of the class. Else it'll fail.

Change-Id: I06b6e46c0722516e28e8bff4d481fb4b7a08bd61
Closes-Bug: #1713659
(cherry picked from commit 4bea8cf918463c43c7d5f4e46984ab54271ea3e5)

7 years agoAdd missing Docker service
Alex Schultz [Tue, 29 Aug 2017 15:30:18 +0000 (09:30 -0600)]
Add missing Docker service

The example composable roles are missing the docker service declaration
so they currently do not work when trying to deploy with containerized
services.

Change-Id: I986ae561b950e74aacea10bce84673e8d0c9bd97
Closes-Bug: #1713755
(cherry picked from commit 50c975d1590930e6ce453942f99759a25ec08703)

7 years agoUse Python to compute release notes version
Emilien Macchi [Tue, 29 Aug 2017 17:20:36 +0000 (10:20 -0700)]
Use Python to compute release notes version

Leave the version fields blank, since the release notes document
applies to all versions.
That will avoid manual changes in the future like we did until now.

Change-Id: Ibb33ade808c9866b5314b7dda60a44000089a467
(cherry picked from commit 4782394044a8f66de63db7772b7a5992a781cc57)

7 years agoMerge "Support deploying OVN as container services" into stable/pike
Jenkins [Wed, 30 Aug 2017 12:05:32 +0000 (12:05 +0000)]
Merge "Support deploying OVN as container services" into stable/pike

7 years agoMerge "Make archive policy configurable" into stable/pike
Jenkins [Wed, 30 Aug 2017 10:33:56 +0000 (10:33 +0000)]
Merge "Make archive policy configurable" into stable/pike

7 years agoAdd DockerPuppetProcessCount defaults to 3
Dan Prince [Sat, 26 Aug 2017 03:01:24 +0000 (23:01 -0400)]
Add DockerPuppetProcessCount defaults to 3

docker-puppet.py is very aggressive about running concurrently.
It uses python multiprocessing to run multiple config generating
containers at once. This seems to work well in general, but
in some cases... perhaps when the registry is slow or under
heavy load can cause timeouts to occur. Lately I'm seeing
several 'container did not start before the specified timeout'
errors that always seem to occur when config files are generated
(docker-puppet.py is initially executed.

A couple of things:

 -when config files are generated this is the first time
  most of the containers are pulled to each host machine
  during deployment

 -docker-puppet.py runs many of these processes at once. Some
  of them run faster, other not.

 -docker daemon's pull limit defaults to 3. This would throttle
  the above a bit perhaps contributing the the likelyhood of a timeout.

One solution that seems to work for me is to set the PROCESS_COUNT
in docker-puppet.py to 3. As this matches docker daemon's default
it is probably safer at the cost of being slightly slower in some
cases.

Change-Id: I17feb3abd9d36fe7c95865a064502ce9902a074e
Closes-bug: #1713188
(cherry picked from commit 949d367ddeb42eff913cdbed733ccf6239b4864b)

7 years agoSet docker-puppet --health-cmd = /bin/true
Dan Prince [Sat, 26 Aug 2017 02:35:47 +0000 (22:35 -0400)]
Set docker-puppet --health-cmd = /bin/true

Change-Id: Idf627a348cad8d5287c82cb393367210f1c760cf
Closes-bug: #1713185
(cherry picked from commit 20e1f0e8c9a2bbc3734f6eec0ee9ac2d5156f166)

7 years agomanila: set "host" to "hostgroup"
Tom Barron [Thu, 24 Aug 2017 16:27:20 +0000 (12:27 -0400)]
manila: set "host" to "hostgroup"

when running manila-share under control of pacemaker, as
is done for cinder-volume service in the same circumstance.

Change-Id: Ic97f01913bae2a388c962a38fa175eb1d763cdcb
Depends-On: Ie31f2d5ccf458f5fcfe8bec5f2c37f45070cfde2
Closes-Bug: #1712842
(cherry picked from commit 8fa6c6e58c7ac0d32bf2f0dfb586683cf006e3bf)

7 years agoMerge "Enable ceilometer compute agent" into stable/pike
Jenkins [Tue, 29 Aug 2017 01:24:38 +0000 (01:24 +0000)]
Merge "Enable ceilometer compute agent" into stable/pike

7 years agoMerge "Handle failure of carrier check in configure_safe_defaults()" into stable...
Jenkins [Mon, 28 Aug 2017 19:01:51 +0000 (19:01 +0000)]
Merge "Handle failure of carrier check in configure_safe_defaults()" into stable/pike

7 years agoMerge "Add panko publisher in the event pipeline" into stable/pike
Jenkins [Mon, 28 Aug 2017 19:01:43 +0000 (19:01 +0000)]
Merge "Add panko publisher in the event pipeline" into stable/pike

7 years agoSupport deploying OVN as container services
Numan Siddique [Thu, 13 Jul 2017 15:16:45 +0000 (20:46 +0530)]
Support deploying OVN as container services

This patch adds the support to containerize OVN services for the
base profile.

OVN db servers do not support active-active mode yet. It does support
master-slave mode supported through pacemaker, which will be supported
in a later patch.

Presently the tripleo container framework doesn't allow to start a
container in only controller 0 (or bootstrap node). OVN db servers and
ovn-northd are started on all the controllers, but only the OVN db
servers running in the boot strap controller are configured to listen
on the tcp ports 6641 and 6642. OVN neutron mechanism driver
and ovn-controller's use the ovn_dbs_vip to connect to the OVN db servers.
Haproxy configures all the controllers as back ends, but only OVN db
servers running on controller 0 respond since only they are configured
properly.

The OVN containers running on other controller nodes do not interact
any way, but are wasteful resources.

This patch also adds the scenario007-multinode-containers CI template.

Partial-bug: #1699085
Change-Id: I98b85191cc1fd8c2b166924044d704e79a4c4c8a
(cherry picked from commit e7cd03d2f0fcd8e3069246ced94f1a83869b8bea)

7 years agoMake archive policy configurable
Pradeep Kilambi [Wed, 23 Aug 2017 14:34:46 +0000 (10:34 -0400)]
Make archive policy configurable

Change-Id: I603ce6922130fe32aa1a154df8146ee582bf1a45
(cherry picked from commit b1d7887ce710a98f061100e2878a54c06a5d09e2)

7 years agoHandle failure of carrier check in configure_safe_defaults()
Bob Fournier [Wed, 23 Aug 2017 21:15:34 +0000 (17:15 -0400)]
Handle failure of carrier check in configure_safe_defaults()

Configure_safe_defaults() should handle carrier check failures
in the same way as the change that was made to
dhcp-all-interfaces.sh in https://review.openstack.org/#/c/419527/.
That is, it should ignore failures when cat'ing the carrier file.

Change-Id: I100a40835d0ccecee9b4851aae6366c6ab4813a5
Closes-Bug: 1712687
(cherry picked from commit ed976d285caab1858f0b6e74e14a723113d27052)

7 years agoEnable ceilometer compute agent
Arx Cruz [Fri, 25 Aug 2017 11:13:24 +0000 (13:13 +0200)]
Enable ceilometer compute agent

This service isn't being started by default and it's required in order
to ceilometer collect data about cpu, which is required to run tempest
integration tests

Closes-Bug: #1713038
Change-Id: I79ba7744db78636fba78e041443148c91e06f940
(cherry picked from commit a2ce6d238cd7e72029fdd6e6364a0501f3bfc835)

7 years agoAdd panko publisher in the event pipeline
Pradeep Kilambi [Wed, 23 Aug 2017 14:18:13 +0000 (10:18 -0400)]
Add panko publisher in the event pipeline

Even though panko is deprecated, we still enable it by default.
So lets keep it in pipeline as well until its fully dead.

Change-Id: Idac89820a66c59b921551857cccae6dbc38241c3
(cherry picked from commit 3dbd5bfe86c2d6864c5678774fc7f910ab846300)

7 years agoContainarise Barbican API
Janki Chhatbar [Fri, 7 Jul 2017 06:20:28 +0000 (11:50 +0530)]
Containarise Barbican API

This containerises Barbican API in TripleO

Change-Id: Icc5e9841ea48c806af4db61cd6de5e9a7a40a988
Partial-Bug: 1668924
Depends-On: I6b5ec18ccdd51b90ff27ff7d4341260dfba71e4e
(cherry picked from commit 6d338b809accea4d3ba09ca8363b1a97ed79b658)

7 years agoUpdate UPPER_CONSTRAINTS_FILE for stable/pike
OpenStack Release Bot [Thu, 24 Aug 2017 21:05:08 +0000 (21:05 +0000)]
Update UPPER_CONSTRAINTS_FILE for stable/pike

Change-Id: If1376a7d802d79c2b7533c8f315f47c21f896476

7 years agoUpdate .gitreview for stable/pike
OpenStack Release Bot [Thu, 24 Aug 2017 21:05:07 +0000 (21:05 +0000)]
Update .gitreview for stable/pike

Change-Id: I62443317bb2a7fbe84f6bb2aa769053b66edb022

7 years agoMerge "Remove baremetal cron jobs on docker upgrade"
Jenkins [Thu, 24 Aug 2017 18:08:52 +0000 (18:08 +0000)]
Merge "Remove baremetal cron jobs on docker upgrade"

7 years agoMerge "Docker: Enable TLS in the internal network for libvirt"
Jenkins [Thu, 24 Aug 2017 17:56:50 +0000 (17:56 +0000)]
Merge "Docker: Enable TLS in the internal network for libvirt"

7 years agoMerge "Specify the start count to 0 for the update step loop"
Jenkins [Thu, 24 Aug 2017 10:42:38 +0000 (10:42 +0000)]
Merge "Specify the start count to 0 for the update step loop"

7 years agoMerge "Do not install additional CentOS packages via ceph-ansible"
Jenkins [Thu, 24 Aug 2017 03:54:01 +0000 (03:54 +0000)]
Merge "Do not install additional CentOS packages via ceph-ansible"

7 years agoMerge "More fixes for the Ceph docker images url parsing"
Jenkins [Wed, 23 Aug 2017 23:24:58 +0000 (23:24 +0000)]
Merge "More fixes for the Ceph docker images url parsing"

7 years agoMerge "Configure listen_address for libvirtd when TLS is enabled"
Jenkins [Wed, 23 Aug 2017 20:40:30 +0000 (20:40 +0000)]
Merge "Configure listen_address for libvirtd when TLS is enabled"

7 years agoDo not install additional CentOS packages via ceph-ansible
Giulio Fidente [Wed, 23 Aug 2017 15:52:05 +0000 (17:52 +0200)]
Do not install additional CentOS packages via ceph-ansible

EPEL is required by the Ceph RPM repo maintained at ceph.com but
not by the CentOS SIG repo. The other packages should be already
installed in the infra image.

This change overrides the list of required packages in ceph-ansible
so that it does not install epel-release nor additional unneeded
packages [1].

1. https://github.com/ceph/ceph-ansible/blob/master/group_vars/all.yml.sample#L67

Change-Id: I7b6d2794ebfc0df5b3d5ad9de1d1d55740a38ae0
Closes-Bug: #1712599

7 years agoMerge "docker: Stop all active ceilometer services during compute upgrade"
Jenkins [Wed, 23 Aug 2017 17:15:44 +0000 (17:15 +0000)]
Merge "docker: Stop all active ceilometer services during compute upgrade"

7 years agoSpecify the start count to 0 for the update step loop
Mathieu Bultel [Tue, 22 Aug 2017 20:14:56 +0000 (22:14 +0200)]
Specify the start count to 0 for the update step loop

Force the count start to 0 to ensure that the
update step loop will start to 0 and execute the
update step0

Closes-Bug: #1712498

Change-Id: I71be55c1f56e53e5c565bec281795d63e5845ff6

7 years agoConfigure listen_address for libvirtd when TLS is enabled
Juan Antonio Osorio Robles [Wed, 23 Aug 2017 05:24:32 +0000 (08:24 +0300)]
Configure listen_address for libvirtd when TLS is enabled

It wasn't being configured, and the default is to listen on all
interfaces. This fixes that.

Change-Id: I00da25474fb1544eabdedaf126e67d5a6617f02f
Closes-Bug: #1712475

7 years agoDocker: Enable TLS in the internal network for libvirt
Juan Antonio Osorio Robles [Tue, 22 Aug 2017 18:19:23 +0000 (18:19 +0000)]
Docker: Enable TLS in the internal network for libvirt

Bind mounts the necessary certs and keys to enable live migrations
using TLS.

bp tls-via-certmonger-containers

Depends-On: I26a7748b37059ea37f460d8c70ef684cc41b16d3
Change-Id: I81efa85d916823f740bf320c88a248403743a45b

7 years agoMerge "Accept multiple registries in DockerInsecureRegistryAddress"
Jenkins [Wed, 23 Aug 2017 01:20:29 +0000 (01:20 +0000)]
Merge "Accept multiple registries in DockerInsecureRegistryAddress"

7 years agoMerge "Add Ceilometer API and Collector service to roles_data"
Jenkins [Wed, 23 Aug 2017 00:10:37 +0000 (00:10 +0000)]
Merge "Add Ceilometer API and Collector service to roles_data"

7 years agoMerge "Render port templates via j2"
Jenkins [Tue, 22 Aug 2017 18:31:58 +0000 (18:31 +0000)]
Merge "Render port templates via j2"

7 years agoMerge "Zaqar: Match service name with service-net-map"
Jenkins [Tue, 22 Aug 2017 18:31:51 +0000 (18:31 +0000)]
Merge "Zaqar: Match service name with service-net-map"

7 years agoMerge "Fix configuration files path for logrotate container"
Jenkins [Tue, 22 Aug 2017 16:17:18 +0000 (16:17 +0000)]
Merge "Fix configuration files path for logrotate container"

7 years agoZaqar: Match service name with service-net-map
Juan Antonio Osorio Robles [Tue, 22 Aug 2017 12:06:30 +0000 (12:06 +0000)]
Zaqar: Match service name with service-net-map

This is required for t-h-t to generate the appropriate hieradata.

Change-Id: I9b451eac4427a52ad8eec62ff89acc6c6d3ab799
Closes-Bug: #1712328

7 years agoMerge "Add nova metadata to TLS everywhere/docker services list"
Jenkins [Tue, 22 Aug 2017 11:50:51 +0000 (11:50 +0000)]
Merge "Add nova metadata to TLS everywhere/docker services list"

7 years agoMerge "change sriovnicswitch to be first with openvswitch"
Jenkins [Tue, 22 Aug 2017 10:27:44 +0000 (10:27 +0000)]
Merge "change sriovnicswitch to be first with openvswitch"

7 years agoFix configuration files path for logrotate container
Martin André [Tue, 22 Aug 2017 09:55:19 +0000 (11:55 +0200)]
Fix configuration files path for logrotate container

The config_volume is named 'crond', and so must me the path to
puppet-generated directory.

Change-Id: I13b4ad7642ddf3bc5d1f4aa979b4a91a89605fb1
Closes-Bug: #1712300

7 years agoMerge "TLS everywhere/haproxy: Remove empty postsave command"
Jenkins [Mon, 21 Aug 2017 18:55:35 +0000 (18:55 +0000)]
Merge "TLS everywhere/haproxy: Remove empty postsave command"

7 years agoRender port templates via j2
Steven Hardy [Fri, 18 Aug 2017 15:48:05 +0000 (16:48 +0100)]
Render port templates via j2

Remove these from the j2 excludes and instead render all the networks
to avoid duplication.

Change-Id: Id8e14e06ffe959c50456b4c88fef306046a8b478
Partially-Implements: blueprint composable-networks

7 years agoMerge "Add logrotate with crond service"
Jenkins [Mon, 21 Aug 2017 18:04:02 +0000 (18:04 +0000)]
Merge "Add logrotate with crond service"

7 years agoMerge "Let mds create manila key and fs"
Jenkins [Mon, 21 Aug 2017 17:22:50 +0000 (17:22 +0000)]
Merge "Let mds create manila key and fs"

7 years agoAdd nova metadata to TLS everywhere/docker services list
Juan Antonio Osorio Robles [Mon, 21 Aug 2017 16:11:27 +0000 (16:11 +0000)]
Add nova metadata to TLS everywhere/docker services list

This is working, so we add it to the list.

bp tls-via-certmonger-containers

Change-Id: Ib545d4e6c130b73b4921eb9b6325d2e8d6ff1e2c

7 years agoTLS for containerized horizon
Juan Antonio Osorio Robles [Fri, 18 Aug 2017 05:42:59 +0000 (05:42 +0000)]
TLS for containerized horizon

bind mount the certificates needed for TLS.

bp tls-via-certmonger-containers

Change-Id: Ib9b533249be37665b77396a76133cc42fd15ee2b

7 years agoMerge "Enable TLS for containerized RabbitMQ"
Jenkins [Mon, 21 Aug 2017 11:49:28 +0000 (11:49 +0000)]
Merge "Enable TLS for containerized RabbitMQ"

7 years agoAdd logrotate with crond service
Bogdan Dobrelya [Wed, 2 Aug 2017 12:48:26 +0000 (14:48 +0200)]
Add logrotate with crond service

Add a docker service template to provide containerized services
logs rotation with a crond job.
Add OS::TripleO::Services::LogrotateCrond to CI multinode-containers
and to all environments among with generic services like Ntp or Kernel.
Set it to OS::Heat::None for non containerized environments and
only enable it to the environments/docker.yaml.

Closes-bug: #1700912

Change-Id: Ic94373f0a0758e9959e1f896481780674437147d
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
7 years agoMerge "Add certmonger user profile to all overcloud roles"
Jenkins [Sat, 19 Aug 2017 08:47:15 +0000 (08:47 +0000)]
Merge "Add certmonger user profile to all overcloud roles"

7 years agoMerge "Mount ceph config on gnocchi statsd"
Jenkins [Sat, 19 Aug 2017 05:38:03 +0000 (05:38 +0000)]
Merge "Mount ceph config on gnocchi statsd"

7 years agoMerge "Swith to the appropriate ceph-ansible playbook on upgrade"
Jenkins [Sat, 19 Aug 2017 05:37:50 +0000 (05:37 +0000)]
Merge "Swith to the appropriate ceph-ansible playbook on upgrade"

7 years agoMerge "Extend VNC port range"
Jenkins [Sat, 19 Aug 2017 05:19:14 +0000 (05:19 +0000)]
Merge "Extend VNC port range"

7 years agoMerge "Prepare reno for TripleO Pike RC1"
Jenkins [Sat, 19 Aug 2017 03:14:49 +0000 (03:14 +0000)]
Merge "Prepare reno for TripleO Pike RC1"

7 years agoMerge "Convert scenario001-multinode-containers job to ceph-ansible"
Jenkins [Sat, 19 Aug 2017 03:14:19 +0000 (03:14 +0000)]
Merge "Convert scenario001-multinode-containers job to ceph-ansible"

7 years agoMerge "ci: don't deploy swift on basic multinode job"
Jenkins [Sat, 19 Aug 2017 03:14:05 +0000 (03:14 +0000)]
Merge "ci: don't deploy swift on basic multinode job"

7 years agoMerge "Enable TLS for nova-metadata"
Jenkins [Sat, 19 Aug 2017 03:13:49 +0000 (03:13 +0000)]
Merge "Enable TLS for nova-metadata"

7 years agoMerge "Add params needed for the ceph-ansible switch to containers playbook"
Jenkins [Sat, 19 Aug 2017 03:13:28 +0000 (03:13 +0000)]
Merge "Add params needed for the ceph-ansible switch to containers playbook"

7 years agoMerge "Tag the ha containers with 'pcmklatest' at deploy time"
Jenkins [Sat, 19 Aug 2017 03:07:10 +0000 (03:07 +0000)]
Merge "Tag the ha containers with 'pcmklatest' at deploy time"

7 years agoMerge "Add support for Dell EMC Unity Cinder backend"
Jenkins [Sat, 19 Aug 2017 00:10:52 +0000 (00:10 +0000)]
Merge "Add support for Dell EMC Unity Cinder backend"

7 years agoMerge "scenario002/multinode: do not run containerized Zaqar"
Jenkins [Fri, 18 Aug 2017 23:48:48 +0000 (23:48 +0000)]
Merge "scenario002/multinode: do not run containerized Zaqar"

7 years agoMerge "scenario002/container: run Barbican non-containerized"
Jenkins [Fri, 18 Aug 2017 23:37:28 +0000 (23:37 +0000)]
Merge "scenario002/container: run Barbican non-containerized"

7 years agoMerge "Workaround for RHEL registration as "localhost""
Jenkins [Fri, 18 Aug 2017 23:14:50 +0000 (23:14 +0000)]
Merge "Workaround for RHEL registration as "localhost""

7 years agoMount ceph config on gnocchi statsd
Pradeep Kilambi [Thu, 17 Aug 2017 16:31:52 +0000 (12:31 -0400)]
Mount ceph config on gnocchi statsd

gnocchi-statsd needs access to ceph config. lets mount the
ceph config files so it doesnt throw conf_read_file errors.

Change-Id: I1426d580c8d8d60e986ca859f89eeb8799ab6bd2

7 years agoPrepare reno for TripleO Pike RC1
Emilien Macchi [Fri, 18 Aug 2017 16:49:45 +0000 (09:49 -0700)]
Prepare reno for TripleO Pike RC1

Change-Id: Ied1d57cd187ffe480912a3820587952aa88936c3