mirror of
https://github.com/ceph/ceph
synced 2025-03-05 07:48:55 +00:00
nuke: Optionally check console status
Only check the ipmi console status if the ipmi parameters have been defined in .teuthology.yaml. Signed-off-by: Sam Lang <sam.lang@inktank.com>
This commit is contained in:
parent
ac4ba69d8d
commit
dcf99e43b9
@ -362,6 +362,7 @@ def nuke_helper(ctx, log):
|
||||
host = target.split('@')[-1]
|
||||
shortname = host.split('.')[0]
|
||||
log.debug('shortname: %s' % shortname)
|
||||
if 'ipmi_user' in ctx.teuthology_config:
|
||||
console = remote.RemoteConsole(name=host,
|
||||
ipmiuser=ctx.teuthology_config['ipmi_user'],
|
||||
ipmipass=ctx.teuthology_config['ipmi_password'],
|
||||
|
Loading…
Reference in New Issue
Block a user