Bug 974859

Summary: engine [TEXT]: unclear error message when extend storage domain fails
Product: Red Hat Enterprise Virtualization Manager Reporter: Dafna Ron <dron>
Component: ovirt-engineAssignee: Idan Shaby <ishaby>
Status: CLOSED CURRENTRELEASE QA Contact: Kevin Alon Goldblatt <kgoldbla>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.2.0CC: acanan, amureini, iheim, lpeer, rbalakri, Rhev-m-bugs, scohen, sgotliv, srevivo, tnisan, yeylon
Target Milestone: ---Flags: scohen: Triaged+
Target Release: 3.5.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: org.ovirt.engine-root-3.5.0-15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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
logs none

Description Dafna Ron 2013-06-16 16:21:36 UTC
Created attachment 761860 [details]
logs

Description of problem:

I extended a domain from a lun which disappeared after the login and extend fails with the following unclear error: 

Error while executing action Edit SAN Storage Domain configuration: Physical device initialization failed. Check that the device is empty. Please remove all files and partitions from the device.

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

sf18

How reproducible:

100%

Steps to Reproduce:
1. in iscsi storage type with two hosts, create a domain from a lun on one server
2. in storage tab -> select the domain -> edit -> discover luns on a second storage server and log in to one lun
3. block connectivity to the lun from storage server2 and press OK on the edit domain dialogue

Actual results:

extend fails with the following error: 

Error while executing action Edit SAN Storage Domain configuration: Physical device initialization failed. Check that the device is empty. Please remove all files and partitions from the device.

Expected results:

we need a clearer message for user. 
also this part is not relevant: 

Check that the device is empty. Please remove all files and partitions from the device.

Additional info: logs

Comment 3 Kevin Alon Goldblatt 2014-10-26 09:49:49 UTC
Tested with V3.5 vt7
The error now reads "Error while executing action: Cannot extend Storage Domain. Storage device is unreachable from nott-vds2."
Moving to Verified!

Comment 4 Allon Mureinik 2015-02-16 19:12:15 UTC
RHEV-M 3.5.0 has been released, closing this bug.

Comment 5 Allon Mureinik 2015-02-16 19:12:16 UTC
RHEV-M 3.5.0 has been released, closing this bug.