Bug 828721

Summary: ovirt-engine-backend: wrong error when trying to remove a template disk from the disk tab
Product: Red Hat Enterprise Virtualization Manager Reporter: Dafna Ron <dron>
Component: ovirt-engineAssignee: Asaf Shakarchi <asaf>
Status: CLOSED DUPLICATE QA Contact: Dafna Ron <dron>
Severity: medium Docs Contact:
Priority: high    
Version: 3.1.0CC: amureini, dyasny, ecohen, hateya, iheim, lpeer, Rhev-m-bugs, yeylon, ykaul
Target Milestone: ---   
Target Release: 3.1.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-04 14:18:27 UTC 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:
Attachments:
Description Flags
log none

Description Dafna Ron 2012-06-05 09:14:13 UTC
Created attachment 589445 [details]
log

Description of problem:

trying to remove a template disk from the disk tab will give the following error: 

Error: Cannot remove Virtual Machine Disk. Provided wrong storage domain, which is not related to disk.

2012-06-02 12:08:09,427 WARN  [org.ovirt.engine.core.bll.RemoveDiskCommand] (http--0.0.0.0-8080-4) CanDoAction of action RemoveDisk failed. Reasons:VAR__ACTION__REMOVE,VAR__TYPE__VM_DISK,ACTION_TYPE_FAILED_STOARGE_DOMAIN_IS_WRONG



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

si4

How reproducible:

100%

Steps to Reproduce:
1. try to remove a template disk from the disk tab
2.
3.
  
Actual results:

we cannot remove disk with incorrect error

Expected results:

we should get a correct CanDoAction

Additional info:

Comment 1 Asaf Shakarchi 2012-07-04 14:18:27 UTC

*** This bug has been marked as a duplicate of bug 833420 ***