Bug 1898828
Summary: | [Doc RFE] Document how to migrate local storage during upgrade from OCS 4.x to OCS 4.6 | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat OpenShift Container Storage | Reporter: | Laura Bailey <lbailey> |
Component: | documentation | Assignee: | Laura Bailey <lbailey> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Pratik Surve <prsurve> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.6 | CC: | asriram, bkunal, edonnell, nberry, ocs-bugs, rgeorge, rojoseph |
Target Milestone: | --- | Keywords: | Documentation, FutureFeature |
Target Release: | OCS 4.6.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1882217 | Environment: | |
Last Closed: | 2021-08-25 14:55:11 UTC | Type: | --- |
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: | 1882217 | ||
Bug Blocks: | 1880905 |
Comment 3
Rohan CJ
2020-11-19 07:24:33 UTC
Looks really good overall! Some changes required based on recent discussions. A) > apiVersion: local.storage.openshift.io/v1alpha1 > kind: LocalVolumeDiscovery > metadata: > name: auto-discover-devices > spec: > nodeSelector: > nodeSelectorTerms: > - matchExpressions: > - key: cluster.ocs.openshift.io/openshift-storage > operator: Exists Had some discussion today, and it turns out we need to amend the selector like this: apiVersion: local.storage.openshift.io/v1alpha1 kind: LocalVolumeDiscovery metadata: name: auto-discover-devices spec: nodeSelector: nodeSelectorTerms: - matchExpressions: - key: kubernetes.io/hostname operator: In values: - worker1 - worker2 - worker3 B) i) the indentation didn't render properly: > models: # list of models to allow > - SAMSUNG - Crucial_CT525MX3 ii) Similarly to A), for LocalVolumeSet, we need to change the selector format: > 5.1.1.2. Creating a LocalVolumeSet custom resource using the command line apiVersion: local.storage.openshift.io/v1alpha1 kind: LocalVolumeSet metadata: name: localblock spec: nodeSelector: nodeSelectorTerms: - matchExpressions: - key: kubernetes.io/hostname operator: In values: - worker1 - worker2 - worker3 iii) please change the default minSize to 50G, and add a note at the bottom saying: "select a reasonable minSize to avoid to possibility of system partitions being included" > minSize: 10G iv) Please add "optional" to the comment next to the "models" and "vendors" fields C) > Persistent volumes nitpick: I think this should be PeristentVolumes to indicate that they are a type. D) > Verification steps please replace "minikube" with "ip-10-0-147-124.us-east-2.compute.internal" to make it seem like these examples came from an OpenShift node > Events: > Type Reason Age From Message > ---- ------ ---- ---- ------- > Normal Discovered 2m30s (x4 localvolumeset- minikube - found possible > NewDevice over 2m30s) symlink-controller matching disk, waiting > 1m0s to claim > Normal FoundMatch 89s (x4 localvolumeset- minikube - symlinking > ingDisk over 89s) symlink-controller matching disk > > please change the default minSize to 50G, and add a note at the bottom saying: "select a reasonable minSize to avoid to possibility of system partitions being included" this is to WA https://bugzilla.redhat.com/show_bug.cgi?id=1897050 no fix is planned for this bug, just similar OCP documentation Also, are the references to this guide from the Replace and Scale guides going to be in a different bug? |