Project

General

Profile

Bug #38380

tasks.mgr.test_module_selftest.TestModuleSelftest fails, dashboard/server_port not string

Added by Sage Weil almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
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

2019-02-19 02:07:47.669 7f878e019700  1 -- 172.21.15.89:0/16776 <== mon.1 v2:172.21.15.89:3300/0 36 ==== mon_command_ack([{"prefix":"config set","who":"mgr","name":"mgr/dashboard/server_port","value":"8080"}]=0  v33) v1 ==== 119+0+0 (685773970 0 0) 0x5d24400 con 0x5befb00
2019-02-19 02:07:47.669 7f878268b700  4 mgr get_config get_config key: mgr/dashboard/server_port
2019-02-19 02:07:47.669 7f878268b700 10 mgr get_typed_config get_typed_config server_port found: 8080
2019-02-19 02:07:47.669 7f878268b700 -1 mgr handle_command module 'selftest' command handler threw exception: 
2019-02-19 02:07:47.669 7f878268b700 20 mgr ~Gil Destroying new thread state 0x5c24160
2019-02-19 02:07:47.669 7f878268b700 -1 mgr.server reply reply (22) Invalid argument Traceback (most recent call last):
  File "/usr/share/ceph/mgr/mgr_module.py", line 861, in _handle_command
    return self.handle_command(inbuf, cmd)
  File "/usr/share/ceph/mgr/selftest/module.py", line 113, in handle_command
    self._self_test()
  File "/usr/share/ceph/mgr/selftest/module.py", line 212, in _self_test
    self._self_test_config()
  File "/usr/share/ceph/mgr/selftest/module.py", line 322, in _self_test_config
    assert isinstance(value, str)
AssertionError

2019-02-19 02:07:47.669 7f878268b700  1 -- [v2:172.21.15.89:6826/16776,v1:172.21.15.89:6827/16776] --> 172.21.15.17:0/2972310959 -- command_reply(tid 0: -22 Traceback (most recent call last):
  File "/usr/share/ceph/mgr/mgr_module.py", line 861, in _handle_command

/a/sage-2019-02-18_23:58:27-rados-wip-sage-testing-2019-02-18-1341-distro-basic-smithi/3609279
2019-02-19T02:07:47.739 INFO:tasks.cephfs_test_runner:test_selftest_run (tasks.mgr.test_module_selftest.TestModuleSelftest) ... ERROR

History

#1 Updated by Volker Theile almost 4 years ago

  • Status changed from 12 to In Progress
  • Assignee set to Volker Theile

#2 Updated by Volker Theile almost 4 years ago

This issue has been introduced by https://github.com/ceph/ceph/pull/26386. Wondering why this has not been detected while running the Teuthology QA tests.

Update:
When Dashboard related QA tests are executed, the test_module_selftest.py test is not included, that's why the error has not been detected.

#3 Updated by Volker Theile almost 4 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 26511

#4 Updated by Volker Theile almost 4 years ago

  • Target version set to v14.0.0

#5 Updated by Sage Weil almost 4 years ago

/a/sage-2019-02-19_16:53:27-rados-wip-sage-testing-2019-02-19-0832-distro-basic-smithi/3613258

#6 Updated by Sage Weil almost 4 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF