Bug 1998656
| Summary: | no "name" label in ssp-operator pod | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | ibesso <ibesso> |
| Component: | SSP | Assignee: | Andrej Krejcir <akrejcir> |
| Status: | CLOSED ERRATA | QA Contact: | Israel Pinto <ipinto> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.9.0 | CC: | akrejcir, cnv-qe-bugs, rnetser, stirabos |
| Target Milestone: | --- | ||
| Target Release: | 4.9.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | kubevirt-ssp-operator-container-v4.9.0-27 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-11-02 16:00:55 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
I think this bug is related to HCO. Because on my cluster with latest HCO installed, the labels were added, even without the patches that fix this issue in SSP operator. Simone, should this bug be moved to the Installation component? @stirabos this is what the ssp operator pod has now with Andrej's fix (ssp operator 4.9.0-27):
labels:
app.kubernetes.io/component: schedule
app.kubernetes.io/managed-by: olm
app.kubernetes.io/part-of: hyperconverged-cluster
app.kubernetes.io/version: v4.9.0
control-plane: ssp-operator
name: ssp-operator
pod-template-hash: 69b6fc6fd7
prometheus.kubevirt.io: ""
Due to change on the SSP side, the additional label is now included in the template in the deployment specified in the CSV. Verified with ssp operator 4.9.0-27, the name label now exists. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Virtualization 4.9.0 Images security and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:4104 |
Description of problem: ---------------------- Among the OLM deployments within the openshift-cnv namespace, ssp-operator pod is one that does not have a name label. Version-Release number of selected component (if applicable): ------------------------------------------------------------ 4.9.0-125 How reproducible: ---------------- 100% Steps to Reproduce: ------------------ $ oc get pod -n openshift-cnv ssp-operator-77cd5677d6-nzh6t -ojson |jq '.metadata.labels' { "app.kubernetes.io/component": "schedule", "app.kubernetes.io/managed-by": "olm", "app.kubernetes.io/part-of": "hyperconverged-cluster", "app.kubernetes.io/version": "v4.9.0", "control-plane": "ssp-operator", "pod-template-hash": "77cd5677d6", "prometheus.kubevirt.io": "" } Actual results: -------------- no "name" label. Expected results: ---------------- The pod should have a name label, e.g. "name": "ssp-operator". Additional info: