Bug 754484

Summary: virt-manager: offer to install openssh-askpass if catch an error about it
Product: [Fedora] Fedora Reporter: David Jaša <djasa>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: berrange, cra, crobinso, dougsland, dpierce, hbrock, herrold, jforbes, sergio.pasra, ssato, tadej.j, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-09 23:02:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Jaša 2011-11-16 16:27:09 UTC
Description of problem:
SSIA

Version-Release number of selected component (if applicable):
virt-manager-0.9.0-8.fc16.noarch (f16 virt-preview repo)

How reproducible:
always

Steps to Reproduce:
1. run virt-manager on computer where ssh-askpass is *not* installed
2. add a remote ssh connection, try to connect to it
3.
  
Actual results:
cryptic error message is thrown (full output in additional info)

Expected results:
first virt-manager says that it needs ssh-askpass,
second virt-manager asks PackageKit to install it

Additional info: Error message:
===========================
Unable to open a connection to the libvirt management daemon.

Libvirt URI is: qemu+ssh://root.29.7/system

Verify that:
 - The 'libvirtd' daemon has been started
----------------------------
Details:

Unable to open a connection to the libvirt management daemon.

Libvirt URI is: qemu+ssh://root.29.7/system

Verify that:
 - The 'libvirtd' daemon has been started


Cannot recv data: ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory

Permission denied, please try again.

ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory

Permission denied, please try again.

ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory

Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
: Connection reset by peer

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 1146, in _open_thread
    self.vmm = self._try_open()
  File "/usr/share/virt-manager/virtManager/connection.py", line 1130, in _try_open
    flags)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 102, in openAuth
    if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: Cannot recv data: ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory

Permission denied, please try again.

ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory

Permission denied, please try again.

ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory

Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
: Connection reset by peer

Comment 1 David Jaša 2011-11-16 16:29:57 UTC
minor correction:

(In reply to comment #0)
> 1. run virt-manager on computer where ssh-askpass is *not* installed
openssh-askpass

> Expected results:
> first virt-manager says that it needs ssh-askpass,
openssh-askpass again

Comment 2 Cole Robinson 2012-01-25 23:28:42 UTC
*** Bug 784710 has been marked as a duplicate of this bug. ***

Comment 3 Cole Robinson 2012-02-02 22:47:25 UTC
*** Bug 786660 has been marked as a duplicate of this bug. ***

Comment 4 Sergio Pascual 2012-02-16 11:40:45 UTC
Without openssh-askpass, virt-manager doesn't ask you the connection password. ssh conections are unusable unless you start virt-manager in a terminal and type the password there

Comment 6 Fedora Update System 2012-07-09 22:02:39 UTC
virt-manager-0.9.3-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/virt-manager-0.9.3-1.fc17

Comment 7 Fedora Update System 2012-07-09 22:02:40 UTC
virt-manager-0.9.3-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/virt-manager-0.9.3-1.fc16

Comment 8 Fedora Update System 2012-07-10 20:50:58 UTC
Package virt-manager-0.9.3-1.fc17:
* should fix your issue,
* was pushed to the Fedora 17 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.3-1.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-10462/virt-manager-0.9.3-1.fc17
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2012-07-29 21:22:40 UTC
virt-manager-0.9.4-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/virt-manager-0.9.4-1.fc17

Comment 10 Fedora Update System 2012-07-29 21:23:41 UTC
virt-manager-0.9.4-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/virt-manager-0.9.4-1.fc16

Comment 11 Fedora Update System 2012-08-09 23:02:22 UTC
virt-manager-0.9.4-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2012-08-09 23:23:32 UTC
virt-manager-0.9.4-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.