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

[AWS][CAPI]Some information of loadbalancers are wrong in AWSCluster

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

          crossZoneLoadBalancing is false for huliu-aws1017a-wswz9-int and huliu-aws1017a-wswz9-ext loadbalancers, but should be true.
      
      https://drive.google.com/file/d/18oBCtXjD7sH4o3b9RO4Njd6V2eXtH1oI/view?usp=sharing
      https://drive.google.com/file/d/1aL1rikuasjmicpCGLa94Jf-orK_I4JeK/view?usp=sharing
      
      scheme is internet-facing for huliu-aws1017a-wswz9-int loadbalancer, but should be internal
      
      https://drive.google.com/file/d/14lNEVZ9dzjBl7quiVQM6KYSF-pYsowLE/view?usp=sharing
      https://drive.google.com/file/d/1cPTxZfpk8jNGDVJjH-fDQSTiVEmM0ffS/view?usp=sharing

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

          4.21.0-0.nightly-2025-10-15-162146

      How reproducible:

          always

      Steps to Reproduce:

          1.Install an AWS techpreview cluster, check loadbalancers in controlplanemachineset and AWSCluser
      
      In controlplanemachineset, it's
                  loadBalancers:
                  - name: huliu-aws1017a-wswz9-int
                    type: network
                  - name: huliu-aws1017a-wswz9-ext
                    type: network
      
      In AWSCluster, it's
      
      liuhuali@Lius-MacBook-Pro huali-test % oc get awscluster
      NAME                   CLUSTER                READY   VPC   BASTION IP
      huliu-aws1017a-wswz9   huliu-aws1017a-wswz9   true          
      liuhuali@Lius-MacBook-Pro huali-test % oc get awscluster huliu-aws1017a-wswz9 -oyaml
      apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
      kind: AWSCluster
      metadata:
        annotations:
          cluster.x-k8s.io/managed-by: cluster-capi-operator-infracluster-controller
        creationTimestamp: "2025-10-17T00:53:08Z"
        generation: 1
        labels:
          cluster.x-k8s.io/cluster-name: huliu-aws1017a-wswz9
        name: huliu-aws1017a-wswz9
        namespace: openshift-cluster-api
        ownerReferences:
        - apiVersion: cluster.x-k8s.io/v1beta1
          blockOwnerDeletion: true
          controller: true
          kind: Cluster
          name: huliu-aws1017a-wswz9
          uid: dbdb2a21-0820-43c1-a622-ca7427035d1d
        resourceVersion: "24276"
        uid: be68ffae-2fef-4190-a273-b5875fdb0f13
      spec:
        bastion:
          enabled: false
        controlPlaneEndpoint:
          host: api-int.huliu-aws1017a.qe.devcluster.openshift.com
          port: 6443
        controlPlaneLoadBalancer:
          crossZoneLoadBalancing: false
          loadBalancerType: nlb
          name: huliu-aws1017a-wswz9-int
          scheme: internet-facing
        identityRef:
          kind: AWSClusterControllerIdentity
          name: default
        network:
          vpc:
            availabilityZoneSelection: Ordered
            availabilityZoneUsageLimit: 3
            subnetSchema: PreferPrivate
        region: us-east-2
        secondaryControlPlaneLoadBalancer:
          crossZoneLoadBalancing: false
          loadBalancerType: nlb
          name: huliu-aws1017a-wswz9-ext
          scheme: internet-facing
      status:
        ready: true
      
      
          

      Actual results:

        For huliu-aws1017a-wswz9-int loadbalaner, crossZoneLoadBalancing is false, but on AWS console, Cross-zone load balancing is On; scheme is internet-facing, but on AWS console, Scheme is Internal
      
      For huliu-aws1017a-wswz9-ext loadbalaner, crossZoneLoadBalancing is false, but on AWS console, Cross-zone load balancing is On

      Expected results:

          loadbalancers inforamtion of AWSCluster should be the same with AWS

      Additional info:

          new feature testing for https://issues.redhat.com//browse/OCPCLOUD-2709

              rh-ee-nbrubake Nolan Brubaker
              huliu@redhat.com Huali Liu
              None
              None
              Huali Liu Huali Liu
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: