Bug 2188388
Summary: | [rhel-9] [RFE] Configure "ipv6.addr-gen-mode=eui64' as default in NetworkManager | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Thomas Haller <thaller> | |
Component: | cloud-init | Assignee: | Ani Sinha <anisinha> | |
Status: | CLOSED ERRATA | QA Contact: | Huijuan Zhao <huzhao> | |
Severity: | medium | Docs Contact: | ||
Priority: | high | |||
Version: | 9.3 | CC: | andavis, anisinha, bdas, bgalvani, cconte, coldford, desktop-qa-list, dustymabe, eterrell, fpalin, ggrimaux, huzhao, jansari, jgreguske, jlibosva, lrintel, mlaniel, nm-team, rkhan, rpawlik, sfaye, sukulkar, till, xiachen, xiliang, yacao | |
Target Milestone: | rc | Keywords: | FutureFeature, RFE, Triaged | |
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | cloud-init-23.1.1-9.el9 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | 2103285 | |||
: | 2229460 (view as bug list) | Environment: | ||
Last Closed: | 2023-11-07 08:28:38 UTC | Type: | Feature Request | |
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: | 2103285 | |||
Bug Blocks: | 2229460 |
Description
Thomas Haller
2023-04-20 15:07:55 UTC
Upstream discussion will happen as a part of https://github.com/canonical/cloud-init/pull/4291 . Tested with cloud-init-23.1.1-9.el9(NetworkManager-1.43.9-1.el9.x86_64) on OpenStack, the instance can get ipv6 address and ping successfully, and I think the below test results are expected, setting Verified:Tested ---- # cat /etc/cloud/cloud.cfg network: renderers: ['network-manager', 'eni', 'netplan', 'sysconfig', 'networkd'] ---- # nmcli -f NAME,FILENAME,DBUS-PATH c show NAME FILENAME DBUS-PATH cloud-init eth0 /etc/NetworkManager/system-connections/cloud-init-eth0.nmconnection /org/freedesktop/NetworkManager/Settings/1 lo /run/NetworkManager/system-connections/lo.nmconnection /org/freedesktop/NetworkManager/Settings/2 # cat /etc/NetworkManager/system-connections/cloud-init-eth0.nmconnection # Generated by cloud-init. Changes will be lost. [connection] id=cloud-init eth0 ... [ipv6] method=auto may-fail=false route1=::/0,2620:52:0:84::3fe # nmcli -o c show /etc/NetworkManager/system-connections/cloud-init-eth0.nmconnection connection.id: cloud-init eth0 ... ipv4.method: auto ipv4.may-fail: no ipv6.method: auto ipv6.routes: { ip = ::/0, nh = 2620:52:0:84::3fe } ipv6.may-fail: no ipv6.addr-gen-mode: default-or-eui64 # cat /etc/NetworkManager/conf.d/30-cloud-init-ip6-addr-gen-mode.conf # This is generated by cloud-init. Do not edit. # [.config] enable=nm-version-min:1.40 [connection.30-cloud-init-ip6-addr-gen-mode] # Select EUI64 to be used if the profile does not specify it. ipv6.addr-gen-mode=0 Move to VERIFIED per comment 10 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 (Moderate: cloud-init security, bug fix, and enhancement update), 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://access.redhat.com/errata/RHSA-2023:6371 |