-
Bug
-
Resolution: Unresolved
-
Normal
-
4.20, 4.21
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: