Skip to content

Check if OctaviaRsyslogImage is not nil#1503

Merged
openshift-merge-bot[bot] merged 1 commit into
openstack-k8s-operators:mainfrom
stuggi:OSPRH-17647
Jun 25, 2025
Merged

Check if OctaviaRsyslogImage is not nil#1503
openshift-merge-bot[bot] merged 1 commit into
openstack-k8s-operators:mainfrom
stuggi:OSPRH-17647

Conversation

@stuggi

@stuggi stuggi commented Jun 25, 2025

Copy link
Copy Markdown
Contributor

OctaviaRsyslog was introduced in FR2 time frame. If there is an update with enabled octavia from before, the current targetVerion images won't have an OctaviaRsyslogImage which results in a nil ptr dereference error and the controller manage panics.

This adds a check, like done in other places if the images is non nil and otherwise falls back to an empty string.

Jira: OSPRH-17647

OctaviaRsyslog was introduced in FR2 time frame. If there is an
update with enabled octavia from before, the current targetVerion
images won't have an OctaviaRsyslogImage which results in a nil
ptr dereference error and the controller manage panics.

This adds a check, like done in other places if the images is non
nil and otherwise falls back to an empty string.

Jira: OSPRH-17647

Signed-off-by: Martin Schuppert <mschuppert@redhat.com>
@openshift-ci openshift-ci Bot requested review from abays and frenzyfriday June 25, 2025 07:39
@stuggi stuggi requested review from dprince and removed request for frenzyfriday June 25, 2025 07:39

@abays abays 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

@openshift-ci

openshift-ci Bot commented Jun 25, 2025

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abays, stuggi

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

@stuggi

stuggi commented Jun 25, 2025

Copy link
Copy Markdown
Contributor Author

/cherry-pick 18.0-fr3

@openshift-cherrypick-robot

Copy link
Copy Markdown

@stuggi: once the present PR merges, I will cherry-pick it on top of 18.0-fr3 in a new PR and assign it to you.

Details

In response to this:

/cherry-pick 18.0-fr3

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.

@openshift-merge-bot openshift-merge-bot Bot merged commit 3307ee4 into openstack-k8s-operators:main Jun 25, 2025
8 checks passed
@openshift-cherrypick-robot

Copy link
Copy Markdown

@stuggi: new pull request created: #1504

Details

In response to this:

/cherry-pick 18.0-fr3

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.

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.

3 participants