Beispiel #1
0
def kill_ion(tsuite):
    """Kill ION daemons.

  Args:
    tsuite: runtime tsuite."""
    sl2gen.stop_slash2_socks(tsuite, "ion", tsuite.sl2objects["ion"], "slictl",
                             "sliod")
Beispiel #2
0
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")
Beispiel #3
0
def kill_ion(tsuite):
  """Kill ION daemons.

  Args:
    tsuite: runtime tsuite."""
  sl2gen.stop_slash2_socks(tsuite, "ion", tsuite.sl2objects["ion"], "slictl", "sliod")
Beispiel #4
0
def kill_mds(tsuite):
    """Kill MDS/slashd daemons."""
    sl2gen.stop_slash2_socks(tsuite, "mds", tsuite.sl2objects["mds"], "slmctl",
                             "slashd")
Beispiel #5
0
def kill_mds(tsuite):
  """Kill MDS/slashd daemons."""
  sl2gen.stop_slash2_socks(tsuite, "mds", tsuite.sl2objects["mds"], "slmctl", "slashd")