From: AlirezaKm Date: Mon, 25 Mar 2019 21:50:49 +0000 (+0430) Subject: osd: decode output from remoto X-Git-Tag: v2.1.0~8^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a2320da374138b9a59ecdc722e3bd8d228b8604c;p=ceph-deploy.git osd: decode output from remoto fixed error of decode string in disk_list function of osd Signed-off-by: AlirezaKm --- diff --git a/ceph_deploy/osd.py b/ceph_deploy/osd.py index b35a18e..cece242 100644 --- a/ceph_deploy/osd.py +++ b/ceph_deploy/osd.py @@ -372,6 +372,7 @@ def disk_list(args, cfg): command, ) for line in out: + line = line.decode('utf-8') if line.startswith('Disk /'): distro.conn.logger.info(line)