]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: Add strings to assert statements 39162/head
authorSebastian Wagner <sebastian.wagner@suse.com>
Fri, 29 Jan 2021 10:10:38 +0000 (11:10 +0100)
committerSebastian Wagner <sebastian.wagner@suse.com>
Fri, 29 Jan 2021 10:10:38 +0000 (11:10 +0100)
commit06f4d84166f9c0761ace002fa2091dcd1d78f2d6
treebf49830043e930bb2f840a79d3d35a6c0bb10c8c
parentae167bd496d7dc0a72a24d7c393c32c5420c6bc2
mgr/cephadm: Add strings to assert statements

This helps with: https://tracker.ceph.com/issues/48981

Looks like there is an assert somewhere:

```
Error EINVAL: Traceback (most recent call last):
  File "/usr/share/ceph/mgr/mgr_module.py", line 1269, in _handle_command
    return self.handle_command(inbuf, cmd)
   ...snip...
  File "/usr/share/ceph/mgr/orchestrator/module.py", line 550, in _list_services
    raise_if_exception(completion)
  File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 653, in raise_if_exception
    raise e
AssertionError
```

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
src/pybind/mgr/cephadm/inventory.py
src/pybind/mgr/cephadm/module.py