Skip to content

OCPBUGS-78696: [release-4.21] : Disable LoadBalancer in cloud config when Octavia is unavailable#10399

Open
openshift-cherrypick-robot wants to merge 1 commit intoopenshift:release-4.21from
openshift-cherrypick-robot:cherry-pick-10326-to-release-4.21
Open

OCPBUGS-78696: [release-4.21] : Disable LoadBalancer in cloud config when Octavia is unavailable#10399
openshift-cherrypick-robot wants to merge 1 commit intoopenshift:release-4.21from
openshift-cherrypick-robot:cherry-pick-10326-to-release-4.21

Conversation

@openshift-cherrypick-robot

This is an automated cherry-pick of #10326

/assign eshulman2

…ilable

When Octavia (load-balancer) endpoint is not available in the OpenStack
service catalog, explicitly set [LoadBalancer] enabled = false in the
cloud provider config. This prevents the Cloud Controller Manager from
crashing on startup due to an upstream change in cloud-provider-openstack
that changed error handling from klog.Errorf to klog.Fatalf when the
LoadBalancer client cannot be created.

The fix uses the same pattern already established in the cluster destroy
code (pkg/destroy/openstack/openstack.go) to detect Octavia availability
by checking for gophercloud.ErrEndpointNotFound.

Fixes: https://issues.redhat.com/browse/OCPBUGS-64842

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 17, 2026

@openshift-cherrypick-robot: GitHub didn't allow me to assign the following users: eshulman2.

Note that only openshift members with read permissions, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time.
For more information please see the contributor guide

Details

In response to this:

This is an automated cherry-pick of #10326

/assign eshulman2

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-ci-robot
Copy link
Contributor

@openshift-cherrypick-robot: An error was encountered cloning bug for cherrypick for bug OCPBUGS-64842 on the Jira server at https://redhat.atlassian.net. No known errors were detected, please see the full error message for details.

Full error message. request failed. Please analyze the request body for more details. Status code: 400: {"errorMessages":[],"errors":{"customfield_10001":"Team id 'JsonData{data={avatarUrl=, id=ec74d716-af36-4b3c-950f-f79213d08f71-2185, isShared=true, isVerified=false, isVisible=true, name=rhos-conplat-osasinfra, title=rhos-conplat-osasinfra}}' is not valid.","rankBeforeIssue":"expected Object","rankAfterIssue":"expected Object"}}

Please contact an administrator to resolve this issue, then request a bug refresh with /jira refresh.
/retitle [release-4.21] : Disable LoadBalancer in cloud config when Octavia is unavailable

Details

In response to this:

This is an automated cherry-pick of #10326

/assign eshulman2

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 openshift-eng/jira-lifecycle-plugin repository.

@coderabbitai
Copy link

coderabbitai bot commented Mar 17, 2026

Important

Review skipped

Auto reviews are limited based on label configuration.

🚫 Review skipped — only excluded labels are configured. (1)
  • do-not-merge/work-in-progress

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: f59a9848-d524-4a6a-afd2-758aaa56ef2a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
📝 Coding Plan
  • Generate coding plan for human review comments

Comment @coderabbitai help to get the list of available commands and usage tips.

@openshift-ci openshift-ci bot changed the title [release-4.21] OCPBUGS-64842: Disable LoadBalancer in cloud config when Octavia is unavailable [release-4.21] : Disable LoadBalancer in cloud config when Octavia is unavailable Mar 17, 2026
@openshift-ci openshift-ci bot requested review from mandre and stephenfin March 17, 2026 09:52
Copy link
Member

@mandre mandre left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve
/label backport-risk-assessed

@openshift-ci openshift-ci bot added the backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. label Mar 17, 2026
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 17, 2026
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 17, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mandre

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-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 17, 2026
@eshulman2
Copy link
Member

/rename OCPBUGS-64842 [release-4.21] : Disable LoadBalancer in cloud config when Octavia is unavailable

@eshulman2
Copy link
Member

/retitle OCPBUGS-64842 [release-4.21] : Disable LoadBalancer in cloud config when Octavia is unavailable

@openshift-ci openshift-ci bot changed the title [release-4.21] : Disable LoadBalancer in cloud config when Octavia is unavailable OCPBUGS-64842 [release-4.21] : Disable LoadBalancer in cloud config when Octavia is unavailable Mar 17, 2026
@eshulman2
Copy link
Member

/retitle OCPBUGS-78696: [release-4.21] : Disable LoadBalancer in cloud config when Octavia is unavailable

@openshift-ci openshift-ci bot changed the title OCPBUGS-64842 [release-4.21] : Disable LoadBalancer in cloud config when Octavia is unavailable OCPBUGS-78696: [release-4.21] : Disable LoadBalancer in cloud config when Octavia is unavailable Mar 17, 2026
@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Mar 17, 2026
@openshift-ci-robot
Copy link
Contributor

@openshift-cherrypick-robot: This pull request references Jira Issue OCPBUGS-78696, which is invalid:

  • release note text must be set and not match the template OR release note type must be set to "Release Note Not Required". For more information you can reference the OpenShift Bug Process.
  • expected Jira Issue OCPBUGS-78696 to depend on a bug targeting a version in 4.22.0 and in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA), but no dependents were found

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

This is an automated cherry-pick of #10326

/assign eshulman2

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 openshift-eng/jira-lifecycle-plugin repository.

@eshulman2
Copy link
Member

/jira refresh

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Mar 17, 2026
@openshift-ci-robot
Copy link
Contributor

@eshulman2: This pull request references Jira Issue OCPBUGS-78696, which is valid. The bug has been moved to the POST state.

7 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.21.z) matches configured target version for branch (4.21.z)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)
  • release note text is set and does not match the template
  • dependent bug Jira Issue OCPBUGS-64842 is in the state Verified, which is one of the valid states (VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA))
  • dependent Jira Issue OCPBUGS-64842 targets the "4.22.0" version, which is one of the valid target versions: 4.22.0
  • bug has dependents
Details

In response to this:

/jira refresh

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 openshift-eng/jira-lifecycle-plugin repository.

@mandre
Copy link
Member

mandre commented Mar 17, 2026

/retest-required

@mandre
Copy link
Member

mandre commented Mar 17, 2026

/verified later @eshulman2

@openshift-ci-robot openshift-ci-robot added verified-later verified Signifies that the PR passed pre-merge verification criteria labels Mar 17, 2026
@openshift-ci-robot
Copy link
Contributor

@mandre: This PR has been marked to be verified later by @eshulman2.

Details

In response to this:

/verified later @eshulman2

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 17, 2026

@openshift-cherrypick-robot: The following tests 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/e2e-openstack-proxy 017f7b3 link false /test e2e-openstack-proxy
ci/prow/e2e-openstack-ovn 017f7b3 link true /test e2e-openstack-ovn
ci/prow/okd-scos-images 017f7b3 link true /test okd-scos-images

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.

@eshulman2
Copy link
Member

/retest-required

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

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. verified Signifies that the PR passed pre-merge verification criteria verified-later

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants