-
Notifications
You must be signed in to change notification settings - Fork 933
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to use nictype=physical receive error: Failed parsing MAC "" #14879
Comments
Does it work if you specify one of the VF interfaces rather than main interface? |
|
Please can we see the full output of |
Also can we see |
Here is the expanded
|
I suspect this is to do with |
without
|
Hrm this seems pretty surprising seeing as that error is coming from a block that is skipped when lxd/lxd/instance/drivers/driver_qemu.go Lines 4217 to 4222 in 1bb1c63
Please can you show |
It was the Removing Any suggestion to allow the use of
|
Thanks. Yes this looks like a bug, we are not parsing the physical NICs MAC address, which means its not available to write into the agent NIC config file, hence the error. We should explore whether there's benefit to parsing the MAC address and storing it in the NIC config file, by checking if the physical device's MAC address is the same once its its inside the guest. If so it makes sense to me to parse it on the host and put it inside the NIC config file so it can be used to match the NIC inside the guest. But if not we can just skip it if there's no MAC address supplied. |
snap-id: J60k4JY0HppjwOjW8dZdYc8obXKxujRu
tracking: 6/stable
A VM with a NIC of nictype
physical
cannot be started. Error belowsimilar error adding to a running VM:
lxc config device add instancename ens6 nic nictype=physical parent=eno4 name=ens6
host device
ip link show eno4
The text was updated successfully, but these errors were encountered: