Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-22912

the value of ELB subnet tag should be 1 or empty, not true

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done-Errata
    • Major
    • 4.15.0
    • 4.13.z, 4.14.z, 4.15.0
    • HyperShift
    • Important
    • No
    • Proposed
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required

    Description

      Description of problem:

      To make AWS Load Balancer Operator work on HyperShift, one of the requirements is the ELB tag should be set on subnets. see https://github.com/openshift/aws-load-balancer-operator/blob/main/docs/prerequisites.md#vpc-and-subnets   
      
      The value of `kubernetes.io/role/elb` or `kubernetes.io/role/internal-elb`should be 1 or ``. 
      
      but from the code below, hypershift uses "true"  
      
      https://github.com/openshift/hypershift/blob/3e1db35d562d069797f9dec2b47227744f689684/cmd/infra/aws/ec2.go#L226

      Version-Release number of selected component (if applicable):

       

      How reproducible:

      100%

      Steps to Reproduce:

      1. install hypershift cluster
      2. check subnet tags
      3.
      

      Actual results:

      value of `kubernetes.io/role/elb` is "true"

      Expected results:

      value of `kubernetes.io/role/elb` is 1 or ``

      Additional info:

       

      Attachments

        Activity

          People

            cewong@redhat.com Cesar Wong
            rhn-support-hongli Hongan Li
            Hongan Li Hongan Li
            He Liu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: