Skip to content

Commit 64fbfc0

Browse files
authored
Merge pull request #705 from stackhpc/ext-ceph-enabled-bp
Fix Nova and Cinder external ceph enabled check
2 parents fbeb9c4 + 2aaeb6c commit 64fbfc0

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

ansible/roles/nova-cell/tasks/external_ceph.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,9 @@
151151
group: "{{ config_owner_group }}"
152152
mode: "0600"
153153
become: true
154-
when: service | service_enabled_and_mapped_to_host
154+
when:
155+
- service | service_enabled_and_mapped_to_host
156+
- item.enabled | bool
155157
with_items:
156158
- uuid: "{{ rbd_secret_uuid }}"
157159
name: "client.nova secret"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes case where the Ceph secret XMLs for Nova and
5+
Cinder were always pushed to hosts, even when
6+
nova_backend was not "rbd" and cinder_backend_ceph
7+
was False.

0 commit comments

Comments
 (0)