Bug 1998656 - no "name" label in ssp-operator pod
Summary: no "name" label in ssp-operator pod
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: SSP
Version: 4.9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.9.0
Assignee: Andrej Krejcir
QA Contact: Israel Pinto
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-27 20:58 UTC by ibesso
Modified: 2021-11-02 16:01 UTC (History)
4 users (show)

Fixed In Version: kubevirt-ssp-operator-container-v4.9.0-27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-02 16:00:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt ssp-operator pull 235 0 None None None 2021-09-06 12:02:18 UTC
Github kubevirt ssp-operator pull 237 0 None None None 2021-09-07 09:52:51 UTC
Red Hat Product Errata RHSA-2021:4104 0 None None None 2021-11-02 16:01:03 UTC

Description ibesso 2021-08-27 20:58:42 UTC
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:

Comment 2 Andrej Krejcir 2021-09-09 14:53:25 UTC
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?

Comment 3 Ruth Netser 2021-09-12 12:16:27 UTC
@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: ""

Comment 4 Simone Tiraboschi 2021-09-14 09:24:18 UTC
Due to change on the SSP side, the additional label is now included in the template in the deployment specified in the CSV.

Comment 5 Ruth Netser 2021-09-14 09:59:07 UTC
Verified with ssp operator 4.9.0-27, the name label now exists.

Comment 8 errata-xmlrpc 2021-11-02 16:00:55 UTC
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


Note You need to log in before you can comment on or make changes to this bug.