Joshua Boniface
bea79b5102
Add immutability to PVC subrole
...
1. Remove the obsolete pvc-vacuum script install.
2. Remove notifies when modifying configs; we do not want to restart the
daemons uncontrolled.
3. Add bootstrap check to package installs so they only happen on
bootstrap.
This ensures this part of the role, on re-runs, will *only* update
configs and not actually touch the running daemon. This makes it safe to
run before a oneshot/update-pvc-daemons.yml playbook run.
2021-11-15 10:51:38 -05:00
Joshua Boniface
414678f683
Fix a few more extraneous splits
...
Just use this_node if applicable, or the raw node.hostname.
2021-11-11 17:35:42 -05:00
Joshua Boniface
34a016bdac
Ignore errors restarting libvirtd
...
This seems to inexplicably fail sometimes. We can just ignore it.
2021-10-11 14:47:04 -04:00
Joshua Boniface
b37d6c3009
Wait longer when restarting services
...
From 15 -> 30 seconds to ensure more time for stabilization before
proceeding with the next.
2021-07-30 11:46:49 -04:00
Joshua Boniface
238449904f
Move some other tasks to bootstrap role
...
Avoids an issue where the pvcnoded service is stopped on non-bootstrap
runs.
2021-05-13 10:17:38 -04:00
Joshua Boniface
b9f6284e36
Use only short names in Ceph MON config
2020-04-06 13:36:38 -04:00
Joshua Boniface
d60eabf63d
Don't restart pvcd.service on bootstrap
2020-02-20 14:34:48 -05:00
Joshua Boniface
67d1f6761a
Use new package and file names
...
References parallelvirtualclient/pvc#79
2020-02-08 19:47:47 -05:00
Joshua Boniface
a66d17252f
Apply fix with some tweaks to other serial handlers
2019-12-25 13:45:29 -05:00
Joshua Boniface
a30edbfa54
Replace broken "serial" restarts with a new method
2019-12-25 13:30:37 -05:00
Joshua Boniface
22c6c13f0f
Don't try to do crazy restart ordering, it fails
2019-12-24 14:15:52 -05:00
Joshua Boniface
f5ec3968c3
Handle restarting ceph-mon/mgr sequentially
2019-06-21 14:18:26 -04:00
Joshua Boniface
6e51b23e86
Make restart hander for pvcd sequential
2019-06-18 13:07:53 -04:00
Joshua Boniface
8ac0776a8e
Initial commit of PVC Ansible role
2019-06-09 00:52:18 -04:00