Uploaded image for project: 'OpenShift Hosted Control Plane'
  1. OpenShift Hosted Control Plane
  2. HOSTEDCP-1105

Fail early in the API if the release image is not multi-arch and the management cluster's CPU architecture is not the same as the NodePool's CPU architecture

    XMLWordPrintable

Details

    • Story
    • Resolution: Unresolved
    • Normal
    • None
    • None
    • None
    • None
    • Hypershift Sprint 250, Hypershift Sprint 251, Hypershift Sprint 252, Hypershift Sprint 253
    • 0
    • 0
    • 0

    Description

      User Story:

      As a user of the HyperShift, I would like the API to fail early if these conditions are all true:

      • the release image is not multi-arch
      • the management cluster's CPU architecture is not the same as the NodePool's CPU architecture

      so that we can prevent a HostedCluster from continuing to be created that will have errors due mismatches between the release image, management cluster's CPU architecture, and NodePool's CPU architecture.

      Acceptance Criteria:

      • The HyperShift API fails to create a cluster when the release image is not multi-arch and the management cluster's CPU architecture does not match the NodePool's CPU architecture.
      • There is documentation providing information the API will fail when it meets the conditions above.

      Out of Scope:

      This should be done for the CLI as well but will be covered thru HOSTEDCP-1104.

      Engineering Details:

      • HyperShift CLI currently defaults to a multi-arch image in version.go.

      This requires/does not require a design proposal.
      This requires/does not require a feature gate.

      Attachments

        Issue Links

          Activity

            People

              rh-ee-brcox Bryan Cox
              rh-ee-brcox Bryan Cox
              Liangquan Li Liangquan Li
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: