Bug 1114431 - OVF_STORE disks shows wrong Error msg on remove
Summary: OVF_STORE disks shows wrong Error msg on remove
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: 3.5
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 3.5.0
Assignee: Liron Aravot
QA Contact: Gal Amado
URL:
Whiteboard: storage
: 1115354 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-30 05:20 UTC by Gal Amado
Modified: 2016-02-10 19:31 UTC (History)
9 users (show)

Fixed In Version: ovirt-3.5.0_rc1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-17 12:38:32 UTC
oVirt Team: Storage
Embargoed:


Attachments (Terms of Use)
engine log file (2.77 MB, text/x-log)
2014-06-30 05:20 UTC, Gal Amado
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 30543 0 master MERGED core: make message ovf store specific Never
oVirt gerrit 30564 0 ovirt-engine-3.5 MERGED core: make message ovf store specific Never

Description Gal Amado 2014-06-30 05:20:57 UTC
Created attachment 913251 [details]
engine log file

Description of problem:
When trying to remove a OVF_STORE disk:

from the web-GUI, the operation fails, and "removing disk" window is running forever.

From rest API, we get an irrelevant error msg.   


Version-Release number of selected component (if applicable):oVirt Engine Version: 3.5.0-0.0.master.20140605145557.git3ddd2de.el6

How reproducible: happens all the time 


Steps to Reproduce:

web GUI :
1.basic configuration of Datacenter , clusture , storage , disks and a vm.
2.from disk tab chose one of the "OVF_STORE" disk .
3.right click -> click remove.
4. the window run forever.

REST API:
1.basic configuration of Datacenter , clusture , storage , disks and a vm.
2.send a DELETE command to /api/disks/{diskID}.

Actual results:
[Cannot remove Virtual Machine Disk. The operation can be performed only for disks that are in OK status.]</detail>

when sending GET command to /api/disks/{diskID} we get "ok" status:
<status>
<state>ok</state>
</status>


Expected results:
Some other meaningful msg, since the status is OK

Additional info:

Comment 1 Liron Aravot 2014-07-21 14:24:40 UTC
*** Bug 1115354 has been marked as a duplicate of this bug. ***

Comment 2 Gal Amado 2014-08-07 13:18:14 UTC
oVirt Engine Version: 3.5.0-0.0.master.20140804172041.git23b558e.el6

Got a proper error msg,

from GUI : 
Error while executing action: Cannot remove Virtual Machine Disk. The operation can be performed only for OVF disks that are in ILLEGAL status.

From rest :
<fault>
<reason>Operation Failed</reason>
<detail>[Cannot remove Virtual Machine Disk. The operation can be performed only for OVF disks that are in ILLEGAL status.]</detail>
</fault>

Comment 3 Sandro Bonazzola 2014-10-17 12:38:32 UTC
oVirt 3.5 has been released and should include the fix for this issue.


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