]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Revert "mon: force peer addition"
authorSébastien Han <seb@redhat.com>
Mon, 21 Jan 2019 12:53:53 +0000 (13:53 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 22 Jan 2019 12:45:38 +0000 (13:45 +0100)
This reverts commit ee08d1f89a588e878324141dd0f80c65058a377d which was
mostly to workaround a bug in ceph@master. Now, ceph@master is fixed so
reverting this. Thanks to https://github.com/ceph/ceph/pull/25900

Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-mon/tasks/ceph_keys.yml

index e8d9fd5186aa1f1a64953442b43b991fed7af698..3bc4f8f550f078036c53854961dd7af2204d0c48 100644 (file)
@@ -1,18 +1,4 @@
 ---
-- name: wait for the monitor socket to exist
-  stat:
-    path: "/var/run/ceph/{{ cluster }}-mon.{{ monitor_name }}.asok"
-  register: socket
-  until: socket.stat.exists
-
-- name: add bootstrap peers for monitors to form quorum
-  command: "{{ docker_exec_cmd }} ceph --admin-daemon /var/run/ceph/{{ cluster }}-mon.{{ monitor_name }}.asok add_bootstrap_peer_hint {{ hostvars[item.1]['_current_monitor_address'] }}:{{ item.0 }}"
-  with_nested:
-    - 3300
-    - "{{ groups[mon_group_name] }}"
-  changed_when: false
-  failed_when: false
-
 - name: waiting for the monitor(s) to form the quorum...
   command: >
     {{ docker_exec_cmd }}