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

CPMS is assigning public IP address to the new nodes

    XMLWordPrintable

Details

    • No
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      Control Plane Machine Set is replacing the nodes to the correctly subnet but is adding public IP to the new nodes, which is not an standard of the default deployment on AWS.
      
      The installer is creating the nodes (not managed by CPMS) correctly, without Public IPs.

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

      4.13.0-ec.3

      How reproducible:

      always

      Steps to Reproduce:

      1. create the install-config on AWS
      2. create the cluster
      3. check the nodes when all are replaced
      4. checke the AWS Console (image attachment)
      

      Actual results:

      ~~~
      
      NAME                           STATUS   ROLES                  AGE   VERSION           INTERNAL-IP    EXTERNAL-IP
      ip-10-0-135-175.ec2.internal   Ready    control-plane,master   72m   v1.26.0+9eb81c2   10.0.135.175   54.226.7.32
      ip-10-0-142-227.ec2.internal   Ready    worker                 71m   v1.26.0+9eb81c2   10.0.142.227   <none>     
      ip-10-0-156-123.ec2.internal   Ready    worker                 71m   v1.26.0+9eb81c2   10.0.156.123   <none>        
      ip-10-0-157-57.ec2.internal    Ready    control-plane,master   56m   v1.26.0+9eb81c2   10.0.157.57    54.224.226.213
      ip-10-0-167-0.ec2.internal     Ready    control-plane,master   56m   v1.26.0+9eb81c2   10.0.167.0     44.199.216.52 
      ip-10-0-172-149.ec2.internal   Ready    worker                 71m   v1.26.0+9eb81c2   10.0.172.149   <none>        
      
      ~~~

      Expected results:

      No EXTERNAL-IP assigned to the control plane nodes

      Additional info:

      install-config.yaml
      ~~~
      apiVersion: v1
      publish: External
      baseDomain: devcluster.openshift.com
      metadata:
        name: "ocp-lz8"
      platform:
        aws:
          region: us-east-1
      pullSecret: [redacted]
      sshKey: |
        [redacted]
      ~~~
      
      Cluster is created correctly
      
      ~~~
      DEBUG Time elapsed per stage:                      
      DEBUG            cluster: 5m6s                     
      DEBUG          bootstrap: 42s                      
      DEBUG Bootstrap Complete: 30m24s                   
      DEBUG                API: 1m31s                    
      DEBUG  Bootstrap Destroy: 1m22s                    
      DEBUG  Cluster Operators: 3m45s                    
      DEBUG            Console: 1s                       
      INFO Time elapsed: 42m1s 
      ~~~
      
      Nodes overview
      ~~~
      NAME                           STATUS   ROLES                  AGE   VERSION           INTERNAL-IP    EXTERNAL-IP   
      ip-10-0-135-175.ec2.internal   Ready    control-plane,master   69m   v1.26.0+9eb81c2   10.0.135.175   54.226.7.32   
      ip-10-0-157-57.ec2.internal    Ready    control-plane,master   54m   v1.26.0+9eb81c2   10.0.157.57    54.224.226.213
      ip-10-0-167-0.ec2.internal     Ready    control-plane,master   54m   v1.26.0+9eb81c2   10.0.167.0     44.199.216.52 
      ~~~
      
      $ echo $RELEASE
      quay.io/openshift-release-dev/ocp-release:4.13.0-ec.3-x86_64
      
      $ OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE="$RELEASE"   $INSTALLER version
      ./openshift-install unreleased-master-7800-g6fddcc70939e9f4d813947f1eabc556626f74ce0-dirty
      built from commit 6fddcc70939e9f4d813947f1eabc556626f74ce0
      release image registry.ci.openshift.org/origin/release:4.12
      release architecture amd64
      
      
      --
      
      Example on CI:
      - JOB: https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_installer/6371/pull-ci-openshift-installer-master-e2e-aws-ovn/1630809133508726784
      - must-gather: https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/pr-logs/pull/openshift_installer/6371/pull-ci-openshift-installer-master-e2e-aws-ovn/1630809133508726784/artifacts/e2e-aws-ovn/gather-must-gather/artifacts/
      
      ~~~
      $ omg get nodes -o wide
      NAME                                        STATUS  ROLES                 AGE    VERSION          INTERNAL-IP   EXTERNAL-IP  
      ip-10-0-140-37.us-east-2.compute.internal   Ready   control-plane,master  27m    v1.26.0+8923264  10.0.140.37   3.22.181.148 
      ip-10-0-153-84.us-east-2.compute.internal   Ready   control-plane,master  37m    v1.26.0+8923264  10.0.153.84   <none>       
      ip-10-0-159-8.us-east-2.compute.internal    Ready   control-plane,master  3m13s  v1.26.0+8923264  10.0.159.8    3.133.121.30 
      ip-10-0-196-173.us-east-2.compute.internal  Ready   control-plane,master  13m    v1.26.0+8923264  10.0.196.173  13.59.168.92 
      ip-10-0-138-253.us-east-2.compute.internal  Ready   worker                28m    v1.26.0+8923264  10.0.138.253  <none>       
      ip-10-0-181-246.us-east-2.compute.internal  Ready   worker                28m    v1.26.0+8923264  10.0.181.246  <none>       
      ip-10-0-244-212.us-east-2.compute.internal  Ready   worker                28m    v1.26.0+8923264  10.0.244.212  <none>       
      
      ~~~

       

      Attachments

        Activity

          People

            joelspeed Joel Speed
            rhn-support-mrbraga Marco Braga
            Zhaohua Sun Zhaohua Sun
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: