apex-tripleo-heat-templates.git
7 years agoMount hostpath logs on /var/log
Flavio Percoco [Tue, 7 Mar 2017 16:12:36 +0000 (17:12 +0100)]
Mount hostpath logs on /var/log

Some containers are using the logs named volume for collecting logs
written to `/var/log`. We should make this consistent for all the
containers.

This patch also cleans up some mounts that weren't needed for some
services. For example, glance-api doesn't need `/run` to be mounted.

Other changes:
* Rework log volumes to hostpath mounts to omit slow COW writes.
* Add kolla_config's permission and host_prep_tasks create and
  manage hostpath mounted log dirs permissions.
* Rework data owning init containers to kolla_config permissions
* When a step wants KOLLA_BOOTSTRAP or DB sync, use logs data owning
  init containers to set permissions for logs. This is required
  because kolla bootsrap and DB sync runs before the kolla config
  stage and there is yet permissions set for logs.
* In order to address hybrid cases for host services vs containerized
  ones to access logs having different UIDs, persist containerized
  services' logs into separate directories (an upgrade impact)
* Ensure host prep tasks to create /var/log/containers/ and /var/lib/
  sub-directories for services
* Fix missing /etc/httpd, /var/www config-data mounts for zaqar/ironic
* Fix YAML indentation and drop strings quotation.

Co-authored-by: Bogdan Dobrelya <bdobreli@redhat.com>
Partial blueprint containerized-services-logs

Change-Id: I53e737120bf0121bd28667f355b6f29f1b2a6b82

7 years agoMerge "Use httpd in Heat docker services"
Jenkins [Thu, 4 May 2017 13:44:35 +0000 (13:44 +0000)]
Merge "Use httpd in Heat docker services"

7 years agoMerge "Internal TLS: Use specific CA file for mysql-client"
Jenkins [Thu, 4 May 2017 12:28:48 +0000 (12:28 +0000)]
Merge "Internal TLS: Use specific CA file for mysql-client"

7 years agoMerge "Initial VIP ipv6 minor update code"
Jenkins [Thu, 4 May 2017 10:04:06 +0000 (10:04 +0000)]
Merge "Initial VIP ipv6 minor update code"

7 years agoMerge "Internal TLS: use common CA file parameter for libvirt CA cert"
Jenkins [Thu, 4 May 2017 09:58:01 +0000 (09:58 +0000)]
Merge "Internal TLS: use common CA file parameter for libvirt CA cert"

7 years agoMerge "Add back Heat conditions in upgrade workflow"
Jenkins [Wed, 3 May 2017 21:23:21 +0000 (21:23 +0000)]
Merge "Add back Heat conditions in upgrade workflow"

7 years agoMerge "snmp: add SnmpdBindHost parameter"
Jenkins [Wed, 3 May 2017 21:14:45 +0000 (21:14 +0000)]
Merge "snmp: add SnmpdBindHost parameter"

7 years agoMerge "Set reasonable TTL defaults for Ceilometer DB"
Jenkins [Wed, 3 May 2017 21:14:38 +0000 (21:14 +0000)]
Merge "Set reasonable TTL defaults for Ceilometer DB"

7 years agoMerge "Expose metric delay processing metric"
Jenkins [Wed, 3 May 2017 21:14:31 +0000 (21:14 +0000)]
Merge "Expose metric delay processing metric"

7 years agoMerge "Add parameter Ec2ApiExternalNetwork for VPCs"
Jenkins [Wed, 3 May 2017 20:08:46 +0000 (20:08 +0000)]
Merge "Add parameter Ec2ApiExternalNetwork for VPCs"

7 years agoAdd back Heat conditions in upgrade workflow
Giulio Fidente [Tue, 4 Apr 2017 15:49:46 +0000 (17:49 +0200)]
Add back Heat conditions in upgrade workflow

By adding back the conditions we avoid the deployment of unneded
software configs on nodes where we don't have any upgrade task to
run, speeding up the upgrade process.

Related-Bug: #1679486
Related-Bug: #1678101
Change-Id: I5c8b0c4abfc0607f42fd3f2da9f5ef2702b1bbe1

7 years agoSet reasonable TTL defaults for Ceilometer DB
Pradeep Kilambi [Wed, 3 May 2017 16:07:09 +0000 (12:07 -0400)]
Set reasonable TTL defaults for Ceilometer DB

