Qemu images don't start
Posted: Mon Jun 27, 2022 5:26 pm
Hi guys,
Hope you can help with the following problem. I cannot start any Qemu image in my EVE-NG Pro anymore. I've upgraded to the latest V5 version a few weeks ago according to the instructions and could start any qemu image just fine. Without any (soft/hardware) change in the meantime, it doesn't work anymore. When I start the node, it stops without an error in the GUI. I shut down my server occasionally.
Tasks already performed:
- Rebooted the server
- Ran fixpermissions
Below some logs:
root@eve-ng:~# tail -f /opt/unetlab/data/Logs/unl_wrapper.txt
PHP Warning: yaml_parse_file(): parsing error encountered during parsing: did not find expected key (line 35, column 1), context while parsing a block mapping (line 27, column 1) in /opt/unetlab/html/includes/init.php on line 171
Jun 27 17:21:49 Jun 27 17:21:49 Online Check state: Valid
Jun 27 17:21:49 Jun 27 17:21:49 ERROR: sat=0
Jun 27 17:21:50 Jun 27 17:21:50 LOG: will start node 1 0 300 1 40617
Jun 27 17:21:50 INFO: tunctl -u 33793 -g root -t vun001000000100 2>&1
Jun 27 17:21:50 INFO: sysctl -w net.ipv6.conf.vun001000000100.disable_ipv6=1
Jun 27 17:21:50 INFO: vun001000000100 -> 0,0,0,0
Jun 27 17:21:50 LOG: exec : sysctl -w net.ipv6.conf.vnet0010000001f.disable_ipv6=1
Jun 27 17:21:50 LOG: exec : sysctl -w net.ipv6.conf.vun001000000100.disable_ipv6=1
Jun 27 17:21:50 LOG: exec : brctl addif vnet0010000001f vun001000000100 2>&1
sh: 1: ovs-vsctl: not found
Jun 27 17:21:50 INFO: tunctl -u 33793 -g root -t vun001000000101 2>&1
Jun 27 17:21:50 INFO: sysctl -w net.ipv6.conf.vun001000000101.disable_ipv6=1
Jun 27 17:21:50 INFO: vun001000000101 -> 0,0,0,0
Jun 27 17:21:50 LOG: exec : sysctl -w net.ipv6.conf.vnet00100000007.disable_ipv6=1
Jun 27 17:21:50 LOG: exec : sysctl -w net.ipv6.conf.vun001000000101.disable_ipv6=1
Jun 27 17:21:50 LOG: exec : brctl addif vnet00100000007 vun001000000101 2>&1
sh: 1: ovs-vsctl: not found
Jun 27 17:21:50 ERROR: QEMU Arch is not set (80015).
Jun 27 17:21:50 cmd = mountpoint -q /opt/unetlab/tmp/0/dd5d4456-f166-4d85-8313-c9cff32f6e96/1/jail || mount -B -o ro /opt/unetlab/jail /opt/unetlab/tmp/0/dd5d4456-f166-4d85-8313-c9cff32f6e96/1/jail
Jun 27 17:21:50 cmd = for i in /opt/qemu-*; do ( mountpoint -q /opt/unetlab/tmp/0/dd5d4456-f166-4d85-8313-c9cff32f6e96/1/$i || mount -B -o ro $i /opt/unetlab/tmp/0/dd5d4456-f166-4d85-8313-c9cff32f6e96/1/$i ) ; done
Jun 27 17:21:50 cmd = mountpoint -q /opt/unetlab/tmp/0/dd5d4456-f166-4d85-8313-c9cff32f6e96/1/opt/unetlab/addons/qemu || mount -B -o ro /opt/unetlab/addons/qemu /opt/unetlab/tmp/0/dd5d4456-f166-4d85-8313-c9cff32f6e96/1/opt/unetlab/addons/qemu
Jun 27 17:21:50 INFO: CWD is /opt/unetlab/tmp/0/dd5d4456-f166-4d85-8313-c9cff32f6e96/1
Jun 27 17:21:50 INFO: starting /opt/unetlab/wrappers/qemu_wrapper -C 40617 -T 0 -D 1 -t "vMan01" -F /opt/qemu-2.12.0/bin/qemu-system-x86_64 -d 0 -- -nographic -device virtio-net-pci,netdev=net0,mac=50:00:00:01:00:00 -netdev tap,id=net0,ifname=vun001000000100,script=no -device virtio-net-pci,netdev=net1,mac=50:00:00:01:00:01 -netdev tap,id=net1,ifname=vun001000000101,script=no -smp 4 -m 32768 -name vMan01 -uuid 9f287119-07a7-4e49-945c-7929d7d27017 -qmp unix:./qmp-sock,server,nowait -monitor unix:./mon-sock,server,nowait -monitor unix:./mon2-sock,server,nowait -drive file=virtioa.qcow2,if=virtio,bus=0,unit=0,cache=none -drive file=virtiob.qcow2,if=virtio,bus=0,unit=1,cache=none -machine type=pc,accel=kvm -cpu host -vga std -usbdevice tablet -boot order=dc -cpu host
Jun 27 17:21:50 INFO: starting sudo systemd-run -G --no-block --property=ExecStopPost=/opt/unetlab/go/eve-clean --property=Environment=WDIR="/opt/unetlab/tmp/0/dd5d4456-f166-4d85-8313-c9cff32f6e96/1" --property=Environment=TYPE="qemu" --property=WorkingDirectory=/opt/unetlab/tmp/0/dd5d4456-f166-4d85-8313-c9cff32f6e96/1 --service-type=simple --uid=0 --gid=32768 --unit=eveng_0@dd5d4456-f166-4d85-8313-c9cff32f6e96@1 /opt/unetlab/wrappers/qemu_wrapper -C 40617 -T 0 -D 1 -t "vMan01" -F /opt/qemu-2.12.0/bin/qemu-system-x86_64 -d 0 -- -nographic -device virtio-net-pci,netdev=net0,mac=50:00:00:01:00:00 -netdev tap,id=net0,ifname=vun001000000100,script=no -device virtio-net-pci,netdev=net1,mac=50:00:00:01:00:01 -netdev tap,id=net1,ifname=vun001000000101,script=no -smp 4 -m 32768 -name vMan01 -uuid 9f287119-07a7-4e49-945c-7929d7d27017 -qmp unix:./qmp-sock,server,nowait -monitor unix:./mon-sock,server,nowait -monitor unix:./mon2-sock,server,nowait -drive file=virtioa.qcow2,if=virtio,bus=0,unit=0,cache=none -drive file=virtiob.qcow2,if=virtio,bus=0,unit=1,cache=none -machine type=pc,accel=kvm -cpu host -vga std -usbdevice tablet -boot order=dc -cpu host
Running as unit: eveng_0@dd5d4456-f166-4d85-8313-c9cff32f6e96@1.service
Jun 27 17:21:50 INFO: starting systemctl show --property MainPID --value eveng_0@dd5d4456-f166-4d85-8313-c9cff32f6e96@1
Jun 27 17:21:50 INFO: started process is 153672
PHP Warning: unlink(/opt/unetlab/tmp/0/dd5d4456-f166-4d85-8313-c9cff32f6e96/1/l1down_0): No such file or directory in /opt/unetlab/wrappers/unl_wrapper on line 1174
Jun 27 17:21:50 INFO: vun001000000100 -> 0,0,0,0
PHP Warning: unlink(/opt/unetlab/tmp/0/dd5d4456-f166-4d85-8313-c9cff32f6e96/1/l1down_1): No such file or directory in /opt/unetlab/wrappers/unl_wrapper on line 1174
Jun 27 17:21:50 INFO: vun001000000101 -> 0,0,0,0
Jun 27 17:21:50 Jun 27 17:21:50 ERROR: node 1
root@eve-ng:~# kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used
Hope you can help with the following problem. I cannot start any Qemu image in my EVE-NG Pro anymore. I've upgraded to the latest V5 version a few weeks ago according to the instructions and could start any qemu image just fine. Without any (soft/hardware) change in the meantime, it doesn't work anymore. When I start the node, it stops without an error in the GUI. I shut down my server occasionally.
Tasks already performed:
- Rebooted the server
- Ran fixpermissions
Below some logs:
root@eve-ng:~# tail -f /opt/unetlab/data/Logs/unl_wrapper.txt
PHP Warning: yaml_parse_file(): parsing error encountered during parsing: did not find expected key (line 35, column 1), context while parsing a block mapping (line 27, column 1) in /opt/unetlab/html/includes/init.php on line 171
Jun 27 17:21:49 Jun 27 17:21:49 Online Check state: Valid
Jun 27 17:21:49 Jun 27 17:21:49 ERROR: sat=0
Jun 27 17:21:50 Jun 27 17:21:50 LOG: will start node 1 0 300 1 40617
Jun 27 17:21:50 INFO: tunctl -u 33793 -g root -t vun001000000100 2>&1
Jun 27 17:21:50 INFO: sysctl -w net.ipv6.conf.vun001000000100.disable_ipv6=1
Jun 27 17:21:50 INFO: vun001000000100 -> 0,0,0,0
Jun 27 17:21:50 LOG: exec : sysctl -w net.ipv6.conf.vnet0010000001f.disable_ipv6=1
Jun 27 17:21:50 LOG: exec : sysctl -w net.ipv6.conf.vun001000000100.disable_ipv6=1
Jun 27 17:21:50 LOG: exec : brctl addif vnet0010000001f vun001000000100 2>&1
sh: 1: ovs-vsctl: not found
Jun 27 17:21:50 INFO: tunctl -u 33793 -g root -t vun001000000101 2>&1
Jun 27 17:21:50 INFO: sysctl -w net.ipv6.conf.vun001000000101.disable_ipv6=1
Jun 27 17:21:50 INFO: vun001000000101 -> 0,0,0,0
Jun 27 17:21:50 LOG: exec : sysctl -w net.ipv6.conf.vnet00100000007.disable_ipv6=1
Jun 27 17:21:50 LOG: exec : sysctl -w net.ipv6.conf.vun001000000101.disable_ipv6=1
Jun 27 17:21:50 LOG: exec : brctl addif vnet00100000007 vun001000000101 2>&1
sh: 1: ovs-vsctl: not found
Jun 27 17:21:50 ERROR: QEMU Arch is not set (80015).
Jun 27 17:21:50 cmd = mountpoint -q /opt/unetlab/tmp/0/dd5d4456-f166-4d85-8313-c9cff32f6e96/1/jail || mount -B -o ro /opt/unetlab/jail /opt/unetlab/tmp/0/dd5d4456-f166-4d85-8313-c9cff32f6e96/1/jail
Jun 27 17:21:50 cmd = for i in /opt/qemu-*; do ( mountpoint -q /opt/unetlab/tmp/0/dd5d4456-f166-4d85-8313-c9cff32f6e96/1/$i || mount -B -o ro $i /opt/unetlab/tmp/0/dd5d4456-f166-4d85-8313-c9cff32f6e96/1/$i ) ; done
Jun 27 17:21:50 cmd = mountpoint -q /opt/unetlab/tmp/0/dd5d4456-f166-4d85-8313-c9cff32f6e96/1/opt/unetlab/addons/qemu || mount -B -o ro /opt/unetlab/addons/qemu /opt/unetlab/tmp/0/dd5d4456-f166-4d85-8313-c9cff32f6e96/1/opt/unetlab/addons/qemu
Jun 27 17:21:50 INFO: CWD is /opt/unetlab/tmp/0/dd5d4456-f166-4d85-8313-c9cff32f6e96/1
Jun 27 17:21:50 INFO: starting /opt/unetlab/wrappers/qemu_wrapper -C 40617 -T 0 -D 1 -t "vMan01" -F /opt/qemu-2.12.0/bin/qemu-system-x86_64 -d 0 -- -nographic -device virtio-net-pci,netdev=net0,mac=50:00:00:01:00:00 -netdev tap,id=net0,ifname=vun001000000100,script=no -device virtio-net-pci,netdev=net1,mac=50:00:00:01:00:01 -netdev tap,id=net1,ifname=vun001000000101,script=no -smp 4 -m 32768 -name vMan01 -uuid 9f287119-07a7-4e49-945c-7929d7d27017 -qmp unix:./qmp-sock,server,nowait -monitor unix:./mon-sock,server,nowait -monitor unix:./mon2-sock,server,nowait -drive file=virtioa.qcow2,if=virtio,bus=0,unit=0,cache=none -drive file=virtiob.qcow2,if=virtio,bus=0,unit=1,cache=none -machine type=pc,accel=kvm -cpu host -vga std -usbdevice tablet -boot order=dc -cpu host
Jun 27 17:21:50 INFO: starting sudo systemd-run -G --no-block --property=ExecStopPost=/opt/unetlab/go/eve-clean --property=Environment=WDIR="/opt/unetlab/tmp/0/dd5d4456-f166-4d85-8313-c9cff32f6e96/1" --property=Environment=TYPE="qemu" --property=WorkingDirectory=/opt/unetlab/tmp/0/dd5d4456-f166-4d85-8313-c9cff32f6e96/1 --service-type=simple --uid=0 --gid=32768 --unit=eveng_0@dd5d4456-f166-4d85-8313-c9cff32f6e96@1 /opt/unetlab/wrappers/qemu_wrapper -C 40617 -T 0 -D 1 -t "vMan01" -F /opt/qemu-2.12.0/bin/qemu-system-x86_64 -d 0 -- -nographic -device virtio-net-pci,netdev=net0,mac=50:00:00:01:00:00 -netdev tap,id=net0,ifname=vun001000000100,script=no -device virtio-net-pci,netdev=net1,mac=50:00:00:01:00:01 -netdev tap,id=net1,ifname=vun001000000101,script=no -smp 4 -m 32768 -name vMan01 -uuid 9f287119-07a7-4e49-945c-7929d7d27017 -qmp unix:./qmp-sock,server,nowait -monitor unix:./mon-sock,server,nowait -monitor unix:./mon2-sock,server,nowait -drive file=virtioa.qcow2,if=virtio,bus=0,unit=0,cache=none -drive file=virtiob.qcow2,if=virtio,bus=0,unit=1,cache=none -machine type=pc,accel=kvm -cpu host -vga std -usbdevice tablet -boot order=dc -cpu host
Running as unit: eveng_0@dd5d4456-f166-4d85-8313-c9cff32f6e96@1.service
Jun 27 17:21:50 INFO: starting systemctl show --property MainPID --value eveng_0@dd5d4456-f166-4d85-8313-c9cff32f6e96@1
Jun 27 17:21:50 INFO: started process is 153672
PHP Warning: unlink(/opt/unetlab/tmp/0/dd5d4456-f166-4d85-8313-c9cff32f6e96/1/l1down_0): No such file or directory in /opt/unetlab/wrappers/unl_wrapper on line 1174
Jun 27 17:21:50 INFO: vun001000000100 -> 0,0,0,0
PHP Warning: unlink(/opt/unetlab/tmp/0/dd5d4456-f166-4d85-8313-c9cff32f6e96/1/l1down_1): No such file or directory in /opt/unetlab/wrappers/unl_wrapper on line 1174
Jun 27 17:21:50 INFO: vun001000000101 -> 0,0,0,0
Jun 27 17:21:50 Jun 27 17:21:50 ERROR: node 1
root@eve-ng:~# kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used