Glance mount point is always set NFS v4 in Openstack deployed by Director

Solution Verified - Updated -

Issue

  • Glance mount point is always set NFS v4 in Openstack deployed by Director

  • After stack deployment, the nfs4 parameter is set in the mount point.

  • storage-environment.yaml :
  ## Whether to make Glance 'file' backend a NFS mount
  GlanceNfsEnabled: true
  ## NFS share for image storage, e.g. '192.168.122.1:/export/glance'
  GlanceNfsShare: "<IP of NFS server>:/glance"
  ## Mount options for the NFS image storage mount point
  GlanceNfsOptions: "rw,sync,vers=3,context=system_u:object_r:glance_var_lib_t:s0"
  • However after deployment, the fstab entry adds nfs4 for glance mount point.
  • /etc/fstab mount point on controller node
# /etc/fstab
# Created by anaconda on Thu Jun 15 17:22:51 2017
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
LABEL=img-rootfs /                       xfs     defaults        0 0
<IP of NFS server>:/glance /var/lib/glance/images nfs4 bg,rw,sync,vers=3,context=system_u:object_r:glance_var_lib_t:s0 0 0
/swap swap swap defaults 0 0

Environment

  • Red Hat OpenStack Platform (OSP) 10, 13

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content