-
Closed Loop
-
Resolution: Unresolved
-
Critical
-
None
-
None
-
None
-
Quality / Stability / Reliability
-
False
-
-
False
-
None
-
-
None
Description of problem:
The OCV Operator installation via CLI doesn't include the label `openshift.io/cluster-monitoring: "true"` in the `ns/openshift-cnv`. This differs from an installation done via the web console, where the label is created automatically.
Version-Release number of selected component (if applicable):
4.14+ (also tested on 4.16)
How reproducible:
Always
Steps to Reproduce:
1. Install OCV via cli and check the command below. Nothing is returned ``` $ oc describe ns openshift-cnv| grep monitoring ``` 2. Install OCV via web console and check the command below. It returns the label openshift.io/cluster-monitoring ``` $ oc describe ns openshift-cnv| grep monitoring openshift.io/cluster-monitoring=true ```
Actual results:
One installation method has the label openshift.io/cluster-monitoring, the other doesn't.
Expected results:
Both installation methods (cli and web console) should produce the same result. To do so, we should update our docs and include that `label` in this [namespace section](https://docs.openshift.com/container-platform/4.14/virt/install/installing-virt.html#installing-virt-operator-cli_installing-virt:~:text=apiVersion%3A%20v1-,kind%3A%20Namespace,-metadata%3A%0A%20%20name) as below: ``` apiVersion: v1 kind: Namespace metadata: name: openshift-cnv labels: openshift.io/cluster-monitoring: "true" ```
Additional info:
- relates to
-
CNV-50733 OCV Operator installation via CLI doesn't include the label `openshift.io/cluster-monitoring: "true"` in the `ns/openshift-cnv`
-
- Closed
-