Bug 826921
Summary: | 3.1 - vdsm ignores options in vdsm.conf file. | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Leonid Natapov <lnatapov> | ||||
Component: | vdsm | Assignee: | Greg Padgett <gpadgett> | ||||
Status: | CLOSED ERRATA | QA Contact: | Leonid Natapov <lnatapov> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.3 | CC: | abaron, acathrow, amureini, bazulay, danken, iheim, ilvovsky, sgrinber, syeghiay, ykaul, yzaslavs, zdover | ||||
Target Milestone: | rc | Keywords: | Regression, ZStream | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | Storage | ||||||
Fixed In Version: | vdsm-4.9.6-41.0 | Doc Type: | Bug Fix | ||||
Doc Text: |
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.
|
Story Points: | --- | ||||
Clone Of: | |||||||
: | 871539 872287 (view as bug list) | Environment: | |||||
Last Closed: | 2012-12-04 18:49:24 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 871539, 872287 | ||||||
Attachments: |
|
Description
Leonid Natapov
2012-05-31 09:10:38 UTC
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? Created attachment 588813 [details]
vdsm log
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. iiuc - nfs options from backend should override vdsm.conf (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. New patches - these send an alert to the engine when the deprecated parameter is used: vdsm: http://gerrit.ovirt.org/5368 engine: http://gerrit.ovirt.org/7658 Merged change id I3c1d13bfd98a9b41b9728bdcb7f01b3161c26bd8 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 |