Unhelpful error message on "uvt-kvm ssh" when guest is not ready

Bug #1303877 reported by Robie Basak on 2014-04-07
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
uvtool
Medium
Robie Basak

Bug Description

root@nuc:~# uvt-kvm ssh --insecure trusty-server
Traceback (most recent call last):
  File "/usr/bin/uvt-kvm", line 35, in <module>
    uvtool.libvirt.kvm.main_cli_wrapper(sys.argv[1:])
  File "/usr/lib/python2.7/dist-packages/uvtool/libvirt/kvm.py", line 709, in main_cli_wrapper
    main(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/uvtool/libvirt/kvm.py", line 704, in main
    args.func(parser, args)
  File "/usr/lib/python2.7/dist-packages/uvtool/libvirt/kvm.py", line 580, in main_ssh
    return ssh(name, login_name, args.ssh_arguments)
  File "/usr/lib/python2.7/dist-packages/uvtool/libvirt/kvm.py", line 471, in ssh
    ip = ips[0]
IndexError: list index out of range

A more helpful error would be useful here.

Athir Nuaimi (athir-g) wrote :

I only get this error when there is a problem with how the VM networking is setup and uvtools can't connect to the server.

Robie Basak (racb) on 2015-03-19
Changed in uvtool:
status: New → Triaged
assignee: nobody → Robie Basak (racb)
importance: Undecided → Medium
Robie Basak (racb) wrote :

Fixed in rev 98.

Changed in uvtool:
status: Triaged → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers