Fix cinder-vmware deployment with ceph
Fix cinder-vmware deployment with ceph Change-Id: I306adbfae0d2df6a028322340c5d86bc580e70c8 Closes-bug: #1523914
This commit is contained in:
parent
6a5f6c0afb
commit
3ddd369753
|
@ -215,7 +215,7 @@ Exec { logoutput => true }
|
|||
#################################################################
|
||||
# we need to evaluate ceph here, because ceph notifies/requires
|
||||
# other services that are declared in openstack manifests
|
||||
if ($use_ceph and !$storage_hash['volumes_lvm']) {
|
||||
if ($use_ceph and !$storage_hash['volumes_lvm'] and !member($roles, 'cinder-vmware')) {
|
||||
$primary_mons = $controllers
|
||||
$primary_mon = $controllers[0]['name']
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ describe manifest do
|
|||
|
||||
storage_hash = Noop.hiera 'storage_hash'
|
||||
|
||||
if Noop.hiera 'use_ceph' and !(storage_hash['volumes_lvm'])
|
||||
if Noop.hiera 'use_ceph' and !(storage_hash['volumes_lvm']) and !(member($roles, 'cinder-vmware'))
|
||||
it { should contain_class('ceph') }
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue