Bug 1514942

Summary: Add option to specify the host when uploading an image via the API
Product: [oVirt] ovirt-engine Reporter: Allon Mureinik <amureini>
Component: RestAPIAssignee: Daniel Erez <derez>
Status: CLOSED CURRENTRELEASE QA Contact: Avihai <aefrat>
Severity: high Docs Contact:
Priority: high    
Version: 4.2.0CC: bugs, ratamir, trichard
Target Milestone: ovirt-4.2.0Keywords: Improvement
Target Release: ---Flags: rule-engine: ovirt-4.2+
ratamir: testing_plan_complete-
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
This release adds the ability to specify a host in the ImageTransfer entity. This is useful if you prefer to use a specific host for uploading.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-20 11:34:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Allon Mureinik 2017-11-19 15:31:52 UTC
Description of problem:
org.ovirt.engine.core.bll.storage.StorageHandlingCommandBase#initializeVds picks a random active host if not host is supplied (as is, e.g., by the GUI).

For performance considerations, REST API users may also want to select a specific host.

Comment 1 Avihai 2017-12-07 13:23:43 UTC
verified on 4.2.0-0.6.el7

Comment 2 Sandro Bonazzola 2017-12-20 11:34:50 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.