Skip to content

[OSPRH-26273] Update observability-operator#844

Open
vyzigold wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
vyzigold:update_obo_100
Open

[OSPRH-26273] Update observability-operator#844
vyzigold wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
vyzigold:update_obo_100

Conversation

@vyzigold
Copy link
Contributor

Update OBO to v1.0.0 (newer versions would require updates to k8s.io/* as well). This will enable us to use the newest CRD fields easily from telemetry-operator. Mainly the NodeSelector and the TLS related fields.

@openshift-ci openshift-ci bot requested review from paramite and stuggi February 11, 2026 08:55
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 11, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vyzigold

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

The pull request process is described 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

@softwarefactory-project-zuul
Copy link

Merge Failed.

This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.
Warning:
Error merging github.com/openstack-k8s-operators/telemetry-operator for 844,5bfe0453ea62b9a4a3834cb1074e6f8e0468a92f

Update OBO to v1.0.0 (newer versions would require updates to
k8s.io/* as well). This will enable us to use the newest CRD fields
easily from telemetry-operator. Mainly the NodeSelector and the
TLS related fields.
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 11, 2026

@vyzigold: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/precommit-check 54e1bf7 link true /test precommit-check

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@vyzigold
Copy link
Contributor Author

vyzigold commented Feb 11, 2026

pre-commit failing with CRD check. Comment for each group of failures:

ERROR: "NoNewRequiredFields": crd/metricstorages.telemetry.openstack.org version/v1beta1 field/^.spec.customMonitoringStack.alertmanagerConfig.webTLSConfig.certificate is new and may not be required
ERROR: "NoNewRequiredFields": crd/metricstorages.telemetry.openstack.org version/v1beta1 field/^.spec.customMonitoringStack.alertmanagerConfig.webTLSConfig.certificate.key is new and may not be required
ERROR: "NoNewRequiredFields": crd/metricstorages.telemetry.openstack.org version/v1beta1 field/^.spec.customMonitoringStack.alertmanagerConfig.webTLSConfig.certificate.name is new and may not be required
ERROR: "NoNewRequiredFields": crd/metricstorages.telemetry.openstack.org version/v1beta1 field/^.spec.customMonitoringStack.alertmanagerConfig.webTLSConfig.certificateAuthority is new and may not be required
ERROR: "NoNewRequiredFields": crd/metricstorages.telemetry.openstack.org version/v1beta1 field/^.spec.customMonitoringStack.alertmanagerConfig.webTLSConfig.certificateAuthority.key is new and may not be required
ERROR: "NoNewRequiredFields": crd/metricstorages.telemetry.openstack.org version/v1beta1 field/^.spec.customMonitoringStack.alertmanagerConfig.webTLSConfig.certificateAuthority.name is new and may not be required
ERROR: "NoNewRequiredFields": crd/metricstorages.telemetry.openstack.org version/v1beta1 field/^.spec.customMonitoringStack.alertmanagerConfig.webTLSConfig.privateKey is new and may not be required
ERROR: "NoNewRequiredFields": crd/metricstorages.telemetry.openstack.org version/v1beta1 field/^.spec.customMonitoringStack.alertmanagerConfig.webTLSConfig.privateKey.key is new and may not be required
ERROR: "NoNewRequiredFields": crd/metricstorages.telemetry.openstack.org version/v1beta1 field/^.spec.customMonitoringStack.alertmanagerConfig.webTLSConfig.privateKey.name is new and may not be required

The whole .spec.customMonitoringStack.alertmanagerConfig.webTLSConfig is a new field and it's optional. So all the new "required" fields are wrapped in a new optional struct - should be fine

ERROR: "NoNewRequiredFields": crd/metricstorages.telemetry.openstack.org version/v1beta1 field/^.spec.customMonitoringStack.prometheusConfig.remoteWrite[*].oauth2.tlsConfig.ca.configMap.key is new and may not be required
ERROR: "NoNewRequiredFields": crd/metricstorages.telemetry.openstack.org version/v1beta1 field/^.spec.customMonitoringStack.prometheusConfig.remoteWrite[*].oauth2.tlsConfig.ca.secret.key is new and may not be required
ERROR: "NoNewRequiredFields": crd/metricstorages.telemetry.openstack.org version/v1beta1 field/^.spec.customMonitoringStack.prometheusConfig.remoteWrite[*].oauth2.tlsConfig.cert.configMap.key is new and may not be required
ERROR: "NoNewRequiredFields": crd/metricstorages.telemetry.openstack.org version/v1beta1 field/^.spec.customMonitoringStack.prometheusConfig.remoteWrite[*].oauth2.tlsConfig.cert.secret.key is new and may not be required
ERROR: "NoNewRequiredFields": crd/metricstorages.telemetry.openstack.org version/v1beta1 field/^.spec.customMonitoringStack.prometheusConfig.remoteWrite[*].oauth2.tlsConfig.keySecret.key is new and may not be required

The whole .spec.customMonitoringStack.prometheusConfig.remoteWrite.oath2.tlsConfig is a new field and it's optional. So all the new "required" fields are wrapped in a new optional struct - should be fine

ERROR: "NoNewRequiredFields": crd/metricstorages.telemetry.openstack.org version/v1beta1 field/^.spec.customMonitoringStack.prometheusConfig.webTLSConfig.certificate is new and may not be required
ERROR: "NoNewRequiredFields": crd/metricstorages.telemetry.openstack.org version/v1beta1 field/^.spec.customMonitoringStack.prometheusConfig.webTLSConfig.certificate.key is new and may not be required
ERROR: "NoNewRequiredFields": crd/metricstorages.telemetry.openstack.org version/v1beta1 field/^.spec.customMonitoringStack.prometheusConfig.webTLSConfig.certificate.name is new and may not be required
ERROR: "NoNewRequiredFields": crd/metricstorages.telemetry.openstack.org version/v1beta1 field/^.spec.customMonitoringStack.prometheusConfig.webTLSConfig.certificateAuthority is new and may not be required
ERROR: "NoNewRequiredFields": crd/metricstorages.telemetry.openstack.org version/v1beta1 field/^.spec.customMonitoringStack.prometheusConfig.webTLSConfig.certificateAuthority.key is new and may not be required
ERROR: "NoNewRequiredFields": crd/metricstorages.telemetry.openstack.org version/v1beta1 field/^.spec.customMonitoringStack.prometheusConfig.webTLSConfig.certificateAuthority.name is new and may not be required
ERROR: "NoNewRequiredFields": crd/metricstorages.telemetry.openstack.org version/v1beta1 field/^.spec.customMonitoringStack.prometheusConfig.webTLSConfig.privateKey is new and may not be required
ERROR: "NoNewRequiredFields": crd/metricstorages.telemetry.openstack.org version/v1beta1 field/^.spec.customMonitoringStack.prometheusConfig.webTLSConfig.privateKey.key is new and may not be required
ERROR: "NoNewRequiredFields": crd/metricstorages.telemetry.openstack.org version/v1beta1 field/^.spec.customMonitoringStack.prometheusConfig.webTLSConfig.privateKey.name is new and may not be required 

The whole .spec.customMonitoringStack.prometheusConfig.webTLSConfig is a new field and it's optional. So all the new "required" fields are wrapped in a new optional struct - should be fine

ERROR: "ListsMustHaveSSATags": crd/metricstorages.telemetry.openstack.org version/v1beta1 field/^.spec.customMonitoringStack.prometheusConfig.remoteWrite[*].oauth2.proxyConnectHeader[*] must set x-kubernetes-list-type
ERROR: "ListsMustHaveSSATags": crd/metricstorages.telemetry.openstack.org version/v1beta1 field/^.spec.customMonitoringStack.prometheusConfig.remoteWrite[*].proxyConnectHeader[*] must set x-kubernetes-list-type
ERROR: "ListsMustHaveSSATags": crd/metricstorages.telemetry.openstack.org version/v1beta1 field/^.spec.customMonitoringStack.tolerations must set x-kubernetes-list-type

Not sure what's up with the proxyConnectHeader. It's a type: object (map in the go code) and it has a x-kubernetes-map-type set https://github.com/openstack-k8s-operators/telemetry-operator/pull/844/changes#diff-f5afb3846a6b4f39f03172f2b6315d173e241674d0519c50e98bf979f9f1e9f1R1053
The tolerations is a list and it is indeed missing the tag.

Those errors are from a CRD we import from COO (we don't have much control over it) and they don't seem like breaking issues to me (either a required field enveloped inside an optional struct or a missing list tag). I think we should be able to waive the test.

@stuggi
Copy link
Contributor

stuggi commented Feb 11, 2026

is this planned for fr5? if not, we should wait to land it until we branched to not introduce the crd change. the plan is to branch today.

@vyzigold
Copy link
Contributor Author

@stuggi It's a prerequisite for supporting NodeSeletor for Prometheus, which IMO isn't that important to attempt getting it into FR5 right now. But it's reported as a bug with a customer impact, so this and a followup PR would be cherry-picked onto the stable branch some time after FR5 releases, so that the changes get into the next bugfix release.

@stuggi
Copy link
Contributor

stuggi commented Feb 11, 2026

@stuggi It's a prerequisite for supporting NodeSeletor for Prometheus, which IMO isn't that important to attempt getting it into FR5 right now. But it's reported as a bug with a customer impact, so this and a followup PR would be cherry-picked onto the stable branch some time after FR5 releases, so that the changes get into the next bugfix release.

thanks for clarification. yes would be good if we can backport it. either right after branching or later

@softwarefactory-project-zuul
Copy link

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/4debffc13b5a45ca92d2ffb9040308ed

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 47m 14s
telemetry-operator-multinode-cloudkitty FAILURE in 18m 13s
✔️ telemetry-openstack-meta-content-provider-master SUCCESS in 2h 34m 53s
✔️ telemetry-operator-multinode-default-telemetry SUCCESS in 1h 27m 25s
✔️ functional-tests-osp18 SUCCESS in 2h 14m 55s

@vyzigold
Copy link
Contributor Author

recheck

@softwarefactory-project-zuul
Copy link

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/7f7fbf65a68443a7843a7791911fd7bd

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 46m 59s
✔️ telemetry-operator-multinode-cloudkitty SUCCESS in 1h 26m 56s
✔️ telemetry-openstack-meta-content-provider-master SUCCESS in 2h 00m 09s
✔️ telemetry-operator-multinode-default-telemetry SUCCESS in 1h 28m 49s
functional-tests-osp18 FAILURE in 1h 41m 24s

@vyzigold
Copy link
Contributor Author

recheck

@vyzigold
Copy link
Contributor Author

@stuggi the branches were created, so we should be good now right?

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments