Project

General

Profile

Actions

Bug #11170

closed

teuthology.lock.update_lock() hangs eternally if ssh-keyscan fails

Added by Zack Cerza about 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

def update_lock(name, description=None, status=None, ssh_pub_key=None):
    name = misc.canonicalize_hostname(name, user=None)
    # Only do VM specific things (key lookup) if we are not
    # Just updating the status (like marking down).
    if not status:
        status_info = get_status(name)
        if status_info['is_vm']:
            ssh_key = None
            while not ssh_key:
                time.sleep(10)
                ssh_key = ssh_keyscan([name])
Actions #1

Updated by Zack Cerza about 9 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Zack Cerza about 9 years ago

  • Status changed from In Progress to Fix Under Review
Actions

Also available in: Atom PDF