Bug 1995297

Summary: Operator storageos2 InstallPlan failing due to api-server deprecated in 4.9
Product: OpenShift Container Platform Reporter: Tom Buskey <tbuskey>
Component: ISV OperatorsAssignee: tonyc
Status: VERIFIED --- QA Contact: tonyc
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.9CC: aos-bugs, bandrade, jiazha, jitli, kuiwang, sd-ecosystem, tbuskey, xzha
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tom Buskey 2021-08-18 18:45:41 UTC
Description of problem:
storageos2 operator uses deprecated api and will not install

Version-Release number of selected component (if applicable):
storageosoperator.v2.3.0

Server Version: 4.9.0-0.nightly-2021-08-18-033031
Kubernetes Version: v1.22.0-rc.0+f967870

How reproducible:
Always

Steps to Reproduce:
1. Install storageos2 from operator hub into single namespace
2.
3.

Actual results:
 oc get sub storageos2 -o yaml

 - lastTransitionTime: "2021-08-18T18:41:12Z"
    message: 'api-server resource not found installing CustomResourceDefinition nfsservers.storageos.com:
      GroupVersionKind apiextensions.k8s.io/v1beta1, Kind=CustomResourceDefinition
      not found on the cluster. This API may have been deprecated and removed, see
      https://kubernetes.io/docs/reference/using-api/deprecation-guide/ for more information.'
    reason: InstallComponentFailed
    status: "True"
    type: InstallPlanFailed
  currentCSV: storageosoperator.v2.3.0


Expected results:
Operator installs successfully


Additional info:

Comment 1 Tom Buskey 2021-10-29 13:33:13 UTC
Verifying

oc version
Client Version: 4.9.0-202110262214.p0.git.96e95ce.assembly.stream-96e95ce
Server Version: 4.9.0-0.nightly-2021-10-28-052726
Kubernetes Version: v1.22.0-rc.0+a44d0f0

Installed successfully from OperatorHub