Bug 2361548 - Internal server error on NVMeoF service deployment via GUI
Summary: Internal server error on NVMeoF service deployment via GUI
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Dashboard
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 7.1z5
Assignee: Afreen
QA Contact: Sunil Kumar Nagaraju
Rivka Pollack
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-21 23:54 UTC by Sunil Kumar Nagaraju
Modified: 2025-06-23 02:52 UTC (History)
5 users (show)

Fixed In Version: ceph-18.2.1-332.el9cp
Doc Type: Enhancement
Doc Text:
.`nvmeof` service form now accepts input to the `Pool` field Previously, the UI service form was broken as it was not accepting pool field. With this fix, pools can now be selected, while creating the `nvmeof` service successfully.
Clone Of:
Environment:
Last Closed: 2025-06-23 02:52:13 UTC
Embargoed:


Attachments (Terms of Use)
Internal server error (154.48 KB, image/png)
2025-04-21 23:54 UTC, Sunil Kumar Nagaraju
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph pull 63304 0 None open mgr/dashboard: adapt service creation form to support nvmeof creation 2025-05-15 16:14:22 UTC
Red Hat Issue Tracker RHCEPH-11221 0 None None None 2025-04-21 23:55:29 UTC
Red Hat Issue Tracker RHCSDASH-2034 0 None None None 2025-04-21 23:55:31 UTC
Red Hat Product Errata RHBA-2025:9335 0 None None None 2025-06-23 02:52:16 UTC

Description Sunil Kumar Nagaraju 2025-04-21 23:54:41 UTC
Created attachment 2086280 [details]
Internal server error

Description of problem:

#issue-1: 
Internal server error on creating the NVMeof Service via dashboard in IBM Ceph 7.1z3 GA version.

#issue-2
In service deployment window, cant find field to select RBD pool for the service, which might be the reason for Internal server error.


2025-04-21T23:40:28.169+0000 7f45e892e640  0 [dashboard INFO taskmgr] finished Task(ns=service/create, md={'service_name': 'nvmeof.nvmeof.rbd'})
2025-04-21T23:40:28.170+0000 7f45ec135640  0 [dashboard ERROR exception] Internal Server Error
Traceback (most recent call last):
  File "/usr/share/ceph/mgr/dashboard/services/exception.py", line 47, in dashboard_exception_handler
    return handler(*args, **kwargs)
  File "/lib/python3.9/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/share/ceph/mgr/dashboard/controllers/_base_controller.py", line 263, in inner
    ret = func(*args, **kwargs)
  File "/usr/share/ceph/mgr/dashboard/controllers/_rest_controller.py", line 193, in wrapper
    return func(*vpath, **params)
  File "/lib64/python3.9/contextlib.py", line 79, in inner
    return func(*args, **kwds)
  File "/usr/share/ceph/mgr/dashboard/controllers/orchestrator.py", line 34, in _inner
    return method(self, *args, **kwargs)
  File "/lib64/python3.9/contextlib.py", line 79, in inner
    return func(*args, **kwds)
  File "/usr/share/ceph/mgr/dashboard/controllers/_task.py", line 79, in wrapper
    raise ex
  File "/usr/share/ceph/mgr/dashboard/controllers/_task.py", line 69, in wrapper
    status, value = task.wait(self.wait_for)
  File "/usr/share/ceph/mgr/dashboard/tools.py", line 639, in wait
    raise self.exception
  File "/usr/share/ceph/mgr/dashboard/tools.py", line 550, in _run
    val = self.task.fn(*self.task.fn_args, **self.task.fn_kwargs)  # type: ignore
  File "/usr/share/ceph/mgr/dashboard/controllers/service.py", line 69, in create
    OrchClient.instance().services.apply(service_spec, no_overwrite=True)
  File "/usr/share/ceph/mgr/dashboard/services/orchestrator.py", line 38, in inner
    completion = method(self, *args, **kwargs)
  File "/usr/share/ceph/mgr/dashboard/services/orchestrator.py", line 145, in apply
    spec = ServiceSpec.from_json(service_spec)
  File "/lib/python3.9/site-packages/ceph/deployment/service_spec.py", line 26, in inner
    return method(cls, *args, **kwargs)
  File "/lib/python3.9/site-packages/ceph/deployment/service_spec.py", line 803, in from_json
    return _cls._from_json_impl(c)  # type: ignore
  File "/lib/python3.9/site-packages/ceph/deployment/service_spec.py", line 831, in _from_json_impl
    _cls.validate()
  File "/lib/python3.9/site-packages/ceph/deployment/service_spec.py", line 1287, in validate
    raise SpecValidationError('Cannot add NVMEOF: No Pool specified')
ceph.deployment.hostspec.SpecValidationError: Cannot add NVMEOF: No Pool specified






Version-Release number of selected component (if applicable):

Version 18.2.1-298.el9cp
Release - 7
Ceph Manager - 10.0.65.249:8443
User - admin
User Role - administrator
Browser - chrome
Browser Version - 134.0.0
Browser OS  - Mac OS


How reproducible:


Steps to Reproduce:
1. Deploy a ceph cluster with 7.1z3 GA version
2. Configure NVmeoF service with available fields on GUI
3. we can observe the issue

Actual results:


Expected results:


Additional info:
attaching the screeshot for reference.

Comment 10 errata-xmlrpc 2025-06-23 02:52:13 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 (Red Hat Ceph Storage 7.1 security and bug fix 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/RHBA-2025:9335


Note You need to log in before you can comment on or make changes to this bug.