Request to clean up instance's previous state's virtual NIC from host's stack. #983
Open
2 of 6 tasks
Labels
Incomplete
Waiting on more information from reporter
Required information
Issue description
At the moment we are still using macvlan type NICs with Incus instances until we're able to move to OVN.
Sometimes VMs (mostly Windows) are unable to start because the previous state of the virtual NIC (
volatile.eth0.host_name
) is still bound to the Incus node's parent NIC.It's not limited to one Incus node and the software installed in them are quite different:
This happened before under LXD and was partially resolved:
The manual steps to get the VM back up and running are:
ip link show | grep -B 1 '{instance-mac-address}'
sudo ip link delete mac0f01152c
My request is to get Incus to the following during the VM startup process:
I think the previous attempts at fixing this may have been too granular and perhaps there might not be a need to fix multiple scenarios where this can happen, so maybe it just needs to clean up on every start because I have observed that these virtual NICs change at every startup. Also I might not be aware of other scenarios where there will be problems with what I'm suggesting.
Thanks
Steps to reproduce
Address already in use
Information to attach
dmesg
)none
incus info NAME --show-log
)incus config show NAME --expanded
)incus monitor --pretty
while reproducing the issue)The text was updated successfully, but these errors were encountered: