Bug 2076277 - [RFE] [OCPonRHV] Add storage domain ID valueto Compute/ControlPlain section in the machine object
Summary: [RFE] [OCPonRHV] Add storage domain ID valueto Compute/ControlPlain section i...
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cloud Compute
Version: 4.11
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.11.0
Assignee: OCP on RHV Team
QA Contact: michal
Depends On:
TreeView+ depends on / blocked
Reported: 2022-04-18 14:17 UTC by Evgeny Slutsky
Modified: 2022-08-10 11:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2022-08-10 11:07:26 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift cluster-api-provider-ovirt pull 133 0 None open Bug 2076277: add Storage Domain Configuration to the machineset 2022-04-18 14:41:41 UTC
Red Hat Issue Tracker OCPRHV-608 0 None None None 2022-04-18 14:18:33 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:07:44 UTC

Description Evgeny Slutsky 2022-04-18 14:17:04 UTC
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:

Actual results:

Expected results:

Additional info:

Comment 1 Evgeny Slutsky 2022-04-18 14:17:21 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.

Comment 4 michal 2022-05-16 12:48:59 UTC
ocp version:4.11.0-0.nightly-2022-05-07-161754
1) create machineset with storage_id of different storage domain
2) verify that machine will created succesfully on different sd.

Comment 6 errata-xmlrpc 2022-08-10 11:07:26 UTC
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.


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