Skip to content

Do not enable Northd Metrics when exporterImage is unset #479

Merged
openshift-merge-bot[bot] merged 2 commits into
openstack-k8s-operators:mainfrom
karelyatin:OSPRH-12568-cleanup
Sep 5, 2025
Merged

Do not enable Northd Metrics when exporterImage is unset #479
openshift-merge-bot[bot] merged 2 commits into
openstack-k8s-operators:mainfrom
karelyatin:OSPRH-12568-cleanup

Conversation

@karelyatin

Copy link
Copy Markdown
Contributor

Do not enable Northd Metrics when exporterImage is unset
For minor update scenarios we need to honor exporterImage as
in older versions will not have OpenstackNetworkExporterImage
set so exporterImage="".
So with this patch metrics will be enabled only when
metricsEnabled=true and exporterImage is set.

Also removed the default image as now included in
openstack-operator like other images, this was temporary
change.

Also dropped unnecessary log message when deployment do not exist.

Depends-On: openstack-k8s-operators/openstack-operator#1587
Related-Issue: https://issues.redhat.com/browse/OSPRH-12568

For minor update scenarios we need to honor exporterImage as
in older versions will not have OpenstackNetworkExporterImage
set so exporterImage="".
So with this patch metrics will be enabled only when
metricsEnabled=true and exporterImage is set.

Also removed the default image as now included in
openstack-operator like other images, this was temporary
change.

Also dropped unnecessary log message when deployment do not exist.

Related-Issue: https://issues.redhat.com/browse/OSPRH-12568
Depends-On: openstack-k8s-operators/openstack-operator#1587
@karelyatin

Copy link
Copy Markdown
Contributor Author

/test ovn-operator-build-deploy-kuttl

@karelyatin karelyatin requested a review from slawqo September 5, 2025 11:41
@openshift-ci

openshift-ci Bot commented Sep 5, 2025

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: karelyatin, slawqo

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

@openshift-merge-bot openshift-merge-bot Bot merged commit bfe70a8 into openstack-k8s-operators:main Sep 5, 2025
6 checks passed
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.

2 participants