def kill_ion(tsuite): """Kill ION daemons. Args: tsuite: runtime tsuite.""" sl2gen.stop_slash2_socks(tsuite, "ion", tsuite.sl2objects["ion"], "slictl", "sliod")
def kill_mnt(tsuite): """Kill ION daemons. Args: tsuite: runtime tsuite.""" for client in tsuite.sl2objects["client"]: ssh = SSH(tsuite.user, client["host"]) if not ssh.run("sudo umount {0}".format(tsuite.build_dirs["mp"]))["err"] == []: log.critical("Cannot unmount client mountpoint at {0} @ {1}.".format(tsuite.build_dirs["mp"], client["host"])) sl2gen.stop_slash2_socks(tsuite, "client", tsuite.sl2objects["client"], "msctl", "mount_slash")
def kill_mds(tsuite): """Kill MDS/slashd daemons.""" sl2gen.stop_slash2_socks(tsuite, "mds", tsuite.sl2objects["mds"], "slmctl", "slashd")