7 Commits

Author SHA1 Message Date
James E. Blair
d39162a79a Update zookeeper-statsd image to bookworm
And upgrade to Python 3.11.

Change-Id: I863aabd21e0518879604b187509aa9b46b15bace
2023-08-24 11:19:23 -07:00
Clark Boylan
d24f648db8 Revert "Migrate statsd sidecar container images to quay.io"
This reverts commit 4a762a6a8a9bc6c4364e8a4b3588326e4fc40982.
A partial revert of 13cfceaea43f1ddc1dc4431da843e9d92e73e426 is also
performed to swap out zookeeper-statsd without affecting other images.

We perform this revert because Docker cannot do speculative gating of
images hosted anywhere but on docker.io. Speculative testing of
container images is an important feature that we wish to keep so revert
until we can stop relying on Docker.

Change-Id: I7ceafdb7cf1dfd4812ea8f12f273f01045ca89a2
2023-05-24 11:39:46 -07:00
Clark Boylan
4a762a6a8a Migrate statsd sidecar container images to quay.io
The migration of the zookeeper-statsd image itself already happened as
it was our test case. That said I found a small typo that needs fixing
(and will clean up the extra image that was created later). We also
update zookeeper-statsd to pull the base python image from quay.io

The real fun happens with haproxy-statsd. We update the image to pull
the python base image from quay.io and set it up to publish to quay.io
itself.

Change-Id: Ie0c119ac309837baef850236f7d5ba6b9da97ce0
2023-05-05 19:13:24 -07:00
Clark Boylan
13cfceaea4 Base jobs for quay.io image publishing
This adds new jobs for publishing our images to quay.io. We also add a
secret with the necessary items (password for images pushes, API token
for repo creation). Then we update the zookeeper-statsd image as the
first image to get moved to quay.io. This should exercise things and
ensure it is working for us.

Note we don't try to update all of the images at once as we have many
images managed in this one repository and debugging every one of them
after a single merge just seems like pain. Instead, we'll start with one
image and go from there.

Depends-On: https://review.opendev.org/c/opendev/base-jobs/+/881522
Change-Id: I5198942f184df72543185a0ea88d50f9dc2d9421
2023-05-01 10:05:17 -07:00
Clark Boylan
0f51ccf87f Update zookeeper-statsd to python3.9 on bullseye
We're currently on python3.9 on buster.

Change-Id: Ib8be56d44c89850cd63d700694cda174aa2efa4f
2021-11-04 16:49:04 -07:00
Monty Taylor
8dbf0a3d82 Produce both buster and bullseye container images
This will allow us to roll out consumption forward in a
methodical manner.

This reverts commit 45caec4d43900bc66fb0b8c219c6dcc3180ca8aa.

Note the weird ARG definitions are there for a reason:
https://docs.docker.com/engine/reference/builder/#understand-how-arg-and-from-interact

Change-Id: I81174ac035164695f1c27c9662f25335b78c2e64
2021-08-28 16:46:29 -07:00
James E. Blair
96bac7b486 Add zookeeper-statsd
This adds a program, zookeeper-statsd, which monitors zookeeper
metrics and reports them to statsd.  It also adds a container to
run that program.  And it runs the container on each of the
ZooKeeper quorum members.  And it updates the graphite host to
allow statsd traffic from quorum members.  And it updates the
4-letter-word whitelist to allow the mntr command (which is used
to gather metrics) to be issued.

Change-Id: I298f0b13a05cc615d8496edd4622438507fc5423
2021-03-17 14:52:31 -07:00