Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
The following parameter has been deprecated in the /etc/vdsm/vdsm.conf file:
[irs]
nfs_mount_options = soft,nosharecache,vers=3
This parameter will continue to be supported in versions 3.x, but will be removed in version 4.0 of RHEV. Customers using this parameter should upgrade their domains to V2 and greater and set the parameters from the GUI.
vdsm ignores options in vdsm.conf file.
I was trying to tell vdsm to do NFS mount using version 3.
Editing vds.conf file and putting there the following lines,restarting the vdsm,putting SD to maintenance and activating it again (in order to do mount again) doesn't apply to vdsm.
The mount still shows "vers=4"
[irs]
nfs_mount_options = soft,nosharecache,vers=3
vdsm-4.9.6-4.5.x86_64
What is this vdsm-4.9.6-4.5.x86_64 build? where's vdsm.log? Have you tried this in more than one mountpoint in one host? What happens when you add a completly silly option (say, "danken")? Does it show in vdsm.log and mount command?
vdsm-4.9.6-4.5.x86_64 is vdsm that comes with si4 build.
vdsm log added. I tried this on more than one mountpoint. vdsm daemon was restarted after each change in vdsm.conf file.
(In reply to comment #7)
> iiuc - nfs options from backend should override vdsm.conf
Correct, but if not passed from backend need to take from conf.
Need release note to specify that vdsm.conf param is deprecated and will be ignored in the future.
(In reply to comment #8)
> (In reply to comment #7)
> > iiuc - nfs options from backend should override vdsm.conf
>
> Correct, but if not passed from backend need to take from conf.
> Need release note to specify that vdsm.conf param is deprecated and will be
> ignored in the future.
Just to be clear, the deprecated parameter is:
[irs]
nfs_mount_options = soft,nosharecache,vers=3
It will be supported in 3.x, but will probably be removed in 4.0
Customers using it should upgrade domains to > V2 and set the params from the GUI
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
The following parameter has been deprecated in the /etc/vdsm/vdsm.conf file:
[irs]
nfs_mount_options = soft,nosharecache,vers=3
This parameter will continue to be supported in versions 3.x, but will be removed in version 4.0 of NFS. Customers using this parameter should upgrade their domains to V2 and greater and set the parameters from the GUI.
(In reply to comment #8)
> (In reply to comment #7)
> > iiuc - nfs options from backend should override vdsm.conf
>
> Correct, but if not passed from backend need to take from conf.
Changes pushed: http://gerrit.ovirt.org/5368
The proposed patch checks for matching keys on a per-option basis, but does not do any "intelligent" option resolution. E.g. the following option combinations will be resolved:
engine | vdsm.conf | resulting option
-------------------------------------------
timeo=600 | timeo=1000 | timeo=600
<nothing> | vers=3 | vers=3
soft | hard | soft,hard (can't do this!)
(This is all done within the context of a longer option string, so combinations like "vers=3,intr" would do what you expect subject to the above rules.)
Technical note updated. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Diffed Contents:
@@ -3,4 +3,4 @@
[irs]
nfs_mount_options = soft,nosharecache,vers=3
- This parameter will continue to be supported in versions 3.x, but will be removed in version 4.0 of NFS. Customers using this parameter should upgrade their domains to V2 and greater and set the parameters from the GUI.+ This parameter will continue to be supported in versions 3.x, but will be removed in version 4.0 of RHEV. Customers using this parameter should upgrade their domains to V2 and greater and set the parameters from the GUI.
si24. checked with nfs_mount_options = soft,nosharecache,timeo=600,retrans=6 in vdsm.conf file and with defaults. works according to logic described in last paragraph of comment #7.
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, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHSA-2012-1508.html