cephadmunit: Python3 fix: signal.SIGHUP is no longer an int.
py2: `str(signal.SIGHUP) == "1"`
py3: `str(signal.SIGHUP) == "signal.SIGHUP"`
Fixes:
@@ -36,7 +36,7 @@ class CephadmUnit(DaemonState):
def kill_cmd(self, sig):
return ' '.join([
'sudo', 'docker', 'kill',
- '-s', str(sig),
+ '-s', str(int(sig)),
'ceph-%s-%s.%s' % (self.fsid, self.type_, self.id_),
])
