Project

General

Profile

Actions

Bug #38634

closed

mgr/dashboard create new iscsi target disk failed.

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

Status:
Can't reproduce
Priority:
Normal
Assignee:
Ricardo Marques
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 create the first iscsi target with client and disks by gwcli.and it works. alse can be display on the dashboard as pic-1.

Then I tried to create the second one by dashboard.

I can not create a new iscsi disk when I trying to create a target,It is irrational.I can only choose disks from the images from the rbd pool.

Ok,I create a rbd image first as rbd.disk_1. try again.

I can choose a image now.

but. after I fall all the dashboard need and clicked the submit butten.

terrible,It failed again. Although it is successed to create a target.BUUUUUUUUUUUUT.It throw a exception and the target has no initiator and no disk. I had all a initiator.

OK.fine.calm. I trid to edit the target and add a initiator and disk.

Oh my god. It still doesn't work. failed.

The exception is as the follow:

traceback: "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/__init__.py", line 350, in wrapper↵ raise ex↵KeyError: 'backstore'↵"


Files

1-create-gwcli.png (78.4 KB) 1-create-gwcli.png 一帆 师, 03/08/2019 03:16 AM
2-show-1.png (52.1 KB) 2-show-1.png 一帆 师, 03/08/2019 03:16 AM
3-show-1.png (43.4 KB) 3-show-1.png 一帆 师, 03/08/2019 03:16 AM
3-show-2.png (163 KB) 3-show-2.png 一帆 师, 03/08/2019 03:16 AM
3-show-3.png (130 KB) 3-show-3.png 一帆 师, 03/08/2019 03:16 AM
111111.png (120 KB) 111111.png 一帆 师, 03/12/2019 04:13 AM
QQ图片20190314111125.png (221 KB) QQ图片20190314111125.png 一帆 师, 03/14/2019 04:41 AM
11111.png (221 KB) 11111.png 一帆 师, 03/14/2019 04:41 AM
QQ图片20190314124617.png (183 KB) QQ图片20190314124617.png 一帆 师, 03/14/2019 04:46 AM
2.png (37 KB) 2.png 一帆 师, 03/15/2019 02:00 AM
Actions

Also available in: Atom PDF