Uploaded image for project: 'OpenShift Service Mesh'
  1. OpenShift Service Mesh
  2. OSSM-8256

Hive autodelete job fails when clusterdeployment has invalid expiration label

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • QE
    • None

      When provisioning on-demand clusters using the provision-ocp, users can potentially specify expiration in an invalid format, such as 24 (missing h suffix). Same when extending the cluster lifetime.

      When the autodelete job tries to parse these values from the clusterdeployment's labels, it fails early and thus no clusters get ever deleted until the label on the offending cluster is fixed.

      We should add validation to both provision and extend job, as well as skip any clusterdeployments with invalid values in autodelete job

      We should also send a warning when the autodelete job fails.

              mkralik@redhat.com Matej Kralik
              asmigala@redhat.com Andrej Smigala
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: