Skip to content

Generate and configure Prometheus client certs - #2014

Open
vyzigold wants to merge 1 commit into
openstack-k8s-operators:mainfrom
vyzigold:prometheus-mtls
Open

Generate and configure Prometheus client certs#2014
vyzigold wants to merge 1 commit into
openstack-k8s-operators:mainfrom
vyzigold:prometheus-mtls

Conversation

@vyzigold

@vyzigold vyzigold commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

When TLS and metricStorage are enabled, generate client certificate for Prometheus. This will later be used by Prometheus to access metric exporters which require client certificates.

jira: https://redhat.atlassian.net/browse/OSPRH-33208
Depends-On: openstack-k8s-operators/telemetry-operator#976
Generated-By: Claude-Code claude-opus-4-6

@openshift-ci
openshift-ci Bot requested review from fultonj and rabi August 4, 2026 08:34
@openshift-ci

openshift-ci Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: vyzigold
Once this PR has been reviewed and has the lgtm label, please assign slagle for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

OpenStackControlPlane CRD Size Report

Metric Value
CRD JSON size 337535 bytes (330KB)
Base branch size 337535 bytes
Change +0.00%
Status yellow — growing
Threshold reference
Color Range Meaning
🟢 green < 300KB Comfortable
🟡 yellow 300–400KB Growing
🟠 orange 400–750KB Concerning
🔴 red > 750KB Approaching 1.5MB etcd limit (cut in half to allow space for update)

@vyzigold
vyzigold marked this pull request as draft August 4, 2026 08:35
@vyzigold

vyzigold commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

/retest

@vyzigold

vyzigold commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

Making this a draft for now, because the telemetry-operator PR needs to merge first and afterward we need a dependency bump here before this can be merged. But the code is currently in a state in which I'd like to eventually merge it.

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/4cba951d748b4046b60424b579190860

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 56m 26s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 36m 53s
cifmw-crc-podified-edpm-baremetal FAILURE in 35m 30s
openstack-operator-tempest-multinode NODE_FAILURE Node(set) request 099-0000161128 failed in 0s
✔️ openstack-operator-edpm-baremetal-minor-update SUCCESS in 2h 33m 35s

@vyzigold
vyzigold requested a review from stuggi August 6, 2026 14:14
@stuggi

stuggi commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

@vyzigold looks good to me.

@vyzigold
vyzigold marked this pull request as ready for review August 11, 2026 08:35
@openshift-ci
openshift-ci Bot requested a review from slagle August 11, 2026 08:35
@vyzigold

Copy link
Copy Markdown
Contributor Author

The dependent telemetry-operator PR merged and a dependency bump in openstack-operator was also merged, meaning this is ready to be worked on. I rebased on top of main.

@vyzigold

Copy link
Copy Markdown
Contributor Author

just a rebase on top of main after recent merge of alertmanager TLS PR.

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/341d5bff98034944a01c840576e8dafe

openstack-k8s-operators-content-provider FAILURE in 5m 27s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ openstack-operator-tempest-multinode SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ openstack-operator-edpm-baremetal-minor-update SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

When TLS and metricStorage are enabled, generate client certificate for
Prometheus. This will later be used by Prometheus to access metric
exporters which require client certificates.

jira: https://redhat.atlassian.net/browse/OSPRH-33208
Depends-On: openstack-k8s-operators/telemetry-operator#976
Generated-By: Claude-Code claude-opus-4-6
@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/d0684f7450a94f3e895ff4b8eef3aa2e

openstack-k8s-operators-content-provider FAILURE in 5m 29s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ openstack-operator-tempest-multinode SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ openstack-operator-edpm-baremetal-minor-update SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

@vyzigold

Copy link
Copy Markdown
Contributor Author

/retest

@vyzigold

Copy link
Copy Markdown
Contributor Author

recheck download_tools

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/9890b026abac475b854f86026e0a50bb

✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 00m 35s
podified-multinode-edpm-deployment-crc FAILURE in 1h 53m 22s
cifmw-crc-podified-edpm-baremetal FAILURE in 1h 55m 03s
openstack-operator-tempest-multinode FAILURE in 1h 58m 22s
openstack-operator-edpm-baremetal-minor-update FAILURE in 2h 04m 21s

@vyzigold

Copy link
Copy Markdown
Contributor Author

recheck ModuleNotFoundError: No module named 'setuptools.extern.tomli' while deploying the dataplane

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.

2 participants