Bug 681249

Summary: Can't connect to virtual machine graphic display: TypeError: value is of wrong type for this column
Product: [Fedora] Fedora Reporter: darrell pfeifer <darrellpf>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: berrange, bkelly, crobinso, dgoodwin, eparis, hbrock, ipilcher, jforbes, mcepl, mcepl, pablo.iranzo, pmatilai, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: virt-manager-0.8.7-2.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-31 16:37:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description darrell pfeifer 2011-03-01 14:52:21 UTC
Description of problem:

Virtual machine starts, but unable to connect to display


Version-Release number of selected component (if applicable):

virt-manager-0.8.6-2.fc15.noarch

How reproducible:

Happens each time I start the machine and attempt to view the display.

The first time I used "run" then "open" and couldn't connect to the display. The next time I used "open" first and was able to connect though the error still appears.

It seems like open works to bring up the console, but not run/open.


Steps to Reproduce:
1.
2.
3.
  
Actual results:

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/engine.py", line 637, in _do_show_details
    details = self._get_details_dialog(uri, uuid)
  File "/usr/share/virt-manager/virtManager/engine.py", line 617, in _get_details_dialog
    obj = vmmDetails(con.get_vm(uuid), self)
  File "/usr/share/virt-manager/virtManager/details.py", line 444, in __init__
    self.refresh_vm_state()
  File "/usr/share/virt-manager/virtManager/details.py", line 1056, in refresh_vm_state
    self._refresh_runtime_pinning()
  File "/usr/share/virt-manager/virtManager/details.py", line 2054, in _refresh_runtime_pinning
    vcpu_model.append([vcpu, vcpucur, vcpupin])
TypeError: value is of wrong type for this column


Expected results:


Additional info:

Comment 1 Pablo Iranzo Gómez 2011-03-08 07:20:14 UTC
I found that I can open the screen for a VM if it's switched off and while I've the details/console view dialog swith it on.

If I switch it on and then try to open console, it will either throw this message (when using --debug) or will 'hang' if not using it.

This happens on two machines upgraded to Fedora 15 pre-alpha and connecting to both local and remote machines that always worked perfectly with F14.

¿is this a virt-viewer issue?

Regards
Pablo

Comment 2 Devan Goodwin 2011-03-11 20:26:12 UTC
Hitting this bug as well.

I also can open the console if I first double click the guest in virt-manager, *then* start it up.

virt-viewer from the CLI works fine even if guest is already started.

Comment 3 Ian Pilcher 2011-03-13 22:38:55 UTC
*** Bug 683244 has been marked as a duplicate of this bug. ***

Comment 4 Ian Pilcher 2011-03-13 22:40:13 UTC
The change described here fixes the problem for me:

    http://permalink.gmane.org/gmane.comp.emulators.virt-tools/957

Comment 5 Ian Pilcher 2011-03-18 19:12:20 UTC
(In reply to comment #4)
>     http://permalink.gmane.org/gmane.comp.emulators.virt-tools/957

This has been applied upstream.  Can we please get it into Fedora 15?

Comment 6 Panu Matilainen 2011-03-22 20:45:19 UTC
/me too

virt-manager-0.8.6-2.fc15.noarch blows up with the "TypeError: value is of wrong type for this column" error, the upstream fix mentioned above fixes it.

Comment 7 Cole Robinson 2011-03-23 15:05:27 UTC
Sorry for the delay. Something causes this to appear on rawhide but not f14
AFAICT, so it snuck into the release.

I'll be cutting a new upstream release and pushing to f15/rawhide today.

Comment 8 Fedora Update System 2011-03-28 21:31:34 UTC
virt-manager-0.8.7-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/virt-manager-0.8.7-1.fc15

Comment 9 darrell pfeifer 2011-03-29 00:54:05 UTC
Installed 0.8.7-1.fc16

Now the open button causes 100% CPU usage. If run is done first I can see the machine working via the graph, but the graph stops updating when run is hit.

There aren't any errors appearing in the virt manager log,

Comment 10 Fedora Update System 2011-03-29 03:33:39 UTC
Package virt-manager-0.8.7-1.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing virt-manager-0.8.7-1.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/virt-manager-0.8.7-1.fc15
then log in and leave karma (feedback).

Comment 11 Matěj Cepl 2011-03-29 09:10:47 UTC
virt-manager doesn't start for me at all. Back to the drawing board, I am afraid.

bradford:bugzilla-triage (next) $ rpm -q virt-manager
virt-manager-0.8.7-1.fc15.noarch
bradford:bugzilla-triage (next) $ virt-manager 
Traceback (most recent call last):
  File "/usr/share/virt-manager/virt-manager.py", line 467, in <module>
    main()
  File "/usr/share/virt-manager/virt-manager.py", line 321, in main
    setup_i18n()
  File "/usr/share/virt-manager/virt-manager.py", line 80, in setup_i18n
    gettext.install(gettext_app, gettext_dir)
  File "/usr/lib64/python2.7/gettext.py", line 495, in install
    t = translation(domain, localedir, fallback=True, codeset=codeset)
  File "/usr/lib64/python2.7/gettext.py", line 480, in translation
    t = _translations.setdefault(key, class_(fp))
  File "/usr/lib64/python2.7/gettext.py", line 180, in __init__
    self._parse(fp)
  File "/usr/lib64/python2.7/gettext.py", line 316, in _parse
    plural = v[1].split('plural=')[1]
IndexError: list index out of range
bradford:bugzilla-triage (next) $

Comment 12 Cole Robinson 2011-03-29 16:17:13 UTC
mcepl, I can't reproduce that issue, and anyways it seems to be coming from gettext so should probably be filed against python. any other python apps erroring like that, like possibly the system-config-* tools?

Comment 13 Fedora Update System 2011-03-31 16:23:13 UTC
virt-manager-0.8.7-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/virt-manager-0.8.7-2.fc15

Comment 14 darrell pfeifer 2011-03-31 16:37:36 UTC
This fix works for me.

Comment 15 Pablo Iranzo Gómez 2011-03-31 16:53:27 UTC
works for me

Comment 16 Matěj Cepl 2011-03-31 18:27:32 UTC
(In reply to comment #12)
> mcepl, I can't reproduce that issue, and anyways it seems to be coming from
> gettext so should probably be filed against python. any other python apps
> erroring like that, like possibly the system-config-* tools?

try with non-US locale. But yes, filed bug 692632 ... I hope Fedora is not only for US users.

Comment 17 Fedora Update System 2011-04-15 21:24:02 UTC
virt-manager-0.8.7-2.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.