redhat-performance / benchmark-runner

Containerized Python based Framework for running and visualizing benchmark workloads on any Kubernetes/ OpenShift and runtime kinds pods, kata containers and kubevirt virtual machines simply and safely
Apache License 2.0
20 stars 19 forks source link

Hot Fix: Filter healthcheck #931

Closed ebattat closed 1 day ago

ebattat commented 5 days ago

Type of change

Note: Fill x in []

Description

Since the node-healthcheck-operator and self-node-remediation operators exist in all namespaces (by design), they need to be filtered out when fetching CSV versions, but only after upgrading.

For security reasons, all pull requests need to be approved first before running any automated CI

ebattat commented 4 days ago

Here is an example:

[root@cnv-intel-15 ~]# oc get csv
NAME                               DISPLAY                          VERSION   REPLACES                           PHASE
node-healthcheck-operator.v0.8.2   Node Health Check Operator       0.8.2     node-healthcheck-operator.v0.8.1   Succeeded
self-node-remediation.v0.9.0       Self Node Remediation Operator   0.9.0     self-node-remediation.v0.8.0       Succeeded

[root@cnv-intel-15 ~]# oc get csv -n openshift-local-storage
NAME                                          DISPLAY                          VERSION               REPLACES                                      PHASE
local-storage-operator.v4.15.0-202411060036   Local Storage                    4.15.0-202411060036   local-storage-operator.v4.14.0-202410182001   Succeeded
node-healthcheck-operator.v0.8.2              Node Health Check Operator       0.8.2                 node-healthcheck-operator.v0.8.1              Succeeded
self-node-remediation.v0.9.0                  Self Node Remediation Operator   0.9.0                 self-node-remediation.v0.8.0                  Succeeded

[root@cnv-intel-15 ~]# oc get csv -n openshift-workload-availability
NAME                               DISPLAY                          VERSION   REPLACES                           PHASE
node-healthcheck-operator.v0.8.2   Node Health Check Operator       0.8.2     node-healthcheck-operator.v0.8.1   Succeeded
self-node-remediation.v0.9.0       Self Node Remediation Operator   0.9.0     self-node-remediation.v0.8.0       Succeeded
ebattat commented 2 days ago

@RobertKrawitz, any more comments ?