Bug 959785 - using virt-manager to connect to another host causes virt-manager's 'browse local' button to be grayed out (workaround=launch a local virt-manager instance via 'ssh -Y' to attach an iso)
Summary: using virt-manager to connect to another host causes virt-manager's 'browse l...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: 19
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-05 18:13 UTC by Reartes Guillermo
Modified: 2013-05-08 23:44 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-08 23:44:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
#1 F19a TC Host, attaching an iso image to the local connection. (626.86 KB, image/png)
2013-05-05 18:15 UTC, Reartes Guillermo
no flags Details
#2 F19a TC Host, connected to F17 showing the grayed out 'browse local' button. (598.92 KB, image/png)
2013-05-05 18:16 UTC, Reartes Guillermo
no flags Details
#3 F17 Host, attaching an iso image to the local connection. (439.48 KB, image/png)
2013-05-05 18:17 UTC, Reartes Guillermo
no flags Details
#4 F17 Host, connected to F19a TC3 showing the grayed out 'browse local' button. (402.27 KB, image/png)
2013-05-05 18:18 UTC, Reartes Guillermo
no flags Details

Description Reartes Guillermo 2013-05-05 18:13:35 UTC
Description of problem:

When adding a QEMU/KVM connection in virt-manager (pointing to another host), one cannot attach an iso image (on the remote host) because the 'Browse Local' button is grayed out.

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

Fedora 19a TC3
 virt-manager.noarch        0.10.0-0.1.gitd3f9bc8e.fc19 @updates-testing
 virt-manager-common.noarch 0.10.0-0.1.gitd3f9bc8e.fc19 @updates-testing

Fedora 17 Release (I did not test Fedora 18 for this issue)
 virt-manager.noarch                   0.9.5-1.fc17             @updates
 virt-manager-common.noarch            0.9.5-1.fc17             @updates

I set the version to 19.

How reproducible:
always

Steps to Reproduce: (assuming a F19a TC3 installation)
1. Launch a local virt-manager instance
2. Select 'add connection...' in the 'File' menu
3. Set 'QEMU/KVM' for the Hypervisor
4. Check 'connect to remote host' checkbox
5. leave 'ssh' for method field and 'root' for username field.
6. type the hostname and click 'connect' 
7. select the connected QEMU (i my case it is 'ulquiorra')
8. Rigth click to create a new guest, make sure that 'ulquiorra (QEMU/KVM) --in my case-- is selected in 'connection'.
9. Choose a name for the guest and leave 'local install media (ISO image or CDROM)' option and click 'forward'.
10. Leave 'Use ISO image:' and click 'Browse...'
11. The dialog 'Loacte ISO media volume' will have the 'Browse Local' button grayed out, so it is not possible to locate the iso image and continue
the workflow for creating a guest.

Actual results:
One cannot attach an iso image to a guest because the 'Browse Local' button is grayed out. One also cannot create a guest if one needs to attach the iso to it.

The workaround is to open a terminal program and connect via 'ssh -Y root@host' and launch a separate 'local' virt-manager instance and attach the iso image. In the case of F19a TC3, the workaround fails due to bug 958641.

Expected results:
An usable 'Browse Local' button, not grayed out.

Additional info:

* attached 4 sceenshots:

#1 F19a TC Host, attaching an iso image to the local connection.
#2 F19a TC Host, connected to F17 showing the grayed out 'browse local' button.

#3 F17 Host, attaching an iso image to the local connection.
#4 F17 Host, connected to F19a TC3 showing the grayed out 'browse local' button.

Comment 1 Reartes Guillermo 2013-05-05 18:15:01 UTC
Created attachment 743822 [details]
#1 F19a TC Host, attaching an iso image to the local connection.

This is ok.

Comment 2 Reartes Guillermo 2013-05-05 18:16:49 UTC
Created attachment 743823 [details]
#2 F19a TC Host, connected to F17 showing the grayed out 'browse local' button.

This has the 'Browse Local' button grayed out.

Comment 3 Reartes Guillermo 2013-05-05 18:17:31 UTC
Created attachment 743824 [details]
#3 F17 Host, attaching an iso image to the local connection.

This works ok.

Comment 4 Reartes Guillermo 2013-05-05 18:18:26 UTC
Created attachment 743825 [details]
#4 F17 Host, connected to F19a TC3 showing the grayed out 'browse local' button.

This has the 'Browse Local' button grayed out

Comment 5 Cole Robinson 2013-05-08 23:44:05 UTC
This is expected behavior, there is no way to make the gtk filechooser transparently work for the remote machine. You need to set up libvirt storage pools for the remote directories you want to use.


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