Bug 757892

Summary: Defunct ssh processes spawned by virt-manager
Product: [Fedora] Fedora Reporter: Richard Marko <rmarko>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 16CC: berrange, crobinso, dougsland, dpierce, eparis, hbrock, jberan, jforbes, virt-maint
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: virt-manager-0.9.1-1.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-09 23:02:31 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 Richard Marko 2011-11-28 21:43:05 UTC
Description of problem:
When running virt-manager for some time opening and closing vnc windows of remote virtual machines, there's number (27) of defunct ssh processes spawned by virt-manager visible in ps axjf.

This sometimes affects functionality of vnc over ssh.

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

How reproducible:
Always

Steps to Reproduce:
1. use virt-manager over ssh
2. open & close few vnc windows

 
Actual results:
broken vnc tunneling, defunct ssh processes

Expected results:
working vnc, no defunct ssh processes

Comment 2 Fedora Update System 2012-02-01 17:06:28 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 3 Fedora Update System 2012-02-02 17:30:55 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 4 Fedora Update System 2012-02-05 21:50:52 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.

Comment 5 Eric Paris 2012-03-12 21:09:09 UTC
Sorry to do it, but I'm reopening.  I've got lots of defunct ssh sessions with 9.1-2.

# ps -ef | grep 9324
eparis    1449  9324  0 17:03 ?        00:00:00 ssh -l root 192.168.0.254 sh -c 'nc -q 2>&1 | grep "requires an argument" >/dev/null;if [ $? -eq 0 ] ; then   CMD="nc -q 0 127.0.0.1 5900";else   CMD="nc 127.0.0.1 5900";fi;eval "$CMD";'
eparis    1453  9324  1 17:03 ?        00:00:00 ssh -l root 192.168.0.254 sh -c 'nc -q 2>&1 | grep "requires an argument" >/dev/null;if [ $? -eq 0 ] ; then   CMD="nc -q 0 127.0.0.1 5900";else   CMD="nc 127.0.0.1 5900";fi;eval "$CMD";'
eparis    1454  9324  0 17:03 ?        00:00:00 ssh -l root 192.168.0.254 sh -c 'nc -q 2>&1 | grep "requires an argument" >/dev/null;if [ $? -eq 0 ] ; then   CMD="nc -q 0 127.0.0.1 5900";else   CMD="nc 127.0.0.1 5900";fi;eval "$CMD";'
eparis    1455  9324  0 17:03 ?        00:00:00 ssh -l root 192.168.0.254 sh -c 'nc -q 2>&1 | grep "requires an argument" >/dev/null;if [ $? -eq 0 ] ; then   CMD="nc -q 0 127.0.0.1 5900";else   CMD="nc 127.0.0.1 5900";fi;eval "$CMD";'
root      1566  2827  0 17:04 pts/3    00:00:00 grep --color=auto 9324
eparis    9324     1  5 11:10 ?        00:18:07 /usr/bin/python /usr/share/virt-manager/virt-manager.py
eparis    9636  9324  0 11:12 ?        00:01:02 ssh -l root 192.168.0.254 nc -U /var/run/libvirt/libvirt-sock
eparis    9645  9324  0 11:12 ?        00:00:00 [ssh] <defunct>
eparis    9648  9324  0 11:12 ?        00:00:38 [ssh] <defunct>
eparis    9649  9324  0 11:12 ?        00:00:00 [ssh] <defunct>
eparis    9650  9324  0 11:12 ?        00:00:00 [ssh] <defunct>
eparis   14863  9324  0 12:09 ?        00:00:15 [ssh] <defunct>
eparis   14882  9324  0 12:10 ?        00:00:00 [ssh] <defunct>
eparis   22470  9324  0 14:45 ?        00:00:00 [ssh] <defunct>
eparis   22474  9324  0 14:45 ?        00:00:04 [ssh] <defunct>
eparis   22475  9324  0 14:45 ?        00:00:00 [ssh] <defunct>
eparis   22476  9324  0 14:45 ?        00:00:00 [ssh] <defunct>
eparis   26257  9324  0 15:36 ?        00:00:00 [ssh] <defunct>
eparis   26261  9324  0 15:36 ?        00:00:02 [ssh] <defunct>
eparis   26262  9324  0 15:36 ?        00:00:00 [ssh] <defunct>
eparis   26263  9324  0 15:36 ?        00:00:00 [ssh] <defunct>

# rpm -q virt-manager
virt-manager-0.9.1-2.fc16.noarch

Comment 7 Fedora Update System 2012-07-09 22:02:46 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 8 Fedora Update System 2012-07-09 22:02:47 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 9 Fedora Update System 2012-07-10 20:51:06 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 10 Fedora Update System 2012-07-29 21:22:49 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 11 Fedora Update System 2012-07-29 21:23:51 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 12 Fedora Update System 2012-08-09 23:02:31 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 13 Fedora Update System 2012-08-09 23:23:38 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.