Commit Graph

81 Commits

Author SHA1 Message Date
Joshua Boniface dbf6e52f3c Split PVC bootstrap into separate task 2023-09-01 15:42:20 -04:00
Joshua Boniface 935b4c48ae Correct bug with libvirt permissions 2023-09-01 15:42:20 -04:00
Joshua Boniface 958d2525da Handle restarting ceph-mon/mgr sequentially 2023-09-01 15:42:20 -04:00
Joshua Boniface 596ce789b1 Enable pool deletion in ceph.conf 2023-09-01 15:42:20 -04:00
Joshua Boniface e9303c1ad1 Create manager auth keyring 2023-09-01 15:42:20 -04:00
Joshua Boniface bcce7f5445 Remove per-host pvc.yml for good 2023-09-01 15:42:20 -04:00
Joshua Boniface aef72555c1 Consistent newhost format between roles 2023-09-01 15:42:20 -04:00
Joshua Boniface 9b457890d5 Use separate bootstrap files for base and pvc roles 2023-09-01 15:42:20 -04:00
Joshua Boniface 6dc57f374b Revert "Keep zookeeper enabled"
This reverts commit 5554418210.

This is not needed
2023-09-01 15:42:20 -04:00
Joshua Boniface ebcd281490 Keep zookeeper enabled
Without this, the service seems to just loop failing to start
indefinitely even though PVC attempts to start the daemon itself.
Reenabling seems to work. Likely a bug due to Zookeeper not being
a proper systemd unit.
2023-09-01 15:42:20 -04:00
Joshua Boniface a01720a09d Ensure Ceph daemons are disabled (managed by PVC) 2023-09-01 15:42:20 -04:00
Joshua Boniface a19d9c77ad Clean up some tasks during bootstrap; parallel PVC 2023-09-01 15:42:20 -04:00
Joshua Boniface 218cec1126 Start Zookeeper during install 2023-09-01 15:42:20 -04:00
Joshua Boniface e9fc24a8a8 Don't start pvc services on install 2023-09-01 15:42:20 -04:00
Joshua Boniface f823d1b351 Touch the bootstrap ceph.conf 2023-09-01 15:42:20 -04:00
Joshua Boniface aa72bb9bac Move IP removal and restart after install 2023-09-01 15:42:20 -04:00
Joshua Boniface efd8dce53d Simplify and combine 2023-09-01 15:42:20 -04:00
Joshua Boniface 256a89d7cc Reorganize some elements 2023-09-01 15:42:19 -04:00
Joshua Boniface a922fe4df7 Reorganize and rejigger 2023-09-01 15:42:19 -04:00
Joshua Boniface 5cbce17bd1 Reorganize some bootstrap tasks 2023-09-01 15:42:19 -04:00
Joshua Boniface fbd0ed9390 Improve handling around loop var and correct pvcd 2023-09-01 15:42:19 -04:00
Joshua Boniface 8fbbce3d16 Make things even nicer 2023-09-01 15:42:19 -04:00
Joshua Boniface a22203c887 Define secret key properly 2023-09-01 15:42:19 -04:00
Joshua Boniface e0fa826cfd Flush handlers properly 2023-09-01 15:42:19 -04:00
Joshua Boniface 9d01d5d3cb Improve libvirt key handling 2023-09-01 15:42:19 -04:00
Joshua Boniface 37506b981f Flush handlers before starting PVC install 2023-09-01 15:42:19 -04:00
Joshua Boniface ef0b1a8c5e Add creation of libvirt client key 2023-09-01 15:42:19 -04:00
Joshua Boniface feafe055f0 Add bootstrapping of Ceph 2023-09-01 15:42:19 -04:00
Joshua Boniface f126d3b071 Compatability with Ansible 2.2 2023-09-01 15:42:19 -04:00
Joshua Boniface 644097f290 Remove Ceph group creation 2023-09-01 15:42:19 -04:00
Joshua Boniface 6dfaf433dc Initial commit of PVC Ansible role 2023-09-01 15:42:19 -04:00