Commit Graph

322 Commits

Author SHA1 Message Date
Joshua Boniface e98649c417 Add quote around ZK nodes in Patroni 2019-07-08 16:59:12 -04:00
Joshua Boniface 7d3ba8bbc3 Bring up underlying interfaces 2019-07-08 14:40:02 -04:00
Joshua Boniface 75182b1570 Complete configuration of API via Ansible 2019-07-08 11:33:14 -04:00
Joshua Boniface d19e006f28 Enable client API in Daemon config 2019-07-06 02:50:05 -04:00
Joshua Boniface c438d2c9cd Add client API to configuration 2019-07-06 02:49:25 -04:00
Joshua Boniface 12d30acf90 Add only coordinators in Patroni config 2019-07-06 02:49:05 -04:00
Joshua Boniface a9b2942027 Add templating of network interfaces
Closes #1
2019-07-04 11:19:49 -04:00
Joshua Boniface 9b9234eeb1 Install ethtool 2019-06-25 22:13:16 -04:00
Joshua Boniface cec1d5ebe5 Remove unattended upgrades 2019-06-25 22:13:07 -04:00
Joshua Boniface 140e044e96 Make libvirt listen only on cluster IP 2019-06-25 22:12:44 -04:00
Joshua Boniface 5dc3114ed6 Remove BLSE references 2019-06-24 12:55:52 -04:00
Joshua Boniface 5dbb48abc4 Add debootstrap to package list 2019-06-24 12:22:24 -04:00
Joshua Boniface fc6475b872 Don't try to set pool limits on libvirt key
I figured a * wildcard would work, but no it doesn't. Libvirt needs
the ability to talk to any pool arbitrarily since PVC can create and
remove them at will.
2019-06-24 10:49:35 -04:00
Joshua Boniface 6031053716 Create mgr after starting monitors 2019-06-24 09:53:04 -04:00
Joshua Boniface 9711a31580 Set nicer default Patroni values re: replication 2019-06-23 21:03:24 -04:00
Joshua Boniface 86d4579c82 Split PVC bootstrap into separate task 2019-06-21 14:18:26 -04:00
Joshua Boniface eed7339578 Correct bug with libvirt permissions 2019-06-21 14:18:26 -04:00
Joshua Boniface f5ec3968c3 Handle restarting ceph-mon/mgr sequentially 2019-06-21 14:18:26 -04:00
Joshua Boniface 34ba09a1c7 Enable pool deletion in ceph.conf 2019-06-21 14:18:26 -04:00
Joshua Boniface 5e91c2751b Add proper license blurb to README 2019-06-20 23:19:50 -04:00
Joshua Boniface 4b5237ac5e Support for detailed keepalive logging 2019-06-18 19:56:46 -04:00
Joshua Boniface 7c503d20a2 Create manager auth keyring 2019-06-18 19:43:30 -04:00
Joshua Boniface 6e51b23e86 Make restart hander for pvcd sequential 2019-06-18 13:07:53 -04:00
Joshua Boniface 9c2afcae54 Remove per-host pvc.yml for good 2019-06-18 13:07:46 -04:00
Joshua Boniface 39a21477b6 Update default variables based on recent changes 2019-06-18 12:59:36 -04:00
Joshua Boniface a5ebc95427 Support configurable logging settings 2019-06-18 12:51:08 -04:00
Joshua Boniface 8abe6589ba Add logging configuration to Ansible 2019-06-18 12:50:57 -04:00
Joshua Boniface 2ccabb7a2f Enable storage support 2019-06-18 11:12:18 -04:00
Joshua Boniface 553f7c92f9 Replace the square bracket with bracket 2019-06-18 10:59:31 -04:00
Joshua Boniface e3ed5675a9 Consistent newhost format between roles 2019-06-18 10:47:40 -04:00
Joshua Boniface c288111c2f Add MTU configuration and update for new layout 2019-06-17 23:46:35 -04:00
Joshua Boniface 0595a1bdd1 Don't use (broken) ansible_lsb 2019-06-17 23:05:51 -04:00
Joshua Boniface e8b5db4c9a Remove buster pre-release tweaks
Buster is now consistent in this regard
2019-06-17 22:54:51 -04:00
Joshua Boniface 1fb481f4fb Use separate bootstrap files for base and pvc roles 2019-06-17 21:59:50 -04:00
Joshua Boniface 33e9c4ae28 Revert "Keep zookeeper enabled"
This reverts commit 5554418210.

This is not needed
2019-06-17 21:58:57 -04:00
Joshua Boniface 5554418210 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.
2019-06-17 12:08:47 -04:00
Joshua Boniface 296090d806 Don't subset the re-setup 2019-06-17 10:39:51 -04:00
Joshua Boniface 645a88f7cd Ensure Ceph daemons are disabled (managed by PVC) 2019-06-17 10:28:18 -04:00
Joshua Boniface 098a36b524 Clean up some tasks during bootstrap; parallel PVC 2019-06-16 19:36:45 -04:00
Joshua Boniface dd0a08bef0 Start Zookeeper during install 2019-06-16 13:57:12 -04:00
Joshua Boniface 523ca4c340 Don't start pvc services on install 2019-06-16 04:00:02 -04:00
Joshua Boniface 293fb5d950 Touch the bootstrap ceph.conf 2019-06-16 03:59:51 -04:00
Joshua Boniface 1bd7a64e1f Move IP removal and restart after install 2019-06-16 03:59:43 -04:00
Joshua Boniface 67915099ca Gather all facts; flush handlers at end 2019-06-16 03:00:11 -04:00
Joshua Boniface d964746229 Add note about gitigore to README 2019-06-16 02:22:55 -04:00
Joshua Boniface acf017906a Remove hosts file (now .gitignored) 2019-06-16 02:20:13 -04:00
Joshua Boniface e6d5bff971 Update README with more information 2019-06-16 02:19:56 -04:00
Joshua Boniface d11e78b9f8 Move hosts to hosts.default 2019-06-16 02:13:10 -04:00
Joshua Boniface 9270b67d73 Add files dir in repo 2019-06-16 02:10:43 -04:00
Joshua Boniface a6c89bbdb5 Update gitignore 2019-06-16 02:10:38 -04:00