Run ceph_client when cinder uses Ceph
In usecases where only cinder is using ceph we currently do not execute ceph_client role, which makes nodes failing to spawn instances from RBD volumes. Sample usecase where Glance might be using Swift and it might be desired to use local storage for Nova ephemeral drives, but cinder spawning volumes on Ceph Currently this can be workarounded with setting `nova_rbd_inuse: True` but at the same time `nova_libvirt_images_rbd_pool: ''`, though this is counter-intuitive and this patch aims to improve this. Change-Id: I412d1e9ccb51f0cd33a98333bfa1a01510867fbe (cherry picked from commit 5300fcea9d0f03d0efae24048ea943dcd8f0863e)
This commit is contained in:
parent
00f97ddd79
commit
456daea8e7
@ -323,7 +323,7 @@
|
||||
when:
|
||||
- nova_virt_type != 'ironic'
|
||||
- nova_services['nova-compute']['group'] in group_names
|
||||
- (nova_rbd_inuse | bool) or (nova_glance_rbd_inuse | bool)
|
||||
- (nova_rbd_inuse | bool) or (nova_glance_rbd_inuse | bool) or (nova_cinder_rbd_inuse | bool)
|
||||
tags:
|
||||
- always
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user