By deafult, we let the data live for ever. Which isnt very efficient.
Lets expose params to tweak this and use a reasonable default.

Change-Id: I145fa73a7af9cb4135ba910d3659853b3baa893d

7 years agoExpose metric delay processing metric
Pradeep Kilambi [Fri, 21 Apr 2017 20:16:38 +0000 (16:16 -0400)]
Expose metric delay processing metric

For performance reasons we might want to tweak this param
lets expose this via tripleo. The puppet changes were
added in this patch I5de5283d1b14e0bba63d6d9a440611914ba86ca4

Change-Id: I72f1fe3a47060fe37602a70b8a74fba72209127c

7 years agoMerge "Internal TLS: Use specific CA file for haproxy"
Jenkins [Wed, 3 May 2017 15:28:03 +0000 (15:28 +0000)]
Merge "Internal TLS: Use specific CA file for haproxy"

7 years agoInternal TLS: Use specific CA file for mysql-client
Juan Antonio Osorio Robles [Wed, 3 May 2017 09:56:17 +0000 (12:56 +0300)]
Internal TLS: Use specific CA file for mysql-client

Instead of using the CA bundle, this sets the mysql client configuration
file to use a specific file for validating the certificate of the
database server. This helps in two ways:

* Improves performance since validation will check only one certificate.
* Improves security since we're only the certificates signed by one CA
  are valid, instead of any certificate that the system trusts (which
  could include potentially compromised public certs).

Change-Id: I46f7cb6da73715f8f331337e0161418450d5afd7
Depends-On: I75bdaf71d88d169e64687a180cb13c1f63418a0f

7 years agoUse httpd in Heat docker services
Thomas Herve [Mon, 20 Mar 2017 13:41:56 +0000 (14:41 +0100)]
Use httpd in Heat docker services

This switches heat-api and heat-api-cfn to use httpd in containerized
overcloud.

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

7 years agoMerge "Move containers common volumes from yaql to list_concat"
Jenkins [Wed, 3 May 2017 10:43:45 +0000 (10:43 +0000)]
Merge "Move containers common volumes from yaql to list_concat"

7 years agoInternal TLS: use common CA file parameter for libvirt CA cert
Juan Antonio Osorio Robles [Wed, 26 Apr 2017 09:38:22 +0000 (12:38 +0300)]
Internal TLS: use common CA file parameter for libvirt CA cert

libvirt has its own parameter for setting the CA, however, if we have a
common CA for all services in the internal network (which we do), it's
more consistent to use the common parameter for configuring that CA
file.

The previous parameter was left in case the deployer wants to use a
specific CA file for the compute nodes.

Change-Id: I3d132d3d257d7ea9f43e49593f8509c3cd205ca5

7 years agoInternal TLS: Use specific CA file for haproxy
Juan Antonio Osorio Robles [Wed, 26 Apr 2017 09:36:10 +0000 (12:36 +0300)]
Internal TLS: Use specific CA file for haproxy

Instead of using the CA bundle, this sets HAProxy to use a specific file
for validating the certificates of the services it's proxying. This
helps in two ways:

* Improves performance since validation will check only one certificate.
* Improves security since we're only the certificates signed by one CA
  are valid, instead of any certificate that the system trusts (which
  could include potentially compromised public certs).

Change-Id: Id6de045b3c93c82d37e0b0657c17a3108516016a

7 years agoAdd deprecation notes for panko service
Pradeep Kilambi [Wed, 26 Apr 2017 17:27:52 +0000 (13:27 -0400)]
Add deprecation notes for panko service

Change-Id: Ic218a753e0cede2ba3951bcaec843f487dce0c71

7 years agoMerge "Ensure AllNodesExtraConfig runs before AllNodesDeploySteps"
Jenkins [Tue, 2 May 2017 19:02:33 +0000 (19:02 +0000)]
Merge "Ensure AllNodesExtraConfig runs before AllNodesDeploySteps"

7 years agoMerge "Fix for the resource ControllerPostPuppetMaintenanceModeDeployment"
Jenkins [Tue, 2 May 2017 19:02:26 +0000 (19:02 +0000)]
Merge "Fix for the resource ControllerPostPuppetMaintenanceModeDeployment"

7 years agoMerge "Deprecate ceilometer collector"
Jenkins [Tue, 2 May 2017 19:02:19 +0000 (19:02 +0000)]
Merge "Deprecate ceilometer collector"

