Mounts may create a Filesystem object which does not create the file
system. This causes self.id to be Null when we try to wait for daemons
to be up. Load it just in time!
Fixes: https://tracker.ceph.com/issues/59332
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit
69565dbbf124e29f30dae989eae41eada161a4b4)
if timeout is None:
timeout = DAEMON_WAIT_TIMEOUT
+ if self.id is None:
+ status = self.getinfo(refresh=True)
+
if status is None:
status = self.status()