Bug 890525

Summary: RHEVM-CLI: Wrong error message when trying to add disk with empty storage domain [TEXT]
Product: Red Hat Enterprise Virtualization Manager Reporter: Oded Ramraz <oramraz>
Component: ovirt-engine-cliAssignee: Michael Pasternak <mpastern>
Status: CLOSED ERRATA QA Contact: Ilia Meerovich <iliam>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: bazulay, cboyle, dyasny, ecohen, iheim, oramraz, Rhev-m-bugs, sgrinber, ykaul
Target Milestone: ---   
Target Release: 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-10 20:30:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 915537    

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