Revision fcecea0b

b/lib/client/gnt_cluster.py
949 949
    opcls = opcodes.OpInstanceStartup
950 950
    text_submit, text_success, text_failed = ("startup", "started", "starting")
951 951
  else:
952
    opcls = opcodes.OpInstanceShutdown
952
    opcls = compat.partial(opcodes.OpInstanceShutdown,
953
                           timeout=opts.shutdown_timeout)
953 954
    text_submit, text_success, text_failed = ("shutdown", "stopped", "stopping")
954 955

  
955 956
  jex = JobExecutor(opts=opts)
......
1312 1313
    "Renews cluster certificates, keys and secrets"),
1313 1314
  "epo": (
1314 1315
    Epo, [ArgUnknown()],
1315
    [FORCE_OPT, ON_OPT, GROUPS_OPT, ALL_OPT, OOB_TIMEOUT_OPT],
1316
    [FORCE_OPT, ON_OPT, GROUPS_OPT, ALL_OPT, OOB_TIMEOUT_OPT,
1317
     SHUTDOWN_TIMEOUT_OPT],
1316 1318
    "[opts...] [args]",
1317 1319
    "Performs an emergency power-off on given args"),
1318 1320
  }

Also available in: Unified diff