[Pkg-libvirt-maintainers] Bug#519809: Bug#519809: virt-manager: virtual machine console does not work with automatically allocated port
Andreas Unterkircher
unki at netshadow.at
Sun Mar 15 19:58:37 UTC 2009
> Please attach the domains xml.
> -- Guido
Sure, XML dump is below. When I start this guest, VNC is indeed
listening on port 5900 and I can connect to it per hand.
xenhost:~# netstat -avpn | grep qemu-dm
tcp 0 0 127.0.0.1:5900 0.0.0.0:*
LISTEN 2146/qemu-dm
unix 3 [ ] STREAM CONNECTED 804614 2146/qemu-dm
unix 2 [ ] STREAM CONNECTED 804563 2146/qemu-dm
/var/lib/xend/xend-socket
unix 2 [ ] STREAM CONNECTED 790767 2146/qemu-dm
/var/lib/xend/xend-socket
unix 2 [ ] STREAM CONNECTED 530949 2146/qemu-dm
/var/lib/xend/xend-socket
netstat: no support for `AF IPX' on this system.
But virt-manager seems to have problems with connecting to it:
[Sun, 15 Mar 2009 20:54:57 virt-manager 2101] DEBUG (engine:529)
Starting vm 'shr-vmtest-01'.
[Sun, 15 Mar 2009 20:54:57 virt-manager 2101] WARNING (details:1032)
Retrying connection in 125 ms
[Sun, 15 Mar 2009 20:54:57 virt-manager 2101] DEBUG (manager:427) VM
shr-vmtest-01 started
[Sun, 15 Mar 2009 20:54:57 virt-manager 2101] DEBUG (details:1042) Got
timed retry
[Sun, 15 Mar 2009 20:54:57 virt-manager 2101] DEBUG (details:1094)
Trying console login
[Sun, 15 Mar 2009 20:54:57 virt-manager 2101] DEBUG (details:1108)
Graphics console configured at vnc://127.0.0.1:-1
[Sun, 15 Mar 2009 20:54:57 virt-manager 2101] WARNING (details:1032)
Retrying connection in 250 ms
[Sun, 15 Mar 2009 20:54:58 virt-manager 2101] DEBUG (details:1042) Got
timed retry
[Sun, 15 Mar 2009 20:54:58 virt-manager 2101] DEBUG (details:1094)
Trying console login
[Sun, 15 Mar 2009 20:54:58 virt-manager 2101] DEBUG (details:1108)
Graphics console configured at vnc://127.0.0.1:-1
[Sun, 15 Mar 2009 20:54:58 virt-manager 2101] WARNING (details:1032)
Retrying connection in 500 ms
[Sun, 15 Mar 2009 20:54:58 virt-manager 2101] DEBUG (details:1042) Got
timed retry
[Sun, 15 Mar 2009 20:54:58 virt-manager 2101] DEBUG (details:1094)
Trying console login
It's a fresh installed Lenny host, so I'm quiet sure that I do not have
a version mismatch here or so.
Cheers,
Andreas
<domain type='xen'>
<name>shr-vmtest-01</name>
<uuid>546c4d30-c0ec-f358-4e80-6291bfe91bbc</uuid>
<memory>524288</memory>
<currentMemory>524288</currentMemory>
<vcpu>1</vcpu>
<os>
<type>hvm</type>
<loader>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<clock offset='localtime'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<devices>
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
<disk type='file' device='disk'>
<driver name='file'/>
<source file='/srv/guests/shr-loc-01/shr-vmtest-01.img'/>
<target dev='hda' bus='ide'/>
</disk>
<interface type='bridge'>
<mac address='00:16:36:37:22:c4'/>
<source bridge='br0'/>
<target dev='vif-1.0'/>
</interface>
<serial type='pty'>
<target port='0'/>
</serial>
<console type='pty'>
<target port='0'/>
</console>
<input type='tablet' bus='usb'/>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1'
keymap='en-us'/>
</devices>
</domain>
More information about the Pkg-libvirt-maintainers
mailing list