Skip to content

guides: add prometheus-node-exporters step - #1156

Merged
jklare merged 2 commits into
mainfrom
prometheus-node-exporters
Nov 24, 2026
Merged

jklare merged 2 commits into
mainfrom
prometheus-node-exporters

Conversation

@ideaship

@ideaship ideaship commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Kolla Ansible moved the node exporter and cAdvisor out of the prometheus role into a new prometheus-node-exporters role, first released in Kolla Ansible 21.0.0 (2025.2): https://opendev.org/openstack/kolla-ansible/commit/dba99ea974ccfa59c8701a64731ae3b72a226122

Since OSISM 11, osism apply prometheus therefore no longer deploys or upgrades the two exporters. This adds the pull and apply commands for prometheus-node-exporters to the Prometheus step of the deploy guide and the upgrade guide, scoped to OSISM 11 and later like the Valkey/Redis step. It also notes the change in the OpenStack services (2026.1) list of the OSISM 11.0.0 release notes.

Testing

  • On an OSISM 11 (2026.1) deployment set up following the deploy guide, neither prometheus_node_exporter nor prometheus_cadvisor was running on any host.
  • osism apply prometheus-node-exporters then deployed both containers on all 7 hosts (failed=0), running the 2026.1 images.
  • markdownlint passes on all changed files.

🤖 Generated with Claude Code

Kolla Ansible moved the node exporter and cAdvisor out of the
prometheus role into a new prometheus-node-exporters role, first
released in Kolla Ansible 21.0.0 (2025.2):
https://opendev.org/openstack/kolla-ansible/commit/dba99ea974ccfa59c8701a64731ae3b72a226122

OSISM 11 is the first OSISM release that contains this change. Since
then, "osism apply prometheus" no longer deploys or upgrades the two
exporters. On a new deployment that follows the deploy guide, they are
missing on every node; on a deployment upgraded to OSISM 11, the
containers the prometheus role created earlier keep running with their
old images. The inventory groups and enable flags are unchanged, and
OSISM already provides the playbook, so only the command is missing.

Add the pull and apply commands for prometheus-node-exporters to the
Prometheus step of both the deploy guide and the upgrade guide, scoped
to OSISM 11 and later in the same way as the Valkey/Redis step. The
upgrade guide uses a plain apply like the Prometheus step above it,
since the role's upgrade tasks are identical to its deploy tasks.

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Roger Luethi <luethi@osism.tech>
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

✅⚠️MegaLinter analysis: Success with warnings

Descriptor Linter Files Fixed Errors Max errors Warnings Elapsed time
✅ ACTION actionlint 5 0 0 0.08s
✅ JSON jsonlint 4 0 0 0.12s
✅ JSON prettier 4 0 0 0.45s
✅ JSON v8r 4 0 0 9.55s
✅ MARKDOWN markdownlint 184 0 0 4.09s
✅ MARKDOWN markdown-table-formatter 184 0 0 0.55s
✅ REPOSITORY betterleaks yes no no 0.67s
✅ REPOSITORY checkov yes no no 19.88s
✅ REPOSITORY git_diff yes no no 0.09s
✅ REPOSITORY secretlint yes no no 1.6s
✅ REPOSITORY trufflehog yes no no 3.23s
✅ SPELL codespell 194 0 0 0.78s
⚠️ SPELL lychee 190 1 0 40.1s
✅ YAML prettier 6 0 0 0.49s
✅ YAML v8r 6 0 0 7.41s
✅ YAML yamllint 6 0 0 0.6s

Detailed Issues

⚠️ SPELL / lychee - 1 error
📝 Summary
---------------------
🔍 Total.........1305
🔗 Unique.........957
✅ Successful....1182
⏳ Timeouts.........6
🔀 Redirected.......1
👻 Excluded.......116
❓ Unknown..........0
🚫 Errors...........1
⛔ Unsupported......1

Errors in docs/appendix/security/ossa-2026-015.md
[TIMEOUT] https://bugs.launchpad.net/keystone/+bug/2148398 (at 194:3) | Request timed out
[TIMEOUT] https://bugs.launchpad.net/keystone/+bug/2148477 (at 195:3) | Request timed out

Errors in docs/appendix/security/ossa-2026-034.md
[TIMEOUT] https://bugs.launchpad.net/designate/+bug/2142581 (at 179:5) | Request timed out
[TIMEOUT] https://bugs.launchpad.net/designate/+bug/2142581 (at 254:3) | Request timed out

Errors in docs/appendix/security/ossa-2026-038.md
[TIMEOUT] https://bugs.launchpad.net/glance/+bug/2158998 (at 124:3) | Request timed out
[TIMEOUT] https://bugs.launchpad.net/glance/+bug/2158999 (at 125:3) | Request timed out

Errors in docs/guides/developer-guide/style-guide.md
[ERROR] https://wiki.openstack.org/wiki/GitCommitMessages (at 79:1) | Network unreachable. Check internet connection or VPN settings

Hint: Followed 1 redirect. You might want to consider replacing redirecting URLs with the resolved URLs. Use verbose mode (`-v`/`-vv`) to see redirection details.

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@10.2.0 --custom-flavor-setup --custom-flavor-linters ACTION_ACTIONLINT,JSON_JSONLINT,JSON_V8R,JSON_PRETTIER,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_CHECKOV,REPOSITORY_GIT_DIFF,REPOSITORY_BETTERLEAKS,REPOSITORY_SECRETLINT,REPOSITORY_TRUFFLEHOG,SPELL_LYCHEE,SPELL_CODESPELL,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R

MegaLinter is provided by OX Security
Show us your support by starring ⭐ the repository

@ideaship
ideaship marked this pull request as ready for review November 24, 2026 04:51
@ideaship ideaship self-assigned this Nov 24, 2026

@jklare jklare left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think we should mention this in the release notes / changelog too.

OSISM 11 is the first OSISM release on Kolla Ansible 2026.1, which
deploys the node exporter and cAdvisor with their own
prometheus-node-exporters role instead of the prometheus role. Since
then, "osism apply prometheus" no longer deploys them, and a deployment
that runs only the commands it ran before has no exporters on its
hosts.

Add a bullet to the OpenStack services (2026.1) list of the 11.0.0
release notes, next to the other command change in that list, naming
the new commands and linking to the deploy guide that now lists them.

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Roger Luethi <luethi@osism.tech>

@jklare jklare left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, thanks

@jklare
jklare merged commit ddb1d4c into main Nov 24, 2026
5 checks passed
@jklare
jklare deleted the prometheus-node-exporters branch November 24, 2026 18:31
@github-project-automation github-project-automation Bot moved this from New to Done in Human Board Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants