[Bug 1562784] [NEW] cloud-init 0.7.7~bzr1189-0ubuntu1kills snappy boot

Oliver Grawert ogra at ubuntu.com
Mon Mar 28 09:47:36 UTC 2016


Public bug reported:

the recent cloud init changes in version 0.7.7~bzr1189-0ubuntu1
completely kill the snappy boot on non-networked systems (leaving the
console with an unlimited systemd wait process) and cause a python
traceback on networked ones (there the boot finishes)

traceback:

Mar 28 09:40:00 localhost cloud-init[820]: Cloud-init v. 0.7.7 running 'init-local' at Mon, 28 Mar 2016 09:39:56 +0000. Up 84.15 seconds.
Mar 28 09:40:00 localhost cloud-init[820]: 2016-03-28 09:40:00,622 - util.py[WARNING]: failed of stage init-local
Mar 28 09:40:00 localhost cloud-init[820]: failed run of stage init-local
Mar 28 09:40:00 localhost cloud-init[820]: ------------------------------------------------------------
Mar 28 09:40:00 localhost cloud-init[820]: Traceback (most recent call last):
Mar 28 09:40:00 localhost cloud-init[820]:   File "/usr/bin/cloud-init", line 514, in status_wrapper
Mar 28 09:40:00 localhost cloud-init[820]:     ret = functor(name, args)
Mar 28 09:40:00 localhost cloud-init[820]:   File "/usr/bin/cloud-init", line 268, in main_init
Mar 28 09:40:00 localhost cloud-init[820]:     init.apply_network_config()
Mar 28 09:40:00 localhost cloud-init[820]:   File "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 599, in apply_network_config
Mar 28 09:40:00 localhost cloud-init[820]:     return self.distro.apply_network_config(netcfg)
Mar 28 09:40:00 localhost cloud-init[820]:   File "/usr/lib/python3/dist-packages/cloudinit/distros/__init__.py", line 140, in apply_network_config
Mar 28 09:40:00 localhost cloud-init[820]:     dev_names = self._write_network_config(netconfig)
Mar 28 09:40:00 localhost cloud-init[820]:   File "/usr/lib/python3/dist-packages/cloudinit/distros/debian.py", line 85, in _write_network_config
Mar 28 09:40:00 localhost cloud-init[820]:     links_prefix=self.links_prefix)
Mar 28 09:40:00 localhost cloud-init[820]:   File "/usr/lib/python3/dist-packages/cloudinit/net/__init__.py", line 589, in render_network_state
Mar 28 09:40:00 localhost cloud-init[820]:     render_systemd_links(target, network_state, links_prefix)
Mar 28 09:40:00 localhost cloud-init[820]:   File "/usr/lib/python3/dist-packages/cloudinit/net/__init__.py", line 603, in render_systemd_links
Mar 28 09:40:00 localhost cloud-init[820]:     with open(fname, "w") as fp:
Mar 28 09:40:00 localhost cloud-init[820]: OSError: [Errno 30] Read-only file system: '///etc/systemd/network/50-cloud-init-eth0.link'
Mar 28 09:40:00 localhost cloud-init[820]: ------------------------------------------------------------
Mar 28 09:40:01 localhost systemd[1]: cloud-init-local.service: Main process exited, code=exited, status=1/FAILURE
Mar 28 09:40:01 localhost systemd[1]: Failed to start Initial cloud-init job (pre-networking).
Mar 28 09:40:01 localhost systemd[1]: cloud-init-local.service: Unit entered failed state.
Mar 28 09:40:01 localhost systemd[1]: cloud-init-local.service: Failed with result 'exit-code'.

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

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1562784

Title:
  cloud-init 0.7.7~bzr1189-0ubuntu1kills snappy boot

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



More information about the Ubuntu-server-bugs mailing list