Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-20645

[MCH] local-cluster name length needs to be restricted (under 35 chars)

XMLWordPrintable

    • Installer Sprint 2025-60
    • Important
    • None

      Description of problem:

      With the local-cluster renaming ability, one can set the name to something up to 253 characters. However, various components (such as Hypershift), create resources based on this name, and some of those resources have lower length requirements, such as namespaces at 63.

      Even at 63, other problems where observed as detailed in this Slack thread: https://redhat-internal.slack.com/archives/CUEMQ631C/p1746720240404969

      We need to restrict the length we allow the end user to rename local-cluster.

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

      ACM 2.14

      How reproducible:

      Always

      Steps to Reproduce:

      1. Rename local cluster to something more than 63 characters.
      2. Note the namespace fails to create.
      3. Rename local cluster to something around 60 characters.
      4. Note the other issues present as discussed in Slack.

      Resolution

      The local-cluster name will be limited to below 35 characters in length due to sub-components adding additional information to the end of the name

              rh-ee-ngraham Nathaniel Graham
              rh-ee-msmigiel Matthew Smigielski
              Matthew Smigielski Matthew Smigielski
              ACM QE Team
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: