Merge "Add mising handlers for external Ceph."
This commit is contained in:
commit
4a5d8b0d05
@ -78,6 +78,7 @@
|
|||||||
or policy_overwriting.changed | bool
|
or policy_overwriting.changed | bool
|
||||||
or cinder_volume_container.changed | bool
|
or cinder_volume_container.changed | bool
|
||||||
or ( ceph_conf is not none and ceph_conf.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
|
- name: Restart cinder-backup container
|
||||||
vars:
|
vars:
|
||||||
@ -106,3 +107,4 @@
|
|||||||
or policy_overwriting.changed | bool
|
or policy_overwriting.changed | bool
|
||||||
or cinder_backup_container.changed | bool
|
or cinder_backup_container.changed | bool
|
||||||
or ( ceph_conf is not none and ceph_conf.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 )
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
dest: "{{ node_config_directory }}/cinder-volume/"
|
dest: "{{ node_config_directory }}/cinder-volume/"
|
||||||
mode: "0660"
|
mode: "0660"
|
||||||
become: true
|
become: true
|
||||||
|
register: cinder_volume_ceph_keyring
|
||||||
with_fileglob:
|
with_fileglob:
|
||||||
- "{{ node_custom_config }}/cinder/cinder-volume/ceph.client*"
|
- "{{ node_custom_config }}/cinder/cinder-volume/ceph.client*"
|
||||||
when:
|
when:
|
||||||
@ -41,6 +42,7 @@
|
|||||||
dest: "{{ node_config_directory }}/cinder-backup/"
|
dest: "{{ node_config_directory }}/cinder-backup/"
|
||||||
mode: "0660"
|
mode: "0660"
|
||||||
become: true
|
become: true
|
||||||
|
register: cinder_backup_ceph_keyring
|
||||||
with_fileglob:
|
with_fileglob:
|
||||||
- "{{ node_custom_config }}/cinder/cinder-backup/ceph.client*"
|
- "{{ node_custom_config }}/cinder/cinder-backup/ceph.client*"
|
||||||
when:
|
when:
|
||||||
|
@ -27,3 +27,4 @@
|
|||||||
or policy_overwriting.changed | bool
|
or policy_overwriting.changed | bool
|
||||||
or glance_api_container.changed | bool
|
or glance_api_container.changed | bool
|
||||||
or glance_upgrading | bool
|
or glance_upgrading | bool
|
||||||
|
or ( glance_api_ceph_files is defined and glance_api_ceph_files.changed | bool )
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
dest: "{{ node_config_directory }}/glance-api/"
|
dest: "{{ node_config_directory }}/glance-api/"
|
||||||
mode: "0660"
|
mode: "0660"
|
||||||
become: true
|
become: true
|
||||||
|
register: glance_api_ceph_files
|
||||||
when: inventory_hostname in groups['glance-api']
|
when: inventory_hostname in groups['glance-api']
|
||||||
with_fileglob:
|
with_fileglob:
|
||||||
- "{{ node_custom_config }}/glance/ceph*"
|
- "{{ node_custom_config }}/glance/ceph*"
|
||||||
|
@ -79,6 +79,9 @@
|
|||||||
or nova_libvirt_confs.changed | bool
|
or nova_libvirt_confs.changed | bool
|
||||||
or nova_libvirt_container.changed | bool
|
or nova_libvirt_container.changed | bool
|
||||||
or ( ceph_conf is not none and ceph_conf.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
|
- name: Restart nova-scheduler container
|
||||||
vars:
|
vars:
|
||||||
@ -267,6 +270,7 @@
|
|||||||
or nova_compute_release_file | bool
|
or nova_compute_release_file | bool
|
||||||
or nova_compute_container.changed | bool
|
or nova_compute_container.changed | bool
|
||||||
or ( ceph_conf is not none and ceph_conf.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
|
- name: Restart nova-compute-ironic container
|
||||||
vars:
|
vars:
|
||||||
|
@ -34,6 +34,7 @@
|
|||||||
dest: "{{ node_config_directory }}/{{ item }}/"
|
dest: "{{ node_config_directory }}/{{ item }}/"
|
||||||
mode: "0660"
|
mode: "0660"
|
||||||
become: true
|
become: true
|
||||||
|
register: nova_ceph_keyring
|
||||||
with_items:
|
with_items:
|
||||||
- nova-compute
|
- nova-compute
|
||||||
- nova-libvirt
|
- nova-libvirt
|
||||||
@ -67,6 +68,7 @@
|
|||||||
dest: "{{ node_config_directory }}/nova-libvirt/secrets/{{ item.uuid }}.xml"
|
dest: "{{ node_config_directory }}/nova-libvirt/secrets/{{ item.uuid }}.xml"
|
||||||
mode: "0600"
|
mode: "0600"
|
||||||
become: true
|
become: true
|
||||||
|
register: libvirt_secrets_xml
|
||||||
when:
|
when:
|
||||||
- inventory_hostname in groups['compute']
|
- inventory_hostname in groups['compute']
|
||||||
- item.enabled | bool
|
- item.enabled | bool
|
||||||
@ -102,6 +104,7 @@
|
|||||||
dest: "{{ node_config_directory }}/nova-libvirt/secrets/{{ item.uuid }}.base64"
|
dest: "{{ node_config_directory }}/nova-libvirt/secrets/{{ item.uuid }}.base64"
|
||||||
mode: "0600"
|
mode: "0600"
|
||||||
become: true
|
become: true
|
||||||
|
register: libvirt_secrets_key
|
||||||
when:
|
when:
|
||||||
- inventory_hostname in groups['compute']
|
- inventory_hostname in groups['compute']
|
||||||
- item.enabled | bool
|
- item.enabled | bool
|
||||||
|
Loading…
Reference in New Issue
Block a user