Bug 1024887

Summary: [engine-webadmin] [external-provider] [text] inappropriate text message on UI when trying to export a disk twice to glance storage domain
Product: Red Hat Enterprise Virtualization Manager Reporter: Elad <ebenahar>
Component: ovirt-engine-webadmin-portalAssignee: Maor <mlipchuk>
Status: CLOSED CURRENTRELEASE QA Contact: Elad <ebenahar>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acanan, acathrow, amureini, ecohen, iheim, mlipchuk, Rhev-m-bugs, scohen, yeylon
Target Milestone: ---   
Target Release: 3.3.0   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: is22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-21 22:13:44 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:
Bug Depends On:    
Bug Blocks: 1032811    
Attachments:
Description Flags
engine.log and screenshot none

Description Elad 2013-10-30 14:45:49 UTC
Created attachment 817474 [details]
engine.log and screenshot

Description of problem:
related https://bugzilla.redhat.com/show_bug.cgi?id=1024883

When user tries to export disk twice, one after another to glance storage domain, we are getting a message on UI:
"Error while executing action:
ACTION_TYPE_FAILED_DISK_IS_BEING_EXPORTED"

Version-Release number of selected component (if applicable):
rhevm-3.3.0-0.28.beta1.el6ev.noarch
rhevm-webadmin-portal-3.3.0-0.28.beta1.el6ev.noarch

How reproducible:
50%

Steps to Reproduce:
1. add glance as an external provider to RHEVM
2. create a new disk in RHEV
3. export the disk to glance storage domain and immediately, export it again 



Expected results:
The message should be presented in appropriate form. 

Additional info:
engine.log and screenshot

Comment 1 Elad 2013-11-18 13:39:46 UTC
I'm getting a proper error message when trying to export a disk to glance domain for the second time while the disk is being exported. 

"Error while executing action: Cannot export Virtual Machine Disk: The following disks are locked: iscs4-1_Disk1. Please try again in a few minutes."

Verified on is23
rhevm-3.3.0-0.33.beta1.el6ev.noarch

Comment 2 Itamar Heim 2014-01-21 22:13:44 UTC
Closing - RHEV 3.3 Released

Comment 3 Itamar Heim 2014-01-21 22:21:33 UTC
Closing - RHEV 3.3 Released