Bug 2082441 - [UPI] aws-load-balancer-operator-controller-manager failed to get VPC ID in UPI on AWS
Summary: [UPI] aws-load-balancer-operator-controller-manager failed to get VPC ID in U...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.11
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.11.0
Assignee: aos-network-edge-staff
QA Contact: Hongan Li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-06 07:16 UTC by Hongan Li
Modified: 2023-09-15 01:54 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-01 09:32:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift aws-load-balancer-operator pull 58 0 None open Bug 2082441: Add docs for tagging requirements in UPI clusters 2022-05-06 10:08:52 UTC
Red Hat Product Errata RHEA-2022:5780 0 None None None 2022-08-01 09:32:14 UTC

Description Hongan Li 2022-05-06 07:16:40 UTC
Description of problem:
Install aws-load-balancer-operator in UPI on AWS cluster and get error:
1.6518190784357512e+09	ERROR	setup	failed to get VPC ID	{"error": "no VPC with tag \"kubernetes.io/cluster/hongli-upi-5jtvq\" found"}


OpenShift release version:
4.11.0-0.nightly-2022-05-05-015322
aws-load-balancer-operator-bundle-container-0.0.1-3


Cluster Platform:
UPI on AWS

How reproducible:
100%

Steps to Reproduce (in detail):
1. Install aws-load-balancer-operator in UPI on AWS cluster
2. $ oc -n aws-load-balancer-operator get pod
NAME                                                             READY   STATUS             RESTARTS      AGE
aws-load-balancer-operator-controller-manager-784477df6d-8mjgr   1/2     CrashLoopBackOff   2 (13s ago)   52s
 

Actual results:
$ oc -n aws-load-balancer-operator logs aws-load-balancer-operator-controller-manager-784477df6d-8mjgr -c manager
I0506 06:37:56.624304       1 request.go:665] Waited for 1.036635711s due to client-side throttling, not priority and fairness, request: GET:https://172.30.0.1:443/apis/apiextensions.k8s.io/v1?timeout=32s
1.6518190783266642e+09	INFO	controller-runtime.metrics	Metrics server is starting to listen	{"addr": "127.0.0.1:8080"}
1.6518190784357512e+09	ERROR	setup	failed to get VPC ID	{"error": "no VPC with tag \"kubernetes.io/cluster/hongli-upi-5jtvq\" found"}
main.main
	/remote-source/workspace/app/main.go:133
runtime.main
	/usr/lib/golang/src/runtime/proc.go:255



Expected results:
aws-load-balancer-operator-controller-manager pod should be running.

Impact of the problem:


Additional info:
workaround: Go to AWS console and manually add the tag to the VPC.


** Please do not disregard the report template; filling the template out as much as possible will allow us to help you. Please consider attaching a must-gather archive (via `oc adm must-gather`). Please review must-gather contents for sensitive information before attaching any must-gathers to a bugzilla report.  You may also mark the bug private if you wish.

Comment 4 Hongan Li 2022-05-17 02:06:01 UTC
After tagging the VPC the operator pod works, moving the verified.

Comment 9 errata-xmlrpc 2022-08-01 09:32:12 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Release of AWS Load Balancer Operator on OperatorHub), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2022:5780

Comment 10 Red Hat Bugzilla 2023-09-15 01:54:32 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days


Note You need to log in before you can comment on or make changes to this bug.