Project

General

Profile

Actions

Bug #43075

closed

ssh: 'AsyncCompletion' object has no attribute 'service_instance'

Added by Kefu Chai over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
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-12-02T03:41:01.234 INFO:ceph.mgr.y.mira077.stderr:2019-12-02T03:41:01.229+0000 7f2fd44ea700 -1 Remote method threw exception: Traceback (most recent call last):
2019-12-02T03:41:01.235 INFO:ceph.mgr.y.mira077.stderr:  File "/usr/share/ceph/mgr/ssh/module.py", line 1099, in update_mons
2019-12-02T03:41:01.235 INFO:ceph.mgr.y.mira077.stderr:    if name and len([d for d in daemons if d.service_instance == name]):
2019-12-02T03:41:01.235 INFO:ceph.mgr.y.mira077.stderr:AttributeError: 'AsyncCompletion' object has no attribute 'service_instance'
2019-12-02T03:41:01.235 INFO:ceph.mgr.y.mira077.stderr:
2019-12-02T03:41:01.235 INFO:ceph.mgr.y.mira077.stderr:2019-12-02T03:41:01.229+0000 7f2fd44ea700 -1 mgr handle_command module 'orchestrator_cli' command handler threw exception:
Remote method threw exception: Traceback (most recent call last):
2019-12-02T03:41:01.235 INFO:ceph.mgr.y.mira077.stderr:  File "/usr/share/ceph/mgr/ssh/module.py", line 1099, in update_mons
2019-12-02T03:41:01.236 INFO:ceph.mgr.y.mira077.stderr:    if name and len([d for d in daemons if d.service_instance == name]):
2019-12-02T03:41:01.236 INFO:ceph.mgr.y.mira077.stderr:AttributeError: 'AsyncCompletion' object has no attribute 'service_instance'
2019-12-02T03:41:01.236 INFO:ceph.mgr.y.mira077.stderr:
2019-12-02T03:41:01.237 INFO:ceph.mgr.y.mira077.stderr:2019-12-02T03:41:01.229+0000 7f2fd44ea700 -1 mgr.server reply reply (22) Invalid argument Traceback (most recent call last)
:
2019-12-02T03:41:01.237 INFO:ceph.mgr.y.mira077.stderr:  File "/usr/share/ceph/mgr/mgr_module.py", line 976, in _handle_command
2019-12-02T03:41:01.237 INFO:ceph.mgr.y.mira077.stderr:    return CLICommand.COMMANDS[cmd['prefix']].call(self, cmd, inbuf)
2019-12-02T03:41:01.238 INFO:ceph.mgr.y.mira077.stderr:  File "/usr/share/ceph/mgr/mgr_module.py", line 368, in call
2019-12-02T03:41:01.238 INFO:ceph.mgr.y.mira077.stderr:    return self.func(mgr, **kwargs)
2019-12-02T03:41:01.238 INFO:ceph.mgr.y.mira077.stderr:  File "/usr/share/ceph/mgr/orchestrator.py", line 131, in wrapper
2019-12-02T03:41:01.238 INFO:ceph.mgr.y.mira077.stderr:    return func(*args, **kwargs)
2019-12-02T03:41:01.238 INFO:ceph.mgr.y.mira077.stderr:  File "/usr/share/ceph/mgr/orchestrator_cli/module.py", line 608, in _update_mons
2019-12-02T03:41:01.238 INFO:ceph.mgr.y.mira077.stderr:    completion = self.update_mons(num, hosts)
2019-12-02T03:41:01.238 INFO:ceph.mgr.y.mira077.stderr:  File "/usr/share/ceph/mgr/orchestrator.py", line 1367, in inner
2019-12-02T03:41:01.239 INFO:ceph.mgr.y.mira077.stderr:    completion = self._oremote(method_name, args, kwargs)
2019-12-02T03:41:01.239 INFO:ceph.mgr.y.mira077.stderr:  File "/usr/share/ceph/mgr/orchestrator.py", line 1427, in _oremote
2019-12-02T03:41:01.239 INFO:ceph.mgr.y.mira077.stderr:    return mgr.remote(o, meth, *args, **kwargs)
2019-12-02T03:41:01.239 INFO:ceph.mgr.y.mira077.stderr:  File "/usr/share/ceph/mgr/mgr_module.py", line 1336, in remote
2019-12-02T03:41:01.239 INFO:ceph.mgr.y.mira077.stderr:    args, kwargs)
2019-12-02T03:41:01.239 INFO:ceph.mgr.y.mira077.stderr:RuntimeError: Remote method threw exception: Traceback (most recent call last):
2019-12-02T03:41:01.239 INFO:ceph.mgr.y.mira077.stderr:  File "/usr/share/ceph/mgr/ssh/module.py", line 1099, in update_mons
2019-12-02T03:41:01.240 INFO:ceph.mgr.y.mira077.stderr:    if name and len([d for d in daemons if d.service_instance == name]):
2019-12-02T03:41:01.240 INFO:ceph.mgr.y.mira077.stderr:AttributeError: 'AsyncCompletion' object has no attribute 'service_instance'

see

- http://pulpito.ceph.com/kchai-2019-12-02_01:50:54-rados-wip-kefu-testing-2019-11-29-2231-distro-basic-mira/4559091/
- http://pulpito.ceph.com/kchai-2019-12-02_01:50:54-rados-wip-kefu-testing-2019-11-29-2231-distro-basic-mira/4559090/

i think the regression was introduced by https://github.com/ceph/ceph/pull/30262

Actions #1

Updated by Kefu Chai over 4 years ago

  • Assignee set to Sebastian Wagner

Sebastian, could you help take a look?

Actions #2

Updated by Sebastian Wagner over 4 years ago

  • Pull request ID set to 31933
Actions #3

Updated by Sebastian Wagner over 4 years ago

  • Status changed from New to Fix Under Review
Actions #4

Updated by Sage Weil over 4 years ago

  • Status changed from Fix Under Review to Resolved
Actions #5

Updated by Sage Weil over 4 years ago

  • Project changed from mgr to Orchestrator
  • Category deleted (orchestrator)
Actions

Also available in: Atom PDF