Bug 1650949 - [OSP13] Add ability to override libvirt NFS mount options for NFS backed Cinder volumes
Summary: [OSP13] Add ability to override libvirt NFS mount options for NFS backed Cind...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-nova
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z8
: 13.0 (Queens)
Assignee: Martin Schuppert
QA Contact: Joe H. Rahme
URL:
Whiteboard:
: 2025843 (view as bug list)
Depends On:
Blocks: 1715094 1715096
TreeView+ depends on / blocked
 
Reported: 2018-11-17 22:20 UTC by Marc Methot
Modified: 2022-03-13 16:07 UTC (History)
9 users (show)

Fixed In Version: puppet-nova-12.4.0-21.el7ost
Doc Type: Bug Fix
Doc Text:
With this update, you can customize the libvirt nfs mount options with the puppet-nova `nfs_mount_options` parameter.
Clone Of:
: 1715094 (view as bug list)
Environment:
Last Closed: 2019-07-10 13:03:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1803839 0 None None None 2018-11-17 23:08:05 UTC
OpenStack gerrit 618624 0 None MERGED Adds functionality to modudify the nfs clients mount options 2020-09-17 21:37:50 UTC
Red Hat Issue Tracker OSP-12615 0 None None None 2022-02-10 17:35:33 UTC
Red Hat Product Errata RHBA-2019:1738 0 None None None 2019-07-10 13:05:16 UTC

Internal Links: 1800612

Description Marc Methot 2018-11-17 22:20:33 UTC
It would be requested to have the option to modify the 'nfs_mount_options' in the [libvirt] section of the nova.conf during the overcloud deployment.

~~~
[libvirt]
# Mount options passed to the NFS client. See section of the nfs man page
# for details.
#
# Mount options controls the way the filesystem is mounted and how the
# NFS client behaves when accessing files on this mount point.
#
# Possible values:
#
# * Any string representing mount options separated by commas.
# * Example string: vers=3,lookupcache=pos
#  (string value)
#nfs_mount_options=<None>
~~~

I could not find this parameter within THT or the openstack-puppet modules.


Cheers,
Marc Methot

Comment 1 Ollie Walsh 2018-11-22 17:45:50 UTC
Director manages the nfs mount. Example config in environments/storage/nova-nfs.yaml

Comment 2 Ollie Walsh 2018-11-23 11:58:30 UTC
ah, missing some relevant info in the description... this is boot from volume with NFS backed cinder volumes.

Comment 6 Matthew Booth 2018-11-23 16:39:49 UTC
Note that's there's a facility for cinder to pass mount options to nova via 'options' in connection_info. We'd have to ask the cinder folks how that's used in practise.

Comment 7 Matthew Booth 2019-05-23 12:42:05 UTC
This appears to have landed on master.

Comment 16 Joe H. Rahme 2019-06-24 16:14:09 UTC
Verified


(undercloud) [stack@undercloud-0 ~]$ cat virt/extra_templates.yaml 
parameter_defaults:
  ComputeExtraConfig:
    nova::compute::libvirt::nfs_mount_options: "vers=3,lookupcache=pos"




[heat-admin@compute-0 ~]$ sudo crudini --get /var/lib/config-data/puppet-generated/nova_libvirt/etc/nova/nova.conf libvirt nfs_mount_options
vers=3,lookupcache=pos

[heat-admin@compute-1 ~]$ sudo crudini --get /var/lib/config-data/puppet-generated/nova_libvirt/etc/nova/nova.conf libvirt nfs_mount_options
vers=3,lookupcache=pos

Comment 19 errata-xmlrpc 2019-07-10 13:03:18 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, 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/RHBA-2019:1738

Comment 20 Alan Bishop 2022-02-10 17:34:02 UTC
*** Bug 2025843 has been marked as a duplicate of this bug. ***


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