** Description changed:

- In bug https://bugs.launchpad.net/cloud-init/+bug/1669504
+ === Begin SRU Template ===
+ [Impact]
+ This code path is not applicable to Ubuntu.
+ The bug resolved properly detecting and raising ValueErrors if multiple 
default
+ gateways were defined in ipv4 or or ipv6 addresses for sysconfig
+ (Redhat/centos) format.
  
- cloud-init sysconfig rendering was updated to handle v4 and v6 default routes.
- In that change, there's  a remnant of the previous implementation.
+ [Test Case]
+ Launch an instance on lxd, make sure it has network.
  
- % 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
+ [Regression Potential]
+ Changes to network rendering could have negatively affected Ubuntu
+ the test above is valid to check that that didn't go horribly wrong.
  
+ [Other Info]
+ Upstream commit:
+  
https://git.launchpad.net/cloud-init/commit/?id=dd03bb411c9a6f10854a3bbc3223b204c3d4d174
  
- Note that last route_cfg.has_set_default,  which is no longer present in the 
Route class
+ === End SRU Template ===

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

Title:
  sysconfig route object reference removed class attribute

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

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

Reply via email to