Project

General

Profile

Actions

Bug #46138

closed

mgr/dashboard: Error creating iSCSI target

Added by Ricardo Marques almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Matthew Oliver
Category:
cephadm
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

On the latest `master` (pacific), I get the following error when trying to create an iSCSI target in Dashboard:

From mgr logs:

Jun 22 12:20:32 master bash[16203]: dashboard.rest_client.RequestException: iscsi REST API failed request with status code 500
Jun 22 12:20:32 master bash[16203]: (b'{"message":"Unhandled exception: [errno 1] RBD permission error (error openi'
Jun 22 12:20:32 master bash[16203]:  b'ng image b\'rbd1\' at snapshot None)"}\n')
Jun 22 12:20:32 master bash[16203]: During handling of the above exception, another exception occurred:
Jun 22 12:20:32 master bash[16203]: Traceback (most recent call last):
Jun 22 12:20:32 master bash[16203]:   File "/usr/share/ceph/mgr/dashboard/services/exception.py", line 94, in dashboard_exception_handler
Jun 22 12:20:32 master bash[16203]:     return handler(*args, **kwargs)
Jun 22 12:20:32 master bash[16203]:   File "/usr/lib/python3.6/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__
Jun 22 12:20:32 master bash[16203]:     return self.callable(*self.args, **self.kwargs)
Jun 22 12:20:32 master bash[16203]:   File "/usr/share/ceph/mgr/dashboard/controllers/__init__.py", line 665, in inner
Jun 22 12:20:32 master bash[16203]:     ret = func(*args, **kwargs)
Jun 22 12:20:32 master bash[16203]:   File "/usr/share/ceph/mgr/dashboard/controllers/__init__.py", line 860, in wrapper
Jun 22 12:20:32 master bash[16203]:     return func(*vpath, **params)
Jun 22 12:20:32 master bash[16203]:   File "/usr/share/ceph/mgr/dashboard/controllers/__init__.py", line 467, in wrapper
Jun 22 12:20:32 master bash[16203]:     raise ex
Jun 22 12:20:32 master bash[16203]:   File "/usr/share/ceph/mgr/dashboard/controllers/__init__.py", line 457, in wrapper
Jun 22 12:20:32 master bash[16203]:     status, value = task.wait(self.wait_for)
Jun 22 12:20:32 master bash[16203]:   File "/usr/share/ceph/mgr/dashboard/tools.py", line 648, in wait
Jun 22 12:20:32 master bash[16203]:     raise self.exception
Jun 22 12:20:32 master bash[16203]:   File "/usr/share/ceph/mgr/dashboard/tools.py", line 559, in _run
Jun 22 12:20:32 master bash[16203]:     val = self.task.fn(*self.task.fn_args, **self.task.fn_kwargs)  # type: ignore
Jun 22 12:20:32 master bash[16203]:   File "/usr/share/ceph/mgr/dashboard/controllers/iscsi.py", line 300, in create
Jun 22 12:20:32 master bash[16203]:     clients, groups, 0, 100, config, settings)
Jun 22 12:20:32 master bash[16203]:   File "/usr/share/ceph/mgr/dashboard/controllers/iscsi.py", line 767, in _create
Jun 22 12:20:32 master bash[16203]:     raise DashboardException(msg=content_message, component='iscsi')

Files

2020-06-22_11-24-29.png (55.9 KB) 2020-06-22_11-24-29.png Ricardo Marques, 06/22/2020 10:47 AM
Actions

Also available in: Atom PDF