Bug 2094923
| Summary: | service loadbalancer uses subnet(s) that is not owned by the openshift cluster | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Patrick Dillon <padillon> |
| Component: | Installer | Assignee: | sdasu |
| Installer sub component: | openshift-installer | QA Contact: | Yunfei Jiang <yunjiang> |
| Status: | CLOSED NOTABUG | Docs Contact: | |
| Severity: | urgent | ||
| Priority: | urgent | CC: | wking |
| Version: | 4.8 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.12.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-08-26 21:07:27 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2027137 | ||
|
Description
Patrick Dillon
2022-06-08 15:53:00 UTC
It looks like the kubernetes.io/role/internal-elb tag was removed a long time ago and it looks to me like it was removed by accident as copypasta: https://github.com/openshift/installer/commit/9448afff1a2cb9909fc29b2ad7c7b8583763c9cc To resolve this bug, we should: 1. When creating new subnets, add the "kubernetes.io/role/internal-elb" tag back to the worker subnets 2. When using existing subnets, add the tag. When creating the tag, we may need to set the value to "shared" or do some other such logic to make sure the tag can be destroyed. The code for that is here: https://github.com/openshift/installer/blob/master/pkg/asset/cluster/aws/aws.go#L43 3. Ensure the new tags are destroyed properly for both case 1 & 2. Relevant destroy code is here: https://github.com/openshift/installer/blob/release-4.10/pkg/destroy/aws/shared.go Oops. My previous comment should have had the tag kubernetes.io/role/elb -- not internal-elb. Thanks Trevor for catching that! Upon further investigation, we have concluded that the analysis provided above does not contribute towards the solution of the problem reported in https://bugzilla.redhat.com/show_bug.cgi?id=2027137. So, for that reason, closing this BZ as not-a-bug. |