https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2019-02-27T08:36:10ZCeph Dashboard - Bug #38495: mgr/dashboard: API view is showing 'No API definition provided.'https://tracker.ceph.com/issues/38495?journal_id=1301572019-02-27T08:36:10ZTatjana Dehler
<ul></ul><p>Also found</p>
<pre>
{
status:"500 Internal Server Error",
detail:"The server encountered an unexpected condition which prevented it from fulfilling the request.",
traceback:"Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/cherrypy/_cprequest.py", line 670, in respond response.body = self.handler()
File "/usr/lib/python3.7/site-packages/cherrypy/lib/encoding.py", line 221, in __call__ self.body = self.oldhandler(*args, **kwargs)
File "/usr/lib/python3.7/site-packages/cherrypy/_cptools.py", line 237, in wrap return self.newhandler(innerfunc, *args, **kwargs)
File "/ceph/src/pybind/mgr/dashboard/services/exception.py", line 88, in dashboard_exception_handler return handler(*args, **kwargs)
File "/usr/lib/python3.7/site-packages/cherrypy/_cpdispatch.py", line 60, in __call__ return self.callable(*self.args, **self.kwargs)
File "/ceph/src/pybind/mgr/dashboard/controllers/__init__.py", line 545, in inner ret = func(*args, **kwargs)
File "/ceph/src/pybind/mgr/dashboard/controllers/docs.py", line 220, in api_json return self._gen_spec(False, "/api" )
File "/ceph/src/pybind/mgr/dashboard/controllers/docs.py", line 183, in _gen_spec ssl = strtobool(mgr.get_localized_module_option('ssl', 'True' ))
File "/usr/lib64/python3.7/distutils/util.py", line 296, in strtobool val = val.lower() AttributeError:'bool' object has no attribute 'lower' ",
version:"10.2.1"
}
</pre>
<p>in mgr log-file.</p> Dashboard - Bug #38495: mgr/dashboard: API view is showing 'No API definition provided.'https://tracker.ceph.com/issues/38495?journal_id=1301582019-02-27T08:58:10ZVolker Theile
<ul></ul><p>Use the str_to_bool function from the tools.py to fix the issue.</p> Dashboard - Bug #38495: mgr/dashboard: API view is showing 'No API definition provided.'https://tracker.ceph.com/issues/38495?journal_id=1301612019-02-27T09:16:38ZLenz Grimmer
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>12</i></li><li><strong>Target version</strong> set to <i>v14.0.0</i></li></ul><p>Confirmed - this should be fixed for the initial Nautilus release.</p> Dashboard - Bug #38495: mgr/dashboard: API view is showing 'No API definition provided.'https://tracker.ceph.com/issues/38495?journal_id=1301642019-02-27T09:49:14ZTatjana Dehler
<ul><li><strong>Assignee</strong> changed from <i>Tatjana Dehler</i> to <i>Tina Kallio</i></li><li><strong>Pull request ID</strong> set to <i>26227</i></li></ul> Dashboard - Bug #38495: mgr/dashboard: API view is showing 'No API definition provided.'https://tracker.ceph.com/issues/38495?journal_id=1301682019-02-27T10:31:23ZTatjana Dehler
<ul><li><strong>Status</strong> changed from <i>12</i> to <i>In Progress</i></li></ul> Dashboard - Bug #38495: mgr/dashboard: API view is showing 'No API definition provided.'https://tracker.ceph.com/issues/38495?journal_id=1301692019-02-27T10:59:30ZLenz Grimmer
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Fix Under Review</i></li></ul> Dashboard - Bug #38495: mgr/dashboard: API view is showing 'No API definition provided.'https://tracker.ceph.com/issues/38495?journal_id=1302132019-02-27T16:44:46ZTatjana Dehler
<ul><li><strong>Status</strong> changed from <i>Fix Under Review</i> to <i>Resolved</i></li></ul> Dashboard - Bug #38495: mgr/dashboard: API view is showing 'No API definition provided.'https://tracker.ceph.com/issues/38495?journal_id=1910232021-04-15T17:21:22ZErnesto Puerta
<ul><li><strong>Project</strong> changed from <i>mgr</i> to <i>Dashboard</i></li><li><strong>Category</strong> changed from <i>132</i> to <i>General</i></li></ul>