Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load balancer deploy fails if OCP not installed #2749

Merged
merged 2 commits into from
Jul 31, 2023

Conversation

tpantelis
Copy link
Contributor

Error:

error retrieving cluster Infrastructure resource: failed to get API group resources: unable to retrieve the complete list of server APIs: config.openshift.io/v1: the server could not find the requested resource

The code checks apierrors.IsNotFound however this doesn't handle if the CRD isn't installed. Use admiral's resource.IsNotFoundErr instead.

@submariner-bot
Copy link
Contributor

🤖 Created branch: z_pr2749/tpantelis/fix_load_balancer
🚀 Full E2E won't run until the "ready-to-test" label is applied. I will add it automatically once the PR has 2 approvals, or you can add it manually.

Error:

"error retrieving cluster Infrastructure resource: failed to get API group
resources: unable to retrieve the complete list of server APIs:
config.openshift.io/v1: the server could not find the requested resource"

The code checks apierrors.IsNotFound however this doesn't handle if the
CRD isn't installed. Use admiral's resource.IsNotFoundErr instead.

Signed-off-by: Tom Pantelis <[email protected]>
@submariner-bot submariner-bot added the ready-to-test When a PR is ready for full E2E testing label Jul 31, 2023
@sridhargaddam sridhargaddam enabled auto-merge (rebase) July 31, 2023 19:34
@sridhargaddam sridhargaddam merged commit 0030959 into submariner-io:devel Jul 31, 2023
37 checks passed
@submariner-bot
Copy link
Contributor

🤖 Closed branches: [z_pr2749/tpantelis/fix_load_balancer]

@tpantelis tpantelis deleted the fix_load_balancer branch May 21, 2024 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-test When a PR is ready for full E2E testing
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants