Public bug reported:

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.

** Affects: cloud-init (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: nplan (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: cloud-init (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: nplan (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: cloud-init (Ubuntu Yakkety)
     Importance: Undecided
         Status: New

** Affects: nplan (Ubuntu Yakkety)
     Importance: Undecided
         Status: New

** Affects: cloud-init (Ubuntu Zesty)
     Importance: Undecided
         Status: New

** Affects: nplan (Ubuntu Zesty)
     Importance: Undecided
         Status: New

** Also affects: cloud-init (Ubuntu Yakkety)
   Importance: Undecided
       Status: New

** Also affects: cloud-init (Ubuntu Zesty)
   Importance: Undecided
       Status: New

** Also affects: cloud-init (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: nplan (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1689346

Title:
  cloud-init and nplan do not parse and use OpenStack networking
  correctly with netmask

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1689346/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to