Bug 1870148 - Cannot bond a NIC with vlan tagged network attachment
Summary: Cannot bond a NIC with vlan tagged network attachment
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: vdsm
Classification: oVirt
Component: Core
Version: 4.40.19
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ovirt-4.4.3
: 4.40.28
Assignee: Ales Musil
QA Contact: Guy
URL:
Whiteboard:
: 1897259 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-19 12:53 UTC by Michael Burman
Modified: 2022-08-09 08:46 UTC (History)
5 users (show)

Fixed In Version: vdsm-4.40.28
Clone Of:
Environment:
Last Closed: 2020-11-11 06:39:37 UTC
oVirt Team: Network
Embargoed:
mperina: ovirt-4.4?
mavital: testing_plan_complete-
dholler: planning_ack?
dholler: devel_ack+
mburman: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 110876 0 master MERGED net: Fix validation for used vlan 2021-02-09 18:38:34 UTC

Description Michael Burman 2020-08-19 12:53:09 UTC
Description of problem:
Cannot bond a NIC with vlan tagged network attachment

When trying to create a bond from a slave NIC that has a vlan tagged network attachment on top of him, we fail with:

engine:
 Error while executing action HostSetupNetworks: Interface already in use
Close

vdsm:
2020-08-19 15:49:06,114+0300 ERROR (jsonrpc/0) [vds] Nics with multiple usages: {'ens4f2'} (API:1555)
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/vdsm/API.py", line 1548, in setupNetworks
    supervdsm.getProxy().setupNetworks(networks, bondings, options)
  File "/usr/lib/python3.6/site-packages/vdsm/common/supervdsm.py", line 56, in __call__
    return callMethod()
  File "/usr/lib/python3.6/site-packages/vdsm/common/supervdsm.py", line 54, in <lambda>
    **kwargs)
  File "<string>", line 2, in setupNetworks
  File "/usr/lib64/python3.6/multiprocessing/managers.py", line 772, in _callmethod
    raise convert_to_error(kind, result)
vdsm.network.errors.ConfigNetworkError: (24, "Nics with multiple usages: {'ens4f2'}")
2020-08-19 15:49:06,116+0300 INFO  (jsonrpc/0) [api.network] FINISH setupNetworks return={'status': {'code': 24, 'message': "Nics with multiple usages: {'ens4f2'}"}}

Version-Release number of selected component (if applicable):
vdsm-4.40.25-1.el8ev.x86_64
nmstate-0.3.4-10.el8.noarch

How reproducible:
100%

Steps to Reproduce:
1. have a host with 4 NICS
2. Attach a vlan network to NIC3
3. Try to create bond from NIC3 and NIC4

Actual results:
Fail with interface already in use error

Expected results:
Should succeed

Additional info:
Similar scenario as BZ 1793983 but with vlan

Comment 2 Guy 2020-09-08 12:17:04 UTC
Verified in version v4.40.28

Comment 3 Sandro Bonazzola 2020-11-11 06:39:37 UTC
This bugzilla is included in oVirt 4.4.3 release, published on November 10th 2020.

Since the problem described in this bug report should be resolved in oVirt 4.4.3 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.

Comment 4 Sandro Bonazzola 2020-11-12 16:34:55 UTC
*** Bug 1897259 has been marked as a duplicate of this bug. ***

Comment 5 meital avital 2022-07-28 13:32:49 UTC
Due to QE capacity, we are not going to cover this issue in our automation


Note You need to log in before you can comment on or make changes to this bug.