7 years agoInitial VIP ipv6 minor update code
Michele Baldessari [Thu, 27 Apr 2017 19:41:11 +0000 (21:41 +0200)]
Initial VIP ipv6 minor update code

To test this change we deployed a stock master with ipv6 which created a bunch
of ipv6 with /64 netmask:
[root@overcloud-controller-0 ~]# pcs resource show ip-fd00.fd00.fd00.2000..18
 Resource: ip-fd00.fd00.fd00.2000..18 (class=ocf provider=heartbeat type=IPaddr2)
  Attributes: ip=fd00:fd00:fd00:2000::18 cidr_netmask=64
  Operations: start interval=0s timeout=20s (ip-fd00.fd00.fd00.2000..18-start-interval-0s)
              stop interval=0s timeout=20s (ip-fd00.fd00.fd00.2000..18-stop-interval-0s)
              monitor interval=10s timeout=20s (ip-fd00.fd00.fd00.2000..18-monitor-interval-10s)

Then we update the THT folder with this patch and upload the new scripts on the undercloud via:
openstack overcloud deploy --update-plan-only ....

Then we kick off the minor update workflow:
openstack overcloud update stack -i overcloud

Once the controller-0 node (bootstrap node for pacemaker) is completed we have the
correct VIP configuration:
[root@overcloud-controller-0 heat-config-script]# pcs resource show ip-fd00.fd00.fd00.2000..18
 Resource: ip-fd00.fd00.fd00.2000..18 (class=ocf provider=heartbeat type=IPaddr2)
  Attributes: ip=fd00:fd00:fd00:2000::18 cidr_netmask=128 nic=vlan20 lvs_ipv6_addrlabel=true lvs_ipv6_addrlabel_value=99
  Operations: start interval=0s timeout=20s (ip-fd00.fd00.fd00.2000..18-start-interval-0s)
              stop interval=0s timeout=20s (ip-fd00.fd00.fd00.2000..18-stop-interval-0s)
              monitor interval=10s timeout=20s (ip-fd00.fd00.fd00.2000..18-monitor-interval-10s)

Also verified that running the script a second time does not alter the
(already fixed) VIPs.

Co-Authored-By: Damien Ciabrini <dciabrin@redhat.com>
Change-Id: I765cd5c9b57134dff61f67ce726bf88af90f8090

7 years agoMerge "Use list_concat for metadata_settings for haproxy"
Jenkins [Tue, 2 May 2017 17:58:01 +0000 (17:58 +0000)]
Merge "Use list_concat for metadata_settings for haproxy"

7 years agosnmp: add SnmpdBindHost parameter
Emilien Macchi [Tue, 2 May 2017 16:15:08 +0000 (12:15 -0400)]
snmp: add SnmpdBindHost parameter

SnmpdBindHost will be useful for users who want to change the binding
options for SNMP daemon.
It has to be an array, and by the default the value is
['udp:161','udp6:[::1]:161'] like it was in puppet-tripleo profile.

Change-Id: Iccf0a8d35cc05d34272c078c97a5dddfb8e7d614
Closes-Bug: #1687628

7 years agoEnsure AllNodesExtraConfig runs before AllNodesDeploySteps
Steven Hardy [Tue, 2 May 2017 10:54:12 +0000 (11:54 +0100)]
Ensure AllNodesExtraConfig runs before AllNodesDeploySteps

When implementing custom roles, we lost an implicit dependency that
ensured AllNodesExtraConfig is applied before AllNodesDeploySteps,
which causes problems if you need to write hieradata via the
AllNodesExtraConfig hook (some cisco integrations we have in tree
do this, and are now broken because the ordering is no longer ensured.

Change-Id: Ie78ecbb4e135ab7f196867ef9d8d271049a9cd10
Closes-Bug: #1687597

7 years agoMerge "Allow to deploy Octavia API & Neutron Server on 2 different nodes"
Jenkins [Tue, 2 May 2017 14:22:33 +0000 (14:22 +0000)]
Merge "Allow to deploy Octavia API & Neutron Server on 2 different nodes"

7 years agoFix for the resource ControllerPostPuppetMaintenanceModeDeployment
Carlos Camacho [Thu, 27 Apr 2017 09:00:32 +0000 (11:00 +0200)]
Fix for the resource ControllerPostPuppetMaintenanceModeDeployment

Closes-Bug:1686619

Change-Id: I7c32ca39a456de9833d30c31d41fcb727d2b0a34

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 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."