libvirt volume_nfs driver does not support mount options

Bug #1113042 reported by Rafi Khardalian
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Medium
Rafi Khardalian
OpenStack Compute (nova)
Fix Released
Medium
Rafi Khardalian

Bug Description

The libvirt volume_nfs driver does not pass any mount options (-o). As such, the options become whatever the default of the hypervisor OS/kernel happens to be. For example, with Ubuntu 12.04, this results in the use of NFS v4. These options can drastically alter the behavior and performance of NFS and should be tunable by an administrator.

Changed in nova:
assignee: nobody → Rafi Khardalian (rkhardalian)
status: New → In Progress
Changed in cinder:
assignee: nobody → Rafi Khardalian (rkhardalian)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/21037

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/21059

Revision history for this message
Rafi Khardalian (rkhardalian) wrote :

The title of this bug should really changed to:

nfs drivers do not support specifying mount options

Changed in nova:
importance: Undecided → Medium
Changed in cinder:
importance: Undecided → Medium
milestone: none → grizzly-3
tags: added: folsom-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/21037
Committed: http://github.com/openstack/nova/commit/bffa08e758e52c6bad4faae128daa0214637631f
Submitter: Jenkins
Branch: master

commit bffa08e758e52c6bad4faae128daa0214637631f
Author: Rafi Khardalian <email address hidden>
Date: Sat Feb 2 01:34:53 2013 +0000

    Allow for specifying nfs mount options

    Fixes bug 1113042

    Adds a new config option:
        nfs_mount_options=None (Default)

    When not None, anything set here will be passed as -o <options> to
    the mount command. The default behavior is to do exactly as we are
    doing today and relying on the OS/kernel defaults.

    Change-Id: I935ae6f4d96c20904b7132fe8c6dfd3cbe089e51
    Flags: DocImpact

Changed in nova:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/21059
Committed: http://github.com/openstack/cinder/commit/1d25f99f401c65ce63e68d03815fb69b3a852de6
Submitter: Jenkins
Branch: master

commit 1d25f99f401c65ce63e68d03815fb69b3a852de6
Author: Rafi Khardalian <email address hidden>
Date: Sat Feb 2 23:01:54 2013 +0000

    Allow for specifying nfs mount options

    Fixes bug 1113042

    Adds a new config option:
        nfs_mount_options=None (Default)

    When not None, anything set here will be passed as -o <options> to
    the mount command. The default behavior is to do exactly as we are
    doing today and relying on the OS/kernel defaults.

    Change-Id: I6bd27f9d0e8848a9ba98318ba7288e43ee6b4cb9
    Flags: DocImpact

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → grizzly-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: grizzly-3 → 2013.1
Thierry Carrez (ttx)
Changed in cinder:
milestone: grizzly-3 → 2013.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.