accept_ra dropped in network config conversion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Invalid
|
Undecided
|
Antti Myyrä |
Bug Description
Hi!
Cloud-init's eni renderer converts version 2 network config to version 1 before rendering. This is eventually done by the _v2_to_v1_ipcfg function within net/network_
2021-01-19 17:57:02,769 - stages.py[DEBUG]: applying net config names for {'version': 2, 'ethernets': {'ens5': {'match': {'macaddress': '3a:d6:
2021-01-19 17:57:02,770 - __init__.py[DEBUG]: no interfaces to rename
2021-01-19 17:57:02,770 - stages.py[INFO]: Applying network configuration from ds bringup=False: {'version': 2, 'ethernets': {'ens5': {'match': {'macaddress': '3a:d6:
2021-01-19 17:57:02,770 - __init__.py[DEBUG]: Selected renderer 'eni' from priority list: None
2021-01-19 17:57:02,774 - network_
{'type': 'physical', 'name': 'ens5', 'mac_address': '3a:d6:
(For some reason, converted v1 config also contains v2's match part, which v1 doesn't need, but it shouldn't affect anything.)
My suggested fix would be to have _v2_to_v1_ipcfg use the "ipv6_dhcpv6-
I can make a PR to cloud-init's Github repo for this, but would like to hear if anyone sees problems with the suggested approach. Thank you!
Best regards,
Antti Myyrä
Changed in cloud-init: | |
status: | New → In Progress |
assignee: | nobody → Antti Myyrä (ajmyyra) |
There is now a pull request related to this: https:/ /github. com/canonical/ cloud-init/ pull/786