Hallo,
after the upgrade yesterday to the latest packages I do have an big issue
I do have in the <vmid>.conf an additional -args line with the spice port and address set like:
But when I start the VM there is the port not used:
But when I check the process which is started:
is the -args line on the end of the command:
When I change the command and move the parameters after the memory like:
When I run the command manual the Port is available and can be used with the spice client as expected!
The realy curius is that this server is one of three where the both other do not have this issue! [EDIT] after a reboot all of them do have the same issue!
Do have somebody a clue where I can force the service to use the parameters in the config first by default?
Günter
after the upgrade yesterday to the latest packages I do have an big issue
I do have in the <vmid>.conf an additional -args line with the spice port and address set like:
args: -spice port=59105,addr=0.0.0.0,disable-ticketing
But when I start the VM there is the port not used:
netstat -tlnp|grep kvm
tcp 0 127.0.0.1:60000 0.0.0.0:* LISTEN 4397/kvm
But when I check the process which is started:
ps aux | grep 4397
is the -args line on the end of the command:
/usr/bin/kvm -id 106 -name pbk-ws02 -chardev socket,id=qmp,path=/var/run/qemu-server/106.qmp,server,nowait -mon chardev=qmp,mode=control -chardev
socket,id=qmp-event,path=/var/run/qemu-server/106-event.qmp,server,nowait -mon chardev=qmp-event,mode=control -pidfile /var/run/qemu-server/106.pid -daemonize -smbios type=1,uuid=7d66abda-a835-4951-8391-f7fa25c0
aba9 -smp 2,sockets=2,cores=1,maxcpus=2 -nodefaults -boot menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg -vga qxl -vnc unix:/var/run/qemu-server/106.vnc,x509,password -cpu kvm
64,+lahf_lm,+sep,+kvm_pv_unhalt,+kvm_pv_eoi,enforce -m 4096 -k de -device pci-bridge,id=pci.2,chassis_nr=2,bus=pci.0,addr=0x1f -device pci-bridge,id=pci.1,chassis
_nr=1,bus=pci.0,addr=0x1e -device piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2 -readconfig /usr/share/qemu-server/pve-usb.cfg -chardev spicevmc,id=usbredirchardev0,name=usbredir -device usb-redir,chardev=usbred
irchardev0,id=usbredirdev0,bus=ehci.0 -chardev spicevmc,id=usbredirchardev1,name=usbredir -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1,bus=ehci.0 -chardev socket,path=/var/run/qemu-server/106.qga,s
erver,nowait,id=qga0 -device virtio-serial,id=qga0,bus=pci.0,addr=0x8 -device virtserialport,chardev=qga0,name=org.qemu.guest_agent.0 -spice tls-port=61000,addr=127.0.0.1,tls-ciphers=HIGH,seamless-migration=on -
device virtio-serial,id=spice,bus=pci.0,addr=0x9 -chardev spicevmc,id=vdagent,name=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
-iscsi initiator-name=iqn.1993-08.org.debian:01:e9eafd5f9f33 -drive if=none,id=drive-ide2,media=cdrom,aio=threads -device ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200 -drive file=/data/images/
106/vm-106-disk-1.qcow2,if=none,id=drive-virtio0,cache=writeback,format=qcow2,aio=threads,detect-zeroes=on -device virtio-blk-pci,drive=drive-virtio0,id=virtio0,bus=pci.0,addr=0xa,bootindex=100 -netdev type=tap,
id=net0,ifname=tap106i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on -device virtio-net-pci,mac=22:2A:60:43:5F:59,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootind
ex=300 -rtc base=localtime -spice port=59105,addr=0.0.0.0,disable-ticketing
When I change the command and move the parameters after the memory like:
/usr/bin/kvm -id 106 -name pbk-ws02 -chardev socket,id=qmp,path=/var/run/qemu-server/106.qmp,server,nowait -mon chardev=qmp,mode=control -chardev
socket,id=qmp-event,path=/var/run/qemu-server/106-event.qmp,server,nowait -mon chardev=qmp-event,mode=control -pidfile /var/run/qemu-server/106.pid -daemonize -smbios type=1,uuid=7d66abda-a835-4951-8391-f7fa25c0
aba9 -smp 2,sockets=2,cores=1,maxcpus=2 -nodefaults -boot menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg -vga qxl -vnc unix:/var/run/qemu-server/106.vnc,x509,password -cpu kvm
64,+lahf_lm,+sep,+kvm_pv_unhalt,+kvm_pv_eoi,enforce -m 4096 -k de -spice port=59106,addr=0.0.0.0,disable-ticketing -device pci-bridge,id=pci.2,chassis_nr=2,bus=pci.0,addr=0x1f -device pci-bridge,id=pci.1,chassis
_nr=1,bus=pci.0,addr=0x1e -device piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2 -readconfig /usr/share/qemu-server/pve-usb.cfg -chardev spicevmc,id=usbredirchardev0,name=usbredir -device usb-redir,chardev=usbred
irchardev0,id=usbredirdev0,bus=ehci.0 -chardev spicevmc,id=usbredirchardev1,name=usbredir -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1,bus=ehci.0 -chardev socket,path=/var/run/qemu-server/106.qga,s
erver,nowait,id=qga0 -device virtio-serial,id=qga0,bus=pci.0,addr=0x8 -device virtserialport,chardev=qga0,name=org.qemu.guest_agent.0 -spice tls-port=61000,addr=127.0.0.1,tls-ciphers=HIGH,seamless-migration=on -
device virtio-serial,id=spice,bus=pci.0,addr=0x9 -chardev spicevmc,id=vdagent,name=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
-iscsi initiator-name=iqn.1993-08.org.debian:01:e9eafd5f9f33 -drive if=none,id=drive-ide2,media=cdrom,aio=threads -device ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200 -drive file=/data/images/
106/vm-106-disk-1.qcow2,if=none,id=drive-virtio0,cache=writeback,format=qcow2,aio=threads,detect-zeroes=on -device virtio-blk-pci,drive=drive-virtio0,id=virtio0,bus=pci.0,addr=0xa,bootindex=100 -netdev type=tap,
id=net0,ifname=tap106i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on -device virtio-net-pci,mac=22:2A:60:43:5F:59,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootind
ex=300 -rtc base=localtime
When I run the command manual the Port is available and can be used with the spice client as expected!
The realy curius is that this server is one of three where the both other do not have this issue! [EDIT] after a reboot all of them do have the same issue!
Do have somebody a clue where I can force the service to use the parameters in the config first by default?
Günter
Last edited: