← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1689346] [NEW] cloud-init and nplan do not parse and use OpenStack networking correctly with netmask

 

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 नेपाली
भाषा समायोजकहरुको समूह, 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:
  New
Status in nplan package in Ubuntu:
  New
Status in cloud-init source package in Xenial:
  New
Status in nplan source package in Xenial:
  New
Status in cloud-init source package in Yakkety:
  New
Status in nplan source package in Yakkety:
  New
Status in cloud-init source package in Zesty:
  New
Status in nplan source package in Zesty:
  New

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


Follow ups