Remove pvc-flush references
This service causes more problems than it solves usually, so it is being removed in the next PVC version.
This commit is contained in:
parent
eb60ad1969
commit
503a2e6c0b
|
@ -2,10 +2,12 @@
|
||||||
|
|
||||||
This directory contains playbooks to assist in automating day-to-day maintenance of a PVC cluster. These playbooks can be used independent of the main `pvc.yml` and roles setup to automate tasks.
|
This directory contains playbooks to assist in automating day-to-day maintenance of a PVC cluster. These playbooks can be used independent of the main `pvc.yml` and roles setup to automate tasks.
|
||||||
|
|
||||||
## `update-pvc-cluster.yml`
|
## `update-pvc-cluster.yml` and `reboot-pvc-cluster.yml`
|
||||||
|
|
||||||
This playbook performs a sequential full upgrade on all nodes in a PVC cluster.
|
This playbook performs a sequential full upgrade on all nodes in a PVC cluster.
|
||||||
|
|
||||||
|
The `reboot-pvc-cluster.yml` does the same shutdown and restart steps as `update-pvc-cluster.yml`, but forced for all hosts, and without the update part.
|
||||||
|
|
||||||
### Running the Playbook
|
### Running the Playbook
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -36,7 +38,7 @@ For each host in the cluster sequentially, do:
|
||||||
|
|
||||||
1. Flush the node, wait for all VMs to migrate, then wait 15 seconds
|
1. Flush the node, wait for all VMs to migrate, then wait 15 seconds
|
||||||
|
|
||||||
1. Stop and disable the `pvc-flush` daemon, stop the `pvcnoded` and `zookeeper` daemons, then wait 15 seconds
|
1. Stop the `pvcnoded` and `zookeeper` daemons, then wait 15 seconds
|
||||||
|
|
||||||
1. Set Ceph OSD `noout` and stop all Ceph OSD, monitor, and manager processes, then wait 30 seconds
|
1. Set Ceph OSD `noout` and stop all Ceph OSD, monitor, and manager processes, then wait 30 seconds
|
||||||
|
|
||||||
|
@ -46,8 +48,6 @@ For each host in the cluster sequentially, do:
|
||||||
|
|
||||||
1. Unflush the node, wait for all VMs to migrate, then wait 30 seconds
|
1. Unflush the node, wait for all VMs to migrate, then wait 30 seconds
|
||||||
|
|
||||||
1. Start and enable the `pvc-flush` daemon
|
|
||||||
|
|
||||||
1. Reset any systemd failures
|
1. Reset any systemd failures
|
||||||
|
|
||||||
1. Disable cluster maintenance mode, then wait 30 seconds
|
1. Disable cluster maintenance mode, then wait 30 seconds
|
||||||
|
|
|
@ -52,12 +52,6 @@
|
||||||
become: no
|
become: no
|
||||||
connection: local
|
connection: local
|
||||||
|
|
||||||
- name: stop and disable PVC flush daemon cleanly
|
|
||||||
service:
|
|
||||||
name: pvc-flush
|
|
||||||
state: stopped
|
|
||||||
enabled: no
|
|
||||||
|
|
||||||
- name: stop PVC daemon cleanly
|
- name: stop PVC daemon cleanly
|
||||||
service:
|
service:
|
||||||
name: pvcnoded
|
name: pvcnoded
|
||||||
|
@ -150,12 +144,6 @@
|
||||||
become: no
|
become: no
|
||||||
connection: local
|
connection: local
|
||||||
|
|
||||||
- name: start and enable PVC flush daemon cleanly
|
|
||||||
service:
|
|
||||||
name: pvc-flush
|
|
||||||
state: started
|
|
||||||
enabled: yes
|
|
||||||
|
|
||||||
- name: reset any systemd failures
|
- name: reset any systemd failures
|
||||||
command: systemctl reset-failed
|
command: systemctl reset-failed
|
||||||
|
|
||||||
|
|
|
@ -92,12 +92,6 @@
|
||||||
become: no
|
become: no
|
||||||
connection: local
|
connection: local
|
||||||
|
|
||||||
- name: stop and disable PVC flush daemon cleanly
|
|
||||||
service:
|
|
||||||
name: pvc-flush
|
|
||||||
state: stopped
|
|
||||||
enabled: no
|
|
||||||
|
|
||||||
- name: stop PVC daemon cleanly
|
- name: stop PVC daemon cleanly
|
||||||
service:
|
service:
|
||||||
name: pvcnoded
|
name: pvcnoded
|
||||||
|
@ -190,12 +184,6 @@
|
||||||
become: no
|
become: no
|
||||||
connection: local
|
connection: local
|
||||||
|
|
||||||
- name: start and enable PVC flush daemon cleanly
|
|
||||||
service:
|
|
||||||
name: pvc-flush
|
|
||||||
state: started
|
|
||||||
enabled: yes
|
|
||||||
|
|
||||||
- name: reset any systemd failures
|
- name: reset any systemd failures
|
||||||
command: systemctl reset-failed
|
command: systemctl reset-failed
|
||||||
when: freshness.changed
|
when: freshness.changed
|
||||||
|
|
|
@ -44,12 +44,6 @@
|
||||||
become: no
|
become: no
|
||||||
connection: local
|
connection: local
|
||||||
|
|
||||||
- name: stop and disable PVC flush daemon cleanly
|
|
||||||
service:
|
|
||||||
name: pvc-flush
|
|
||||||
state: stopped
|
|
||||||
enabled: no
|
|
||||||
|
|
||||||
- name: stop PVC daemon cleanly
|
- name: stop PVC daemon cleanly
|
||||||
service:
|
service:
|
||||||
name: pvcnoded
|
name: pvcnoded
|
||||||
|
@ -207,12 +201,6 @@
|
||||||
become: no
|
become: no
|
||||||
connection: local
|
connection: local
|
||||||
|
|
||||||
- name: start and enable PVC flush daemon cleanly
|
|
||||||
service:
|
|
||||||
name: pvc-flush
|
|
||||||
state: started
|
|
||||||
enabled: yes
|
|
||||||
|
|
||||||
- name: reset any systemd failures
|
- name: reset any systemd failures
|
||||||
command: systemctl reset-failed
|
command: systemctl reset-failed
|
||||||
|
|
||||||
|
|
|
@ -46,6 +46,5 @@
|
||||||
state: stopped
|
state: stopped
|
||||||
enabled: yes
|
enabled: yes
|
||||||
with_items:
|
with_items:
|
||||||
- pvc-flush.service
|
|
||||||
- pvcnoded.service
|
- pvcnoded.service
|
||||||
- pvc.target
|
- pvc.target
|
||||||
|
|
Loading…
Reference in New Issue