Bug 2313407

Summary: [NFS-Ganesha] [Dashboard] When creating an NFS export from a subvolume in the dashboard, a warning message appears stating "500 - Internal Server Error: 'NoneType' object is not subscriptable."
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Manisha Saini <msaini>
Component: Ceph-DashboardAssignee: dtalweka
Status: CLOSED ERRATA QA Contact: Manisha Saini <msaini>
Severity: medium Docs Contact: Anjana Suparna Sriram <asriram>
Priority: unspecified    
Version: 8.0CC: afrahman, ceph-eng-bugs, cephqe-warriors, prgoel, tserlin
Target Milestone: ---   
Target Release: 8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-19.2.1-99.el9cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-06-26 12:16:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Manisha Saini 2024-09-18 19:51:19 UTC
Description of problem:

=======================

In the dashboard, navigate to File → Filesystems → select the "filesystem" → create a subvolume group → create a "subvolume" using that group. On the same page, click "Create NFS export" for the subvolume, fill in the required fields, and click "Create."

A warning appears: "500 - Internal Server Error: 'NoneType' object is not subscriptable."

Despite this warning, the NFS export is successfully created in the backend. You can confirm this by going to File → NFS, where the export is listed.

This warning occurs every time an NFS export is created from a subvolume.
 

Version-Release number of selected component (if applicable):
=================
# ceph --version
ceph version 19.1.1-54.el9cp (c10bee3e898e4ca6f526b1b39f879c9227bf6add) squid (rc)

How reproducible:


Steps to Reproduce:
===================
1. Navigate to File → Filesystems.
2. Select the desired filesystem.
3. Create a subvolume group.
4. Create a subvolume using that group.
5. Click "Create NFS export" for the subvolume.
6. Fill in the required fields and click "Create."

Actual results:
==============
A warning appears, although the NFS export is successfully created and visible on the NFS page.

Expected results:
=================
The NFS export should be created without any warning messages.


Additional info:

Comment 10 errata-xmlrpc 2025-06-26 12:16:14 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 (Important: Red Hat Ceph Storage 8.1 security, bug fix, and enhancement updates), 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/RHSA-2025:9775