[Bug 1689346] Re: cloud-init and nplan do not parse and use OpenStack networking correctly with netmask
Scott Moser
smoser at ubuntu.com
Fri May 26 20:22:49 UTC 2017
** No longer affects: nplan (Ubuntu)
** No longer affects: nplan (Ubuntu Xenial)
** No longer affects: nplan (Ubuntu Yakkety)
** No longer affects: nplan (Ubuntu Zesty)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nplan in Ubuntu.
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:
Fix Committed
Status in cloud-init package in Ubuntu:
Fix Released
Status in cloud-init source package in Xenial:
Confirmed
Status in cloud-init source package in Yakkety:
Confirmed
Status in cloud-init source package in Zesty:
Confirmed
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/cloud-init/+bug/1689346/+subscriptions
More information about the foundations-bugs
mailing list