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 1329954 - Bond can not click to on after created through cockpit
Summary: Bond can not click to on after created through cockpit
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: cockpit
Version: 7.2
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: pre-dev-freeze
: 7.2
Assignee: Dominik Perpeet
QA Contact: Jan Ščotka
URL:
Whiteboard:
Depends On:
Blocks: ovirt-node-ng-platform
TreeView+ depends on / blocked
 
Reported: 2016-04-25 08:05 UTC by wanghui
Modified: 2016-09-10 11:50 UTC (History)
12 users (show)

Fixed In Version: cockpit-0.114-2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-04 13:46:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1362353 0 urgent CLOSED Add bond+vlan network failed via cockpit 2023-09-14 03:29:03 UTC
Red Hat Product Errata RHBA-2016:1442 0 normal SHIPPED_LIVE cockpit bug fix and enhancement update 2016-08-04 17:45:50 UTC

Internal Links: 1362353

Description wanghui 2016-04-25 08:05:35 UTC
Description of problem:
After configured bond in cockpit, the bond can not be check to on. And there is no save button for us to save the changes in "General" field.

Version-Release number of selected component (if applicable):
ovirt-node-ng-installer-ovirt-3.6-2016042323.iso 
cockpit-0.103-1.el7.centos.x86_64
cockpit-ovirt-0.5.1-0.0.master.el7.centos.noarch

How reproducible:
100%

Steps to Reproduce:
1. Anaconda install NGN 4.0.
2. Start cockpit service.
3. Configue bond with mode "Round Robin".
4. Check "On" button in cockpit.
5. Check the 'General' field to enable connect automatically.
6. Check the members field.

Actual results:
1. After step4, the 'On' button can not be checked.
2. After step5, miss save button to save the changes in "General" field. 
3. After step6, the members can be configured individually.

Expected results:
1. Bond can be up after configured in cockpit.
2. Since bond is a new bridge to treat all nics as slaves, it should not let the salves to be configured individually.

Additional info:

Comment 1 Fabian Deutsch 2016-04-25 08:25:15 UTC
Please try to reproduce this on RHEL. You will need to enable RHEL extras to retrieve cockpit.

Comment 2 wanghui 2016-04-26 09:52:44 UTC
Since this issue is move to cockpit part, I would like to wait cockpit guys to debug this issue.

Comment 4 Fabian Deutsch 2016-05-24 14:27:33 UTC
Wei, does this mean a bond can not be enabled and be saved?

Comment 5 wanghui 2016-05-26 04:44:29 UTC
(In reply to Fabian Deutsch from comment #4)
> Wei, does this mean a bond can not be enabled and be saved?

yes, the enable button for bond can not be clicked.

Comment 6 Marius Vollmer 2016-06-27 11:06:46 UTC
Please also state the version of NetworkManager.

Comment 7 Marius Vollmer 2016-06-27 11:27:11 UTC
> After step5, miss save button to save the changes in "General" field. 

There is no need to explicitly save this setting.  It will be saved as soon as you change it.

Comment 8 Marius Vollmer 2016-06-27 11:56:13 UTC
> yes, the enable button for bond can not be clicked.

Confirmed.

What I can observe:

- Switching off a bond will also switch off all slaves.
- Switching on a bond whose slaves are all off will do nothing.  (This is the bug.)
- Switching off all slaves of a bond will keep the bond on.
- Switching on a slave of a bond that is off will switch on the bond as well.

Using nmcli to activate a bond connection whose slaves are all off does successfully activate the bond.  One needs to also explicitly switch on the slaves, however.  This is what should happen with Cockpit also and I'll fix that.

Whether or not activating a bond connection should connect the slaves a well... This looks like something that NetworkManager should decide and take care off.  We want this to be consistent between Cockpit and nmcli, for example, and I'll make sure that Cockpit matches nmcli.  If you are unhappy with the behavior of nmcli, please file a bug against NetworkManager.

(I have observed different behavior on different OSes at different times and can't figure out the pattern.  That's why I kept all the individual slave on/off buttons in the UI.  They seem to be necessary since NetworkManager does not seem to manage the slaves well enough.  I guess we need to revisit that also.)

Comment 9 Marius Vollmer 2016-06-27 13:17:31 UTC
https://github.com/cockpit-project/cockpit/pull/4640

Turns out the on/off switch was erroneously disabled, but this wasn't reflected in its looks.

So, two bugs:

 - the on/off switch should not be disabled for inactive bonds.
 - the on/off switch should actually _look_ disabled when it _is_ disabled.

Both are fixed in the linked pull request.

Comment 11 Stef Walter 2016-07-05 19:20:25 UTC
This bug will be fixed in cockpit 0.113

https://github.com/cockpit-project/cockpit/pull/4640

Reassigning to Dominik for inclusion in next RHEL release of Cockpit.

Comment 16 errata-xmlrpc 2016-08-04 13:46:51 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://rhn.redhat.com/errata/RHBA-2016-1442.html


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