Skip to content
Snippets Groups Projects
Commit e5ba7adc authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "External Ceph: copy also cinder keyring to nova services"

parents a4e7a13a 71d4c697
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,6 @@
- cinder_backend_ceph | bool
- external_ceph_cephx_enabled | bool
# NOTE: nova-compute and nova-libvirt only need ceph.client.nova.keyring.
- name: Copy over ceph nova keyring file
copy:
src: "{{ nova_cephx_keyring_file.stat.path }}"
......@@ -48,6 +47,21 @@
notify:
- Restart {{ item }} container
- name: Copy over ceph cinder keyring file
copy:
src: "{{ cinder_cephx_keyring_file.stat.path }}"
dest: "{{ node_config_directory }}/{{ item }}/"
mode: "0660"
become: true
with_items: # NOTE: nova-libvirt does not need it
- nova-compute
when:
- inventory_hostname in groups[nova_cell_compute_group]
- nova_backend == "rbd"
- external_ceph_cephx_enabled | bool
notify:
- Restart {{ item }} container
- name: Copy over ceph.conf
template:
src: "{{ node_custom_config }}/nova/ceph.conf"
......
---
fixes:
- |
External Ceph: copy also cinder keyring to nova-compute. Since Train
nova-compute needs also the cinder key in case rbd user is set to Cinder,
because volume/pool checks have been moved to use rbd python library.
Fixes `LP#1859408 <https://bugs.launchpad.net/kolla-ansible/+bug/1859408>`__
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment