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 1468443 - VLAN interfaces are not removed correctly in Network Configuration
Summary: VLAN interfaces are not removed correctly in Network Configuration
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: anaconda
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Anaconda Maintenance Team
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-07 06:45 UTC by Denis Silakov
Modified: 2021-01-15 07:39 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-15 07:39:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Removed interface is still visible when choosing a parent for a new one (102.23 KB, image/png)
2017-07-07 06:47 UTC, Denis Silakov
no flags Details
Potential patch (775 bytes, patch)
2017-07-07 10:01 UTC, Denis Silakov
no flags Details | Diff

Description Denis Silakov 2017-07-07 06:45:19 UTC
Description of problem:
In the Network settings, if I add VLAN interface, then remove it and then add again with the same id - it doesn't appear in the list. Sometimes anaconda crashes when adding it again.

Version-Release number of selected component (if applicable):


How reproducible:
Impossibility to re-add interface with the same ID - always. Crashes - rare.

Steps to Reproduce:
1. In the beginning of RHEL installation, go to Network Settings and add VLAN interface. It appears in the list of interfaces.
2. Remove this interface from the list by clicking "-" button
3. Try to add interface with the same id again.

Actual results:
The interface doesn't appear in the list.

Note that when adding interface again, the old one (which we removed) is still visible in the "parent interface" drop-down box.

Sometimes anaconda crashes with "AttributeError: 'NoneType' object has no attribute 'get_iface'". Though this happens rarely, can't reproduce this right now to provide a full traceback. Though it looks to fail in pyanaconda/ui/gui/spokes/network.py at the following line:

log.debug("network: GUI, not adding connection %s, already have %s for device %s", uuid, existing_dev_cfg.con_uuid, existing_dev_cfg.device.get_iface())


Expected results:


Additional info:

Comment 2 Denis Silakov 2017-07-07 06:47:09 UTC
Created attachment 1295189 [details]
Removed interface is still visible when choosing a parent for a new one

We have added "VLAN connection 1" and then removed it, but when adding a new VLAN interface 'enp0s3.0 (via "VLAN connection 1")' is still somehow available.

Comment 3 Denis Silakov 2017-07-07 10:01:23 UTC
Created attachment 1295250 [details]
Potential patch

This patch makes anaconda work better, but I am not sure if it is perfect - if "dev_cfg" is left from the previous attempt to add the device, then configuration parameters from it will be likely reused for the new attempt to add the same interface.

Comment 5 RHEL Program Management 2021-01-15 07:39:35 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.


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