Bug 1950284
| Summary: | Tracking bug for NE-563 - support user-defined tags on AWS load balancers | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Andrew McDermott <amcdermo> |
| Component: | Networking | Assignee: | Andrew McDermott <amcdermo> |
| Networking sub component: | router | QA Contact: | Hongan Li <hongli> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | high | ||
| Priority: | high | CC: | aos-bugs |
| Version: | 4.8 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-07-27 23:01:29 UTC | Type: | Bug |
| 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: | 1954097 | ||
|
Description
Andrew McDermott
2021-04-16 10:12:05 UTC
Thank you Andrew, it works after adding `platform.aws.experimentalPropagateUserTags: true` in install-config.yaml.
Since latest nightly builds are all rejected so I verified this with ci build.
$ oc get clusterversion
NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
version 4.8.0-0.ci-2021-04-27-000602 True False 52m Cluster version is 4.8.0-0.ci-2021-04-27-000602
$ oc get infrastructures.config.openshift.io cluster -oyaml
<---snip--->
status:
platformStatus:
aws:
region: us-east-1
resourceTags:
- key: contact
value: hongli
- key: customTag
value: haha
type: AWS
$ oc -n openshift-ingress get svc/router-default -oyaml | grep tags
service.beta.kubernetes.io/aws-load-balancer-additional-resource-tags: contact=hongli,customTag=haha
$ oc -n openshift-ingress get svc/router-nlb -oyaml | grep tags
service.beta.kubernetes.io/aws-load-balancer-additional-resource-tags: contact=hongli,customTag=haha
Goto the AWS console and can see the tags in both Classic and Network Load Balancers.
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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), 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/RHSA-2021:2438 |