← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1687485] Re: sysconfig route object reference removed class attribute

 

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

** Changed in: cloud-init (Ubuntu)
       Status: New => Fix Released

** Changed in: cloud-init (Ubuntu)
   Importance: Undecided => Medium

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

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

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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1687485

Title:
  sysconfig route object reference removed class attribute

Status in cloud-init:
  Fix Committed
Status in cloud-init package in Ubuntu:
  Fix Released
Status in cloud-init source package in Xenial:
  New
Status in cloud-init source package in Yakkety:
  New
Status in cloud-init source package in Zesty:
  New

Bug description:
  In bug https://bugs.launchpad.net/cloud-init/+bug/1669504

  cloud-init sysconfig rendering was updated to handle v4 and v6 default routes.
  In that change, there's  a remnant of the previous implementation.

  % grep -n has_set_default cloudinit/net/sysconfig.py 
  91:        self.has_set_default_ipv4 = False
  92:        self.has_set_default_ipv6 = False
  100:        r.has_set_default_ipv4 = self.has_set_default_ipv4
  101:        r.has_set_default_ipv6 = self.has_set_default_ipv6
  256:                         route_cfg.has_set_default_ipv4) or
  258:                         route_cfg.has_set_default_ipv6)
  274:                route_cfg.has_set_default = True

  
  Note that last route_cfg.has_set_default,  which is no longer present in the Route class

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


References