'manual' is not one of ['dhcp4', 'dhcp', 'dhcp6', 'static', 'static6', 'ipv6_dhcpv6-stateful', 'ipv6_dhcpv6-stateless', 'ipv6_slaac'] #5769
Labels
bug
Something isn't working correctly
good first issue
hacktoberfest
Issues to be completed during Hacktoberfest. Curated list of good first issue tags.
Bug report
Cloud-init is failing to parse a network.v1 definition created by curtin:
@TheRealFalcon requested that I separate this issue out from #2880
Steps to reproduce the problem
This is being generated by
maas
, so recreation steps are overlong, but the generated config for unconfigured/unused interfaces looks like this:This is causing the entire network configuration to fail, such that it is not applied to the interface which is configured.
As I look at this configuration, it does appear that perhaps this is a mistake by curtin? Should it perhaps be this?
If my judgement of this is correct, then it should perhaps be considered a documentation error for the network config v1 format as there's actually no description of the type field here: https://cloudinit.readthedocs.io/en/latest/reference/network-config-format-v1.html#subnet-ip
Environment details
cloud-init-23.4-7.el9_4.6.alma.1.noarch
cloud-init logs
cloud-init.tar.gz
The text was updated successfully, but these errors were encountered: