Bug 2047656
| Summary: | Something went wrong page displayed when visiting OpenShift Data Foundation Overview page | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Data Foundation | Reporter: | Yadan Pei <yapei> | ||||
| Component: | management-console | Assignee: | Bipul Adhikari <badhikar> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Yadan Pei <yapei> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 4.10 | CC: | afrahman, aos-bugs, jefbrown, madam, nthomas, ocs-bugs, odf-bz-bot, prubenda | ||||
| 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: | 2022-02-28 14:44:53 UTC | 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: | |||||||
| Attachments: |
|
||||||
|
Description
Yadan Pei
2022-01-28 08:39:45 UTC
Also seeing this for version 4.9.2
% oc get csv -n openshift-storage
NAME DISPLAY VERSION REPLACES PHASE
mcg-operator.v4.9.2 NooBaa Operator 4.9.2 mcg-operator.v4.9.1 Succeeded
ocs-operator.v4.9.2 OpenShift Container Storage 4.9.2 ocs-operator.v4.9.1 Succeeded
odf-operator.v4.9.2 OpenShift Data Foundation 4.9.2 odf-operator.v4.9.1 Succeeded
% oc describe storagesystem ocs-storagecluster-storagesystem -n openshift-storage
Name: ocs-storagecluster-storagesystem
Namespace: openshift-storage
Labels: <none>
Annotations: <none>
API Version: odf.openshift.io/v1alpha1
Kind: StorageSystem
Metadata:
Creation Timestamp: 2022-02-01T16:11:32Z
Finalizers:
storagesystem.odf.openshift.io
Generation: 1
Managed Fields:
API Version: odf.openshift.io/v1alpha1
Fields Type: FieldsV1
fieldsV1:
f:spec:
.:
f:kind:
f:name:
f:namespace:
Manager: Mozilla
Operation: Update
Time: 2022-02-01T16:11:32Z
API Version: odf.openshift.io/v1alpha1
Fields Type: FieldsV1
fieldsV1:
f:metadata:
f:finalizers:
.:
v:"storagesystem.odf.openshift.io":
Manager: manager
Operation: Update
Time: 2022-02-01T16:11:32Z
API Version: odf.openshift.io/v1alpha1
Fields Type: FieldsV1
fieldsV1:
f:status:
.:
f:conditions:
Manager: manager
Operation: Update
Subresource: status
Time: 2022-02-01T16:11:32Z
Resource Version: 121958
UID: 0b82550e-c24c-4b5c-aa65-7134f185c436
Spec:
Kind: storagecluster.ocs.openshift.io/v1
Name: ocs-storagecluster
Namespace: openshift-storage
Status:
Conditions:
Last Heartbeat Time: 2022-02-01T16:14:26Z
Last Transition Time: 2022-02-01T16:14:26Z
Message: Reconcile is completed successfully
Reason: ReconcileCompleted
Status: True
Type: Available
Last Heartbeat Time: 2022-02-01T16:14:26Z
Last Transition Time: 2022-02-01T16:14:26Z
Message: Reconcile is completed successfully
Reason: ReconcileCompleted
Status: False
Type: Progressing
Last Heartbeat Time: 2022-02-01T16:14:26Z
Last Transition Time: 2022-02-01T16:11:32Z
Message: StorageSystem CR is valid
Reason: Valid
Status: False
Type: StorageSystemInvalid
Last Heartbeat Time: 2022-02-01T16:14:26Z
Last Transition Time: 2022-02-01T16:11:32Z
Reason: Ready
Status: True
Type: VendorCsvReady
Last Heartbeat Time: 2022-02-01T16:14:26Z
Last Transition Time: 2022-02-01T16:11:32Z
Reason: Found
Status: True
Type: VendorSystemPresent
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning ReconcileFailed 5m54s StorageSystem controller Operation cannot be fulfilled on storageclusters.ocs.openshift.io "ocs-storagecluster": the object has been modified; please apply your changes to the latest version and try again
% oc describe storagecluster ocs-storagecluster -n openshift-storage
Name: ocs-storagecluster
Namespace: openshift-storage
Labels: <none>
Annotations: storagesystem.odf.openshift.io/watched-by: ocs-storagecluster-storagesystem
uninstall.ocs.openshift.io/cleanup-policy: delete
uninstall.ocs.openshift.io/mode: graceful
API Version: ocs.openshift.io/v1
Kind: StorageCluster
Metadata:
Creation Timestamp: 2022-02-01T16:11:32Z
Finalizers:
storagecluster.ocs.openshift.io
Generation: 4
Managed Fields:
API Version: ocs.openshift.io/v1
Fields Type: FieldsV1
fieldsV1:
f:spec:
.:
f:arbiter:
f:encryption:
.:
f:kms:
f:nodeTopologies:
f:resources:
.:
f:mds:
.:
f:limits:
.:
f:cpu:
f:memory:
f:requests:
.:
f:cpu:
f:memory:
f:rgw:
.:
f:limits:
.:
f:cpu:
f:memory:
f:requests:
.:
f:cpu:
f:memory:
Manager: Mozilla
Operation: Update
Time: 2022-02-01T16:11:32Z
API Version: ocs.openshift.io/v1
Fields Type: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.:
f:storagesystem.odf.openshift.io/watched-by:
f:ownerReferences:
.:
k:{"uid":"0b82550e-c24c-4b5c-aa65-7134f185c436"}:
f:spec:
f:externalStorage:
f:managedResources:
.:
f:cephBlockPools:
f:cephConfig:
f:cephDashboard:
f:cephFilesystems:
f:cephObjectStoreUsers:
f:cephObjectStores:
f:mirroring:
f:storageDeviceSets:
Manager: manager
Operation: Update
Time: 2022-02-01T16:11:32Z
API Version: ocs.openshift.io/v1
Fields Type: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
f:uninstall.ocs.openshift.io/cleanup-policy:
f:uninstall.ocs.openshift.io/mode:
f:finalizers:
.:
v:"storagecluster.ocs.openshift.io":
f:spec:
f:version:
Manager: ocs-operator
Operation: Update
Time: 2022-02-01T16:11:32Z
API Version: ocs.openshift.io/v1
Fields Type: FieldsV1
fieldsV1:
f:status:
.:
f:conditions:
f:failureDomain:
f:failureDomainKey:
f:failureDomainValues:
f:images:
.:
f:ceph:
.:
f:actualImage:
f:desiredImage:
f:noobaaCore:
.:
f:actualImage:
f:desiredImage:
f:noobaaDB:
.:
f:actualImage:
f:desiredImage:
f:nodeTopologies:
.:
f:labels:
.:
f:kubernetes.io/hostname:
f:topology.kubernetes.io/region:
f:topology.kubernetes.io/zone:
f:phase:
f:relatedObjects:
Manager: ocs-operator
Operation: Update
Subresource: status
Time: 2022-02-01T16:14:56Z
Owner References:
API Version: odf.openshift.io/v1alpha1
Block Owner Deletion: true
Controller: true
Kind: StorageSystem
Name: ocs-storagecluster-storagesystem
UID: 0b82550e-c24c-4b5c-aa65-7134f185c436
Resource Version: 124783
UID: 90fd2e09-f87a-4723-b8df-00fc693a5141
Spec:
Arbiter:
Encryption:
Kms:
External Storage:
Managed Resources:
Ceph Block Pools:
Ceph Config:
Ceph Dashboard:
Ceph Filesystems:
Ceph Object Store Users:
Ceph Object Stores:
Mirroring:
Node Topologies:
Resources:
Mds:
Limits:
Cpu: 3
Memory: 8Gi
Requests:
Cpu: 1
Memory: 8Gi
Rgw:
Limits:
Cpu: 2
Memory: 4Gi
Requests:
Cpu: 1
Memory: 4Gi
Storage Device Sets:
Config:
Count: 1
Data PVC Template:
Metadata:
Spec:
Access Modes:
ReadWriteOnce
Resources:
Requests:
Storage: 2Ti
Storage Class Name: gp2
Volume Mode: Block
Status:
Name: ocs-deviceset-gp2
Placement:
Portable: true
Prepare Placement:
Replica: 3
Resources:
Limits:
Cpu: 2
Memory: 5Gi
Requests:
Cpu: 1
Memory: 5Gi
Version: 4.9.0
Status:
Conditions:
Last Heartbeat Time: 2022-02-01T16:18:39Z
Last Transition Time: 2022-02-01T16:14:55Z
Message: Reconcile completed successfully
Reason: ReconcileCompleted
Status: True
Type: ReconcileComplete
Last Heartbeat Time: 2022-02-01T16:11:33Z
Last Transition Time: 2022-02-01T16:11:33Z
Message: Initializing StorageCluster
Reason: Init
Status: False
Type: Available
Last Heartbeat Time: 2022-02-01T16:18:39Z
Last Transition Time: 2022-02-01T16:11:33Z
Message: Waiting on Nooba instance to finish initialization
Reason: NoobaaInitializing
Status: True
Type: Progressing
Last Heartbeat Time: 2022-02-01T16:11:33Z
Last Transition Time: 2022-02-01T16:11:33Z
Message: Initializing StorageCluster
Reason: Init
Status: False
Type: Degraded
Last Heartbeat Time: 2022-02-01T16:11:33Z
Last Transition Time: 2022-02-01T16:11:33Z
Message: Initializing StorageCluster
Reason: Init
Status: Unknown
Type: Upgradeable
Failure Domain: zone
Failure Domain Key: topology.kubernetes.io/zone
Failure Domain Values:
us-east-2b
us-east-2a
us-east-2c
Images:
Ceph:
Actual Image: registry.redhat.io/rhceph/rhceph-5-rhel8@sha256:f0c2515320da6417aa29a39d7355a12de8c3e782ec6db85d8273b3024f653d76
Desired Image: registry.redhat.io/rhceph/rhceph-5-rhel8@sha256:f0c2515320da6417aa29a39d7355a12de8c3e782ec6db85d8273b3024f653d76
Noobaa Core:
Actual Image: registry.redhat.io/odf4/mcg-core-rhel8@sha256:5507f2c1074bfb023415f0fef16ec42fbe6e90c540fc45f1111c8c929e477910
Desired Image: registry.redhat.io/odf4/mcg-core-rhel8@sha256:5507f2c1074bfb023415f0fef16ec42fbe6e90c540fc45f1111c8c929e477910
Noobaa DB:
Actual Image: registry.redhat.io/rhel8/postgresql-12@sha256:623bdaa1c6ae047db7f62d82526220fac099837afd8770ccc6acfac4c7cff100
Desired Image: registry.redhat.io/rhel8/postgresql-12@sha256:623bdaa1c6ae047db7f62d82526220fac099837afd8770ccc6acfac4c7cff100
Node Topologies:
Labels:
kubernetes.io/hostname:
ip-10-0-166-222.us-east-2.compute.internal
ip-10-0-146-47.us-east-2.compute.internal
ip-10-0-200-69.us-east-2.compute.internal
topology.kubernetes.io/region:
us-east-2
topology.kubernetes.io/zone:
us-east-2b
us-east-2a
us-east-2c
Phase: Progressing
Related Objects:
API Version: ceph.rook.io/v1
Kind: CephCluster
Name: ocs-storagecluster-cephcluster
Namespace: openshift-storage
Resource Version: 124380
UID: 30d4c390-e94f-4f7a-98bc-7dbe5e0f3dfa
API Version: noobaa.io/v1alpha1
Kind: NooBaa
Name: noobaa
Namespace: openshift-storage
Resource Version: 124780
UID: 4301f925-0887-4a6b-9bee-80fa5cd2d8d9
Events: <none>
According to https://bugzilla.redhat.com/show_bug.cgi?id=2033366#c20 This should not be reproducible. Created attachment 1862782 [details]
OpenShift Data Foundation Overview tab
launched a 4.10.0-0.nightly-2022-02-17-234353 cluster, installed OpenShift Data Foundation operator 4.9.2 and create StorageSystem CR
oc get csv -n openshift-storage
NAME DISPLAY VERSION REPLACES PHASE
mcg-operator.v4.9.2 NooBaa Operator 4.9.2 mcg-operator.v4.9.1 Succeeded
ocs-operator.v4.9.2 OpenShift Container Storage 4.9.2 ocs-operator.v4.9.1 Succeeded
odf-operator.v4.9.2 OpenShift Data Foundation 4.9.2 odf-operator.v4.9.1 Succeeded
OpenShift Data Foundation -> Overview is shown correctly, all other tabs in OpenShift Data Foundation are showing successfully
Still getting the issue. This is only when creating the storagesystem right after data foundations is installed.
Install `OpenShift Data Foundation` operator from OperatorHub
Go to installed operator
Click create storagesytem
Go through default dialogs
Error is seen on when clicking final button
Yaml of OpenShift Data Foundation
apiVersion: operators.coreos.com/v1alpha1
kind: ClusterServiceVersion
metadata:
annotations:
olm.skipRange: '>=4.2.0 <4.9.2'
console.openshift.io/plugins: '["odf-console"]'
operators.operatorframework.io/builder: operator-sdk-v1.13.0+git
operatorframework.io/initialization-resource: |-
{
"apiVersion": "odf.openshift.io/v1alpha1",
"kind": "StorageSystem",
"metadata": {
"name": "ocs-storagecluster-storagesystem",
"namespace": "openshift-storage"
},
"spec": {
"kind": "storagecluster.ocs.openshift.io/v1",
"name": "ocs-storagecluster",
"namespace": "openshift-storage"
}
}
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
vendors.odf.openshift.io/kind: >-
["storagecluster.ocs.openshift.io/v1",
"flashsystemcluster.odf.ibm.com/v1alpha1"]
olm.targetNamespaces: openshift-storage
operatorframework.io/properties: >-
{"properties":[{"type":"olm.package","value":{"packageName":"odf-operator","version":"4.9.2"}},{"type":"olm.gvk","value":{"group":"odf.openshift.io","kind":"StorageSystem","version":"v1alpha1"}},{"type":"olm.package.required","value":{"packageName":"ocs-operator","versionRange":"\u003c4.9.0
|| 4.9.2"}}]}
repository: 'https://github.com/red-hat-storage/odf-operator'
support: Red Hat
alm-examples: |-
[
{
"apiVersion": "odf.openshift.io/v1alpha1",
"kind": "StorageSystem",
"metadata": {
"name": "ibm-flashsystemcluster-storagesystem",
"namespace": "openshift-storage"
},
"spec": {
"kind": "flashsystemcluster.odf.ibm.com/v1alpha1",
"name": "ibm-flashsystemcluster",
"namespace": "openshift-storage"
}
},
{
"apiVersion": "odf.openshift.io/v1alpha1",
"kind": "StorageSystem",
"metadata": {
"name": "ocs-storagecluster-storagesystem",
"namespace": "openshift-storage"
},
"spec": {
"kind": "storagecluster.ocs.openshift.io/v1",
"name": "ocs-storagecluster",
"namespace": "openshift-storage"
}
}
]
capabilities: Deep Insights
olm.operatorNamespace: openshift-storage
containerImage: >-
registry.redhat.io/odf4/odf-rhel8-operator@sha256:2239466d731db8a7898fbdb4e7bdddedb268a42d7042f58726518efd9caa0587
categories: Storage
operatorframework.io/suggested-namespace: openshift-storage
description: >-
OpenShift Data Foundation provides a common control plane for storage
solutions on OpenShift Container Platform.
olm.operatorGroup: openshift-storage-pmhqc
resourceVersion: '204173'
name: odf-operator.v4.9.2
uid: 56ca5974-d2a7-4405-ae14-551957236615
creationTimestamp: '2022-02-23T22:27:33Z'
generation: 1
managedFields:
- apiVersion: operators.coreos.com/v1alpha1
fieldsType: FieldsV1
fieldsV1:
'f:metadata':
'f:annotations':
'f:alm-examples': {}
'f:description': {}
'f:capabilities': {}
'f:olm.skipRange': {}
.: {}
'f:containerImage': {}
'f:categories': {}
'f:operatorframework.io/suggested-namespace': {}
'f:operators.operatorframework.io/project_layout': {}
'f:vendors.odf.openshift.io/kind': {}
'f:operatorframework.io/properties': {}
'f:console.openshift.io/plugins': {}
'f:operators.operatorframework.io/builder': {}
'f:operatorframework.io/initialization-resource': {}
'f:support': {}
'f:repository': {}
'f:labels':
.: {}
'f:full_version': {}
'f:operatorframework.io/arch.amd64': {}
'f:operatorframework.io/arch.ppc64le': {}
'f:operatorframework.io/arch.s390x': {}
'f:spec':
'f:version': {}
'f:maturity': {}
'f:provider':
.: {}
'f:name': {}
'f:links': {}
'f:install':
.: {}
'f:spec':
.: {}
'f:clusterPermissions': {}
'f:deployments': {}
'f:permissions': {}
'f:strategy': {}
'f:maintainers': {}
'f:description': {}
'f:installModes': {}
'f:icon': {}
'f:customresourcedefinitions':
.: {}
'f:owned': {}
.: {}
'f:relatedImages': {}
'f:cleanup':
.: {}
'f:enabled': {}
'f:apiservicedefinitions': {}
'f:replaces': {}
'f:displayName': {}
'f:keywords': {}
manager: catalog
operation: Update
time: '2022-02-23T22:27:33Z'
- apiVersion: operators.coreos.com/v1alpha1
fieldsType: FieldsV1
fieldsV1:
'f:metadata':
'f:annotations':
'f:olm.operatorGroup': {}
'f:olm.operatorNamespace': {}
'f:olm.targetNamespaces': {}
'f:labels':
'f:operators.coreos.com/odf-operator.openshift-storage': {}
manager: olm
operation: Update
time: '2022-02-23T22:27:36Z'
- apiVersion: operators.coreos.com/v1alpha1
fieldsType: FieldsV1
fieldsV1:
'f:status':
'f:lastUpdateTime': {}
'f:requirementStatus': {}
'f:phase': {}
'f:lastTransitionTime': {}
'f:conditions': {}
.: {}
'f:cleanup': {}
'f:message': {}
'f:reason': {}
manager: olm
operation: Update
subresource: status
time: '2022-02-23T22:27:36Z'
namespace: openshift-storage
labels:
full_version: 4.9.2-11
operatorframework.io/arch.amd64: supported
operatorframework.io/arch.ppc64le: supported
operatorframework.io/arch.s390x: supported
operators.coreos.com/odf-operator.openshift-storage: ''
spec:
customresourcedefinitions:
owned:
- description: StorageSystem is the Schema for the storagesystems API
displayName: Storage System
kind: StorageSystem
name: storagesystems.odf.openshift.io
resources:
- kind: FlashSystemCluster
name: flashsystemclusters.odf.ibm.com
version: v1alpha1
- kind: StorageCluster
name: storageclusters.ocs.openshift.io
version: v1
version: v1alpha1
relatedImages:
- image: >-
registry.redhat.io/odf4/odf-rhel8-operator@sha256:2239466d731db8a7898fbdb4e7bdddedb268a42d7042f58726518efd9caa0587
name: odf-operator
- image: >-
registry.redhat.io/odf4/odf-console-rhel8@sha256:c45fe368f669b7344385863e0e5d3b004dae69af16f60eabc438cb27b6dd55e6
name: odf-console
- image: >-
registry.redhat.io/openshift4/ose-kube-rbac-proxy@sha256:12c1619c65183cec6cf2b228fc327cecc73e343ffb15c99b9ca6dc01f7346e7c
name: rbac-proxy
cleanup:
enabled: false
apiservicedefinitions: {}
keywords:
- operator
- data
- storage
displayName: OpenShift Data Foundation
provider:
name: Red Hat
maturity: alpha
installModes:
- supported: true
type: OwnNamespace
- supported: true
type: SingleNamespace
- supported: false
type: MultiNamespace
- supported: false
type: AllNamespaces
version: 4.9.2
icon:
- base64data: >-
PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxOTIgMTQ1Ij48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2UwMDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPlJlZEhhdC1Mb2dvLUhhdC1Db2xvcjwvdGl0bGU+PHBhdGggZD0iTTE1Ny43Nyw2Mi42MWExNCwxNCwwLDAsMSwuMzEsMy40MmMwLDE0Ljg4LTE4LjEsMTcuNDYtMzAuNjEsMTcuNDZDNzguODMsODMuNDksNDIuNTMsNTMuMjYsNDIuNTMsNDRhNi40Myw2LjQzLDAsMCwxLC4yMi0xLjk0bC0zLjY2LDkuMDZhMTguNDUsMTguNDUsMCwwLDAtMS41MSw3LjMzYzAsMTguMTEsNDEsNDUuNDgsODcuNzQsNDUuNDgsMjAuNjksMCwzNi40My03Ljc2LDM2LjQzLTIxLjc3LDAtMS4wOCwwLTEuOTQtMS43My0xMC4xM1oiLz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik0xMjcuNDcsODMuNDljMTIuNTEsMCwzMC42MS0yLjU4LDMwLjYxLTE3LjQ2YTE0LDE0LDAsMCwwLS4zMS0zLjQybC03LjQ1LTMyLjM2Yy0xLjcyLTcuMTItMy4yMy0xMC4zNS0xNS43My0xNi42QzEyNC44OSw4LjY5LDEwMy43Ni41LDk3LjUxLjUsOTEuNjkuNSw5MCw4LDgzLjA2LDhjLTYuNjgsMC0xMS42NC01LjYtMTcuODktNS42LTYsMC05LjkxLDQuMDktMTIuOTMsMTIuNSwwLDAtOC40MSwyMy43Mi05LjQ5LDI3LjE2QTYuNDMsNi40MywwLDAsMCw0Mi41Myw0NGMwLDkuMjIsMzYuMywzOS40NSw4NC45NCwzOS40NU0xNjAsNzIuMDdjMS43Myw4LjE5LDEuNzMsOS4wNSwxLjczLDEwLjEzLDAsMTQtMTUuNzQsMjEuNzctMzYuNDMsMjEuNzdDNzguNTQsMTA0LDM3LjU4LDc2LjYsMzcuNTgsNTguNDlhMTguNDUsMTguNDUsMCwwLDEsMS41MS03LjMzQzIyLjI3LDUyLC41LDU1LC41LDc0LjIyYzAsMzEuNDgsNzQuNTksNzAuMjgsMTMzLjY1LDcwLjI4LDQ1LjI4LDAsNTYuNy0yMC40OCw1Ni43LTM2LjY1LDAtMTIuNzItMTEtMjcuMTYtMzAuODMtMzUuNzgiLz48L3N2Zz4=
mediatype: image/svg+xml
links:
- name: Source Code
url: 'https://github.com/red-hat-storage/odf-operator'
install:
spec:
clusterPermissions:
- rules:
- apiGroups:
- ''
resources:
- services
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- apiextensions.k8s.io
resources:
- customresourcedefinitions
verbs:
- create
- get
- list
- update
- watch
- apiGroups:
- apps
resources:
- deployments
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- apps
resources:
- deployments/finalizers
verbs:
- update
- apiGroups:
- config.openshift.io
resources:
- clusterversions
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- config.openshift.io
resources:
- clusterversions/finalizers
verbs:
- update
- apiGroups:
- config.openshift.io
resources:
- clusterversions/status
verbs:
- get
- patch
- update
- apiGroups:
- console.openshift.io
resources:
- consoleplugins
verbs:
- '*'
- apiGroups:
- console.openshift.io
resources:
- consolequickstarts
verbs:
- '*'
- apiGroups:
- ocs.openshift.io
resources:
- storageclusters
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ocs.openshift.io
resources:
- storageclusters/finalizers
verbs:
- update
- apiGroups:
- ocs.openshift.io
resources:
- storageclusters/status
verbs:
- get
- patch
- update
- apiGroups:
- odf.ibm.com
resources:
- flashsystemclusters
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- odf.openshift.io
resources:
- storagesystems
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- odf.openshift.io
resources:
- storagesystems/finalizers
verbs:
- update
- apiGroups:
- odf.openshift.io
resources:
- storagesystems/status
verbs:
- get
- patch
- update
- apiGroups:
- operators.coreos.com
resources:
- catalogsources
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- operators.coreos.com
resources:
- clusterserviceversions
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- operators.coreos.com
resources:
- clusterserviceversions/finalizers
verbs:
- update
- apiGroups:
- operators.coreos.com
resources:
- installplans
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- operators.coreos.com
resources:
- subscriptions
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- operators.coreos.com
resources:
- subscriptions/finalizers
verbs:
- update
- apiGroups:
- operators.coreos.com
resources:
- subscriptions/status
verbs:
- get
- patch
- update
- apiGroups:
- authentication.k8s.io
resources:
- tokenreviews
verbs:
- create
- apiGroups:
- authorization.k8s.io
resources:
- subjectaccessreviews
verbs:
- create
serviceAccountName: odf-operator-controller-manager
deployments:
- name: odf-operator-controller-manager
spec:
replicas: 1
selector:
matchLabels:
control-plane: controller-manager
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
control-plane: controller-manager
spec:
containers:
- args:
- '--secure-listen-address=0.0.0.0:8443'
- '--upstream=http://127.0.0.1:8080/'
- '--logtostderr=true'
- '--v=10'
image: >-
registry.redhat.io/openshift4/ose-kube-rbac-proxy@sha256:12c1619c65183cec6cf2b228fc327cecc73e343ffb15c99b9ca6dc01f7346e7c
name: kube-rbac-proxy
ports:
- containerPort: 8443
name: https
protocol: TCP
resources: {}
- resources:
limits:
cpu: 200m
memory: 300Mi
requests:
cpu: 200m
memory: 200Mi
readinessProbe:
httpGet:
path: /readyz
port: 8081
initialDelaySeconds: 5
periodSeconds: 10
name: manager
command:
- /manager
livenessProbe:
httpGet:
path: /healthz
port: 8081
initialDelaySeconds: 15
periodSeconds: 20
securityContext:
allowPrivilegeEscalation: false
envFrom:
- configMapRef:
name: odf-operator-manager-config
image: >-
registry.redhat.io/odf4/odf-rhel8-operator@sha256:2239466d731db8a7898fbdb4e7bdddedb268a42d7042f58726518efd9caa0587
args:
- '--health-probe-bind-address=:8081'
- '--metrics-bind-address=127.0.0.1:8080'
- '--leader-elect'
- '--odf-console-port=9001'
securityContext:
runAsNonRoot: true
serviceAccountName: odf-operator-controller-manager
terminationGracePeriodSeconds: 10
tolerations:
- effect: NoSchedule
key: node.ocs.openshift.io/storage
operator: Equal
value: 'true'
- name: odf-console
spec:
selector:
matchLabels:
app: odf-console
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: odf-console
spec:
containers:
- image: >-
registry.redhat.io/odf4/odf-console-rhel8@sha256:c45fe368f669b7344385863e0e5d3b004dae69af16f60eabc438cb27b6dd55e6
name: odf-console
ports:
- containerPort: 9001
protocol: TCP
resources:
limits:
cpu: 100m
memory: 512Mi
volumeMounts:
- mountPath: /var/serving-cert
name: odf-console-serving-cert
readOnly: true
tolerations:
- effect: NoSchedule
key: node.ocs.openshift.io/storage
operator: Equal
value: 'true'
volumes:
- name: odf-console-serving-cert
secret:
secretName: odf-console-serving-cert
permissions:
- rules:
- apiGroups:
- ''
resources:
- configmaps
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- ''
resources:
- events
verbs:
- create
- patch
serviceAccountName: odf-operator-controller-manager
strategy: deployment
maintainers:
- email: ocs-support
name: Red Hat Support
description: |
**Red Hat OpenShift Data Foundation** deploys three operators.
### OpenShift Data Foundation operator
The OpenShift Data Foundation operator is the primary operator for
OpenShift Data Foundation. It serves to facilitate the other operators in
OpenShift Data Foundation by performing administrative tasks outside their
scope as well as watching and configuring their CustomResources.
### Rook
[Rook][1] deploys and manages Ceph on OpenShift, which provides block and
file storage.
# Core Capabilities
* **Self-managing service:** No matter which supported storage technologies
you choose, OpenShift Data Foundation ensures that resources can be
deployed and managed automatically.
* **Hyper-scale or hyper-converged:** With OpenShift Data Foundation you
can either build dedicated storage clusters or hyper-converged clusters
where your apps run alongside storage.
* **File, Block, and Object provided by OpenShift Data Foundation:**
OpenShift Data Foundation integrates Ceph with multiple storage
presentations including object storage (compatible with S3), block storage,
and POSIX-compliant shared file system.
* **Your data, protected:** OpenShift Data Foundation efficiently
distributes and replicates your data across your cluster to minimize the
risk of data loss. With snapshots, cloning, and versioning, no more losing
sleep over your data.
* **Elastic storage in your datacenter:** Scale is now possible in your
datacenter. Get started with a few terabytes, and easily scale up.
* **Simplified data management:** Easily create hybrid and multi-cloud data
storage for your workloads, using a single namespace.
[1]: https://rook.io
replaces: odf-operator.v4.9.1
status:
cleanup: {}
conditions:
- lastTransitionTime: '2022-02-23T22:27:35Z'
lastUpdateTime: '2022-02-23T22:27:35Z'
message: requirements not yet checked
phase: Pending
reason: RequirementsUnknown
- lastTransitionTime: '2022-02-23T22:27:36Z'
lastUpdateTime: '2022-02-23T22:27:36Z'
message: 'all requirements found, attempting install'
phase: InstallReady
reason: AllRequirementsMet
- lastTransitionTime: '2022-02-23T22:27:36Z'
lastUpdateTime: '2022-02-23T22:27:36Z'
message: waiting for install components to report healthy
phase: Installing
reason: InstallSucceeded
- lastTransitionTime: '2022-02-23T22:27:36Z'
lastUpdateTime: '2022-02-23T22:27:37Z'
message: >-
installing: waiting for deployment odf-operator-controller-manager to
become ready: deployment "odf-operator-controller-manager" not
available: Deployment does not have minimum availability.
phase: Installing
reason: InstallWaiting
- lastTransitionTime: '2022-02-23T22:28:10Z'
lastUpdateTime: '2022-02-23T22:28:10Z'
message: install strategy completed with no errors
phase: Succeeded
reason: InstallSucceeded
- lastTransitionTime: '2022-02-23T22:28:37Z'
lastUpdateTime: '2022-02-23T22:28:37Z'
message: >-
installing: waiting for deployment odf-operator-controller-manager to
become ready: deployment "odf-operator-controller-manager" not
available: Deployment does not have minimum availability.
phase: Failed
reason: ComponentUnhealthy
- lastTransitionTime: '2022-02-23T22:28:38Z'
lastUpdateTime: '2022-02-23T22:28:38Z'
message: >-
installing: waiting for deployment odf-operator-controller-manager to
become ready: deployment "odf-operator-controller-manager" not
available: Deployment does not have minimum availability.
phase: Pending
reason: NeedsReinstall
- lastTransitionTime: '2022-02-23T22:28:39Z'
lastUpdateTime: '2022-02-23T22:28:39Z'
message: 'all requirements found, attempting install'
phase: InstallReady
reason: AllRequirementsMet
- lastTransitionTime: '2022-02-23T22:28:39Z'
lastUpdateTime: '2022-02-23T22:28:39Z'
message: waiting for install components to report healthy
phase: Installing
reason: InstallSucceeded
- lastTransitionTime: '2022-02-23T22:28:39Z'
lastUpdateTime: '2022-02-23T22:28:39Z'
message: >-
installing: waiting for deployment odf-operator-controller-manager to
become ready: deployment "odf-operator-controller-manager" not
available: Deployment does not have minimum availability.
phase: Installing
reason: InstallWaiting
- lastTransitionTime: '2022-02-23T22:33:38Z'
lastUpdateTime: '2022-02-23T22:33:38Z'
message: install timeout
phase: Failed
reason: InstallCheckFailed
- lastTransitionTime: '2022-02-23T22:33:39Z'
lastUpdateTime: '2022-02-23T22:33:39Z'
message: >-
installing: waiting for deployment odf-operator-controller-manager to
become ready: deployment "odf-operator-controller-manager" not
available: Deployment does not have minimum availability.
phase: Pending
reason: NeedsReinstall
- lastTransitionTime: '2022-02-23T22:33:40Z'
lastUpdateTime: '2022-02-23T22:33:40Z'
message: 'all requirements found, attempting install'
phase: InstallReady
reason: AllRequirementsMet
- lastTransitionTime: '2022-02-23T22:33:41Z'
lastUpdateTime: '2022-02-23T22:33:41Z'
message: waiting for install components to report healthy
phase: Installing
reason: InstallSucceeded
- lastTransitionTime: '2022-02-23T22:33:41Z'
lastUpdateTime: '2022-02-23T22:33:41Z'
message: >-
installing: waiting for deployment odf-operator-controller-manager to
become ready: deployment "odf-operator-controller-manager" not
available: Deployment does not have minimum availability.
phase: Installing
reason: InstallWaiting
lastTransitionTime: '2022-02-23T22:33:41Z'
lastUpdateTime: '2022-02-23T22:33:41Z'
message: >-
installing: waiting for deployment odf-operator-controller-manager to become
ready: deployment "odf-operator-controller-manager" not available:
Deployment does not have minimum availability.
phase: Installing
reason: InstallWaiting
requirementStatus:
- group: apiextensions.k8s.io
kind: CustomResourceDefinition
message: CRD is present and Established condition is true
name: storagesystems.odf.openshift.io
status: Present
uuid: bee3032d-85ec-4f6e-a3e3-0f203da11d59
version: v1
- dependents:
- group: rbac.authorization.k8s.io
kind: PolicyRule
message: >-
namespaced
rule:{"verbs":["get","list","watch","create","update","patch","delete"],"apiGroups":[""],"resources":["configmaps"]}
status: Satisfied
version: v1
- group: rbac.authorization.k8s.io
kind: PolicyRule
message: >-
namespaced
rule:{"verbs":["get","list","watch","create","update","patch","delete"],"apiGroups":["coordination.k8s.io"],"resources":["leases"]}
status: Satisfied
version: v1
- group: rbac.authorization.k8s.io
kind: PolicyRule
message: >-
namespaced
rule:{"verbs":["create","patch"],"apiGroups":[""],"resources":["events"]}
status: Satisfied
version: v1
- group: rbac.authorization.k8s.io
kind: PolicyRule
message: >-
cluster
rule:{"verbs":["create","delete","get","list","patch","update","watch"],"apiGroups":[""],"resources":["services"]}
status: Satisfied
version: v1
- group: rbac.authorization.k8s.io
kind: PolicyRule
message: >-
cluster
rule:{"verbs":["create","get","list","update","watch"],"apiGroups":["apiextensions.k8s.io"],"resources":["customresourcedefinitions"]}
status: Satisfied
version: v1
- group: rbac.authorization.k8s.io
kind: PolicyRule
message: >-
cluster
rule:{"verbs":["create","delete","get","list","patch","update","watch"],"apiGroups":["apps"],"resources":["deployments"]}
status: Satisfied
version: v1
- group: rbac.authorization.k8s.io
kind: PolicyRule
message: >-
cluster
rule:{"verbs":["update"],"apiGroups":["apps"],"resources":["deployments/finalizers"]}
status: Satisfied
version: v1
- group: rbac.authorization.k8s.io
kind: PolicyRule
message: >-
cluster
rule:{"verbs":["create","delete","get","list","patch","update","watch"],"apiGroups":["config.openshift.io"],"resources":["clusterversions"]}
status: Satisfied
version: v1
- group: rbac.authorization.k8s.io
kind: PolicyRule
message: >-
cluster
rule:{"verbs":["update"],"apiGroups":["config.openshift.io"],"resources":["clusterversions/finalizers"]}
status: Satisfied
version: v1
- group: rbac.authorization.k8s.io
kind: PolicyRule
message: >-
cluster
rule:{"verbs":["get","patch","update"],"apiGroups":["config.openshift.io"],"resources":["clusterversions/status"]}
status: Satisfied
version: v1
- group: rbac.authorization.k8s.io
kind: PolicyRule
message: >-
cluster
rule:{"verbs":["*"],"apiGroups":["console.openshift.io"],"resources":["consoleplugins"]}
status: Satisfied
version: v1
- group: rbac.authorization.k8s.io
kind: PolicyRule
message: >-
cluster
rule:{"verbs":["*"],"apiGroups":["console.openshift.io"],"resources":["consolequickstarts"]}
status: Satisfied
version: v1
- group: rbac.authorization.k8s.io
kind: PolicyRule
message: >-
cluster
rule:{"verbs":["create","delete","get","list","patch","update","watch"],"apiGroups":["ocs.openshift.io"],"resources":["storageclusters"]}
status: Satisfied
version: v1
- group: rbac.authorization.k8s.io
kind: PolicyRule
message: >-
cluster
rule:{"verbs":["update"],"apiGroups":["ocs.openshift.io"],"resources":["storageclusters/finalizers"]}
status: Satisfied
version: v1
- group: rbac.authorization.k8s.io
kind: PolicyRule
message: >-
cluster
rule:{"verbs":["get","patch","update"],"apiGroups":["ocs.openshift.io"],"resources":["storageclusters/status"]}
status: Satisfied
version: v1
- group: rbac.authorization.k8s.io
kind: PolicyRule
message: >-
cluster
rule:{"verbs":["create","delete","get","list","patch","update","watch"],"apiGroups":["odf.ibm.com"],"resources":["flashsystemclusters"]}
status: Satisfied
version: v1
- group: rbac.authorization.k8s.io
kind: PolicyRule
message: >-
cluster
rule:{"verbs":["create","delete","get","list","patch","update","watch"],"apiGroups":["odf.openshift.io"],"resources":["storagesystems"]}
status: Satisfied
version: v1
- group: rbac.authorization.k8s.io
kind: PolicyRule
message: >-
cluster
rule:{"verbs":["update"],"apiGroups":["odf.openshift.io"],"resources":["storagesystems/finalizers"]}
status: Satisfied
version: v1
- group: rbac.authorization.k8s.io
kind: PolicyRule
message: >-
cluster
rule:{"verbs":["get","patch","update"],"apiGroups":["odf.openshift.io"],"resources":["storagesystems/status"]}
status: Satisfied
version: v1
- group: rbac.authorization.k8s.io
kind: PolicyRule
message: >-
cluster
rule:{"verbs":["create","delete","get","list","patch","update","watch"],"apiGroups":["operators.coreos.com"],"resources":["catalogsources"]}
status: Satisfied
version: v1
- group: rbac.authorization.k8s.io
kind: PolicyRule
message: >-
cluster
rule:{"verbs":["create","delete","get","list","patch","update","watch"],"apiGroups":["operators.coreos.com"],"resources":["clusterserviceversions"]}
status: Satisfied
version: v1
- group: rbac.authorization.k8s.io
kind: PolicyRule
message: >-
cluster
rule:{"verbs":["update"],"apiGroups":["operators.coreos.com"],"resources":["clusterserviceversions/finalizers"]}
status: Satisfied
version: v1
- group: rbac.authorization.k8s.io
kind: PolicyRule
message: >-
cluster
rule:{"verbs":["create","delete","get","list","patch","update","watch"],"apiGroups":["operators.coreos.com"],"resources":["installplans"]}
status: Satisfied
version: v1
- group: rbac.authorization.k8s.io
kind: PolicyRule
message: >-
cluster
rule:{"verbs":["create","delete","get","list","patch","update","watch"],"apiGroups":["operators.coreos.com"],"resources":["subscriptions"]}
status: Satisfied
version: v1
- group: rbac.authorization.k8s.io
kind: PolicyRule
message: >-
cluster
rule:{"verbs":["update"],"apiGroups":["operators.coreos.com"],"resources":["subscriptions/finalizers"]}
status: Satisfied
version: v1
- group: rbac.authorization.k8s.io
kind: PolicyRule
message: >-
cluster
rule:{"verbs":["get","patch","update"],"apiGroups":["operators.coreos.com"],"resources":["subscriptions/status"]}
status: Satisfied
version: v1
- group: rbac.authorization.k8s.io
kind: PolicyRule
message: >-
cluster
rule:{"verbs":["create"],"apiGroups":["authentication.k8s.io"],"resources":["tokenreviews"]}
status: Satisfied
version: v1
- group: rbac.authorization.k8s.io
kind: PolicyRule
message: >-
cluster
rule:{"verbs":["create"],"apiGroups":["authorization.k8s.io"],"resources":["subjectaccessreviews"]}
status: Satisfied
version: v1
group: ''
kind: ServiceAccount
message: ''
name: odf-operator-controller-manager
status: Present
version: v1
% oc get operators -A -o wide
NAME AGE
mcg-operator.openshift-storage 3m21s
ocs-operator.openshift-storage 3m21s
odf-operator.openshift-storage 3m53s
% oc get csv odf-operator.v4.9.2 -o yaml -n openshift-storage| grep full_version
full_version: 4.9.2-11
% oc get csv ocs-operator.v4.9.2 -o yaml -n openshift-storage| grep full_version
full_version: 4.9.2-11
% oc describe storagesystem ocs-storagecluster-storagesystem -n openshift-storage
Name: ocs-storagecluster-storagesystem
Namespace: openshift-storage
Labels: <none>
Annotations: <none>
API Version: odf.openshift.io/v1alpha1
Kind: StorageSystem
Metadata:
Creation Timestamp: 2022-02-23T22:28:16Z
Finalizers:
storagesystem.odf.openshift.io
Generation: 1
Managed Fields:
API Version: odf.openshift.io/v1alpha1
Fields Type: FieldsV1
fieldsV1:
f:spec:
.:
f:kind:
f:name:
f:namespace:
Manager: Mozilla
Operation: Update
Time: 2022-02-23T22:28:16Z
API Version: odf.openshift.io/v1alpha1
Fields Type: FieldsV1
fieldsV1:
f:metadata:
f:finalizers:
.:
v:"storagesystem.odf.openshift.io":
Manager: manager
Operation: Update
Time: 2022-02-23T22:28:16Z
API Version: odf.openshift.io/v1alpha1
Fields Type: FieldsV1
fieldsV1:
f:status:
.:
f:conditions:
Manager: manager
Operation: Update
Subresource: status
Time: 2022-02-23T22:28:16Z
Resource Version: 198670
UID: 7ca83df0-a88b-45e7-af99-3ee0b93c15ce
Spec:
Kind: storagecluster.ocs.openshift.io/v1
Name: ocs-storagecluster
Namespace: openshift-storage
Status:
Conditions:
Last Heartbeat Time: 2022-02-23T22:28:26Z
Last Transition Time: 2022-02-23T22:28:16Z
Message: Reconcile is in progress
Reason: Reconciling
Status: False
Type: Available
Last Heartbeat Time: 2022-02-23T22:28:26Z
Last Transition Time: 2022-02-23T22:28:16Z
Message: Reconcile is in progress
Reason: Reconciling
Status: True
Type: Progressing
Last Heartbeat Time: 2022-02-23T22:28:26Z
Last Transition Time: 2022-02-23T22:28:16Z
Message: StorageSystem CR is valid
Reason: Valid
Status: False
Type: StorageSystemInvalid
Last Heartbeat Time: 2022-02-23T22:28:26Z
Last Transition Time: 2022-02-23T22:28:16Z
Message: CSV is not successfully installed
Reason: NotReady
Status: False
Type: VendorCsvReady
Last Heartbeat Time: 2022-02-23T22:28:16Z
Last Transition Time: 2022-02-23T22:28:16Z
Message: Initializing StorageSystem
Reason: Init
Status: Unknown
Type: VendorSystemPresent
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning ReconcileFailed 5m6s StorageSystem controller CSV is not successfully installed
|