Bug 1799055 - CNV operator should make use of suggested namespace annotation
Summary: CNV operator should make use of suggested namespace annotation
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Installation
Version: 2.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 2.3.0
Assignee: Oren Cohen
QA Contact: Irina Gulina
Pan Ousley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-06 14:34 UTC by Samuel Padgett
Modified: 2020-05-04 19:10 UTC (History)
8 users (show)

Fixed In Version: container-native-virtualization-hyperconverged-cluster-operator:v2.3.0-49
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-04 19:10:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
verification screenshot (117.46 KB, image/png)
2020-02-26 15:31 UTC, Irina Gulina
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift openshift-docs pull 20118 0 None closed bz 1799055: cnv namespace is automatically created 2021-02-16 17:54:49 UTC
Red Hat Product Errata RHEA-2020:2011 0 None None None 2020-05-04 19:10:49 UTC

Description Samuel Padgett 2020-02-06 14:34:51 UTC
In 4.4, OpenShift console added support for the following ClusterServiceVersion annotation:

* operatorframework.io/suggested-namespace - console will suggest and create the suggested namespace for the operator

Operators that require a specific namespace should add this annotation to give the UI a hint. This will avoid extra steps requiring users to create the namespace outside of the UI.

More details in this enhancement:

https://github.com/openshift/enhancements/blob/master/enhancements/olm/olm-managed-operator-metrics.md#fulfilling-namespace-and-rbac-requirements

Here is the console PR:

https://github.com/openshift/console/pull/3862

Comment 1 Alexander Greene 2020-02-10 15:00:31 UTC
The suggested namespace annotation and cluster monitoring annotation documentation can be found here [1].

[1] https://docs.google.com/document/d/1Mru7pqkpx2gmxMxK6AYOLVphWW0mzwZG-R8_HBVxLwI/edit

Comment 5 Oren Cohen 2020-02-20 08:38:17 UTC
Merged at https://github.com/kubevirt/hyperconverged-cluster-operator/pull/461 to master.
Haven't merged to release-2.3 yet.

Comment 6 Irina Gulina 2020-02-26 14:25:39 UTC
Audrey, it requires a doc change please. 
Lines about creating an openshift-cnv namespace in Install section should be removed. A line saying it will be created automatically if it doesn't exist added. Thanks.

Comment 7 Irina Gulina 2020-02-26 15:31:45 UTC
Created attachment 1665994 [details]
verification screenshot

It works for me. See the screenshot attached. Further installation steps work as expected. CNV 2.3 is installed successfully to automatically created ns.
 
Keeping ON_QA for a bit, to wait for a doc follow up.

Comment 8 Pan Ousley 2020-02-26 19:58:38 UTC
Irina, I'll make the doc change and will update this BZ with the PR link when I have it. Thanks!

Comment 9 Irina Gulina 2020-02-27 14:22:44 UTC
Thanks Pan

Comment 10 Fabian Deutsch 2020-02-28 09:51:44 UTC
So happy to see one less manual step.

Comment 12 Irina Gulina 2020-03-10 17:10:20 UTC
Doc PR looks good, but may need some update as per jira 4113
Moving this BZ to verified.

Comment 16 errata-xmlrpc 2020-05-04 19:10:37 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, 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/RHEA-2020:2011


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