]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
Fix reference to ipmi domain
authorZack Cerza <zack@redhat.com>
Tue, 16 Aug 2016 20:18:00 +0000 (14:18 -0600)
committerZack Cerza <zack@redhat.com>
Tue, 16 Aug 2016 23:07:33 +0000 (17:07 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/nuke/actions.py

index 907f86a70f3d7bddd41d8fba07c235c2f172a413..d9cd2d58fb341aaf8099c57644c83ad10479aa11 100644 (file)
@@ -372,7 +372,8 @@ def check_console(hostname):
     console = remote.console
     cname = '{host}.{domain}'.format(
         host=shortname,
-        domain=config['ipmi_domain'])
+        domain=console.ipmidomain,
+    )
     log.info('checking console status of %s' % cname)
     if console.check_status():
         log.info('console ready on %s' % cname)