Bug #38601
closedthe dashboard iscsi throw ERROR 500
0%
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
Updated by Ricardo Marques about 5 years ago
Looks like you are using a version of `ceph-iscsi` [1] that is not supported by `ceph-dashboard`.
Upgrading `ceph-iscsi` to the latest master branch should fix the issue.
Updated by 一帆 师 about 5 years ago
Ricardo Marques wrote:
Looks like you are using a version of `ceph-iscsi` [1] that is not supported by `ceph-dashboard`.
Upgrading `ceph-iscsi` to the latest master branch should fix the issue.
the rpms in "https://download.ceph.com/ceph-iscsi/latest/rpm/el7/noarch/" are not the lastest?
Updated by 一帆 师 about 5 years ago
Ricardo Marques wrote:
Looks like you are using a version of `ceph-iscsi` [1] that is not supported by `ceph-dashboard`.
Upgrading `ceph-iscsi` to the latest master branch should fix the issue.
and is there a list of the version of iscsi that ceph-mgr/dashboard supported?
Updated by Ricardo Marques about 5 years ago
一帆 师 wrote:
Ricardo Marques wrote:
Looks like you are using a version of `ceph-iscsi` [1] that is not supported by `ceph-dashboard`.
Upgrading `ceph-iscsi` to the latest master branch should fix the issue.
the rpms in "https://download.ceph.com/ceph-iscsi/latest/rpm/el7/noarch/" are not the lastest?
Those are outdated, but I don't know where you can find the latest build. Maybe Jason Dillaman can help here.
Updated by Ricardo Marques about 5 years ago
一帆 师 wrote:
Ricardo Marques wrote:
Looks like you are using a version of `ceph-iscsi` [1] that is not supported by `ceph-dashboard`.
Upgrading `ceph-iscsi` to the latest master branch should fix the issue.
and is there a list of the version of iscsi that ceph-mgr/dashboard supported?
We don't have that documented, yet. For now, we can only guarantee that the latest ceph-dashboard works with the latest ceph-iscsi.
In the future, we would like to have some version checks/validation in the ceph-dashboard, but it's not implemented yet.
Updated by 一帆 师 about 5 years ago
Ricardo Marques wrote:
一帆 师 wrote:
Ricardo Marques wrote:
Looks like you are using a version of `ceph-iscsi` [1] that is not supported by `ceph-dashboard`.
Upgrading `ceph-iscsi` to the latest master branch should fix the issue.
and is there a list of the version of iscsi that ceph-mgr/dashboard supported?
We don't have that documented, yet. For now, we can only guarantee that the latest ceph-dashboard works with the latest ceph-iscsi.
In the future, we would like to have some version checks/validation in the ceph-dashboard, but it's not implemented yet.
ok,thx for your reply.
I will try to use the github's lastest code then.
Updated by Jason Dillaman about 5 years ago
The latest development releases for CentOS 7 are always available here [1]
Updated by 一帆 师 about 5 years ago
Jason Dillaman wrote:
The latest development releases for CentOS 7 are always available here [1]
the ceph-icsci rpm version in "https://shaman.ceph.com/repos/ceph-iscsi/master/" I found is 2.7-520,but isn't the latest 3.0 ?
I cloned the github code and build the new rpm by ceph-iscsi.spec, and the version in ceph-iscsi.spec defined is 3.0.
so is it means that 2.7-520 and 3.0 both works with mgr-dashboard?
Updated by Jason Dillaman about 5 years ago
There hasn't been a ceph-iscsi 3.0 release yet -- the .spec is just a stub. The auto-builds use the most recent tag as a starting point for the version number.
Updated by Lenz Grimmer about 5 years ago
- Status changed from New to Won't Fix
Resolving as "Won't fix", as it may have been caused by an outdated version of ceph-iscsi. Please re-open if the error persists with a newer version.
Updated by Ernesto Puerta about 3 years ago
- Project changed from mgr to Dashboard
- Category changed from 141 to Component - iSCSI