Bug 2229768
| Summary: | Cannot enroll replica on IPv6 only host | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Tomasz Kepczynski <tomek> |
| Component: | ipa | Assignee: | Florence Blanc-Renaud <frenaud> |
| Status: | CLOSED MIGRATED | QA Contact: | ipa-qe |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.2 | CC: | abokovoy, rcritten, tscherf |
| Target Milestone: | rc | Keywords: | MigratedToJIRA |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-09-18 22:54:32 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: | |||
|
Description
Tomasz Kepczynski
2023-08-07 15:37:46 UTC
Notes: We need to extend IPA installers to be smarter and recognize IPv6-only or IPv4-only setups. This means also taking into account gai.conf configuration (default one, when /etc/gai.conf does not exist, is to prefer IPv6 over IPv4). When only IPv6 routing is available: - when detecting IPv6-only configuration, filter out link-local IPv6 routes as these will not lead to working IPv6 setup - filter out IPv4 hosts from the list of available replicas. Assume system resolver is taking gai.conf preferences. When only IPv4 routing is available: - when detecting IPv4-only configuration, filter out link-local IPv6 routes as these will not lead to working IPv6 setup - filter out IPv6 hosts from the list of available replicas. Assume system resolver is already taking gai.conf preferences into account. In both cases it should be done for both client and replica deployments. Additional consideration on the client side is to filter out IPv4 hosts from IPv6-only environment (and vice-versa) and issue a warning that hosts were dropped out. Perhaps, we would need to add a way to tune this through /etc/ipa/installer.conf to allow either behavior (drop/not drop) in order to avoid adding new command line options. The interesting part is that the installation from dual stack system against IPv6 only master works: the connection checker is able to resolve IPv6 only destination. Please make sure to validate connection checking both ways. Connection checker seems to check connection from client to master first and then seems to ask the master to check the other way - this can be prone to same issue as described here. Additionally I noted that CA enrolment at least sometimes fails when CA resolves to both IPv4 and IPv6 but is not reachable by IPv4 (RFC1918 involved at least on one side of the connection). But this likely is another issue (please let me know if I should look into it a bit more and file a bug if confirmed). Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug. This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there. Due to differences in account names between systems, some fields were not replicated. Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information. To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer. You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like: "Bugzilla Bug" = 1234567 In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information. |