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 1990460 - In dracut allow enough time for DHCP allocation with dual stack, don't get stuck forever on missing IP family [rhel-8.4.0.z]
Summary: In dracut allow enough time for DHCP allocation with dual stack, don't get st...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: NetworkManager
Version: 8.2
Hardware: Unspecified
OS: Unspecified
urgent
unspecified
Target Milestone: beta
: ---
Assignee: Beniamino Galvani
QA Contact: Filip Pokryvka
URL:
Whiteboard:
: 2005498 (view as bug list)
Depends On: 1961666
Blocks: 1976588
TreeView+ depends on / blocked
 
Reported: 2021-08-05 13:06 UTC by RHEL Program Management Team
Modified: 2022-09-07 02:13 UTC (History)
18 users (show)

Fixed In Version: NetworkManager-1.30.0-12.el8_4
Doc Type: No Doc Update
Doc Text:
Clone Of: 1961666
Environment:
Last Closed: 2022-01-26 14:16:27 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-92507 0 None None None 2021-08-05 13:12:48 UTC
freedesktop.org Gitlab NetworkManager NetworkManager merge_requests 966 0 None merged Backport 'ip.required-timeout' to nm-1-30 2021-09-30 15:25:24 UTC

Comment 1 Gris Ge 2021-08-17 06:11:21 UTC
Hi  Beniamino,

Can you create a scratch build for 8.4.0.z which could be used for initial testing in openshift team?

Comment 15 Flavio Percoco 2021-10-11 13:16:48 UTC
*** Bug 2005498 has been marked as a duplicate of this bug. ***

Comment 17 Mat Kowalski 2021-10-13 06:53:37 UTC
I'm reopening the bug as we have tested with NetworkManager-1.30.0-12.el8_4 and the issue is not solved. It seems the bugfix covers only IPv4 stack, whether the reported issue is generic to all IP families. More specifically, the Assisted Installer team is hitting this issue in the reversed scenario comparing to what seems to be tested and fixed here.

+++ Base scenario

With a setup as below

* dual-stack machine
* DHCPv4 server significantly faster than DHCPv6

we get the following result

* IPv4 gets an IP via DHCP and IPv6 does not try anymore

+++ Modified scenario

If we artificially modify it as below

* dual-stack machine
* DHCPv4 server disabled

the machine gets an IPv6 via DHCP.

Comment 18 Mat Kowalski 2021-10-14 06:55:15 UTC
We have tested the scenario from the comment above using a new scratch build based on

* https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/994
* https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=40333371

I can confirm that delayed DHCPv6 does not cause connectivity issues anymore when used with `ip=dhcp,dhcp6`.

Comment 20 Gris Ge 2021-11-23 08:37:20 UTC
User story and acceptance criteria could be found at https://bugzilla.redhat.com/show_bug.cgi?id=1961666#c22

Comment 23 Mat Kowalski 2021-12-13 08:03:01 UTC
I have received the following feedback, meaning that this build is not fixing what we expected

>I tested with that new rhcos image and had the same result as before - SNO node got an ipv4 address first and then did not try to get an ipv6 address after. The rootfs url was only resolving via ipv6, so the SNO node continually failed to resolve it as it only had obtained an ipv4 address. I changed the rootfs url to resolve to an ipv4 address and the installation proceeded.

Comment 24 Beniamino Galvani 2021-12-13 09:18:13 UTC
Hi Mat, do you have any chance to get debug logs (with rd.debug) for the failed installation with the scratch build, so that we can understand what went wrong?

Comment 25 Mat Kowalski 2021-12-13 13:20:11 UTC
Adding @ccrum as owner of the infra where tests happen. Can you by any chance answer the Beniamino's need?

Comment 26 Chad Crum 2021-12-14 13:27:32 UTC
(In reply to Beniamino Galvani from comment #24)
> Hi Mat, do you have any chance to get debug logs (with rd.debug) for the
> failed installation with the scratch build, so that we can understand what
> went wrong?

Hi Beniamino - I'm working on pulling that now. Will get back to you

Comment 30 Beniamino Galvani 2021-12-15 09:58:57 UTC
The acceptance criteria described in comment 20 are about
"ip=dhcp,dhcp6", while in the attached logs I see that "ip=auto" is
used. "ip=auto" was not modified on purpose so that it can be used to
retain the old behavior (wait only IPv4).

I'm not sure this is related, but see also the following FCOS issue:

https://github.com/coreos/fedora-coreos-tracker/issues/1000

where the default was changed from ip=dhcp,dhcp6 to ip=auto to
explicitly keep the old behavior.

Comment 31 Mat Kowalski 2021-12-15 10:14:26 UTC
Just please note, the https://github.com/coreos/fedora-coreos-tracker/issues/1000 has been created on October 18th whether our previous discussions were happening before October 14th. I think in here we are just affected by the fact that in the meantime there may have been some discussions somewhere that we (as Assisted Installer team) weren't aware of.

Just to summarize, is it a valid saying that for "ip=dhcp,dhcp6" we should expect a timeout for both IPv4 and IPv6 ? If yes, then we can work in the installer to use "ip=dhcp,dhcp6" and not "ip=auto"

Comment 32 Beniamino Galvani 2021-12-15 10:17:07 UTC
(In reply to Mat Kowalski from comment #31)
> Just to summarize, is it a valid saying that for "ip=dhcp,dhcp6" we should
> expect a timeout for both IPv4 and IPv6 ?

Yes, that's correct.

Comment 33 Beniamino Galvani 2021-12-16 14:28:35 UTC
> If yes, then we can work in the installer to use "ip=dhcp,dhcp6" and not "ip=auto".

Mat, are you going to test the scratch build with "ip=dhcp,dhcp6"?

Comment 34 Beniamino Galvani 2022-01-13 13:04:13 UTC
Hi Mat, any news about testing the scratch build?

Comment 41 Till Maas 2022-01-26 14:16:27 UTC
Since there is no clear justification why this should be backported, I am closing this ticket. If a backport is required again in the future, please re-open this BZ with a clear justification or open a new BZ. Thank you.


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