Joshua Boniface
dcd3194432
Set msgr2 mode on Ceph monitors
2019-12-30 09:13:50 -05:00
Joshua Boniface
a66d17252f
Apply fix with some tweaks to other serial handlers
2019-12-25 13:45:29 -05:00
Joshua Boniface
af606ac49c
Change ordering of networks in file
2019-12-25 13:31:02 -05:00
Joshua Boniface
a30edbfa54
Replace broken "serial" restarts with a new method
2019-12-25 13:30:37 -05:00
Joshua Boniface
bf4de842d8
Correct bad address in pvcd.yaml
2019-12-25 12:57:51 -05:00
Joshua Boniface
c5da6381c9
Set provisioner database in pvcd.yaml
2019-12-25 12:37:32 -05:00
Joshua Boniface
1dda60d301
Add and remove floating IP during cluster bootstrap
2019-12-25 12:12:53 -05:00
Joshua Boniface
ee948cb91c
Move netmask to separate config part 3
2019-12-24 14:27:31 -05:00
Joshua Boniface
79dd0cd4bc
Ensure the Patroni ZK is clean for bootstrap
2019-12-24 14:17:41 -05:00
Joshua Boniface
06467b64ea
Move netmask to separate config part 2
2019-12-24 14:16:20 -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
73617fa1a6
Change Patroni scope to just pvc
2019-12-24 14:15:39 -05:00
Joshua Boniface
a10fc7eb3f
Move netmask to separate config
2019-12-24 14:15:14 -05:00
Joshua Boniface
ebee10747c
Use API endpoint to bootstrap PVC cluster
2019-12-24 09:08:21 -05:00
Joshua Boniface
93f44dd9dc
Add additional API configuration
2019-12-23 23:25:27 -05:00
Joshua Boniface
a37f511241
Install Provisioner schema to database
2019-12-23 23:19:09 -05:00
Joshua Boniface
e08e19ee64
Add provisioner database schema
2019-12-23 12:58:03 -05:00
Joshua Boniface
4d2ef3b622
Remove empty newline
2019-12-23 12:57:46 -05:00
Joshua Boniface
64157e8c89
Remove invalid flag to ceph-authtool
2019-12-14 14:10:35 -05:00
Joshua Boniface
6bfc83e8f3
Don't become for uuidgen
2019-12-14 13:51:43 -05:00
Joshua Boniface
1c2f972e93
Move Ceph access to storage network
2019-12-14 13:14:21 -05:00
Joshua Boniface
80fdc88235
Improve script to run ZK cleanup on all hosts
2019-12-01 20:29:47 -05:00
Joshua Boniface
d78d682fe5
Add jq dependency
2019-12-01 20:26:08 -05:00
Joshua Boniface
6a29400525
Make vacuum script more comprehensive
2019-12-01 20:24:18 -05:00
Joshua Boniface
273c048e6a
Add check_mk check for PVC status
2019-10-24 09:46:10 -04:00
Joshua Boniface
0336cd998f
Improve daily vacuum script
2019-10-24 09:43:24 -04:00
Joshua Boniface
7f5a7e48f8
Add daily Zookeeper data cleanup
2019-08-26 11:09:23 -04:00
Joshua Boniface
ef9673de02
Add custom systemd unit for Zookeeper
...
We're 100% systemd here, and the lack of control/information that the
old-school ZK initscript provides is frustrating. Replace it with our
own simple unit file.
2019-08-26 11:06:30 -04:00
Joshua Boniface
b75e84a124
Add logrotate configuration
2019-08-11 15:41:10 -04:00
Joshua Boniface
030a3ded99
Add daily Postgres vacuum script
2019-08-11 15:29:00 -04:00
Joshua Boniface
91509720ac
Add Zookeeper autopurge @72h
2019-08-05 13:16:09 -04:00
Joshua Boniface
005ba71fc8
Update config template with recent changes
...
1) Add debug flag
2) Move intervals config up one level
2019-08-01 13:21:12 -04:00
Joshua Boniface
ada3cb1d87
Set debug value in API config
2019-07-26 11:44:08 -04:00
Joshua Boniface
dc27564157
Limit database tasks to coordinators only
...
Non-coordinators don't need these configurations as they shouldn't run
there.
2019-07-11 19:58:56 -04:00
Joshua Boniface
db2c77d330
Support new log flags and update default log conf
...
Tweak the defaults a bit; pvc-ansible assumes we're running under
systemd, so set a log format that's better for it (no colour or date).
2019-07-10 21:49:38 -04:00
Joshua Boniface
0d562b829c
Replace tabs with spaces
2019-07-08 19:24:59 -04:00
Joshua Boniface
6319241df9
Remove bad content from pvc-api.yml
2019-07-08 19:03:08 -04:00
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
9b9234eeb1
Install ethtool
2019-06-25 22:13:16 -04:00
Joshua Boniface
140e044e96
Make libvirt listen only on cluster IP
2019-06-25 22:12:44 -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