Bug #55429
mgr/dashboard: AttributeError: 'NoneType' object has no attribute 'group'
% 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
/a/yuriw-2022-04-22_13:56:48-rados-wip-yuri2-testing-2022-04-22-0500-distro-default-smithi/6800373/
teuthology.log
2022-04-22T17:40:54.213 INFO:tasks.cephfs_test_runner:test_perf_counters_list (tasks.mgr.dashboard.test_perf_counters.PerfCountersControllerTest) ... FAIL
2022-04-22T17:40:54.213 INFO:tasks.cephfs_test_runner:
2022-04-22T17:40:54.213 INFO:tasks.cephfs_test_runner:======================================================================
2022-04-22T17:40:54.213 INFO:tasks.cephfs_test_runner:FAIL: test_perf_counters_list (tasks.mgr.dashboard.test_perf_counters.PerfCountersControllerTest)
2022-04-22T17:40:54.214 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2022-04-22T17:40:54.214 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
2022-04-22T17:40:54.214 INFO:tasks.cephfs_test_runner: File "/home/teuthworker/src/github.com_ceph_ceph-c_720674591667bc34cb7086618bbed8722a1f429d/qa/tasks/mgr/dashboard/test_perf_counters.py", line 15, in test_perf_counters_list
2022-04-22T17:40:54.214 INFO:tasks.cephfs_test_runner: self.assertIn('mon.{}'.format(mon), data)
2022-04-22T17:40:54.214 INFO:tasks.cephfs_test_runner:AssertionError: 'mon.b' not found in {'mds.a': .........dict included in the assertion is very long; see teuthology log for full message
ceph-mgr.x.log.gz
2022-04-22T17:18:14.253+0000 7fcf90831700 0 [dashboard DEBUG auth] checking authorization...
2022-04-22T17:18:14.253+0000 7fcf90831700 0 [dashboard ERROR exception] Internal Server Error
Traceback (most recent call last):
File "/usr/share/ceph/mgr/dashboard/controllers/_base_controller.py", line 238, in get_client_version
cherrypy.request.headers['Accept'])
File "/usr/share/ceph/mgr/dashboard/controllers/_version.py", line 41, in from_mime_type
return cls.from_string(cls.__MIME_TYPE_REGEX.match(mime_type).group(1))
AttributeError: 'NoneType' object has no attribute 'group'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/ceph/mgr/dashboard/services/exception.py", line 47, in dashboard_exception_handler
return handler(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/share/ceph/mgr/dashboard/controllers/_base_controller.py", line 260, in inner
client_version = BaseController.get_client_version()
File "/usr/share/ceph/mgr/dashboard/controllers/_base_controller.py", line 241, in get_client_version
415, "Unable to find version in request header")
cherrypy._cperror.HTTPError: (415, 'Unable to find version in request header')
History
#1 Updated by Seremba Patrick over 1 year ago
Hi Laura, I am requesting a little more light regarding this issue. Kingly.
#2 Updated by Laura Flores over 1 year ago
Hi Seremba, this is a failure that was caught on Teuthology, our testing suite. The snapshots pasted in the description are from logs that Teuthology collected. I think someone from the Dashboard team is already looking into it.
#3 Updated by Seremba Patrick over 1 year ago
I can understand, Thank you. It is okay if someone else is working on it.
#4 Updated by Ernesto Puerta over 1 year ago
- Category set to Testing & QA
- Status changed from New to Triaged
- Assignee set to Ernesto Puerta