Project

General

Profile

Actions

Bug #38601

closed

the dashboard iscsi throw ERROR 500

Added by 一帆 师 about 5 years ago. Updated about 3 years ago.

Status:
Won't Fix
Priority:
Normal
Assignee:
-
Category:
Component - iSCSI
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

I run an iscsi gateway in my env,it works well,

and my rbd-gateway-api is http://192.168.6.3:5000

but after i add it to the dashboard by "ceph dashboard iscsi-gateway-add node1 http://admin:admin@192.168.6.3:5000".

the dashboard throw ERROR 500.

the ERROR EXCEPTION IS:

Traceback (most recent call last):↵
File "/usr/lib/python2.7/site-packages/cherrypy/_cprequest.py", line 656, in respond↵ response.body = self.handler()↵
File "/usr/lib/python2.7/site-packages/cherrypy/lib/encoding.py", line 188, in call__↵ self.body = self.oldhandler(*args, **kwargs)↵
File "/usr/lib/python2.7/site-packages/cherrypy/_cptools.py", line 221, in wrap↵ return self.newhandler(innerfunc, *args, **kwargs)↵
File "/usr/share/ceph/mgr/dashboard/services/exception.py", line 88, in dashboard_exception_handler↵ return handler(*args, **kwargs)↵
File "/usr/lib/python2.7/site-packages/cherrypy/_cpdispatch.py", line 34, in _call_↵ return self.callable(*self.args, **self.kwargs)↵
File "/usr/share/ceph/mgr/dashboard/controllers/__init
.py", line 545, in inner↵ ret = func(*args, **kwargs)↵
File "/usr/share/ceph/mgr/dashboard/controllers/__init__.py", line 738, in wrapper↵ return func(*vpath, **params)↵
File "/usr/share/ceph/mgr/dashboard/controllers/iscsi.py", line 105, in list↵ for target_iqn in config['targets'].keys():↵KeyError: 'targets'↵"


Files

QQ图片20190306154828.png (154 KB) QQ图片20190306154828.png 一帆 师, 03/06/2019 07:54 AM
Actions

Also available in: Atom PDF