Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-67124

[IUO-Observability][QE]Don't check hostPathProvisioner components if HostPathProvisioner CR is not configured

XMLWordPrintable

    • Quality / Stability / Reliability
    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • None

      OCI deployment is not creating any HosPathProvisioner CR so the component is not deployed. This is fine as this is not a mandatory component in openshift Virtualization solution. However, this is affecting both IUO and Observability tests:

      • tests.install_upgrade_operators.daemonset.test_daemonset_params.test_no_new_cnv_daemonset_added expects that the daemonSet "hostpath-provisioner-csi" is present and fails if it is not there.
      • tests.observability.runbook_url.test_runbook_url.test_runbook_upstream_urls[prometheus-hpp-rules] shouldn't run.
      • tests.observability.runbook_url.test_runbook_url.test_runbook_downstream_urls[prometheus-hpp-rules] shouldn't run.
      • "test_no_new_prometheus_rules is expecting prometheus-hpp-rules" is expected to be listd as a prometheusrule but it's not there.

      Thi story is for adding code in the test automation to check if HostPathProvisioner CR is defined and skip/adapt the checks so the HPP validations take place only when needed.

              rlobillo Ramón Lobillo
              rlobillo Ramón Lobillo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: