Bug 1828546

Summary: [DDF] There is an additional prerequisite listed in the OpenShift Container Storage item for OperatorHub to create an
Product: [Red Hat Storage] Red Hat OpenShift Container Storage Reporter: Direct Docs Feedback <ddf-bot>
Component: documentationAssignee: Anjana Suparna Sriram <asriram>
Status: NEW --- QA Contact: Elad <ebenahar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.2   
Target Milestone: ---   
Target Release: OCS 4.3.z   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Direct Docs Feedback 2020-04-27 20:02:46 UTC
There is an additional prerequisite listed in the OpenShift Container Storage item for OperatorHub to create an OperatorGroup, which is not listed in the prerequisites in section 1.1.1.  The sample snippet should be added to the prerequisite documentation.  If this prerequisite is not run, the actual OCS deployment may fail.

OperatorGroup
An OperatorGroup targetting the openshift-storage namespace also needs to be created. The following manifest can be used to create the OperatorGroup.

apiVersion: operators.coreos.com/v1
kind: OperatorGroup
metadata:
  name: openshift-storage-operatorgroup
  namespace: openshift-storage
spec:
  serviceAccount:
    metadata:
      creationTimestamp: null
  targetNamespaces:
  - openshift-storage
Save the above as rhocs-operatorgroup.yaml, and create the OperatorGroup with,

$ oc create -f rhocs-operatorgroup.yaml

Reported by: rhn-support-kechung

https://access.redhat.com/documentation/en-us/red_hat_openshift_container_storage/4.2/html/deploying_openshift_container_storage/deploying-openshift-container-storage#annotations:9617be1e-e000-4eef-b61e-af8be790574c