Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1366300

Summary: network team device configuration in kickstart pre section not working
Product: Red Hat Enterprise Linux 7 Reporter: Radek Vykydal <rvykydal>
Component: NetworkManagerAssignee: Thomas Haller <thaller>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: aloughla, atragler, bgalvani, lenh_jea, lkundrak, lmiksik, lrintel, mbanas, mkovarik, release-test-team-automation, rkhan, thaller, vbenes
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1254929 Environment:
Last Closed: 2016-11-03 19:28:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1254929    
Attachments:
Description Flags
[patch] handle empty team config as valid none

Comment 1 Radek Vykydal 2016-08-11 14:43:54 UTC
(In reply to Radek Vykydal from comment #0)
 
> --- Additional comment from Radek Vykydal on 2016-07-29 05:46:24 EDT ---
> 
> Seems that NetworkManager started to require non-empty team port
> configration when creating team slave configuration (compared to 7.2 where
> empty port configuration would be accepted).
> 
> We can fix it by this patch:
> 
> https://github.com/rhinstaller/anaconda/pull/717
> 
> I'd just like to confirm from NM whether the change is really intentional?
> 
> --- Additional comment from Radek Vykydal on 2016-07-29 05:50:22 EDT ---
> 
> Updates image with the patch for anaconda-21.48.22.80-1.el7.x86_64:
> https://rvykydal.fedorapeople.org/updates.teamreg73.img
> 
> Updates image with the patch for the latest
> anaconda-21.48.22.81-1.el7.x86_64:
> https://rvykydal.fedorapeople.org/updates.teamreg73.81.img
> 
> --- Additional comment from Lubomir Rintel on 2016-08-01 11:41:01 EDT ---
> 
> I think we want to preserve the ability to specify empty configuration.

So cloning for NM.

Comment 4 Thomas Haller 2016-08-23 21:45:37 UTC
previously we did not verify the json value at all, now we do.

It is clear that tightening up the verification, leads to rejecting values that were considered valid before.
One question is whether that is acceptable in general, and whether there are certain values (like "") for which this change is inacceptable.

Yeah, maybe "" should be treated like "{}" to be more graceful here.

Comment 5 Thomas Haller 2016-08-24 07:46:16 UTC
Created attachment 1193512 [details]
[patch] handle empty team config as valid

was originally posted by lrintel for bug 1366300

Comment 6 Radek Vykydal 2016-08-24 07:50:47 UTC
Just a note: regarding the "" value we (anaconda) are okay with either way you choose. A fix on our side is easy.

Comment 8 Thomas Haller 2016-08-24 09:02:47 UTC
(In reply to Radek Vykydal from comment #6)
> Just a note: regarding the "" value we (anaconda) are okay with either way
> you choose. A fix on our side is easy.

yeah, but it cause connections from older versions to be rejected as invalid after upgrade. Also, breaking older clients should be avoided as well.

Comment 10 Vladimir Benes 2016-09-06 13:20:09 UTC
nmcli connection add type team con-name team0 ifname nm-team autoconnect no team.config "" is now accepted

Comment 12 errata-xmlrpc 2016-11-03 19:28:11 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/RHSA-2016-2581.html