Skip to content

Retire kolla-operations - #311

Merged
berendt merged 1 commit into
mainfrom
retire-kolla-operations
Sep 28, 2026
Merged

berendt merged 1 commit into
mainfrom
retire-kolla-operations

Conversation

@ideaship

@ideaship ideaship commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

Gates enable_kolla_operations to openstack_version in ['2024.1', '2024.2'], the only releases where kolla-operations.patch still applies. Everywhere else the /operations entries drop out of the six *_paths search lists.

This is a cleanup, not a feature removal. The six *_paths keys only mean anything with that patch, which teaches the upstream grafana and prometheus roles to read path lists instead of one hard-coded node_custom_config directory. The patch arrived .disabled at 2025.1 because it had stopped applying, and is absent at 2026.1, so from 2025.1 on these keys have had no consumer — upstream defines none of the six at stable/2025.1, stable/2025.2, stable/2026.1 or master. The flag has been reading as enabled while doing nothing.

Gated rather than deleted, because all/ is release-independent and defaults is fetched fresh at deploy time. Removing the keys would immediately strip the Grafana dashboards and Prometheus alert rules from 2024.1 — unmaintained upstream, but still supported by OSISM, and the last place any deployment still receives them. The six keys are therefore left untouched; with the flag false their /operations branches evaluate away on their own.

Naming the two legacy releases explicitly, rather than excluding 2026.1, means every future release inherits the retirement with no further edit.

The drift-allowlist.yml entries in osism/release stay for now — the keys still exist, so kolla_retired_patch_orphan still reports them. They come out together with the keys once 2024.1 and 2024.2 are retired.

Part of a cross-repo effort. Background, the full change set and what is deliberately not changed:

🤖 Generated with Claude Code

Retire kolla-operations at 2025.1 and later. The flag becomes truthy only
for 2024.1 and 2024.2, so the /operations entries drop out of the six
*_paths search lists everywhere else.

The feature already delivered nothing at 2025.1+. Its six *_paths keys
only mean anything with kolla-operations.patch, which teaches the upstream
grafana and prometheus roles to read path lists instead of a single
hard-coded node_custom_config directory. That patch arrived .disabled at
2025.1 in container-image-kolla-ansible because it had stopped applying,
and is absent at 2026.1. Upstream has no counterpart for any of the six
variables at stable/2025.1, stable/2025.2, stable/2026.1 or master, so
they are inert there. This change states that explicitly rather than
leaving a flag that reads as enabled while doing nothing.

Gated rather than deleted. all/ is release-independent and defaults is
fetched fresh at deploy time, so removing the keys would immediately strip
the Grafana dashboards and Prometheus alert rules from 2024.1, which is a
SLURP release and still deployable. 2024.1 is the last place any
deployment still receives them.

The six *_paths keys are left unchanged. They are still consumed at
2024.1 and 2024.2, and with the flag false their /operations branches
evaluate away on their own. Naming the two legacy releases explicitly,
rather than excluding 2026.1, means every future release inherits the
retirement without a further edit.

The drift-allowlist entries in osism/release stay for now: the keys still
exist, so kolla_retired_patch_orphan still reports them. They are removed
together with the keys once 2024.1 and 2024.2 are retired.

Assisted-by: Claude:claude-opus-5
Signed-off-by: Roger Luethi <luethi@osism.tech>
@ideaship ideaship self-assigned this Sep 18, 2026
@berendt berendt moved this from New to In progress in Human Board Sep 20, 2026
@ideaship
ideaship marked this pull request as ready for review September 28, 2026 07:22
@ideaship
ideaship requested a review from berendt September 28, 2026 07:23
@berendt
berendt merged commit 2169309 into main Sep 28, 2026
3 checks passed
@berendt
berendt deleted the retire-kolla-operations branch September 28, 2026 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants