RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1312359 - activating vlan on virtual device fails with: failed to determine interface name: error determine name for vlan
Summary: activating vlan on virtual device fails with: failed to determine interface n...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: NetworkManager
Version: 7.3
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Thomas Haller
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-26 14:21 UTC by Thomas Haller
Modified: 2017-08-01 09:17 UTC (History)
10 users (show)

Fixed In Version: NetworkManager-1.8.0-0.2.git20170215.1d40c5f4.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-01 09:17:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 762731 0 Normal RESOLVED [review] lr/virtual-parent-bgo762731: activating vlan on virtual device fails with: failed to determine interface name: ... 2020-12-08 10:39:23 UTC
Red Hat Product Errata RHSA-2017:2299 0 normal SHIPPED_LIVE Moderate: NetworkManager and libnl3 security, bug fix and enhancement update 2017-08-01 12:40:28 UTC

Description Thomas Haller 2016-02-26 14:21:59 UTC
NetworkManager 1.2-beta has a bug activating VLAN on a virtual parent interface.

This is upstream bug https://bugzilla.gnome.org/show_bug.cgi?id=762731

I open this BZ so we don't forget to test the usecase for rhel-7.3.


I didn't confirm whether the same issue exists on nm-1-0/rhel-7.2. Possibly not, because master could behave quite differently due to the "devices-for-all" branch.




Copied from upstream:
>>>>>>>>>>>>>



create a team-slave, a team, and a vlan on top of the team.


nmcli connection delete t-slave t-team t-vlan

DEV=enp0s25

nmcli connection add type team con-name t-team autoconnect no -- \
  connection.interface-name t-i-team \
  ipv6.method ignore \
  ipv4.method manual \
  ipv4.addresses 192.168.103.5/24 \
  ipv4.gateway 192.168.103.1
nmcli connection add type ethernet con-name t-slave slave-type team \
  ifname $DEV autoconnect no master t-team
nmcli connection add type vlan con-name t-vlan autoconnect no id 42 \
  dev t-i-team -- \
  ipv6.method ignore \
  ipv4.method manual \
  ipv4.addresses 192.168.104.5/24 \
  ipv4.gateway 192.168.104.1





nmcli connection up t-vlan 
# fails with:
# Error: Connection activation failed: failed to determine interface
# name: error determine name for vlan


# but
nmcli connection up t-slave
nmcli connection up t-vlan
# succeeds.

Comment 1 Thomas Haller 2016-11-13 21:53:40 UTC
upstream bug is already fixed.

Quite likely this is already fixed by rhel-7.3 too.

Setting to modified.

Comment 4 errata-xmlrpc 2017-08-01 09:17:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHSA-2017:2299


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