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

HostedCluster reports Available before control plane components have successfully rolled out

    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Rejected
    • None
    • Done
    • Enhancement
    • Hide
      With this update, the system ensures that the `HostedControlPlane` and `HostedCluster` become available only after all control plane parts have successfully rolled out. This is accomplished by using the `ControlPlaneComponent` resource to track the rollout status of each control plane part. This enhancement improves the reliability and accuracy of the system's availability reporting, providing a more secure user experience. By accurately tracking the rollout status, the system reduces the risk of unexpected issues during the initial provisioning of a `HostedCluster`. (link:https://issues.redhat.com/browse/OCPBUGS-74775[OCPBUGS-74775])
      Show
      With this update, the system ensures that the `HostedControlPlane` and `HostedCluster` become available only after all control plane parts have successfully rolled out. This is accomplished by using the `ControlPlaneComponent` resource to track the rollout status of each control plane part. This enhancement improves the reliability and accuracy of the system's availability reporting, providing a more secure user experience. By accurately tracking the rollout status, the system reduces the risk of unexpected issues during the initial provisioning of a `HostedCluster`. (link: https://issues.redhat.com/browse/OCPBUGS-74775 [ OCPBUGS-74775 ])
    • None
    • None
    • None
    • None

      This is a clone of issue OCPBUGS-74648. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-74336. The following is the description of the original issue:

      Description of problem

      The HostedCluster and HostedControlPlane report the Available condition as true before all control plane components have successfully rolled out. With the ControlPlaneComponent resource now available to represent each control plane component, we can determine if each component has successfully rolled out and should delay setting the HostedControlPlaneAvailable condition (and the mirrored HostedClusterAvailable condition) until the control plane components have initially successfully completed their rollout.

      Version-Release number of selected component (if applicable)

      4.22

      How reproducible

      Always

      Steps to Reproduce

      1. Create a new HostedCluster
      2. Observe the HostedCluster conditions during initial provisioning
      3. Note when the Available condition becomes true
      4. Compare against the actual rollout status of control plane components via ControlPlaneComponent resources

      Actual results

      The HostedCluster and HostedControlPlane may report Available=True before all control plane components have completed their initial rollout.

      Expected results

      The HostedControlPlaneAvailable condition (and the mirrored HostedClusterAvailable condition in the HostedCluster) should only be set to true after all control plane components represented by ControlPlaneComponent resources have successfully rolled out.

      Additional info

      The ControlPlaneComponent resource (part of CPOv2) provides the necessary information to track rollout status of each control plane component. This information should be used to gate the availability conditions.

              sjenning Seth Jennings
              rh-ee-brcox Bryan Cox
              Yu Li
              None
              Wen Wang Wen Wang
              None
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: