]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: fix call to cephadm for daemon restarts etc
authorPaul Cuzner <pcuzner@redhat.com>
Wed, 29 Jul 2020 04:00:37 +0000 (16:00 +1200)
committerPaul Cuzner <pcuzner@redhat.com>
Wed, 29 Jul 2020 04:00:37 +0000 (16:00 +1200)
commit94e418581c9126dc199def6078d6a8449bdec8df
treedce29fcbc7ef13c1a1d37419f2d0120342e0aad5
parent6ad3d0d63e728487bc6f1f7bc041ec5f5aebec1f
mgr/cephadm: fix call to cephadm for daemon restarts etc

The call currently passes the daemon_type as the first
parameter - but the function expects the hostname. This
results in failures when attempting daemon restarts through the ceph orch daemon <action> <daemon_id>
command.

Fixes: https://tracker.ceph.com/issues/46740
Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
src/pybind/mgr/cephadm/module.py