Ensure pvcapid is restarted after migrations
This commit is contained in:
parent
a54c730662
commit
b395f47852
|
@ -125,7 +125,6 @@
|
||||||
service:
|
service:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: restarted
|
state: restarted
|
||||||
enabled: yes
|
|
||||||
with_items:
|
with_items:
|
||||||
- pvcworkerd
|
- pvcworkerd
|
||||||
- pvchealthd
|
- pvchealthd
|
||||||
|
@ -138,6 +137,14 @@
|
||||||
command: /usr/share/pvc/pvc-api-db-upgrade
|
command: /usr/share/pvc/pvc-api-db-upgrade
|
||||||
run_once: yes
|
run_once: yes
|
||||||
|
|
||||||
|
- name: restart API daemon to apply database migrations
|
||||||
|
service:
|
||||||
|
name: "{{ item }}"
|
||||||
|
state: restarted
|
||||||
|
with_items:
|
||||||
|
- pvcapid
|
||||||
|
run_once: yes
|
||||||
|
|
||||||
- name: unset PVC maintenance mode on first node
|
- name: unset PVC maintenance mode on first node
|
||||||
command: pvc cluster maintenance off
|
command: pvc cluster maintenance off
|
||||||
run_once: yes
|
run_once: yes
|
||||||
|
|
Loading…
Reference in New Issue