Bug 2076277
| Summary: | [RFE] [OCPonRHV] Add storage domain ID valueto Compute/ControlPlain section in the machine object | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Evgeny Slutsky <eslutsky> |
| Component: | Cloud Compute | Assignee: | OCP on RHV Team <ocprhvteam> |
| Cloud Compute sub component: | oVirt Provider | QA Contact: | michal <mgold> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | high | ||
| Priority: | high | CC: | mburman |
| Version: | 4.11 | Keywords: | FutureFeature |
| Target Milestone: | --- | ||
| Target Release: | 4.11.0 | ||
| 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: | 2022-08-10 11:07:26 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: | |||
|
Description
Evgeny Slutsky
2022-04-18 14:17:04 UTC
this feature can be tested by patching the machineset with second storage_domain_id and scaleup.
Patch the machineset
machineset=$(oc get machinesets -n openshift-machine-api -o template --template '{{range.items}}{{.metadata.name}}{{"\n"}}{{end}}')
oc patch machineset $machineset --type='merge' --patch='{"spec": { "template": { "spec": { "providerSpec": { "value": { "storage_domain_id": "storage_domain_uuid-2"}}}}}}' -n openshift-machine-api
Scale up
oc scale machineset $machineset --replicas=4 -n openshift-machine-api
verify that the new worker disks are placed on the second SD.
ocp version:4.11.0-0.nightly-2022-05-07-161754 steps: 1) create machineset with storage_id of different storage domain 2) verify that machine will created succesfully on different sd. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: OpenShift Container Platform 4.11.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:5069 |