Bug 2304241 - [UI] All storage consumer details are not displaying properly in Storage Clients page [NEEDINFO]
Summary: [UI] All storage consumer details are not displaying properly in Storage Clie...
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: documentation
Version: 4.17
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Erin Donnelly
QA Contact: Amrita Mahapatra
URL:
Whiteboard: isf-provider
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-08-13 06:12 UTC by Amrita Mahapatra
Modified: 2024-10-18 09:51 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:
lgangava: needinfo? (ammahapa)
resoni: needinfo? (kbg)
edonnell: needinfo? (nberry)


Attachments (Terms of Use)
All storage consumer details are not displaying properly (199.20 KB, application/zip)
2024-08-13 06:12 UTC, Amrita Mahapatra
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OCSBZM-8853 0 None None None 2024-08-26 10:49:40 UTC

Description Amrita Mahapatra 2024-08-13 06:12:55 UTC
Created attachment 2044043 [details]
All storage consumer details are not displaying properly

Created attachment 2044043 [details]
All storage consumer details are not displaying properly

Created attachment 2044043 [details]
All storage consumer details are not displaying properly.

Description of problem (please be detailed as possible and provide log
snippests):
All storage consumer details are not displaying properly in Storage Clients page. Only 3 storage consumer details are displaying properly rest of the storage consumers are not displaying properly. Rest of the lines are not displaying properly only storage quota is displayed rest of the fields are showing as '-'

> oc get storageconsumers -A
NAMESPACE           NAME                                                   AGE
openshift-storage   storageconsumer-52b50f80-5e8e-4a9e-9af4-c91fb4a92aca   20h
openshift-storage   storageconsumer-741d23c3-dd07-44b6-aecf-e9854900ea4f   21h
openshift-storage   storageconsumer-a3dff1bb-3668-4c9e-a470-482cabd6d1b0   19h
openshift-storage   storageconsumer-dd648ea8-6803-40f1-8e18-68ff12875393   4m33s
openshift-storage   storageconsumer-fa3be335-5d10-44b8-98f1-fd7b6893a0f8   19h


Version of all relevant components (if applicable):
OCP: 4.17.0-ec.2
ODF: v4.17.0-65.stable

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)? No


Is there any workaround available to the best of your knowledge? No


Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)? 1


Can this issue reproducible? Yes


Can this issue reproduce from the UI? Yes


If this is a regression, please provide more details to justify this: NA


Steps to Reproduce:
1. Create a Provider cluster
2. Add hosted cluster to it
3. Create storageclients on the hosted clusters
4. Check in Provider web console Storage-->Storage Clients page


Actual results:
For 3 storage consumer details are showing properly rest are not displaying properly only storage quota is displayed rest of the fields are showing as '-'

Expected results:
All the storage consumers details should display properly.

Additional info: Attached screenshot of Storage clients page

Comment 5 Sanjal Katiyar 2024-08-14 08:21:24 UTC
(In reply to Sanjal Katiyar from comment #4)
> Amrita, can u plz upload YAMLs for all 5 "StorageConsumer" CRs ??

Removing the need_info, I found a cluster and pasting the YAML for one of the "StorageConsumer" CR, which is displaying "-" on the UI:

```
apiVersion: ocs.openshift.io/v1alpha1
kind: StorageConsumer
metadata:
  annotations:
    ocs.openshift.io/provider-onboarding-ticket: eyJpZCI6IjI5NzA3Mzg0LTE1OGQtNDAzMy04ODI0LTUzZDBjYzhhMjYyZSIsImV4cGlyYXRpb25EYXRlIjoiMTcyMzcyNjIwNiIsInN0b3JhZ2VRdW90YUluR2lCIjo0fQ==.EAYpzoZzbEGoX2OzqGXFUd7FcLDnD4eZznM1zpVMGHkzHavffYd4E4hzrOEudvEzzp22efvw6DFfZVvI7zfSIcsHh0DXp8DGqqYwvVtoSA6ZGG/bTCUUpZ6b42EssMMxHP6b7uVSko+IH5wI47Ty3GhjzIrno/v+RqLc0CZvdHGHuDOF01O8ueC5Tq5E1o+IFef65/seU2jO39BjrN7GjyYPBGgbqps1JEjJfaXnFsvn4Q8LhgcEq0W23w9Pasy2PYzr1RXTKecUsWE8/L814s8Mr/ipIYJorp1wZZG4fet0MDPhO7Kw4H7VzcIi8kFBBLb9vvOGkAblYdDrH2XM2WaPEg+aUSGQficBrpd756I4PfvaAh51zU6YfxtHFNbarlqrrzCpLsH+kFDLKspoEYCU6R/PmA9sObWmv48FSmy5rqrFlhZuquHrq06k8mfqSNqaZqcYXhuW5ftURJXlIdnYTjACFbqDHmXivEGilGZvgHo9SR0+tWwCyz/6KiWOcujKI84BFnj56A7B3dW8fX1b/t7GHaeKQcmuk98V1RUR4z5kQRn0MUhxWYyqSXYcAlXzEduBieMemTlQ5jXSDwrSZ+lBDpJ3VGlRZ8oIRkw9+b36owoBu+saD6+P4TtYLA3fydHFa9FutdEMEgbYX519efNk/WbPb7ddOM96t4Y=
  name: storageconsumer-dd648ea8-6803-40f1-8e18-68ff12875393
  namespace: openshift-storage
  resourceVersion: '12945229'
  uid: 87765310-8ba6-4915-8050-9b33e646b458
spec:
  enable: true
  storageQuotaInGiB: 7
status:
  cephResources:
    - kind: CephClient
      name: 4ed0a28863159163dae9414811c5008e
      status: Ready
  client: {}
  state: Ready
```

Notice that "status" has empty "client" and missing fields like "lastHeartbeat" etc, that's why UI displays "-" by default.

This is either a case of an incorrect configuration while onboarding the client or some operator bug. For starters I am moving this to ocs-operator, assuming issue is on the provider side, we can take it forward from there.


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