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

PR ClusterProvisioned stuck in Unknown due to ClusterInstance rendering error

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:

      After the ProvisioningRequest passes validation and the ClusterInstance CR is created (installation begins), the subsequent rendering of the ClusterInstance fails due to the following spec update error, even though no user update occurred:

        - lastTransitionTime: "2025-09-27T00:45:54Z"
          message: 'Failed to render and validate ClusterInstance: failed to validate the
            rendered ClusterInstance with dry-run: failed to apply ClusterInstance: admission
            webhook "clusterinstances.siteconfig.open-cluster-management.io" denied the
            request: spec update not allowed during provisioning or cluster reinstalls'
          reason: Failed 

      At this point, the ClusterInstance CR has already transitioned to "InProgress – Provisioning cluster". However, the PR’s ClusterProvisioned condition remains Unknown because the render error blocks progress to the phase that checks the ClusterInstance’s Provisioned condition. The PR keeps getting requeued and reporting outdated status until the render error disappears after the cluster is provisioned (code reference).

        - lastTransitionTime: "2025-09-27T00:45:47Z"
          message: Waiting for provisioning to start
          reason: Unknown
          status: Unknown
          type: ClusterProvisioned 

      Meanwhile, the PR’s ClusterProvisioned condition does not match what provisioningPhase/provisioningDetails report:

        provisioningStatus:
          provisioningDetails: Cluster installation is in progress
          provisioningPhase: progressing 

      The condition did eventually update to Completed, but there was a delay before the PR phase moved to fulfilled.

        - lastTransitionTime: "2025-09-27T01:35:29Z"
          message: Provisioning completed
          reason: Completed
          status: "True"
          type: ClusterProvisioned
      
          provisioningDetails: Cluster installation is in progress
          provisioningPhase: progressing
          updateTime: "2025-09-27T00:45:47Z"
      
          provisioningDetails: Provisioning request has completed successfully
          provisioningPhase: fulfilled
          updateTime: "2025-09-27T01:41:08Z"

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

       Code as of Sep 26
      

      How reproducible:

          

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          

      Expected results:

          

      Additional info:

          Here are the templates I used:  https://gitlab.cee.redhat.com/angwang/ztp-site-configs/-/tree/oran-deployment/clustertemplates?ref_type=heads
      
      IMS log: https://drive.google.com/file/d/1aX5O6eq8f791GfYFzd6SYtmczoJbHZm8/view?usp=drive_link
      PR name: 381e4567-e89b-12d3-a456-426614174000

              sakhoury@redhat.com Sharat Akhoury
              angwang@redhat.com Angie Wang
              None
              None
              Kirsten Laskoski Kirsten Laskoski
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: