ganesha: the export IDs are not reused

Bug #1839175 reported by Ramana Raja
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Medium
Victoria Martinez de la Cruz

Bug Description

The ganesha library generates NFS-ganesha exports, one per CephFS share. It sets the unique export ID of an export based on the export ID counter stored in a Ceph RADOS object or in a file backed by a clustered storage
system. The library monotonically increases the export ID counter from 1001 (the first 1000 exports are reserved for non-manila use cases) and assigns the counter value as the export ID of the generated export. It does not re-use export IDs that aren't in use by the current set of exports, e.g. export IDs of exports that have been deleted by the ganesha library. Since the maximum valid export ID of NFS-ganesha server is 65535, it's possible that the export ID counter reaches the limit. The generated exports would no longer have valid export IDs, which would be greater than 65535.

Ramana Raja (rraja)
description: updated
Revision history for this message
Tom Barron (tpb) wrote :

Thanks, Ramana!

tags: added: cephfs driver ganesha
Changed in manila:
importance: Undecided → Medium
Revision history for this message
Jason Grosso (jgrosso) wrote :

Do we have a target milestone for this?

Changed in manila:
status: New → Triaged
assignee: nobody → Goutham Pacha Ravi (gouthamr)
milestone: none → victoria-2
Revision history for this message
Goutham Pacha Ravi (gouthamr) wrote :

Some discussion regarding this bug occurred during a weekly IRC community meeting: http://eavesdrop.openstack.org/meetings/manila/2020/manila.2020-05-14-15.00.log.html#l-150

Changed in manila:
milestone: victoria-2 → victoria-3
Changed in manila:
milestone: victoria-3 → wallaby-1
Changed in manila:
assignee: Goutham Pacha Ravi (gouthamr) → Victoria Martinez de la Cruz (vkmc)
Changed in manila:
milestone: wallaby-1 → wallaby-2
Changed in manila:
milestone: wallaby-2 → wallaby-3
Changed in manila:
milestone: wallaby-3 → wallaby-rc1
tags: added: wallaby-rc-bugsquash
Changed in manila:
milestone: wallaby-rc1 → xena-1
tags: added: wallaby-backport-potential
removed: wallaby-rc-bugsquash
Changed in manila:
milestone: xena-1 → xena-2
Changed in manila:
milestone: xena-2 → xena-3
Changed in manila:
milestone: xena-3 → yoga-1
Changed in manila:
milestone: yoga-1 → yoga-3
Changed in manila:
milestone: yoga-3 → zed-3
Revision history for this message
Victoria Martinez de la Cruz (vkmc) wrote :
Changed in manila:
status: Triaged → In Progress
Revision history for this message
Victoria Martinez de la Cruz (vkmc) wrote :
Revision history for this message
Carlos Eduardo (silvacarlose) wrote (last edit ):

Bug has been fixed: https://review.opendev.org/c/openstack/manila/+/848987
Bot didn't recognize the fix as it did not have the closes-bug tag - Updating the bug now. Please tell me if you still see this around, and we can reopen

Changed in manila:
milestone: zed-3 → antelope-1
milestone: antelope-1 → zed-3
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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