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

ClusterInstance fails to render when skipping hardware provisioning

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.20
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

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

      Description of problem:

          When submitting a ProvisioningRequest using a ClusterTemplate that bypasses hardware provisioning by specifying bmcCredentialsDetails, the ClusterInstance fails to render with the following error:
      
      $ oc get provisioningrequest
      NAME                                   DISPLAYNAME             AGE   PROVISIONPHASE   PROVISIONDETAILS
      123e4567-e89b-12d3-a456-426614174000   sno-baremetal-okd-aio   59m   failed           Failed to render and validate ClusterInstance: failed to validate the rendered ClusterInstance with dry-run: failed to apply ClusterInstance: failed to create typed patch object (sno-baremetal-okd-aio/sno-baremetal-okd-aio; siteconfig.open-cluster-management.io/v1alpha1, Kind=ClusterInstance): .spec.nodes[0].bmcCredentialsDetails: field not declared in schema

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

          

      How reproducible:

          Consistently reproducible when bypassing hardware provisioning.

      Steps to Reproduce:

          1. Define ClusterTemplate containing bmcCredentialsDetails under NodeSpec properties
          2. Submit ProvisioningRequest referencing above ClusterTemplate
          

      Actual results:

          ClusterInstance fails to render

      Expected results:

          ClusterInstance renders and ProvisioningRequest progresses to cluster installation

      Additional info:

          

              sakhoury@redhat.com Sharat Akhoury
              rh-ee-chwheele Christopher Wheeler
              None
              None
              Kirsten Laskoski Kirsten Laskoski
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: