Comment 5 for bug 1978543

Revision history for this message
Chad Smith (chad.smith) wrote :

>> I think that the real bug here is that we're trying to parse the v2 config at all. I think we should instead check the version number and the renderer, and if it's v2 on netplan, hand the config off directly to netplan without any additional checking.

James, you are right. We had a discussion to sort this as well and I agree with the approach of network_state not being touched when cloud-init is provided raw v2 and we have chosen the render to netplan. Then clean passthrough is observed.

That said, other distros will still use cloud-init's built-in network config v2 support which is a subset of raw netplan. And you linked to the documented warnings about that behavior.

Let's mark this high then so we can ensure clean passthrough when on netplan and get out of the way on those systems.