Bug 966661 - [REST-API] : "host_id" and "host_name" are not on the autocompletion list for 'update storagedomain'
Summary: [REST-API] : "host_id" and "host_name" are not on the autocompletion list for...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-restapi
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.3.0
Assignee: Ravi Nori
QA Contact: Meital Bourvine
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-23 15:51 UTC by Katarzyna Jachim
Modified: 2016-02-10 20:21 UTC (History)
11 users (show)

Fixed In Version: is2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 15166 0 None None None Never

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


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