Bug 890525 - RHEVM-CLI: Wrong error message when trying to add disk with empty storage domain [TEXT]
Summary: RHEVM-CLI: Wrong error message when trying to add disk with empty storage dom...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-cli
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.2.0
Assignee: Michael Pasternak
QA Contact: Ilia Meerovich
URL:
Whiteboard: infra
Depends On:
Blocks: 915537
TreeView+ depends on / blocked
 
Reported: 2012-12-27 14:24 UTC by Oded Ramraz
Modified: 2016-02-10 19:20 UTC (History)
9 users (show)

Fixed In Version: SF4
Doc Type: Bug Fix
Doc Text:
An 'unknown error' message was displayed if the incorrect syntax was used when adding a disk. The message was displayed when the storage domain value was empty. The message now indicates that it is a syntax error and where the error is occurring. It also suggests the relevant help topic to view.
Clone Of:
Environment:
Last Closed: 2013-06-10 20:30:00 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0890 0 normal SHIPPED_LIVE rhevm-cli bug fix and enhancement update 2013-06-11 00:24:57 UTC
oVirt gerrit 10679 0 None None None Never

Description Oded Ramraz 2012-12-27 14:24:04 UTC
Description of problem:

Wrong error message when trying to add disk with empty storage domain:
"'NoneType' object has no attribute 'split'"


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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

[RHEVM shell (connected)]# add disk --name oded --format cow --interface ide --size 12 --storage_domains-storage_domain

unknown error: 'NoneType' object has no attribute 'split'

Comment 1 Michael Pasternak 2013-01-06 11:38:19 UTC
http://gerrit.ovirt.org/#/c/10679/

Comment 2 Oded Ramraz 2013-02-06 10:30:38 UTC
[RHEVM shell (connected)]# add disk --name oded --format cow --interface ide --size 12 --storage_domains-storage_domain


error: invalid syntax at "--storage_domains-storage_domain", see help on collection based arguments for more details.


Verified sf5

Comment 3 errata-xmlrpc 2013-06-10 20:30:00 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, and where to find the updated
files, follow the link below.

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

http://rhn.redhat.com/errata/RHBA-2013-0890.html


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