Keep setting backend_host to 'hostgroup' for rbd backends
authorJiri Stransky <jistr@redhat.com>
Thu, 14 Apr 2016 10:09:34 +0000 (12:09 +0200)
committerJiri Stransky <jistr@redhat.com>
Thu, 14 Apr 2016 10:09:34 +0000 (12:09 +0200)
There are backwards incompatible patches [1][2] in puppet-cinder which break
upgrade scenarios, but at this point they made it to liberty and mitaka,
so workaround in t-h-t is easier than revert

[1] https://review.openstack.org/#/c/209412/
[2] https://review.openstack.org/#/c/231068/

Change-Id: Ic82258bf0893ebd4e595e5df73ffbc4c6443f9e8
Closes-Bug: #1570265

puppet/manifests/overcloud_controller.pp
puppet/manifests/overcloud_controller_pacemaker.pp

index 779e7f2..d7bb025 100644 (file)
@@ -435,6 +435,7 @@ if hiera('step') >= 4 {
     $cinder_rbd_backend = 'tripleo_ceph'
 
     cinder::backend::rbd { $cinder_rbd_backend :
+      backend_host    => hiera('cinder::host'),
       rbd_pool        => hiera('cinder_rbd_pool_name'),
       rbd_user        => hiera('ceph_client_user_name'),
       rbd_secret_uuid => hiera('ceph::profile::params::fsid'),
index a9b039c..f152a14 100644 (file)
@@ -739,6 +739,7 @@ if hiera('step') >= 4 {
     $cinder_rbd_backend = 'tripleo_ceph'
 
     cinder::backend::rbd { $cinder_rbd_backend :
+      backend_host    => hiera('cinder::host'),
       rbd_pool        => hiera('cinder_rbd_pool_name'),
       rbd_user        => hiera('ceph_client_user_name'),
       rbd_secret_uuid => hiera('ceph::profile::params::fsid'),