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

AWS: vpc share doesn't work with public-only when create hypershift aws cluster

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • Unspecified
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      Failed to create aws hosted cluster with vpc share and public-only options.

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

      4.20.0 latest nightly

      How reproducible:

       

      Steps to Reproduce:

      1. Create a management cluster with machines in 3 zones 
      2. Create a PublicOnly HostedCluster with vpc share :
          hypershift create cluster aws --name hostedcluster --vpc-owner-aws-   
          creds=/tmp/.awscred_shared_account --public-only ....
      3. Wait for the HostedCluster to come up      

      Actual results:

      The HostedCluster failed to finish provisioning. It is waiting for subnet to be shared : 
      {"level":"info","ts":"2025-08-02T16:08:53Z","msg":"Waiting for subnets to be available in cluster creator account"}
      {"level":"info","ts":"2025-08-02T16:09:26Z","msg":"Waiting for subnets to be available in cluster creator account"}
      {"level":"info","ts":"2025-08-02T16:09:56Z","msg":"Waiting for subnets to be available in cluster creator account"}
      {"level":"info","ts":"2025-08-02T16:10:27Z","msg":"Waiting for subnets to be available in cluster creator account"}
      {"level":"info","ts":"2025-08-02T16:10:58Z","msg":"Waiting for subnets to be available in cluster creator account"}
      {"level":"info","ts":"2025-08-02T16:11:30Z","msg":"Waiting for subnets to be available in cluster creator account"}
      {"level":"info","ts":"2025-08-02T16:12:01Z","msg":"Waiting for subnets to be available in cluster creator account"}
      {"level":"info","ts":"2025-08-02T16:12:34Z","msg":"Waiting for subnets to be available in cluster creator account"}
      {"level":"info","ts":"2025-08-02T16:13:07Z","msg":"Waiting for subnets to be available in cluster creator account"}
      {"level":"info","ts":"2025-08-02T16:13:38Z","msg":"Waiting for subnets to be available in cluster creator account"}
      {"level":"error","ts":"2025-08-02T16:13:38Z","msg":"Failed to create cluster","error":"could not complete platform specific options: failed to create infra: not ready yet","stacktrace":"github.com/openshift/hypershift

      Expected results:

          The hostedcluster can be created successfully.

      Additional info:

          

              Unassigned Unassigned
              rhn-engineering-ema Jim Ma
              None
              None
              Jim Ma Jim Ma
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: