Using a custom domain starting with a digit when provisioning a new ARO cluster

Solution Verified - Updated -

Environment

  • Azure Red Hat OpenShift (ARO)
    • 4
  • OpenShift Managed (Azure)
    • 4

Issue

  • When provisioning a new ARO cluster an error is returned if a custom domain starting with a digit is used:

    Message: The provided domain '123cluster.example.com' is invalid.
    

Resolution

Domain names starting with digits are not supported at the moment. Create the cluster using a valid domain name (i.e. starting with an alphabetic character).

Root Cause

Using custom domain names starting with digits when creating a new ARO cluster is not supported at the moment.

Diagnostic Steps

When running the following command to create a new cluster using a domain starting with a digit an error is shown:

$ az aro create --resource-group <resource_group_name> --name <cluster_name> --vnet <vnet_name> --master-subnet <master_subnet_name> --worker-subnet <worker_subnet_name> --domain <domain_name>
[...]
Message: The provided domain '<domain_name>' is invalid.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments