113 Commits

Author SHA1 Message Date
2afccf44fb Handle bridge creation more sensibly 2020-04-06 13:36:38 -04:00
a79aef90fa Allow deb migrations to be installed 2020-02-15 23:30:11 -05:00
f5cd8a94c2 Handle creation and collection on bootstrap better 2020-02-15 23:01:32 -05:00
b922d47458 Use new in-built database migrations in API 2020-02-15 22:49:48 -05:00
67d1f6761a Use new package and file names
References parallelvirtualclient/pvc#79
2020-02-08 19:47:47 -05:00
94f2cd5c86 Don't mess with upstream at all during bootstrap
This caused some major breakage and is not required.
2020-01-13 15:12:54 -05:00
7d6052f9cb Modify add_cluster_ips to support new bridges 2020-01-12 19:46:27 -05:00
00315e01c3 Enable and start vhostmd service 2020-01-07 10:45:12 -05:00
dcd3194432 Set msgr2 mode on Ceph monitors 2019-12-30 09:13:50 -05:00
1dda60d301 Add and remove floating IP during cluster bootstrap 2019-12-25 12:12:53 -05:00
ee948cb91c Move netmask to separate config part 3 2019-12-24 14:27:31 -05:00
79dd0cd4bc Ensure the Patroni ZK is clean for bootstrap 2019-12-24 14:17:41 -05:00
06467b64ea Move netmask to separate config part 2 2019-12-24 14:16:20 -05:00
ebee10747c Use API endpoint to bootstrap PVC cluster 2019-12-24 09:08:21 -05:00
a37f511241 Install Provisioner schema to database 2019-12-23 23:19:09 -05:00
64157e8c89 Remove invalid flag to ceph-authtool 2019-12-14 14:10:35 -05:00
6bfc83e8f3 Don't become for uuidgen 2019-12-14 13:51:43 -05:00
1c2f972e93 Move Ceph access to storage network 2019-12-14 13:14:21 -05:00
d78d682fe5 Add jq dependency 2019-12-01 20:26:08 -05:00
6a29400525 Make vacuum script more comprehensive 2019-12-01 20:24:18 -05:00
7f5a7e48f8 Add daily Zookeeper data cleanup 2019-08-26 11:09:23 -04:00
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
b75e84a124 Add logrotate configuration 2019-08-11 15:41:10 -04:00
030a3ded99 Add daily Postgres vacuum script 2019-08-11 15:29:00 -04:00
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
7d3ba8bbc3 Bring up underlying interfaces 2019-07-08 14:40:02 -04:00
75182b1570 Complete configuration of API via Ansible 2019-07-08 11:33:14 -04:00
c438d2c9cd Add client API to configuration 2019-07-06 02:49:25 -04:00
9b9234eeb1 Install ethtool 2019-06-25 22:13:16 -04:00
5dbb48abc4 Add debootstrap to package list 2019-06-24 12:22:24 -04:00
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
6031053716 Create mgr after starting monitors 2019-06-24 09:53:04 -04:00
86d4579c82 Split PVC bootstrap into separate task 2019-06-21 14:18:26 -04:00
eed7339578 Correct bug with libvirt permissions 2019-06-21 14:18:26 -04:00
f5ec3968c3 Handle restarting ceph-mon/mgr sequentially 2019-06-21 14:18:26 -04:00
34ba09a1c7 Enable pool deletion in ceph.conf 2019-06-21 14:18:26 -04:00
7c503d20a2 Create manager auth keyring 2019-06-18 19:43:30 -04:00
9c2afcae54 Remove per-host pvc.yml for good 2019-06-18 13:07:46 -04:00
e3ed5675a9 Consistent newhost format between roles 2019-06-18 10:47:40 -04:00
1fb481f4fb Use separate bootstrap files for base and pvc roles 2019-06-17 21:59:50 -04:00
33e9c4ae28 Revert "Keep zookeeper enabled"
This reverts commit 5554418210964e97d34d77094b296e12ff890aa0.

This is not needed
2019-06-17 21:58:57 -04:00
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
645a88f7cd Ensure Ceph daemons are disabled (managed by PVC) 2019-06-17 10:28:18 -04:00
098a36b524 Clean up some tasks during bootstrap; parallel PVC 2019-06-16 19:36:45 -04:00
dd0a08bef0 Start Zookeeper during install 2019-06-16 13:57:12 -04:00
523ca4c340 Don't start pvc services on install 2019-06-16 04:00:02 -04:00
293fb5d950 Touch the bootstrap ceph.conf 2019-06-16 03:59:51 -04:00
1bd7a64e1f Move IP removal and restart after install 2019-06-16 03:59:43 -04:00
995a8e86f4 Simplify and combine 2019-06-13 16:25:33 -04:00
c092362f13 Reorganize some elements 2019-06-12 23:24:27 -04:00