Closed LeeSmet closed 5 years ago
For what its worth: the macaddress which was assigned was configured in the dhcp to get a static ipv4 address. It didnt receive any ipv4 address however, only a random ipv6.
@LeeSmet
I really can't reproduce so if it possible to give me access to this machine? and also the mac address u trying to use?
Additional info: I managed to restart (stop/start) another container using a macvlan interface on the same node without issues. Every time I try to start this container and get the device busy error, a new interface appears in this list of interfaces
Conclusion: A chance that this is a kernel bug that put this machine on this weird state. I will add a fix for auto clean up anyway to not leave any macvlan links behind.
After rebooting the node, I ran into the same problem. After checking, it seemed that the IP address was already leased to another device (which explains why the IPv4 address was not aquired in the first place). However after the initial container was stopped, the same issue occurred where the container can't be started anymore with a hw or resource busy error
After successfully creating a container with a macVlan interface, the service can not be restarted. When the container is re created, a
failed to setup hw address: device or resource busy
error is returned.Possibly related, there appear to be a log of lingering macvlan interfaces on the node:
Note that only containers with id's 1, 132 and 135 exist, meaning that the interfaces referring to containers 137 and up are not referencing anything at all