Uploaded image for project: 'Managed Service - API'
  1. Managed Service - API
  2. MGDAPI-5870

Add preflight check for ClusterPackage CR

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 1.38.0
    • None
    • None
    • RHOAM Sprint 43

      WHY
      We want to make sure that the RHOAM installation will only proceed if the ClusterPackage CR (which sets up all the monitoring components) exists.

      WHAT
      In production clusters, Hive will create a ClusterPackage CR called "rhoam-config" on the cluster as part of the RHOAM installation. However, there may be a scenario where the ClusterPackage CR fails to be created. In this case we don't want to the RHOAM installation to continue because otherwise we will have no monitoring capabilities.

      In order to catch this scenario, we can add a preflight check that will only allow the installation to continue if the "rhoam-config" ClusterPackage CR exists on the cluster.

      If the ClusterPackage CR does exist, then the preflight check should pass and the installation should proceed.

      HOW
      Preflight checks are handled in the rhmi_controller

      TESTS
      <List of related tests>

      DONE

      • Added a preflight check that will stop the RHOAM installation if the ClusterPackage CR doesn't exist on the cluster. The preflight check will pass if the ClusterPackage CR does exist.

              comalley_rhoam Conor O'Malley (Inactive)
              ckyrillo@redhat.com Carl Kyrillos
              Austin Cunningham Austin Cunningham
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: