from teuthology.orchestra.run import CommandFailedError
from teuthology import misc
from teuthology.contextutil import MaxWhileTries
-from cephfs.kernel_mount import KernelMount
+from tasks.cephfs.kernel_mount import KernelMount
log = logging.getLogger(__name__)
try:
mount.umount()
except (CommandFailedError, MaxWhileTries):
- log.warn("Ordinary umount failed, forcing...")
+ log.warning("Ordinary umount failed, forcing...")
forced = True
mount.umount_wait(force=True)