Bug 1002094 - virt-manager insists on openssh-askpass being installed
Summary: virt-manager insists on openssh-askpass being installed
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virt-manager
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Pavel Hrdina
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-28 13:14 UTC by Gerd Hoffmann
Modified: 2015-11-05 01:03 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-05 01:03:54 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Gerd Hoffmann 2013-08-28 13:14:01 UTC
Description of problem:
$subject

Version-Release number of selected component (if applicable):
virt-manager-0.10.0-2.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1. Try connect to qemu+ssh://root@${hostname}/system
2. virt-manager suggests to install openssh-askpass
3. Hit 'no'.

Actual results:
virt-manager fails to connect

Expected results:
virt-manager succeeds to connect

Additional info:
this is a standard gnome3 install, with ssh-agent running and holding the keys needed to connect.  gnome asks for the passphrase when needed, which works just fine without openssh-askpass ...

Comment 2 Martin Kletzander 2013-08-28 15:18:14 UTC
If I'm not mistaken, the package in virt-manager is used for talking to the ssh not just because of the password request.  In case the remote is not in known hosts, I guess.  I'll see how we can make it easier for users.

Comment 5 Giuseppe Scrivano 2014-07-29 11:10:45 UTC
not sure how this could be fixed without installing openssh-askpass (https://bugzilla.redhat.com/show_bug.cgi?id=754484).  Probably we could try to connect first and in case it fails we can repeat the operation asking the user to install openssh-askpass first.  What do you think?

Comment 9 Cole Robinson 2015-11-05 01:03:54 UTC
We only ask 'do you want to install askpass' if ssh auth throws an error, and the error message mentions missing askpass binary, meaning ssh tried to launch it. We don't pre-emptively check for askpass or anything... So if ssh keys are properly setup, I don't think there should be any problem.

So closing as WORKSFORME, but if I'm wrong please reopen and provide full virt-manager --debug output when reproducing


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