[tools] MULTINET parameter cause incomplete job
MULTINET parameter giving ability to have SUT with two network cards
when running job on 4.5.1512119921.b2fe214f-12.1 with MULTINET parameter I get qemu exception :
QEMU: qemu-system-x86_64: -net nic,vlan=1,model=virtio-net,macaddr=52:54:00:12:34:57: 'vlan' is deprecated. Please use 'netdev' instead.
#19 Updated by asmorodskyi almost 4 years ago
I invested some time into this ticket today. In attachment you can find patch which fixing current issue.
Current issue consists from two problems :
- deprecated "vlan" option
- fault usage of NICMODEL variable for nic model
with applying my patch you will get two nics in SUT . I haven't create a real PR from my patch because actually you will get only one of them in operable state . second nic create exactly in patch is not assigned to any virtual network so it is not clear if there any chance to use it
#20 Updated by mkittler almost 4 years ago
asmorodskyi Ok. I've tried your patch and yes - it isn't connected to any virtual network. I believe that the
-net nic... option added by your patch is not sufficient. It only creates the device the guest sees but not the backend on the host-side. I'll look into this. Likely there's just a further option missing.
#21 Updated by mkittler almost 4 years ago
#22 Updated by mkittler over 3 years ago
- Status changed from In Progress to Resolved
The PR has been merged. So the issue has technically been resolved by not providing the MULTINET parameter anymore. We found out that the same can be achieved using other variables: https://github.com/os-autoinst/os-autoinst/pull/1103#issuecomment-463958149