docker-common: Fix bug when updating config

in containerized deployment, if you try to update your `ceph.conf` file
it won't be actually updated on your nodes because it is overwritten by
the copy of the file which is present in your fetch directory.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/1727/head
Guillaume Abrioux 2017-08-01 15:11:45 +02:00
parent 7a333d05ce
commit 608bad901d
2 changed files with 0 additions and 7 deletions

View File

@ -42,12 +42,6 @@
mode: "0644" mode: "0644"
config_overrides: "{{ ceph_conf_overrides }}" config_overrides: "{{ ceph_conf_overrides }}"
config_type: ini config_type: ini
when:
- (not mon_containerized_default_ceph_conf_with_kv and
(inventory_hostname in groups.get(mon_group_name, []) or inventory_hostname in groups.get(osd_group_name, []))) or
(not mon_containerized_default_ceph_conf_with_kv and
((groups.get(nfs_group_name, []) | length > 0)
and (inventory_hostname == groups.get(nfs_group_name, [])[0])))
notify: notify:
- restart ceph mons - restart ceph mons
- restart ceph osds - restart ceph osds

View File

@ -2,7 +2,6 @@
- name: set config and keys paths - name: set config and keys paths
set_fact: set_fact:
ceph_config_keys: ceph_config_keys:
- "{{ ceph_conf_key_directory }}/{{ cluster }}.conf"
- "{{ ceph_conf_key_directory }}/{{ cluster }}.client.admin.keyring" - "{{ ceph_conf_key_directory }}/{{ cluster }}.client.admin.keyring"
- "{{ ceph_conf_key_directory }}/monmap-{{ cluster }}" - "{{ ceph_conf_key_directory }}/monmap-{{ cluster }}"
- "{{ ceph_conf_key_directory }}/{{ cluster }}.mon.keyring" - "{{ ceph_conf_key_directory }}/{{ cluster }}.mon.keyring"