Bug 2137791 - [DDF] We have an error here as the rule cannot be created until the buckets in the CRUSH map are not properly defined.
Summary: [DDF] We have an error here as the rule cannot be created until the buckets i...
Keywords:
Status: CLOSED DUPLICATE of bug 2137837
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: documentation
Version: 4.11
Hardware: All
OS: All
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Olive Lakra
QA Contact: Neha Berry
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-26 08:13 UTC by Direct Docs Feedback
Modified: 2023-08-09 16:43 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-12-01 06:40:07 UTC
Embargoed:


Attachments (Terms of Use)

Description Direct Docs Feedback 2022-10-26 08:13:17 UTC
We have an error here as the rule cannot be created until the buckets in the CRUSH map are not properly defined. So, before injecting the CRUSH map with the new stretch_rule, you have to create DC1 and DC2 buckets:

ceph osd crush add-bucket allDC root
ceph osd crush add-bucket DC1 datacenter
ceph osd crush add-bucket DC2 datacenter
ceph osd crush move DC1 root=allDC
ceph osd crush move DC2 root=allDC

Finally, you have to move your host  under the proper bucket in the CRUSH map:

ceph osd crush move ceph1 datacenter=DC1

Once everything is ready, you can inject the CRUSH map in the cluster with the new stretch_rule.

Thanks. Regards

Reported by: ddomingu

https://access.redhat.com/documentation/en-us/red_hat_openshift_data_foundation/4.11/html/configuring_openshift_data_foundation_disaster_recovery_for_openshift_workloads/metro-dr-solution#annotations:cf1e128a-e394-4e3e-8854-38323130eec9


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