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
This commit is contained in:
Dmitriy Rabotyagov
2024年01月16日 18:26:06 +01:00
committed by Dmitriy Rabotyagov
parent 5a533aae23
commit 5300fcea9d

View File

@@ -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
Reference in New Issue
openstack/openstack-ansible-os_nova
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.