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

Bug 1152419

Summary: Need to improve CDA error message for storage domain creation failure due to duplicate custom mount options
Product: Red Hat Enterprise Virtualization Manager Reporter: Kevin Alon Goldblatt <kgoldbla>
Component: ovirt-engineAssignee: Allon Mureinik <amureini>
Status: CLOSED CURRENTRELEASE QA Contact: Ori Gofen <ogofen>
Severity: low Docs Contact:
Priority: low    
Version: 3.5.0CC: acanan, amureini, gklein, lpeer, lsurette, rbalakri, Rhev-m-bugs, scohen, tnisan, yeylon, ykaul, ylavi
Target Milestone: ovirt-3.6.0-rc   
Target Release: 3.6.0   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-10 10:34:52 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
screenshots, server and vdsm logs
none
Added screen shot of problem error message none

Description Kevin Alon Goldblatt 2014-10-14 06:36:15 UTC
Created attachment 946688 [details]
screenshots, server and vdsm logs

Description of problem:
Current message for failed creation of storage domain due to duplicate custom parameters need to be improved.

Version-Release number of selected component (if applicable):
rhevm-3.5.0-0.14.beta.el6ev.noarch
vdsm-4.16.6-1.el6ev.x86_64

How reproducible:
Always

Steps to Reproduce:
--------------------------
SCENARIO 1:
-----------------------------
Create new NFS storage domain with below parameters 
NFS version = V4
Retransmissions = 6
Timeout = 10
Additional mount options = retrans=4

Current error reads:
Error while executing action: Cannot add Storage Connection. Custom mount options contain the following managed options: retrans.

Should read:
Error while executing action: Cannot add Storage Connection. Custom mount options contain the following DUPLICATE managed options: retrans.


SCENARIO 2:
--------------------------

Create new NFS storage domain with below parameters 
NFS version = V4
Retransmissions = 6
Timeout = 10
Additional mount options = timeout=4

Current error reads:
Error while executing action Add Storage Connection: Problem while trying to mount target

Should read:
Error while executing action: Cannot add Storage Connection. Custom mount options contain the following DUPLICATE managed options: timeout.


Actual results:
In both scenarios the error message needs fixing

Expected results:
Error messages should read as described above

Additional info:
See screenshots

Comment 1 Allon Mureinik 2014-11-20 13:04:50 UTC
Tal, don't we have another BZ that describes the same issue?

Comment 2 Tal Nisan 2014-11-20 13:54:48 UTC
I don't recall, it's a text fix though, should be an easy one

Comment 3 Yaniv Lavi 2015-01-19 13:43:53 UTC
Does seem urgent enough for 3.5.z.  Moving to fix only in 3.6.0.

Comment 4 Candace Sheremeta 2015-03-06 19:32:10 UTC
fixed in patch https://gerrit.ovirt.org/#/c/38452/

Greg P and I noticed a separate bug when fixing this one. Opened bug 1199623.

Comment 5 Kevin Alon Goldblatt 2015-04-29 14:33:55 UTC
Checked using version:
----------------------

Checked with the following scenario:
--------------------------------------
Steps to Reproduce:
--------------------------
SCENARIO 1:
-----------------------------
Create new NFS storage domain with below parameters 
NFS version = V4
Retransmissions = 6
Timeout = 10
Additional mount options = retrans=4

Current error reads:

Error while executing action: Cannot add Storage Connection. Custom mount options contain the following DUPLICATE managed options: retrans.
THIS IS CORRECT AND IS FIXED

HOWEVER!

SCENARIO 2:
--------------------------
Create new NFS storage domain with below parameters 
NFS version = V4
Retransmissions = 6
Timeout = 10
Additional mount options = timeout=4

Current error STILL reads:
Error while executing action Add Storage Connection: Problem while trying to mount target

Should read:
Error while executing action: Cannot add Storage Connection. Custom mount options contain the following DUPLICATE managed options: timeout.

Moving to Assign

Comment 6 Kevin Alon Goldblatt 2015-04-29 14:38:24 UTC
Created attachment 1020217 [details]
Added screen shot of problem error message

Added a screen shot to support the Move to Assign

Comment 7 Allon Mureinik 2015-04-29 15:07:47 UTC
"timeout" is not a managed NFS mount option, "timeo" is.
There's no reason to fail this bug's verification.

Comment 8 Ori Gofen 2015-05-12 13:56:12 UTC
Verified on oVirt 3.6master
the message shown:
"Error while executing action: Cannot add Storage Connection. Custom mount options contain the following duplicate managed options: timeo."

Comment 9 Allon Mureinik 2016-03-10 10:34:52 UTC
RHEV 3.6.0 has been released, setting status to CLOSED CURRENTRELEASE

Comment 10 Allon Mureinik 2016-03-10 10:36:51 UTC
RHEV 3.6.0 has been released, setting status to CLOSED CURRENTRELEASE

Comment 11 Allon Mureinik 2016-03-10 10:42:27 UTC
RHEV 3.6.0 has been released, setting status to CLOSED CURRENTRELEASE

Comment 12 Allon Mureinik 2016-03-10 11:59:20 UTC
RHEV 3.6.0 has been released, setting status to CLOSED CURRENTRELEASE