Merge "Add mising handlers for external Ceph."

This commit is contained in:
Zuul 2019-03-26 06:17:09 +00:00 committed by Gerrit Code Review
commit 4a5d8b0d05
6 changed files with 13 additions and 0 deletions

View File

@ -78,6 +78,7 @@
or policy_overwriting.changed | bool
or cinder_volume_container.changed | bool
or ( ceph_conf is not none and ceph_conf.changed | bool )
or ( cinder_volume_ceph_keyring is defined and cinder_volume_ceph_keyring.changed | bool )
- name: Restart cinder-backup container
vars:
@ -106,3 +107,4 @@
or policy_overwriting.changed | bool
or cinder_backup_container.changed | bool
or ( ceph_conf is not none and ceph_conf.changed | bool )
or ( cinder_backup_ceph_keyring is defined and cinder_backup_ceph_keyring.changed | bool )

View File

@ -26,6 +26,7 @@
dest: "{{ node_config_directory }}/cinder-volume/"
mode: "0660"
become: true
register: cinder_volume_ceph_keyring
with_fileglob:
- "{{ node_custom_config }}/cinder/cinder-volume/ceph.client*"
when:
@ -41,6 +42,7 @@
dest: "{{ node_config_directory }}/cinder-backup/"
mode: "0660"
become: true
register: cinder_backup_ceph_keyring
with_fileglob:
- "{{ node_custom_config }}/cinder/cinder-backup/ceph.client*"
when:

View File

@ -27,3 +27,4 @@
or policy_overwriting.changed | bool
or glance_api_container.changed | bool
or glance_upgrading | bool
or ( glance_api_ceph_files is defined and glance_api_ceph_files.changed | bool )

View File

@ -5,6 +5,7 @@
dest: "{{ node_config_directory }}/glance-api/"
mode: "0660"
become: true
register: glance_api_ceph_files
when: inventory_hostname in groups['glance-api']
with_fileglob:
- "{{ node_custom_config }}/glance/ceph*"

View File

@ -79,6 +79,9 @@
or nova_libvirt_confs.changed | bool
or nova_libvirt_container.changed | bool
or ( ceph_conf is not none and ceph_conf.changed | bool )
or ( nova_ceph_keyring is defined and nova_ceph_keyring.changed | bool )
or ( libvirt_secrets_xml is defined and libvirt_secrets_xml.changed | bool )
or ( libvirt_secrets_key is defined and libvirt_secrets_key.changed | bool )
- name: Restart nova-scheduler container
vars:
@ -267,6 +270,7 @@
or nova_compute_release_file | bool
or nova_compute_container.changed | bool
or ( ceph_conf is not none and ceph_conf.changed | bool )
or ( nova_ceph_keyring is defined and nova_ceph_keyring.changed | bool )
- name: Restart nova-compute-ironic container
vars:

View File

@ -34,6 +34,7 @@
dest: "{{ node_config_directory }}/{{ item }}/"
mode: "0660"
become: true
register: nova_ceph_keyring
with_items:
- nova-compute
- nova-libvirt
@ -67,6 +68,7 @@
dest: "{{ node_config_directory }}/nova-libvirt/secrets/{{ item.uuid }}.xml"
mode: "0600"
become: true
register: libvirt_secrets_xml
when:
- inventory_hostname in groups['compute']
- item.enabled | bool
@ -102,6 +104,7 @@
dest: "{{ node_config_directory }}/nova-libvirt/secrets/{{ item.uuid }}.base64"
mode: "0600"
become: true
register: libvirt_secrets_key
when:
- inventory_hostname in groups['compute']
- item.enabled | bool