10 Commits

Author SHA1 Message Date
561ecb5c61 Adjust name of bootstrap trigger variable
The PVC bootstrap framework overrides this variable and wreaks havoc on
it. Instead adjust our side so that it looks for do_bootstrap instead.
2023-09-01 15:42:29 -04:00
773fd5a9d4 Ensure all zkCli has -server set 2023-09-01 15:42:28 -04:00
f25a80ff53 Add additional CMK checks 2023-09-01 15:42:26 -04:00
4f5dbee8ee Correct bugs during bootstrap
1. Ensure Zookeeper restarts and checks out successfully before
proceeding with other steps.
2. Make sure PVC itself doesn't start prematurely.
2023-09-01 15:42:25 -04:00
94ef3490ab Add daily Zookeeper data cleanup 2023-09-01 15:42:21 -04:00
15a2bf1418 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.
2023-09-01 15:42:21 -04:00
6dc57f374b Revert "Keep zookeeper enabled"
This reverts commit 5554418210964e97d34d77094b296e12ff890aa0.

This is not needed
2023-09-01 15:42:20 -04:00
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
218cec1126 Start Zookeeper during install 2023-09-01 15:42:20 -04:00
a922fe4df7 Reorganize and rejigger 2023-09-01 15:42:19 -04:00