Bug 2263826

Summary: [UI][provider-client] No groups showed on topology - zones, racks
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Daniel Osypenko <dosypenk>
Component: documentationAssignee: Anjana Suparna Sriram <asriram>
Status: NEW --- QA Contact: Neha Berry <nberry>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.14CC: mparida, nigoyal, odf-bz-bot, skatiyar
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:

Comment 2 Sanjal Katiyar 2024-02-12 10:29:28 UTC
(In reply to Daniel Osypenko from comment #0)
> On provider-client mode the Topology does not show rack/zone.
> Also there is no zone/rack on node details.
> We already closed similar bug https://bugzilla.redhat.com/show_bug.cgi?id=2178588

This is different from BZ#2178588. Nodes need to have 'topology.kubernetes.io/zone' or 'topology.rook.io/rack' label, for it to get reported on the UI. Since it has none (from the YAML snippet shared in the description), we won't see it on "Topology" page as well.

@Daniel is it BareMetal + LSO + Provider mode Cluster or StorageSystem ??

@Nitin shouldn't OCS operator add the "rack" label to the nodes automatically ??

Comment 3 Malay Kumar parida 2024-02-12 12:02:49 UTC
Yeah, the expectation is if the default failure domain is rack, and when rack is set the failure domain the nodes are labeled with the rack labels.

Comment 4 Sanjal Katiyar 2024-02-12 12:08:25 UTC
(In reply to Malay Kumar parida from comment #3)
> Yeah, the expectation is if the default failure domain is rack, and when
> rack is set the failure domain the nodes are labeled with the rack labels.

@Daniel plz share StorageCluster YAML as well.

Comment 6 Sanjal Katiyar 2024-02-12 12:59:14 UTC
This is a "flexibleScaling" deployment, each node is an individual group in itself (i.e., a "host"). There should not be any grouping based on "rack" or "zone" here. "Topology" page and OCS operator are working as expected.

Comment 7 Sanjal Katiyar 2024-02-12 13:09:34 UTC
Is there anything else that is expected from this BZ ?? else we can close it as not a bug.

Comment 8 Daniel Osypenko 2024-02-12 13:38:47 UTC
to document this exclusion. If "flexibleScaling" deployment - no grouping based on "rack" or "zone" expected.
@skatiyar

Comment 9 Sanjal Katiyar 2024-02-12 14:05:26 UTC
I am moving this BZ to the doc team, in case we have any relevant place where we can add this note for the "Topology" view UI (assuming we really need to add it).
But, this is not an edge case or something, this is expected behaviour (flexibleScaling is not a new feature).
Unless we manually add the labels to the nodes (for whatever reason), we won't see the grouping on the UI as well in this case.