Bug 749928 - Can't launch 'connect iso' dialog in KDE
Summary: Can't launch 'connect iso' dialog in KDE
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: 16
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 700560 755372 787497 (view as bug list)
Depends On:
Blocks: 822232
TreeView+ depends on / blocked
 
Reported: 2011-10-28 21:39 UTC by Martin Kho
Modified: 2012-05-16 17:56 UTC (History)
18 users (show)

Fixed In Version: virt-manager-0.9.1-1.fc16
Clone Of:
: 822232 (view as bug list)
Environment:
Last Closed: 2012-02-05 21:50:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
virt-manager.log (126.38 KB, text/x-log)
2011-10-28 21:39 UTC, Martin Kho
no flags Details

Description Martin Kho 2011-10-28 21:39:33 UTC
Created attachment 530747 [details]
virt-manager.log

Description of problem:
In virt-manager an ISO-file can be connected to IDE CDROM 1 with a Connect button. But this button is doing nothing.

Version-Release number of selected component (if applicable):
virt-manager-0.9.0-6.fc16.noarch

How reproducible:
Always

Steps to Reproduce:
1. Open a VM (Open button)
2. Go to Details (Show Virtual Hardware Details)
3. Go to IDE CDROM 1
4. Press Connect button (In F15 a dialog box opens, in F16 this fails)

  
Actual results:
Nothing happens


Expected results:
A dialog box opens where I can select an ISO-file.

Additional info:
I've looked in .xsession-errors, virt-manager.log. Nothing is in there :-(. For your reference I'll attach virt-manager.log

Comment 1 Scott Dowdle 2011-11-03 22:05:54 UTC
This bug is also affecting me.  The dialog where you can select the iso pops open for a fraction of a second and disappears... never to return... and I made sure it wasn't obscured by any other windows.

Comment 2 Scott Dowdle 2011-11-03 22:08:38 UTC
I was able to make it work again by deleting the IDE CDROM device and then creating a new one... and during the creation process... selecting the desired .iso file.

If I disconnect the .iso added during device creation then I'm no longer able to connect another iso and the previous problem happens again... but at least there is this work around.

Comment 3 Matt Fox 2011-12-14 15:55:46 UTC
I too have noticed an issue with mounting CDROM on KVM guests on Fedora 16.
I appears to be more than just a virt-manager issue.  I have tried to mount via the libvirt interface as well.  

The command works correctly in Fedora 15:
   virsh attach-disk guest1 /vol1/disk.iso hdc --mode readonly --driver file --type cdrom 
Result: Disk attached successfully
This same command fails in Fedora 16, fully patched as of 12/14/11:
  virsh attach-disk guest1 /vol1/disk.iso hdc --mode readonly --driver file --type cdrom
Result: error: Failed to attach disk
error: unsupported configuration: unsupported driver name 'file' for disk '/vol1/disk.iso'

I have also tried editing the xml config and running virsh update-device with roughly the same error:

error: Failed to update device from /vol1/guest1/guest1.xml
error: XML error: unknown device type

Comment 4 Francois Andriot 2012-01-08 20:14:36 UTC
Hello, I have the same symptom: no dialog box appears when I click the "Connect" button on an IDE cdrom of an existing virtual machine. It is working in virt-manager 0.8.7 but not anymore in 0.9.0 .

Another observation: when I SSH my server from another computer, then run the virt-manager (so that the manager is itself running on the server, but displayed on a remote computer - I do not run the manager on the remote computer), then it seems to work.

Even without a remote computer, you can even try something like "ssh localhost virt-manager" (with X11 forwarding enabled in SSH), it solves the problem on most of my virtual machines (alas it does not work 100%, some VM still have the problem randomly).

So it looks like it's just a display problem (X11 ? GTK ?)
I guess Matt's problem explained above is a different problem than Martin, Scott and Myself.

Comment 5 Cole Robinson 2012-01-25 00:20:50 UTC
Sorry guys ignoring this for so long.

Unfortunately I can't reproduce. I'm using gnome shell FWIW, what is everyone else using? Gnome 3 fallback, kde, lxde? The fact that the window is appearing and then disappearing makes me wonder if this is desktop environment related.

Comment 6 Cole Robinson 2012-01-25 00:22:49 UTC
*** Bug 755372 has been marked as a duplicate of this bug. ***

Comment 7 Scott Dowdle 2012-01-25 02:54:48 UTC
(In reply to comment #5)
> Unfortunately I can't reproduce. I'm using gnome shell FWIW, what is everyone
> else using? Gnome 3 fallback, kde, lxde? The fact that the window is appearing
> and then disappearing makes me wonder if this is desktop environment related.

I'm using KDE myself.

I can try a different desktop to see if changing desktop changes anything.  Will have to try it tomorrow at work though as I don't have a KVM enabled machine at home.

Comment 8 Cole Robinson 2012-01-25 03:36:10 UTC
Scott, don't worry about it, I reproduced the issue in a KDE vm before it crashed  :)  so I'm pretty sure it's KDE (or at least non-gnome-shell) specific.

I'll investigate tomorrow what I can do to fix this in virt-manager.

Comment 9 Cole Robinson 2012-01-25 15:45:35 UTC
Fixed upstream now:

http://git.fedorahosted.org/git?p=virt-manager.git;a=commit;h=5efe079158b7b6e1fb9e8fcc00af8b27a08dbde3

If any one wants to do the fix by hand, edit /usr/share/virt-manager/virtManager/choosecd.py and change the only occurence of topwin.show() to topwin.present()
The dialog will flicker once, but click the 'choose' button again and it will show up from then on.

Comment 10 Martin Kho 2012-01-25 16:03:01 UTC
Hi Cole,

The fix works :-)

Great and Thanks,

Martin Kho

You can close this report?

Comment 11 Cole Robinson 2012-01-25 16:39:42 UTC
Not yet, I haven't pushed the fix to fedora yet. When that happens I'll close the bug.

Comment 12 Cole Robinson 2012-01-25 23:33:40 UTC
*** Bug 700560 has been marked as a duplicate of this bug. ***

Comment 13 Fedora Update System 2012-02-01 17:06:01 UTC
virt-manager-0.9.1-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/virt-manager-0.9.1-1.fc16

Comment 14 Fedora Update System 2012-02-02 17:30:47 UTC
Package virt-manager-0.9.1-1.fc16:
* should fix your issue,
* was pushed to the Fedora 16 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.9.1-1.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-1206/virt-manager-0.9.1-1.fc16
then log in and leave karma (feedback).

Comment 15 Cole Robinson 2012-02-05 19:29:41 UTC
*** Bug 787497 has been marked as a duplicate of this bug. ***

Comment 16 Fedora Update System 2012-02-05 21:50:44 UTC
virt-manager-0.9.1-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.