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 2129845 - [machines] There will be several network interfaces added if clicking the "Add" button multiple times at the same time
Summary: [machines] There will be several network interfaces added if clicking the "Ad...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: cockpit-appstream
Version: 8.7
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: rc
: 8.8
Assignee: Simon Kobyda
QA Contact: YunmingYang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-26 12:44 UTC by YunmingYang
Modified: 2023-05-16 09:53 UTC (History)
5 users (show)

Fixed In Version: cockpit-appstream-279-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-16 08:35:46 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github cockpit-project cockpit-machines pull 819 0 None open Disable "Add" button when attachement is in progress 2022-09-30 04:25:48 UTC
Red Hat Issue Tracker RHELPLAN-134892 0 None None None 2022-09-26 12:51:54 UTC
Red Hat Product Errata RHBA-2023:2821 0 None None None 2023-05-16 08:35:50 UTC

Description YunmingYang 2022-09-26 12:44:04 UTC
Description of problem:
If clicking the "Add" button of the "Add virtual network interface" dialog multiple times at the same time, there will be several network interfaces added, but it should be only one interface added.

Version-Release number of selected components (if applicable):
cockpit-machines-276-1.el8.noarch
cockpit-275-1.el8.x86_64
libvirt-dbus-1.3.0-2.module+el8.6.0+12861+13975d62.x86_64

How reproducible:
100%

Steps to Reproduce:
1 Prepare a shutoff VM, then enter the VM detail page
2 Click "Add network interface"
3 Click "Add" multiple times at the same time

Actual results:
1 There will be several network interfaces added

Expected results:
1 There should be only one network interface added

Additional info:

Comment 1 Martin Pitt 2022-09-30 04:25:48 UTC
Fixed upstream in https://github.com/cockpit-project/cockpit-machines/pull/819

Comment 3 Xianghua Chen 2022-11-17 08:06:12 UTC
As the ITM Is the deadline for verification and we still not have the build on RHEL8.8, I change the ITM 2 weeks later in case we would lose the release+.
Feel free to change it per your estimation.

Comment 6 YunmingYang 2022-11-29 10:54:05 UTC
Test Versions:
cockpit-279-1.el8.x86_64
cockpit-machines-279-1.el8.noarch
libvirt-dbus-1.3.0-2.module+el8.8.0+16781+9f4724c2.x86_64


Test Steps:
1 Prepare a shut off VM, then enter the VM detail page
2 Click "Add network interface"
3 Click "Add" multiple times at the same time


Test Results:
1 There is only one network interface added


According to the results, move status to VERIFIED.

Comment 10 errata-xmlrpc 2023-05-16 08:35:46 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 (cockpit-appstream bug fix and enhancement update), 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/RHBA-2023:2821


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