Bug 966661

Summary: [REST-API] : "host_id" and "host_name" are not on the autocompletion list for 'update storagedomain'
Product: Red Hat Enterprise Virtualization Manager Reporter: Katarzyna Jachim <kjachim>
Component: ovirt-engine-restapiAssignee: Ravi Nori <rnori>
Status: CLOSED CURRENTRELEASE QA Contact: Meital Bourvine <mbourvin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: acanan, acathrow, bazulay, iheim, jkt, ncredi, nlevinki, oramraz, Rhev-m-bugs, scohen, yeylon
Target Milestone: ---   
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: is2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 Katarzyna Jachim 2013-05-23 15:51:50 UTC
Description of problem:

Autocompletion list for 'update storagedomain':
correlation_id name storage-logical_unit storage-override_luns

However, one of the parameters host_id and host_name is required, at least when I try to update iSCSI storage domain:

2013-05-17 03:36:21,993 - MainThread? - storagedomains - WARNING - Actual command after validation:
update storagedomain iscsiStorageTest_data_domain_0 --storage-logical_unit "logical_unit.target=iqn.2008-05.com.xtremio:001e675b8ee0,logical_unit.port=3260,logical_unit.address=10.35.160.7,logical_unit.id=3514f0c542a0014ff"
2013-05-17 03:36:22,530 - MainThread? - storagedomains - ERROR - Failed to update a new element, details: ('Command Failed:', u'status: 400', u'reason: Bad Request', u'detail: StorageDomain? [host.id|name] required for extendStorageDomain ')

Version-Release number of selected component (if applicable): sf17

Comment 1 Meital Bourvine 2013-07-17 15:04:00 UTC
[RHEVM shell (connected)]# update storagedomain
correlation_id         host-id                host-name              name                   storage-logical_unit   storage-override_luns

Comment 2 Itamar Heim 2014-01-21 22:23:28 UTC
Closing - RHEV 3.3 Released

Comment 3 Itamar Heim 2014-01-21 22:24:33 UTC
Closing - RHEV 3.3 Released

Comment 4 Itamar Heim 2014-01-21 22:28:12 UTC
Closing - RHEV 3.3 Released