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

Should not silently ignore when set marketplace flags with image-generation flag

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • 4.21.0
    • 4.20, 4.21
    • HyperShift
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      When create the HostedCluster and set the marketplace flags with image-generation flag, no error , no notice should not use the  marketplace flags and image-generation flag at the same time.    

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

      4.21, 4.20
          

      How reproducible:

      always
          

      Steps to Reproduce:

          1. ./hypershift create cluster azure     --name "$CLUSTER_NAME" \ 
         --namespace "$CLUSTER_NAMESPACE" \
         --azure-creds $AZURE_CREDS  \
         --location ${LOCATION}  \
         --node-pool-replicas 2  \
         --base-domain $PARENT_DNS_ZONE \
         --pull-secret $PULL_SECRET \
         --generate-ssh \
         --release-image ${RELEASE_IMAGE}  \
         --external-dns-domain ${DNS_ZONE_NAME} \
         --resource-group-name "${MANAGED_RG_NAME}"  \
         --vnet-id "${GetVnetID}"  \
         --subnet-id "${GetSubnetID}"  \
         --network-security-group-id "${GetNsgID}"  \
         --sa-token-issuer-private-key-path "${SA_TOKEN_ISSUER_PRIVATE_KEY_PATH}"  \
         --oidc-issuer-url "${OIDC_ISSUER_URL}" \
         --marketplace-publisher azureopenshift  \
         --marketplace-offer aro4   \
         --marketplace-sku aro_419  \
         --marketplace-version 419.6.20250523  \
         --dns-zone-rg-name ${PERSISTENT_RG_NAME}   \
         --assign-service-principal-roles  \
         --workload-identities-file ./workload-identities.json  \
         --diagnostics-storage-account-type Managed \
         --control-plane-operator-image=quay.io/zhouying7780/hypershift-control-plane:latest \
        --image-generation Gen1      

      Actual results:

      The command succeed, but only ignored the set about `--image-generation Gen1`

      Expected results:

      Should not silently ignore when set marketplace flags with image-generation flag, better to give clearly message about the usage for these flags.

      Additional info:

          

              rh-ee-brcox Bryan Cox
              yinzhou@redhat.com Ying Zhou
              None
              None
              Ying Zhou Ying Zhou
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: