Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1108164

Summary: [LOCALFS] Unclear error message when adding a local storage domain with wrong path/permissions
Product: Red Hat Enterprise Virtualization Manager Reporter: Carlos Mestre González <cmestreg>
Component: ovirt-engine-restapiAssignee: Idan Shaby <ishaby>
Status: CLOSED CURRENTRELEASE QA Contact: Carlos Mestre González <cmestreg>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.4.0CC: acanan, amureini, bazulay, eedri, gklein, iheim, oramraz, rbalakri, Rhev-m-bugs, scohen, tnisan, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: ovirt-engine-3.5.0_beta 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:
Bug Depends On:    
Bug Blocks: 1142923, 1156165    

Description Carlos Mestre González 2014-06-11 13:43:26 UTC
Description of problem:
When adding a local storage domain with either wrong path or path with the wrong permission the rest api retunrs a Operation Failed.

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


How reproducible:
100%

Steps to Reproduce:
1. Adding a local storage domain via REST with wrong path or permissions


Actual results:
<fault>
<reason>Operation Failed</reason>
<detail>[]</detail>
</fault>

Expected results:
Same as using the webui, like these:

<fault>
<reason>Operation Failed</reason>
<detail>Permission settings on the specified path do not allow access to the storage. Verify permission settings on the specified storage path.</detail>
</fault>

Additional info:
version: av9.5

Comment 1 Carlos Mestre González 2014-08-07 08:59:06 UTC
Fixed in RC1, Proper message is displayed:

<reason>Operation Failed</reason>
<detail>
[Permission settings on the specified path do not allow access to the storage. Verify permission settings on the specified storage path.]
</detail>

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

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