]> 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)
committerSebastian Wagner <sebastian.wagner@suse.com>
Tue, 4 Aug 2020 14:21:44 +0000 (16:21 +0200)
commit2deb4263e126506579dbd9f48af417c60da577d5
treee52f11bd6bf6fc1c3e977682760eb3c4b113371f
parent58efb001038f4e4f53cc63643019001a8dda4e47
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>
(cherry picked from commit 94e418581c9126dc199def6078d6a8449bdec8df)
src/pybind/mgr/cephadm/module.py