Actions
Bug #20276
closeddashboard raised TypeErorr: unsupported operand type(s) for -: 'str' and 'str'
% 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
Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/cherrypy/_cprequest.py", line 670, in respond response.body = self.handler() File "/usr/local/lib/python2.7/dist-packages/cherrypy/lib/encoding.py", line 221, in __call__ self.body = self.oldhandler(*args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/cherrypy/_cpdispatch.py", line 60, in __call__ return self.callable(*self.args, **self.kwargs) File "/home/liuchang/WorkSpace/ceph/src/pybind/mgr/dashboard/module.py", line 646, in index return self.health() File "/home/liuchang/WorkSpace/ceph/src/pybind/mgr/dashboard/module.py", line 573, in health content_data=json.dumps(self._health(), indent=2) File "/home/liuchang/WorkSpace/ceph/src/pybind/mgr/dashboard/module.py", line 620, in _health 'rate': get_rate(stat_series), File "/home/liuchang/WorkSpace/ceph/src/pybind/mgr/dashboard/module.py", line 613, in get_rate return (series[0][1] - series[1][1]) / float(series[0][0] - series[1][0]) TypeError: unsupported operand type(s) for -: 'str' and 'str'
Actions