Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 2361548

Summary: Internal server error on NVMeoF service deployment via GUI
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Sunil Kumar Nagaraju <sunnagar>
Component: Ceph-DashboardAssignee: Afreen <afrahman>
Status: CLOSED ERRATA QA Contact: Sunil Kumar Nagaraju <sunnagar>
Severity: high Docs Contact: Rivka Pollack <rpollack>
Priority: unspecified    
Version: 7.1CC: afrahman, ceph-eng-bugs, cephqe-warriors, mmurthy, tserlin
Target Milestone: ---Keywords: Reopened
Target Release: 7.1z5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-06-23 02:52:13 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:
Attachments:
Description Flags
Internal server error none

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