Bug 1796980
| Summary: | [GSS] [RFE] Provide a way to provision rook/ceph on bare metal nodes with differing physical device paths | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Container Storage | Reporter: | Brian Ward <bward> |
| Component: | installation | Assignee: | Sébastien Han <shan> |
| Status: | CLOSED WORKSFORME | QA Contact: | Petr Balogh <pbalogh> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.2 | CC: | assingh, bkunal, hnallurv, madam, ocs-bugs, ratamir, sabose, sostapov |
| Target Milestone: | --- | Keywords: | FutureFeature |
| 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: | 2020-06-02 14:58:30 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1841422 | ||
|
Description
Brian Ward
2020-01-31 16:38:45 UTC
This is certainly something we should tackle, but is out of scope for OCS 4.3. Moving to 4.4. It appears "official" documentation is now available: https://access.redhat.com/documentation/en-us/red_hat_openshift_container_storage/4.3/html/deploying_openshift_container_storage/deploying-openshift-container-storage#creating-openshift-container-storage-cluster-on-bare-metal_rhocs The following example LocalVolume config worked perfectly, picking up the specific devicePath on each hostname where it was available on that hostname. Clearly this approach would not work with traditional device paths such as "/dev/sda" apiVersion: local.storage.openshift.io/v1 kind: LocalVolume metadata: name: ocs-backing namespace: local-storage spec: logLevel: Normal managementState: Managed nodeSelector: nodeSelectorTerms: - matchExpressions: - key: kubernetes.io/hostname operator: In values: - 10.194.150.196 - 10.194.150.201 - 10.194.150.204 storageClassDevices: - devicePaths: - /dev/disk/by-id/scsi-3600605b000ac67d02642f5990340a0e6 - /dev/disk/by-id/scsi-3600605b00b5982502642ac600341c0bb - /dev/disk/by-id/scsi-3600605b00b597c202642ac890342e043 storageClassName: local-ocs-backing volumeMode: Block sounds we're waiting for the customer to confirm that the documented procedure works for them. Moving the BZ to 4.5 while we wait for the confirmation. (In reply to Brian Ward from comment #7) > It appears "official" documentation is now available: > > https://access.redhat.com/documentation/en-us/ > red_hat_openshift_container_storage/4.3/html/ > deploying_openshift_container_storage/deploying-openshift-container- > storage#creating-openshift-container-storage-cluster-on-bare-metal_rhocs > > The following example LocalVolume config worked perfectly, picking up the > specific devicePath on each hostname where it was available on that > hostname. Clearly this approach would not work with traditional device > paths such as "/dev/sda" Those traditional devices are not safe. They may change after boot. You also have very little guarantee they are the same across nodes. I'm closing this for the time being. Please re-open if this needs further discussion. |