So while my patch for the DigitalOcean datasource fixes this usecase,
the rendering of additional addresses actually breaks all the "if*"
tools for secondary addresses and even IPv6. Consider:

root@utl-ubuntu-16-04-x64-50307:~# ifquery eth0
address: 138.197.91.79
gateway: 138.197.80.1
netmask: 255.255.240.0
broadcast: 138.197.95.255
root@utl-ubuntu-16-04-x64-50307:~# ip addr show eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP 
group default qlen 1000
    link/ether 4a:41:c5:1b:8a:a0 brd ff:ff:ff:ff:ff:ff
    inet 138.197.91.79/20 brd 138.197.95.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet 10.17.0.6/16 brd 10.17.255.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 2604:a880:800:10::2ced:3001/64 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::4841:c5ff:fe1b:8aa0/64 scope link 
       valid_lft forever preferred_lft forever

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

Title:
  Cloud-init update renders secondary addresses ti be incompatible with
  standard tools

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

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

Reply via email to