[Pkg-libvirt-maintainers] Bug#795082: virt-manager asks for ssh password multiple times
Johannes Homuth
jhomuth at sourcepark.de
Mon Aug 10 12:27:25 UTC 2015
Package: virt-manager
Version: 1:1.0.1-5
Severity: normal
Dear Maintainer,
first of all, we use the onepin-opensc pkcs11 provider for establishing ssh connections with smartcards.
Since we've upgraded to jessie, the virt-manager ask's for the smartcard user pin several times when connecting to a virtual machine.
When connecting to a kvm host system via virt-manager everything work as expected (one pin question), but connecting to some (unfortunately not all) vms
on a host will lead to several ssh password questions.
debian jessie system.
The debug output is attached below. If you need any further information please let me know.
---------- Start of log output ------------------------------
virt-manager --debug --no-fork
[Mo, 10 Aug 2015 14:02:01 virt-manager 22154] DEBUG (cli:187) Launched with command line: /usr/share/virt-manager/virt-manager --debug --no-fork
[Mo, 10 Aug 2015 14:02:01 virt-manager 22154] DEBUG (virt-manager:150) virt-manager version: 1.0.1
[Mo, 10 Aug 2015 14:02:01 virt-manager 22154] DEBUG (virt-manager:151) virtManager import: <module 'virtManager' from '/usr/share/virt-manager/virtManager/__init__.pyc'>
[Mo, 10 Aug 2015 14:02:01 virt-manager 22154] DEBUG (virt-manager:209) GTK version: 3.14.5
[Mo, 10 Aug 2015 14:02:01 virt-manager 22154] DEBUG (engine:484) libguestfs inspection support: False
[Mo, 10 Aug 2015 14:02:01 virt-manager 22154] DEBUG (systray:152) Showing systray: False
[Mo, 10 Aug 2015 14:02:01 virt-manager 22154] DEBUG (engine:231) About to connect to uris ['qemu+ssh://jhomuth@virtual2.censord-domain.eu:10458/system', 'qemu+ssh://jhomuth@constellation:22/system', 'qemu+ssh://jhomuth@imperator:22/system', 'qemu+ssh://jhomuth@hercules:22/system', 'qemu+ssh://jhomuth@virtual3.censored-domain.eu:10458/system']
[Mo, 10 Aug 2015 14:02:01 virt-manager 22154] DEBUG (manager:216) Showing manager
[Mo, 10 Aug 2015 14:02:01 virt-manager 22154] DEBUG (engine:385) window counter incremented to 1
[Mo, 10 Aug 2015 14:02:03 virt-manager 22154] DEBUG (connection:995) Scheduling background open thread for qemu+ssh://jhomuth@constellation:22/system
[Mo, 10 Aug 2015 14:02:03 virt-manager 22154] DEBUG (connection:1012) Background 'open connection' thread is running
Enter PIN for 'jhomuth (User PIN)':
[Mo, 10 Aug 2015 14:02:10 virt-manager 22154] DEBUG (connection:1063) Background open thread complete, scheduling notify
[Mo, 10 Aug 2015 14:02:10 virt-manager 22154] DEBUG (connection:1068) Notifying open result
[Mo, 10 Aug 2015 14:02:10 virt-manager 22154] DEBUG (connection:1074) libvirt version=1002009
[Mo, 10 Aug 2015 14:02:10 virt-manager 22154] DEBUG (connection:1076) daemon version=9012
[Mo, 10 Aug 2015 14:02:10 virt-manager 22154] DEBUG (connection:1077) conn version=1001002
[Mo, 10 Aug 2015 14:02:11 virt-manager 22154] DEBUG (connection:1079) qemu+ssh://jhomuth@constellation:22/system capabilities:
<capabilities>
<host>
<uuid>4c4c4544-0047-3710-8050-b7c04f4d5731</uuid>
<cpu>
<arch>x86_64</arch>
<model>SandyBridge</model>
<vendor>Intel</vendor>
<topology sockets='1' cores='6' threads='2'/>
<feature name='pdpe1gb'/>
<feature name='osxsave'/>
<feature name='dca'/>
<feature name='pdcm'/>
<feature name='xtpr'/>
<feature name='tm2'/>
<feature name='est'/>
<feature name='smx'/>
<feature name='vmx'/>
<feature name='ds_cpl'/>
<feature name='monitor'/>
<feature name='dtes64'/>
<feature name='pbe'/>
<feature name='tm'/>
<feature name='ht'/>
<feature name='ss'/>
<feature name='acpi'/>
<feature name='ds'/>
<feature name='vme'/>
</cpu>
<power_management/>
<migration_features>
<live/>
<uri_transports>
<uri_transport>tcp</uri_transport>
</uri_transports>
</migration_features>
<topology>
<cells num='2'>
<cell id='0'>
<cpus num='12'>
<cpu id='0'/>
<cpu id='2'/>
<cpu id='4'/>
<cpu id='6'/>
<cpu id='8'/>
<cpu id='10'/>
<cpu id='12'/>
<cpu id='14'/>
<cpu id='16'/>
<cpu id='18'/>
<cpu id='20'/>
<cpu id='22'/>
</cpus>
</cell>
<cell id='1'>
<cpus num='12'>
<cpu id='1'/>
<cpu id='3'/>
<cpu id='5'/>
<cpu id='7'/>
<cpu id='9'/>
<cpu id='11'/>
<cpu id='13'/>
<cpu id='15'/>
<cpu id='17'/>
<cpu id='19'/>
<cpu id='21'/>
<cpu id='23'/>
</cpus>
</cell>
</cells>
</topology>
</host>
<guest>
<os_type>hvm</os_type>
<arch name='i686'>
<wordsize>32</wordsize>
<emulator>/usr/bin/kvm</emulator>
<machine>pc-1.1</machine>
<machine canonical='pc-1.1'>pc</machine>
<machine>pc-1.0</machine>
<machine>pc-0.15</machine>
<machine>pc-0.14</machine>
<machine>pc-0.13</machine>
<machine>pc-0.12</machine>
<machine>pc-0.11</machine>
<machine>pc-0.10</machine>
<machine>isapc</machine>
<domain type='qemu'>
</domain>
<domain type='kvm'>
<emulator>/usr/bin/kvm</emulator>
</domain>
</arch>
<features>
<cpuselection/>
<deviceboot/>
<pae/>
<nonpae/>
<acpi default='on' toggle='yes'/>
<apic default='on' toggle='no'/>
</features>
</guest>
<guest>
<os_type>hvm</os_type>
<arch name='x86_64'>
<wordsize>64</wordsize>
<emulator>/usr/bin/kvm</emulator>
<machine>pc-1.1</machine>
<machine canonical='pc-1.1'>pc</machine>
<machine>pc-1.0</machine>
<machine>pc-0.15</machine>
<machine>pc-0.14</machine>
<machine>pc-0.13</machine>
<machine>pc-0.12</machine>
<machine>pc-0.11</machine>
<machine>pc-0.10</machine>
<machine>isapc</machine>
<domain type='qemu'>
</domain>
<domain type='kvm'>
<emulator>/usr/bin/kvm</emulator>
</domain>
</arch>
<features>
<cpuselection/>
<deviceboot/>
<acpi default='on' toggle='yes'/>
<apic default='on' toggle='no'/>
</features>
</guest>
</capabilities>
[Mo, 10 Aug 2015 14:02:11 virt-manager 22154] DEBUG (connection:879) Using domain events
[Mo, 10 Aug 2015 14:02:11 virt-manager 22154] DEBUG (connection:892) Error registering network events: unknown procedure: 313
[Mo, 10 Aug 2015 14:02:11 virt-manager 22154] DEBUG (connection:217) Using libvirt API for netdev enumeration
[Mo, 10 Aug 2015 14:02:11 virt-manager 22154] DEBUG (connection:239) Using libvirt API for mediadev enumeration
[Mo, 10 Aug 2015 14:02:18 virt-manager 22154] DEBUG (details:718) Showing VM details: <vmmDomain object at 0x7f228fb06780 (virtManager+domain+vmmDomain at 0x1f35a00)>
[Mo, 10 Aug 2015 14:02:18 virt-manager 22154] DEBUG (engine:385) window counter incremented to 2
[Mo, 10 Aug 2015 14:02:18 virt-manager 22154] DEBUG (console:1499) Starting connect process for proto=spice trans=ssh connhost=constellation connuser=jhomuth connport=22 gaddr=127.0.0.1 gport=5924 gtlsport=None gsocket=None
[Mo, 10 Aug 2015 14:02:18 virt-manager 22154] DEBUG (console:276) Creating SSH tunnel: ssh -p 22 -l jhomuth constellation sh -c 'nc -q 2>&1 | grep "requires an argument" >/dev/null;if [ $? -eq 0 ] ; then CMD="nc -q 0 127.0.0.1 5924";else CMD="nc 127.0.0.1 5924";fi;eval "$CMD";'
[Mo, 10 Aug 2015 14:02:18 virt-manager 22154] DEBUG (console:296) Open tunnel PID=22168 OUTFD=17 ERRFD=19
Enter PIN for 'jhomuth (User PIN)':
[Mo, 10 Aug 2015 14:02:26 virt-manager 22154] DEBUG (console:676) Opening tunnel for channel: <RecordChannel object at 0x7f228eb31c30 (SpiceRecordChannel at 0x49fba30)>
[Mo, 10 Aug 2015 14:02:26 virt-manager 22154] DEBUG (console:676) Opening tunnel for channel: <PlaybackChannel object at 0x7f228eb31c30 (SpicePlaybackChannel at 0x4b06d90)>
[Mo, 10 Aug 2015 14:02:26 virt-manager 22154] DEBUG (console:676) Opening tunnel for channel: <DisplayChannel object at 0x7f228f9457d0 (SpiceDisplayChannel at 0x23e69a0)>
[Mo, 10 Aug 2015 14:02:26 virt-manager 22154] DEBUG (console:676) Opening tunnel for channel: <CursorChannel object at 0x7f228eb42fa0 (SpiceCursorChannel at 0x4b01530)>
[Mo, 10 Aug 2015 14:02:26 virt-manager 22154] DEBUG (console:1406) Viewer connected
[Mo, 10 Aug 2015 14:02:26 virt-manager 22154] DEBUG (console:676) Opening tunnel for channel: <InputsChannel object at 0x7f228eb4c230 (SpiceInputsChannel at 0x4b1c320)>
[Mo, 10 Aug 2015 14:02:26 virt-manager 22154] DEBUG (console:276) Creating SSH tunnel: ssh -p 22 -l jhomuth constellation sh -c 'nc -q 2>&1 | grep "requires an argument" >/dev/null;if [ $? -eq 0 ] ; then CMD="nc -q 0 127.0.0.1 5924";else CMD="nc 127.0.0.1 5924";fi;eval "$CMD";'
[Mo, 10 Aug 2015 14:02:26 virt-manager 22154] DEBUG (console:296) Open tunnel PID=22172 OUTFD=20 ERRFD=30
Enter PIN for 'jhomuth (User PIN)':
[Mo, 10 Aug 2015 14:02:32 virt-manager 22154] DEBUG (console:276) Creating SSH tunnel: ssh -p 22 -l jhomuth constellation sh -c 'nc -q 2>&1 | grep "requires an argument" >/dev/null;if [ $? -eq 0 ] ; then CMD="nc -q 0 127.0.0.1 5924";else CMD="nc 127.0.0.1 5924";fi;eval "$CMD";'
[Mo, 10 Aug 2015 14:02:32 virt-manager 22154] DEBUG (console:296) Open tunnel PID=22176 OUTFD=32 ERRFD=34
Enter PIN for 'jhomuth (User PIN)':
[Mo, 10 Aug 2015 14:02:39 virt-manager 22154] DEBUG (console:276) Creating SSH tunnel: ssh -p 22 -l jhomuth constellation sh -c 'nc -q 2>&1 | grep "requires an argument" >/dev/null;if [ $? -eq 0 ] ; then CMD="nc -q 0 127.0.0.1 5924";else CMD="nc 127.0.0.1 5924";fi;eval "$CMD";'
[Mo, 10 Aug 2015 14:02:39 virt-manager 22154] DEBUG (console:296) Open tunnel PID=22179 OUTFD=36 ERRFD=38
Enter PIN for 'jhomuth (User PIN)':
[Mo, 10 Aug 2015 14:02:46 virt-manager 22154] DEBUG (console:276) Creating SSH tunnel: ssh -p 22 -l jhomuth constellation sh -c 'nc -q 2>&1 | grep "requires an argument" >/dev/null;if [ $? -eq 0 ] ; then CMD="nc -q 0 127.0.0.1 5924";else CMD="nc 127.0.0.1 5924";fi;eval "$CMD";'
[Mo, 10 Aug 2015 14:02:46 virt-manager 22154] DEBUG (console:296) Open tunnel PID=22187 OUTFD=40 ERRFD=42
Enter PIN for 'jhomuth (User PIN)':
[Mo, 10 Aug 2015 14:02:54 virt-manager 22154] DEBUG (console:276) Creating SSH tunnel: ssh -p 22 -l jhomuth constellation sh -c 'nc -q 2>&1 | grep "requires an argument" >/dev/null;if [ $? -eq 0 ] ; then CMD="nc -q 0 127.0.0.1 5924";else CMD="nc 127.0.0.1 5924";fi;eval "$CMD";'
[Mo, 10 Aug 2015 14:02:54 virt-manager 22154] DEBUG (console:296) Open tunnel PID=22192 OUTFD=44 ERRFD=46
Enter PIN for 'jhomuth (User PIN)':
------------- End log output --------------------------------
-- System Information:
Debian Release: 8.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF8, LC_CTYPE=de_DE.UTF8 (charmap=UTF-8) (ignored: LC_ALL set to de_DE.UTF8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)
Versions of packages virt-manager depends on:
ii dconf-gsettings-backend [gsettings-backend] 0.22.0-1
ii gconf2 3.2.6-3
ii gir1.2-gtk-3.0 3.14.5-1
ii gir1.2-gtk-vnc-2.0 0.5.3-1.3
ii gir1.2-libvirt-glib-1.0 0.1.9-4
ii gir1.2-vte-2.90 1:0.36.3-1
ii librsvg2-common 2.40.5-1
ii python-dbus 1.2.0-2+b3
ii python-gi 3.14.0-1
ii python-gi-cairo 3.14.0-1
ii python-ipaddr 2.1.11-2
ii python-libvirt 1.2.9-1
ii python-urlgrabber 3.9.1-4.1
pn python2.7:any <none>
pn python:any <none>
ii virtinst 1:1.0.1-5
Versions of packages virt-manager recommends:
ii gir1.2-spice-client-gtk-3.0 0.25-1+b1
ii gnome-icon-theme 3.12.0-1
ii libvirt-daemon-system 1.2.9-9
Versions of packages virt-manager suggests:
ii gnome-keyring 3.14.0-1+b1
pn python-gnomekeyring <none>
pn python-guestfs <none>
ii ssh-askpass-gnome [ssh-askpass] 1:6.7p1-5
ii virt-viewer 1.0-1
-- no debconf information
More information about the Pkg-libvirt-maintainers
mailing list