I'm reopening this bug, since it turned out that the fix was a bit too simple. With the current patch, if you have a setup like this for a deployed machine, MAAS breaks:
eth0:
no address
eth0.123:
10.10.10.10/24
This will fail in different ways, depending on whether MAAS already knows about subnet, or not.
I'm adding a couple of test cases and will work on a fix.
I'm reopening this bug, since it turned out that the fix was a bit too simple. With the current patch, if you have a setup like this for a deployed machine, MAAS breaks:
eth0:
no address
eth0.123:
10.10.10.10/24
This will fail in different ways, depending on whether MAAS already knows about subnet, or not.
I'm adding a couple of test cases and will work on a fix.