]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
task/console_log: Work with VirtualConsole wip-vps-console 1125/head
authorZack Cerza <zack@redhat.com>
Wed, 8 Nov 2017 23:02:55 +0000 (16:02 -0700)
committerZack Cerza <zack@redhat.com>
Thu, 9 Nov 2017 17:12:54 +0000 (10:12 -0700)
Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/task/console_log.py

index f9450b2a81793432a5e39c8e19ec2b2b2aa2bf18..9ac7a12a3038a4b0c46509df472174c1d6a1a5ab 100644 (file)
@@ -29,7 +29,7 @@ class ConsoleLog(Task):
             if not hasattr(remote.console, 'spawn_sol_log'):
                 log.debug("%s does not support IPMI; excluding",
                           remote.shortname)
-            elif not (remote.console.has_ipmi_credentials or
+            elif not (getattr(remote.console, 'has_ipmi_credentials', False) or
                       remote.console.has_conserver):
                 log.debug("Cannot find IPMI credentials or conserver settings "
                           "for %s; excluding",