I've seen a couple of posts here about VSRX configs not importing, but they were a while ago (2017 so far as I can see), however I'm having a similar issue with using Exported configs on a week old Bare Metal install of Eve.
Basically, I've created a simple template lab with cloud connection, and a VSRX to allow internet access and NAT the lab traffic at the same time. The plan is to use it for cloning so it's easily fitted into physical infrastructure which exists, and whoever uses the lab can simply get on with building their topology and internet access/NAT, etc is sorted already.
What I've found is that when launching the Node with the exported configuration set, it simply sits there forevermore, irrespective of the timeout set (tried 300. 600, 1800 (which would be pointless anyway)). The put config from config_vsrx.py never occurs and the node remains with the timer icon.
unl_wrapper.log shows -
Code: Select all
Sep 26 21:22:27 INFO: starting /opt/unetlab/wrappers/qemu_wrapper -T 0 -D 1 -t "LAB-GW" -F /opt/qemu-2.12.0/bin/qemu-system-x86_64 -d 0 -- -nographic -device e1000,netdev=net0,mac=50:00:00:01:00:00 -netdev tap,id=net0,ifname=vunl0_1_0,script=no -device e1000,netdev=net1,mac=50:00:00:01:00:01 -netdev tap,id=net1,ifname=vunl0_1_1,script=no -device e1000,netdev=net2,mac=50:00:00:01:00:02 -netdev tap,id=net2,ifname=vunl0_1_2,script=no -device e1000,netdev=net3,mac=50:00:00:01:00:03 -netdev tap,id=net3,ifname=vunl0_1_3,script=no -smp 2 -m 2048 -name LAB-GW -uuid 8cc6d2b3-79d1-49d7-9f84-8a21f2746a42 -drive file=virtioa.qcow2,if=virtio,bus=0,unit=0,cache=none -machine type=pc,accel=kvm -serial mon:stdio -nographic -no-user-config -nodefaults -rtc base=utc -drive file=config.iso,if=virtio,media=cdrom,index=2 > /opt/unetlab/tmp/0/1c10aad0-b5e1-4969-a871-c72497ca5250/1/wrapper.txt 2>&1 &
Sep 26 21:22:27 INFO: importing nohup /opt/unetlab/scripts/config_vsrx.py -a put -p 32769 -f /opt/unetlab/tmp/0/1c10aad0-b5e1-4969-a871-c72497ca5250/1/startup-config -t 300 > /dev/null 2>&1 &
Code: Select all
/opt/unetlab/scripts/config_vsrx.py -a put -p 32769 -f /opt/unetlab/tmp/0/1c10aad0-b5e1-4969-a871-c72497ca5250/1/startup-config -t 300
Any ideas on how to further diagnose why the automated '-a put' isn't working?
Cheers
Andy