Bug 1715096 - [OSP14] Add ability to override libvirt NFS mount options for NFS backed Cinder volumes
Summary: [OSP14] 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: z3
: 14.0 (Rocky)
Assignee: Martin Schuppert
QA Contact: Joe H. Rahme
URL:
Whiteboard:
Depends On: 1650949 1715094
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-29 14:51 UTC by Martin Schuppert
Modified: 2019-07-02 20:09 UTC (History)
11 users (show)

Fixed In Version: puppet-nova-13.3.2-0.20190426043941.d968cc2.el7ost
Doc Type: Bug Fix
Doc Text:
This patch updates puppet-nova to allow the customization of libvirt NFS mount options through heat. This can be accomplished through the `nova::compute::libvirt::nvs_mount_options` parameter.
Clone Of: 1715094
Environment:
Last Closed: 2019-07-02 20:09:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1803839 0 None None None 2019-05-29 14:51:21 UTC
OpenStack gerrit 662053 0 None None None 2019-06-03 08:14:27 UTC
Red Hat Product Errata RHBA-2019:1672 0 None None None 2019-07-02 20:09:52 UTC

Description Martin Schuppert 2019-05-29 14:51:22 UTC
+++ This bug was initially created as a clone of Bug #1715094 +++

+++ This bug was initially created as a clone of Bug #1650949 +++

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 12 Joe H. Rahme 2019-06-17 14:22:16 UTC
Verified by adding the following parameters to overcloud_deploy:

parameter_defaults:
  ComputeExtraConfig:
    nova::compute::libvirt::nfs_mount_options: "vers=3,lookupcache=pos"


After deployment we can see the values in the nova.conf on compute nodes:


[heat-admin@compute-0 ~]$ sudo docker exec nova_compute grep nfs_mount_options /etc/nova/nova.conf
#nfs_mount_options=<None>
nfs_mount_options=vers=3,lookupcache=pos

Comment 15 errata-xmlrpc 2019-07-02 20:09:17 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:1672


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