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.
Description of problem:
It is currently possible to create a bond which has vlan slaves,
But this is not working.
network manager should prevent this setup.
See:
https://bugzilla.redhat.com/show_bug.cgi?id=1356635https://access.redhat.com/solutions/483803
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. Create bond with vlan slaves
2. Try to get an IP over DHCP
3.
Actual results:
After 2: Fails to retrieve IP.
Expected results:
Additional info:
We've seen this a couple of times in RHEV, up to now we prevented this in high-level tools, but it should actually be prevented by NetworkManager to create unsupported/non-working setups.
I do see there are combinations that do work - so we might not want to prevent this setp completely.
OTOH there are combinations which don't work, and we should prevent that a user is setting them up.
As said, we do see users trying this in the real world, and they do run into issues.
We could block it on the high-level, but I'd rather like to see it fixed at the root - so either NM/legacy initscripts or even in kernel land.
Comment 4Beniamino Galvani
2016-09-01 14:18:06 UTC
(In reply to Fabian Deutsch from comment #3)
> I do see there are combinations that do work - so we might not want to
> prevent this setp completely.
>
> OTOH there are combinations which don't work, and we should prevent that a
> user is setting them up.
>
> As said, we do see users trying this in the real world, and they do run into
> issues.
>
> We could block it on the high-level, but I'd rather like to see it fixed at
> the root - so either NM/legacy initscripts or even in kernel land.
After a bit of research, I don't think there aren't any technical
reasons why a bond over VLANs should not work. We don't support this
configuration in RHEL [1], and instead favor the use of VLAN over
bond. Nevertheless the setup is legitimate and NetworkManager should
not prevent it.
Do you have more details about which configurations have caused
issues?
[1] https://bugzilla.redhat.com/show_bug.cgi?id=952719
Well, in bug 1356635 we see that a bond over VLANs leads to issues.
In our experience this setup is _never_ stable (having a bond over vlan devices [slaves]).
Dan or Ying might recall more bugs.
I'm afraid I do not recall. But unrelated to this, oVirt does not support (nor even recognizes) bond-over-vlan, and I'm not aware of anybody asking us to add this. For our use case, it would be cool if Cockpit had a way to block it.
Okay, so let's see if Ying has a good example for failures.
Otherwise it seems that we don't agree to prevent this setups, and thus we can then close this bug.
(In reply to Fabian Deutsch from comment #5)
> Well, in bug 1356635 we see that a bond over VLANs leads to issues.
>
> In our experience this setup is _never_ stable (having a bond over vlan
> devices [slaves]).
>
> Dan or Ying might recall more bugs.
In my test, can not setup bond over VLANs via Cockpit, in other word, it is blocked by Cockpit.
Comment 10Beniamino Galvani
2016-10-06 09:36:58 UTC
Blocking the creation of unwanted configurations from upper layers, as cockpit does, makes more sense to me. I'm closing this for now, please reopen if there are any updates or more specific requests.