Fedora Account System
Red Hat Associate
Red Hat Customer
In 4.4, OpenShift console added support for two ClusterServiceVersion annotations: * operatorframework.io/suggested-namespace - console will suggest and create the suggested namespace for the operator * operatorframework.io/cluster-monitoring=true - console will ask the user if they want to enable monitoring the operator and apply the label to the created namespace Operators that require a specific namespace and need to enable monitoring should add these annotations to give the UI hints. This will avoid extra steps requiring users to create and label 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
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
This is amazingly useful! I'll ACK this for 4.3, since the technical change in minimal.
PR merged, but not yet available in a downstream build.
PR has made it into a downstream build, moving to ON_QA.
(In reply to Jose A. Rivera from comment #7) > PR has made it into a downstream build, moving to ON_QA. Build has not passed ci yet, afacict, so still MODIFIED.
https://ceph-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/OCS%20Build%20Pipeline%204.3/93/ has the fix
Created attachment 1669245 [details] namespace-recommendation UI image Moving this bz to verified state. Note: This namespace recommendation will be visible only in OCP 4.4, If we deploy cluster with OCP 4.3 then we will not get this feature. Verified in Version: $ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.4.0-0.nightly-2020-03-10-194324 True False 144m Cluster version is 4.4.0-0.nightly-2020-03-10-194324 $ oc get csv -n openshift-storage NAME DISPLAY VERSION REPLACES PHASE lib-bucket-provisioner.v1.0.0 lib-bucket-provisioner 1.0.0 Succeeded ocs-operator.v4.3.0-372.ci OpenShift Container Storage 4.3.0-372.ci Succeeded After deployment all the rook, CSI pods were up and running. Ceph cluster health is OK. Please refer the attachment for the namespace recommendation from UI.
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/RHBA-2020:1437