Skip to content

Further fixes to Prometheus blackbox exporter endpoints#1254

Merged
Alex-Welsh merged 4 commits intostackhpc/2023.1from
fix-kayobe-blackbox-endpoints
Sep 10, 2024
Merged

Further fixes to Prometheus blackbox exporter endpoints#1254
Alex-Welsh merged 4 commits intostackhpc/2023.1from
fix-kayobe-blackbox-endpoints

Conversation

@MoteHue
Copy link
Copy Markdown
Contributor

@MoteHue MoteHue commented Sep 2, 2024

Enabled items under prometheus_blackbox_exporter_endpoints_kayobe were not picked up because the attribute gets set to enabled: 'True', rather the than enabled: true that the default values get. Likely a similar issue to this:
ansible/ansible#11905 (comment)

@MoteHue MoteHue requested a review from Alex-Welsh September 2, 2024 14:57
@MoteHue MoteHue requested a review from a team as a code owner September 2, 2024 14:57
Copy link
Copy Markdown
Member

@Alex-Welsh Alex-Welsh left a comment

Choose a reason for hiding this comment

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

It should be using the true jinja test rather than matching against the string, so I'd assume it would accept any truthy value. Evidently not

Alex-Welsh
Alex-Welsh previously approved these changes Sep 2, 2024
Comment thread etc/kayobe/kolla/inventory/group_vars/prometheus-blackbox-exporter Outdated
Comment thread etc/kayobe/pulp.yml Outdated
@MoteHue MoteHue force-pushed the fix-kayobe-blackbox-endpoints branch from 52903dc to 1a3e80e Compare September 4, 2024 15:58
Copy link
Copy Markdown
Member

@Alex-Welsh Alex-Welsh left a comment

Choose a reason for hiding this comment

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

LGTM but I helped write it so someone else should approve

@MoteHue MoteHue force-pushed the fix-kayobe-blackbox-endpoints branch from 1a3e80e to 61e6336 Compare September 5, 2024 09:03
horizon_public_port is dependent on backend_tls being enabled, rather
than external tls.
@MoteHue MoteHue changed the title Fix prometheus_blackbox_exporter_endpoints select Further fixes to Prometheus blackbox exporter endpoints Sep 5, 2024
@MoteHue MoteHue requested a review from Alex-Welsh September 5, 2024 13:15
Copy link
Copy Markdown
Member

@Alex-Welsh Alex-Welsh left a comment

Choose a reason for hiding this comment

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

Slight scope creep but I'll allow it. LGTM but someone else should approve

@MoteHue
Copy link
Copy Markdown
Contributor Author

MoteHue commented Sep 5, 2024

Slight scope creep but I'll allow it.

I've kept the changes in separate commits, so at least it will be distinct in the blame.

Comment thread etc/kayobe/kolla/inventory/group_vars/prometheus-blackbox-exporter Outdated
@Alex-Welsh Alex-Welsh merged commit 0e2ca89 into stackhpc/2023.1 Sep 10, 2024
@Alex-Welsh Alex-Welsh deleted the fix-kayobe-blackbox-endpoints branch September 10, 2024 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants