Commit Graph

7 Commits

Author SHA1 Message Date
Neil Hanlon c8637fb427 update zookeeper to 3.8.3
zookeeper 3.7.x is out of support and will stop receiving security fixes
in ~ 3 months (on 2024-01-19). 3.8.X should be in support for some time
longer.

log4j.properties was removed, but a logback config was added.

Change-Id: Ifb6af02abc9e889534f6620b296a9c5c8f0b8b6e
Signed-off-by: Neil Hanlon <neil@shrug.pw>
2023-10-09 19:13:26 +00:00
Neil Hanlon c0490d9060
change to using archive.apache.org for source downloads
archive.apache.org contains all the released versions, whereas dlcdn
only has the latest minor revision. using the archive link will allow
branches to continue to work indepdendently of the upstream's CDN and
release schedule

also, fix linter for example playbook

Closes-Bug: 2038826
Change-Id: Id95dbed736553b24341eb15c74b4a194369dda9f
2023-10-09 15:11:49 -04:00
Dmitriy Rabotyagov 6c783cde78 Fix linters and metadata
With update of ansible-lint to version >=6.0.0 a lot of new
linters were added, that enabled by default. In order to comply
with linter rules we're applying changes to the role.

With that we also update metdata to reflect current state.

Depends-On: https://review.opendev.org/c/openstack/ansible-role-systemd_service/+/888223
Change-Id: Iaa81bfe9c524d9818d19019d5a09cf8e817d8396
2023-07-18 09:32:19 +00:00
Andrew Bonney 1cd6ac5b4c Add configuration option for native Prometheus exporter
Zookeeper supports Prometheus metrics as documented in
https://zookeeper.apache.org/doc/r3.8.0/zookeeperMonitor.html#Prometheus

This patch adds configuration options to enable it and change
the default port.

Change-Id: I7017bb4c2eea855464989bf10d7984e130cad4b3
2023-01-13 09:48:09 +00:00
Dmitriy Rabotyagov 48174fac0d Add envi to the list of allowed commands
Envi is used by kazoo client to fetch zookeeper version. This is needed
for proper integration of Octavia, since Taskflow has a bug [1] that
does not respect config option that disables server version check

[1] https://bugs.launchpad.net/taskflow/+bug/1999174

Change-Id: I4405430b69b9810e8fa398ae09483df09344bbf5
2022-12-08 20:34:35 +01:00
Dmitriy Rabotyagov 4e9f5323c4 Add SSL support for zookeeper
This patch aim to add support for TLS encryption both for client and
quorum.

Depends-On: https://review.opendev.org/c/openstack/ansible-role-pki/+/865420
Change-Id: I171e0c587296d2a7eac126863eb8efa303a05a8c
2022-11-29 15:16:51 +00:00
Dmitriy Rabotyagov 73ab4bafc9 Initial commit to zookeeper role
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/864750
Change-Id: I19fc960131d1bebc7afcb2a9d0d8e0390936d75f
2022-11-17 14:41:02 +00:00