Description of problem: Allow the user to specify the storage domain for the MahcineSet machines Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
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