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: NetworkingAssignee: 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   
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:
Bug Depends On:    
Bug Blocks: 1954097    

Description Andrew McDermott 2021-04-16 10:12:05 UTC
This is a tracking bug in 4.8 to complete https://issues.redhat.com/browse/OCPPLAN-6006 and specifically https://issues.redhat.com/browse/NE-563.

Comment 8 Hongan Li 2021-04-28 10:11:51 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
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
      region: us-east-1
      - 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.

Comment 11 errata-xmlrpc 2021-07-27 23:01:29 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 (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.