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

ocp-45341 failure with nodeport publishing strategy not allowed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 4.12
    • HyperShift
    • None
    • Important
    • None
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      During debugging ocp-45341 failure, normal aws hypershift cluster with nodeport publishing stratgy is not allowed any more.

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

      4.12+

      How reproducible:

      follow ocp-45341 test steps

      Steps to Reproduce:

      #Step 1: Create a nodeport ip bastion by running the script setup.sh. (setup.sh is from hypershift repo)
      #Step 2: Create a hypershift cluster yaml file
      #Step 3: In the cluster yaml file change default service publishing strategies to NodePort except for OIDC, nodeport address uses bastion ip address
      #Step 4: Create a hypershift cluster:  $ oc apply -f jz-cluster.yaml 

      Actual results:

      hostedcluster is not ready with error: 
      - lastTransitionTime: "2022-11-23T13:54:43Z"
         message: service type APIServer with publishing strategy NodePort is not supported,
          use Route

      Expected results:

      hypershift hosted cluster is created successfully

      Additional info:

       

              agarcial@redhat.com Alberto Garcia Lamela
              rhn-support-heli He Liu
              He Liu He Liu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: