Skip to content

fix(keepalived): create deployment namespace - #4243

Merged
atlas-by-vexxhost[bot] merged 3 commits into
mainfrom
agent/keepalived-create-namespace
Aug 20, 2026
Merged

fix(keepalived): create deployment namespace#4243
atlas-by-vexxhost[bot] merged 3 commits into
mainfrom
agent/keepalived-create-namespace

Conversation

@fitbeard

Copy link
Copy Markdown
Contributor

What changed

  • create the openstack namespace before deploying Keepalived resources;
  • preserve the existing keepalived_enabled guard;
  • add a release note.

Why

The role assumed another role had already created its namespace. Running Keepalived in a focused or reordered deployment therefore failed even though all of its other inputs were present.

This production fix is extracted from #4152 so it can be reviewed, released, and backported independently from selective CI.

Validation

  • file-scoped pre-commit hooks passed;
  • git diff --check passed;
  • the repository-wide Ansible lint traversal reached all roles and only failed on the existing galaxy[no-changelog] metadata issue;
  • Reno parsed the new note and only reported the repository's existing duplicate release-note UID.

Signed-off-by: Tadas Sutkaitis <tadas.sutkaitis@vexxhost.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 89ad7d5312

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "Codex (@codex) review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "Codex (@codex) address that feedback".

---
fixes:
- |
The Keepalived role now creates the ``openstack`` namespace when enabled\n before deploying its resources.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Remove the literal newline escape from the release note

The block scalar preserves \n as two literal characters, so the generated changelog will display “enabled\n before” instead of a normal sentence. Replace the escape with an actual line break so the published release note remains natural English.

AGENTS.md reference: AGENTS.md:L20-L20

Useful? React with 👍 / 👎.

Signed-off-by: Tadas Sutkaitis <tadas.sutkaitis@vexxhost.com>
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
@atlas-by-vexxhost
atlas-by-vexxhost Bot merged commit e673c3b into main Aug 20, 2026
15 checks passed
@atlas-by-vexxhost
atlas-by-vexxhost Bot deleted the agent/keepalived-create-namespace branch August 20, 2026 20:13
@vexxhost-bot

Copy link
Copy Markdown
Collaborator

Successfully created backport PR for stable/zed:

@vexxhost-bot

Copy link
Copy Markdown
Collaborator

Successfully created backport PR for stable/2023.1:

@vexxhost-bot

Copy link
Copy Markdown
Collaborator

Successfully created backport PR for stable/2023.2:

@vexxhost-bot

Copy link
Copy Markdown
Collaborator

Successfully created backport PR for stable/2024.1:

@vexxhost-bot

Copy link
Copy Markdown
Collaborator

Successfully created backport PR for stable/2024.2:

@vexxhost-bot

Copy link
Copy Markdown
Collaborator

Successfully created backport PR for stable/2025.1:

@vexxhost-bot

Copy link
Copy Markdown
Collaborator

Successfully created backport PR for stable/2025.2:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants