We've discussed on IRC that netplan shouldn't accept /x.x.x.x syntax for netmasks and should require CIDR for simplicity/consistency. So this is on netplan to output the correct v2 yaml.
** Changed in: nplan (Ubuntu Zesty) Status: New => Incomplete ** Changed in: nplan (Ubuntu Zesty) Status: Incomplete => Opinion ** Changed in: nplan (Ubuntu Zesty) Status: Opinion => Invalid ** Changed in: nplan (Ubuntu Yakkety) Status: New => Invalid ** Changed in: nplan (Ubuntu) Status: New => Invalid ** Changed in: nplan (Ubuntu Xenial) Status: New => Invalid -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1689346 Title: cloud-init and nplan do not parse and use OpenStack networking correctly with netmask Status in cloud-init package in Ubuntu: Confirmed Status in nplan package in Ubuntu: Invalid Status in cloud-init source package in Xenial: Confirmed Status in nplan source package in Xenial: Invalid Status in cloud-init source package in Yakkety: Confirmed Status in nplan source package in Yakkety: Invalid Status in cloud-init source package in Zesty: Confirmed Status in nplan source package in Zesty: Invalid Bug description: networking data josn has: "ip_address" : "104.130.20.155", "netmask" : "255.255.255.0" "ip_address" : "10.184.3.234", "netmask" : "255.255.240.0", that got rendered into nplan as: - 104.130.20.155/255.255.255.0 - 10.184.3.234/255.255.240.0 which it failed to parse Stderr: Error in network definition //etc/netplan/50-cloud-init.yaml line 32 column 12: invalid prefix length in address '104.130.20.155/255.255.255.0' I believe nplan is expecing CIDR notation of /24 or some such. I belive the current plan is to fix cloud-init to generate /24 cidr notation in the nplan renderer. This needs SRU into xenial. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1689346/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp