Bug 1810893 - mountOptions is ignored for "import storage domain" from GUI
Summary: mountOptions is ignored for "import storage domain" from GUI
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.3.8-1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ovirt-4.4.0
: ---
Assignee: Ahmad Khiet
QA Contact: Ilan Zuckerman
URL:
Whiteboard:
Depends On:
Blocks: 1828067
TreeView+ depends on / blocked
 
Reported: 2020-03-06 06:41 UTC by nijin ashok
Modified: 2023-10-06 19:21 UTC (History)
5 users (show)

Fixed In Version: ovirt-engine 4.4.0-27 22b6f82
Doc Type: Bug Fix
Doc Text:
Previously, using the Administration Portal to import a storage domain omitted custom mount options for NFS storage servers. The current release fixes this issue by including the custom mount options.
Clone Of:
: 1828067 (view as bug list)
Environment:
Last Closed: 2020-08-04 13:21:58 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:
rdlugyhe: needinfo-
lsvaty: testing_plan_complete-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 4882711 0 None None None 2020-03-06 07:00:15 UTC
Red Hat Product Errata RHSA-2020:3247 0 None None None 2020-08-04 13:22:36 UTC
oVirt gerrit 107713 0 master MERGED webadmin: add missing mountOption 2020-08-04 13:36:53 UTC

Description nijin ashok 2020-03-06 06:41:36 UTC
Description of problem:

while importing the storage domain from GUI with the custom mount options for an NFS storage server, those options are ignored and ConnectStorageServerVDSCommand is initiated with the mountOptions='null'.

However, the mountOptions are correctly passed when adding a new storage domain. The issue is only with the "import storage domain".

Also importing the storage domain using API also works well. The issue is only with the GUI.

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

rhvm-4.3.8.2-0.4.el7.noarch

How reproducible:

100%

Steps to Reproduce:

1. Use "import" option for importing a storage domain and add "Additional mount options" under "Custom Connection Parameters".

2. Check "ConnectStorageServerVDSCommand" in the engine log and watch for mountOptions value. It will be null and mount command spawned in the host will be also without any custom parameters which the user has provided. 

Actual results:

mountOptions is ignored for "import storage domain" from GUI

Expected results:

mountOptions should work while importing storage domain.

Additional info:

Comment 7 Ilan Zuckerman 2020-04-16 05:38:33 UTC
I have verified the when passing additional mount options from webAdmin UI, they are being passed to the vdsm as additional parameters.
There is still a problem of how vdsm treats those params (for example 'ro'). For this, additional BZ was opened:
https://bugzilla.redhat.com/show_bug.cgi?id=1823207

Comment 16 errata-xmlrpc 2020-08-04 13:21:58 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: RHV Manager (ovirt-engine) 4.4 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:3247


Note You need to log in before you can comment on or make changes to this bug.