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

Bug 1823208

Summary: import NFS storage domain fails when adding NFS mount parameters
Product: [oVirt] vdsm Reporter: Ahmad Khiet <akhiet>
Component: CoreAssignee: bugs <bugs>
Status: CLOSED DUPLICATE QA Contact: Avihai <aefrat>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.40.13CC: bugs, tnisan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-13 08:54:23 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:

Description Ahmad Khiet 2020-04-12 17:51:12 UTC
Description of problem:
sending NFS mountOptions is not processed in vdsm as expected and the importing NFS storage domain will fails.
for example: sending 'ro' mount option to 'ro' NFS mount will result an error in the UI and vdsm.
the UI error is what vdsm returns.


the UI/engine side of the bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1810893


How reproducible:
Always


Steps to Reproduce:
1. 'Storage' -> 'Storage Domains' 
2. 'Import Domain'
3. under 'Custom domain parameters' add to 'Additional mount Options' the needed NFS parameters
   for example, add 'ro' if the imported domain is read-only

Actual results:
Importing the NFS storage domain will fail.

a message in a popup window will show:

Error while executing action Add Storage Connection: Permission settings on the specified path do not allow access to the storage.
Verify permission settings on the specified storage path.

Expected results:
Importing the storage domain with the NFS mount parameters will success

Additional info:

Comment 1 Tal Nisan 2020-04-13 08:54:23 UTC

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