diff --git a/oneshot/reboot-pvc-cluster.yml b/oneshot/reboot-pvc-cluster.yml index 899b696..318780f 100644 --- a/oneshot/reboot-pvc-cluster.yml +++ b/oneshot/reboot-pvc-cluster.yml @@ -160,6 +160,12 @@ become_user: root gather_facts: yes tasks: + - name: wait 15 seconds for system to stabilize + pause: + seconds: 15 + become: no + connection: local + - name: unset PVC maintenance mode command: pvc cluster maintenance off run_once: yes diff --git a/oneshot/update-pvc-cluster.yml b/oneshot/update-pvc-cluster.yml index 8a3234d..cb10284 100644 --- a/oneshot/update-pvc-cluster.yml +++ b/oneshot/update-pvc-cluster.yml @@ -244,6 +244,12 @@ become_user: root gather_facts: yes tasks: + - name: wait 15 seconds for system to stabilize + pause: + seconds: 15 + become: no + connection: local + - name: unset PVC maintenance mode command: pvc cluster maintenance off run_once: yes diff --git a/oneshot/update-pvc-daemons.yml b/oneshot/update-pvc-daemons.yml index 96b42bc..03056bd 100644 --- a/oneshot/update-pvc-daemons.yml +++ b/oneshot/update-pvc-daemons.yml @@ -145,6 +145,12 @@ - pvcapid run_once: yes + - name: wait 15 seconds for system to stabilize + pause: + seconds: 15 + become: no + connection: local + - name: unset PVC maintenance mode on first node command: pvc cluster maintenance off run_once: yes diff --git a/oneshot/upgrade-pvc-cluster_deb12.yml b/oneshot/upgrade-pvc-cluster_deb12.yml index ec0a474..7d39ab6 100644 --- a/oneshot/upgrade-pvc-cluster_deb12.yml +++ b/oneshot/upgrade-pvc-cluster_deb12.yml @@ -544,10 +544,22 @@ delegate_to: "{{ item }}" loop: "{{ ansible_play_hosts }}" + - name: wait 30 seconds for system to stabilize + pause: + seconds: 30 + become: no + connection: local + - name: set first node as primary coordinator command: "pvc node primary --wait {{ ansible_play_hosts[0].split('.')[0] }}" run_once: yes delegate_to: "{{ ansible_play_hosts[0] }}" + - name: wait 15 seconds for system to stabilize + pause: + seconds: 15 + become: no + connection: local + - name: unset PVC maintenance mode command: pvc cluster maintenance off