glusterfs: the nfs-ganesha driver displays wrong export location

Bug #1493080 reported by Ramana Raja
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
High
Csaba Henk

Bug Description

The glusterfs share driver that uses NFS Ganesha server to mediate access to the shares, displays the wrong export location.

$
$
$ manila list
ID | Name | Size | Share Proto | Status | Is Public | Share Type | Export location

dbeba93f-a1a1-4143-8602-c42162a00ab6 | None | 1 | NFS | available | False | glusterfs_ganesha | root@172.16.53.14:/manila-nfs-volume/share-af60ed90-b5d9-426b-bbc4-6cfeef63c2c0
$
$ showmount -e 172.16.53.14
Export list for 172.16.53.14:
/share-af60ed90-b5d9-426b-bbc4-6cfeef63c2c0 172.16.53.73

$ sudo mount -t nfs -o vers=4 root@172.16.53.14:/manila-nfs-volume/share-af60ed90-b5d9-426b-bbc4-6cfeef63c2c0 /mnt/nfsv4
mount.nfs: Failed to resolve server root@172.16.53.14: No address associated with hostname
$
$ sudo mount -t nfs -o vers=4 172.16.53.14:/manila-nfs-volume/share-af60ed90-b5d9-426b-bbc4-6cfeef63c2c0 /mnt/nfsv4
mount.nfs: access denied by server while mounting 172.16.53.14:/manila-nfs-volume/share-af60ed90-b5d9-426b-bbc4-6cfeef63c2c0
$
$ sudo mount -t nfs -o vers=4 172.16.53.14:/share-af60ed90-b5d9-426b-bbc4-6cfeef63c2c0 /mnt/nfsv4
$ mount
172.16.53.14:/share-af60ed90-b5d9-426b-bbc4-6cfeef63c2c0 on /mnt/nfsv4 type nfs
$
$

The actual NFS export location and the export location displayed using Manila CLI are not the same. The Manila command displays the export location with the following syntax,,
[root@]<host-ip>:/<volname>/<share-shareid>
when it actually should be,
<host-ip>:/<share-shareid>

Ramana Raja (rraja)
description: updated
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

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

Changed in manila:
assignee: nobody → Csaba Henk (chenk)
status: New → In Progress
Changed in manila:
importance: Undecided → High
milestone: none → liberty-rc1
Changed in manila:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in manila:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in manila:
milestone: liberty-rc1 → 1.0.0
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.