Project

General

Profile

Actions

Bug #64193

open

teuthology/misc.py: IndexError: list index out of range in _ssh_keyscan

Added by Laura Flores 3 months ago. Updated 3 months ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
-
Category:
-
% Done:

0%

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

Description

/a/yuriw-2024-01-23_16:01:32-rados-wip-yuri3-testing-2024-01-22-1155-distro-default-smithi/7528537/supervisor.7528537.log

2024-01-23T18:11:28.236 DEBUG:teuthology.orchestra.run.smithi174:> cat /etc/os-release
2024-01-23T18:11:28.291 INFO:teuthology.orchestra.run.smithi174.stdout:NAME="CentOS Stream" 
2024-01-23T18:11:28.291 INFO:teuthology.orchestra.run.smithi174.stdout:VERSION="9" 
2024-01-23T18:11:28.291 INFO:teuthology.orchestra.run.smithi174.stdout:ID="centos" 
2024-01-23T18:11:28.291 INFO:teuthology.orchestra.run.smithi174.stdout:ID_LIKE="rhel fedora" 
2024-01-23T18:11:28.291 INFO:teuthology.orchestra.run.smithi174.stdout:VERSION_ID="9" 
2024-01-23T18:11:28.291 INFO:teuthology.orchestra.run.smithi174.stdout:PLATFORM_ID="platform:el9" 
2024-01-23T18:11:28.291 INFO:teuthology.orchestra.run.smithi174.stdout:PRETTY_NAME="CentOS Stream 9" 
2024-01-23T18:11:28.291 INFO:teuthology.orchestra.run.smithi174.stdout:ANSI_COLOR="0;31" 
2024-01-23T18:11:28.291 INFO:teuthology.orchestra.run.smithi174.stdout:LOGO="fedora-logo-icon" 
2024-01-23T18:11:28.292 INFO:teuthology.orchestra.run.smithi174.stdout:CPE_NAME="cpe:/o:centos:centos:9" 
2024-01-23T18:11:28.292 INFO:teuthology.orchestra.run.smithi174.stdout:HOME_URL="https://centos.org/" 
2024-01-23T18:11:28.292 INFO:teuthology.orchestra.run.smithi174.stdout:BUG_REPORT_URL="https://bugzilla.redhat.com/" 
2024-01-23T18:11:28.292 INFO:teuthology.orchestra.run.smithi174.stdout:REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux 9" 
2024-01-23T18:11:28.292 INFO:teuthology.orchestra.run.smithi174.stdout:REDHAT_SUPPORT_PRODUCT_VERSION="CentOS Stream" 
2024-01-23T18:11:28.292 INFO:teuthology.provision.fog.smithi174:Deploy complete!
2024-01-23T18:11:28.293 DEBUG:teuthology.parallel:result is None
2024-01-23T18:11:29.379 ERROR:teuthology.dispatcher.supervisor:Reimaging error. Nuking machines...
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_teuthology_c856e0f9244dd29a50697123b480d63f16a4ed81/teuthology/dispatcher/supervisor.py", line 232, in reimage
    reimaged = lock_ops.reimage_machines(ctx, targets, job_config['machine_type'])
  File "/home/teuthworker/src/git.ceph.com_teuthology_c856e0f9244dd29a50697123b480d63f16a4ed81/teuthology/lock/ops.py", line 326, in reimage_machines
    reimaged = do_update_keys(list(reimaged.keys()))[1]
  File "/home/teuthworker/src/git.ceph.com_teuthology_c856e0f9244dd29a50697123b480d63f16a4ed81/teuthology/lock/ops.py", line 290, in do_update_keys
    keys_dict = misc.ssh_keyscan(machines, _raise=_raise)
  File "/home/teuthworker/src/git.ceph.com_teuthology_c856e0f9244dd29a50697123b480d63f16a4ed81/teuthology/misc.py", line 1108, in ssh_keyscan
    key = _ssh_keyscan(hostname)
  File "/home/teuthworker/src/git.ceph.com_teuthology_c856e0f9244dd29a50697123b480d63f16a4ed81/teuthology/misc.py", line 1145, in _ssh_keyscan
    return sorted(keys)[0]
IndexError: list index out of range

Actions #1

Updated by Zack Cerza 3 months ago

  • Status changed from New to Fix Under Review
Actions

Also available in: Atom PDF