Fails to attach VF to KVM instance
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When creating a KVM instance with an SR-IOV interface, the VM will be created but no interface is attached.
Assuming from /var/log/kern.log it looks like it is failing during attaching VF.
Following is the excerpt from the log, and
Oct 9 06:52:30 hyperconverge00
Oct 9 06:52:31 hyperconverge00
Oct 9 06:52:31 hyperconverge00
Oct 9 06:52:31 hyperconverge00
Oct 9 06:52:31 hyperconverge00
Oct 9 06:52:31 hyperconverge00
Oct 9 06:52:31 hyperconverge00
Oct 9 06:52:32 hyperconverge00
Oct 9 06:52:32 hyperconverge00
Oct 9 06:52:33 hyperconverge00
The last error says that the VF is still in reset state, and according to this[0],
it looks like an race condition(wait 300ms for VF reset to complete) between attaching the VF and resetting the VF state.
The environment, that is being used is:
OpenStack Queens on Ubuntu Bionic
kernel: 4.15.0-65-generic
NIC: Intel X710 10GbE SFP+
driver: i40e v2.1.14-k
tags: | added: cpe-onsite |
Status changed to 'Confirmed' because the bug affects multiple users.