13 Commits

Author SHA1 Message Date
3be0da1e21 Fix incorrect source template path 2023-12-28 11:36:39 -05:00
9842f628a3 Use GO zkcli instead of trash BASH one
With Debian 12+ the interactive zkCli.sh is completely broken, failing
to load the JLine module regardless of what is done, and no one in the
project seems to care about that.

Instead let's swap this out for the (non-interactive) GO-based zkcli of
https://github.com/go-zkcli/zkcli instead, as this suits our needs
nicely.
2023-12-13 15:48:12 -05:00
09eba9de80 Add Prometheus Zookeeper exporter 2023-12-10 12:39:35 -05:00
2ba8f1cfc3 Add retries to all apt commands 2023-09-01 15:42:30 -04:00
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
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