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:
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
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