← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1732917] Re: 17.1 update breaks EC2 nodes

 

This bug is believed to be fixed in cloud-init in 1705804. If this is
still a problem for you, please make a comment and set the state back to
New

Thank you.

** Changed in: cloud-init
       Status: Fix Committed => Fix Released

-- 
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/1732917

Title:
  17.1 update breaks EC2 nodes

Status in cloud-init:
  Fix Released
Status in cloud-init package in Ubuntu:
  Fix Released

Bug description:
  We updated from 0.7.9 to 17.1 on Ubuntu 16.04. After that, cloud-init
  fails to start.

  Update:
  Start-Date: 2017-11-15  06:03:19
  Commandline: /usr/bin/unattended-upgrade
  Upgrade: cloud-init:amd64 (0.7.9-233-ge586fe35-0ubuntu1~16.04.2, 17.1-27-geb292c18-0ubuntu1~16.04.1), ubuntu-standard:amd64 (1.361, 1.361.1), ubuntu-server:amd64 (1.361, 1.361.1), grub-legacy-ec2:amd64 (0.7.9-233-ge586fe35-0ubuntu1~16.04.2, 17.1-27-geb292c18-0ubuntu1~16.04.1), ubuntu-minimal:amd64 (1.361, 1.361.1)
  End-Date: 2017-11-15  06:03:23

  Failure:
  Nov 17 13:53:13 ip-10-50-198-224 cloud-init[11795]: 2017-11-17 13:53:12,947 - util.py[WARNING]: failed stage init
  Nov 17 13:53:13 ip-10-50-198-224 cloud-init[11795]: failed run of stage init
  Nov 17 13:53:13 ip-10-50-198-224 cloud-init[11795]: ------------------------------------------------------------
  Nov 17 13:53:13 ip-10-50-198-224 cloud-init[11795]: Traceback (most recent call last):
  Nov 17 13:53:13 ip-10-50-198-224 cloud-init[11795]:   File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 638, in status_wrapper
  Nov 17 13:53:13 ip-10-50-198-224 cloud-init[11795]:     ret = functor(name, args)
  Nov 17 13:53:13 ip-10-50-198-224 cloud-init[11795]:   File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 357, in main_init
  Nov 17 13:53:13 ip-10-50-198-224 cloud-init[11795]:     init.apply_network_config(bring_up=bool(mode != sources.DSMODE_LOCAL))
  Nov 17 13:53:13 ip-10-50-198-224 cloud-init[11795]:   File "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 635, in apply_network_config
  Nov 17 13:53:13 ip-10-50-198-224 cloud-init[11795]:     netcfg, src = self._find_networking_config()
  Nov 17 13:53:13 ip-10-50-198-224 cloud-init[11795]:   File "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 622, in _find_networking_config
  Nov 17 13:53:12 ip-10-50-198-224 systemd[1]: cloud-init.service: Unit entered failed state.
  Nov 17 13:53:13 ip-10-50-198-224 cloud-init[11795]:     if self.datasource and hasattr(self.datasource, 'network_config'):
  Nov 17 13:53:13 ip-10-50-198-224 cloud-init[11795]:   File "/usr/lib/python3/dist-packages/cloudinit/sources/DataSourceEc2.py", line 307, in network_config
  Nov 17 13:53:13 ip-10-50-198-224 cloud-init[11795]:     net.get_interface_mac(self.fallback_nic): self.fallback_nic}
  Nov 17 13:53:13 ip-10-50-198-224 cloud-init[11795]:   File "/usr/lib/python3/dist-packages/cloudinit/net/__init__.py", line 506, in get_interface_mac
  Nov 17 13:53:13 ip-10-50-198-224 cloud-init[11795]:     if os.path.isdir(sys_dev_path(ifname, "bonding_slave")):
  Nov 17 13:53:13 ip-10-50-198-224 cloud-init[11795]:   File "/usr/lib/python3/dist-packages/cloudinit/net/__init__.py", line 38, in sys_dev_path
  Nov 17 13:53:13 ip-10-50-198-224 cloud-init[11795]:     return get_sys_class_path() + devname + "/" + path
  Nov 17 13:53:13 ip-10-50-198-224 cloud-init[11795]: TypeError: Can't convert 'NoneType' object to str implicitly
  Nov 17 13:53:13 ip-10-50-198-224 cloud-init[11795]: ------------------------------------------------------------
  Nov 17 13:53:12 ip-10-50-198-224 systemd[1]: cloud-init.service: Failed with result 'exit-code'.

  
  This is pretty serious. Is it normal to do a major version update on an LTS release?

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