orchestra/daemon/state: do not pass fsid property to run() later 1617/head
authorSage Weil <sage@newdream.net>
Wed, 17 Feb 2021 18:47:45 +0000 (13:47 -0500)
committerSage Weil <sage@newdream.net>
Wed, 17 Feb 2021 20:09:56 +0000 (15:09 -0500)
Signed-off-by: Sage Weil <sage@newdream.net>
teuthology/orchestra/daemon/state.py

index 3a6a17213d0c70dac390ba9d483c0a346af90300..fd9baa54198afe128f755ae445f241b66bce1b99 100644 (file)
@@ -23,13 +23,13 @@ class DaemonState(object):
         """
         self.remote = remote
         self.command_args = command_args
-        self.command_kwargs = command_kwargs
         self.role = role
         self.cluster, self.type_ = self.role.split('.')[0:2]
         self.id_ = id_
         self.log = command_kwargs.get('logger', log)
-        self.fsid = command_kwargs.get('fsid')
+        self.fsid = command_kwargs.pop('fsid', None)
         self.proc = None
+        self.command_kwargs = command_kwargs
 
     def check_status(self):
         """