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:
Joshua Boniface 2022-07-25 23:19:38 -04:00
parent eb60ad1969
commit 503a2e6c0b
5 changed files with 4 additions and 41 deletions

View File

@ -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.
## `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.
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
```
@ -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. 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
@ -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. Start and enable the `pvc-flush` daemon
1. Reset any systemd failures
1. Disable cluster maintenance mode, then wait 30 seconds

View File

@ -52,12 +52,6 @@
become: no
connection: local
- name: stop and disable PVC flush daemon cleanly
service:
name: pvc-flush
state: stopped
enabled: no
- name: stop PVC daemon cleanly
service:
name: pvcnoded
@ -150,12 +144,6 @@
become: no
connection: local
- name: start and enable PVC flush daemon cleanly
service:
name: pvc-flush
state: started
enabled: yes
- name: reset any systemd failures
command: systemctl reset-failed

View File

@ -92,12 +92,6 @@
become: no
connection: local
- name: stop and disable PVC flush daemon cleanly
service:
name: pvc-flush
state: stopped
enabled: no
- name: stop PVC daemon cleanly
service:
name: pvcnoded
@ -190,12 +184,6 @@
become: no
connection: local
- name: start and enable PVC flush daemon cleanly
service:
name: pvc-flush
state: started
enabled: yes
- name: reset any systemd failures
command: systemctl reset-failed
when: freshness.changed

View File

@ -44,12 +44,6 @@
become: no
connection: local
- name: stop and disable PVC flush daemon cleanly
service:
name: pvc-flush
state: stopped
enabled: no
- name: stop PVC daemon cleanly
service:
name: pvcnoded
@ -207,12 +201,6 @@
become: no
connection: local
- name: start and enable PVC flush daemon cleanly
service:
name: pvc-flush
state: started
enabled: yes
- name: reset any systemd failures
command: systemctl reset-failed

View File

@ -46,6 +46,5 @@
state: stopped
enabled: yes
with_items:
- pvc-flush.service
- pvcnoded.service
- pvc.target