ds=nocloud-net & cloud-init-local.conf breaks system init

Bug #1380948 reported by Marc Riemer
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

After upgrading cloud-init to 0.7.5 the init process is broken. The VM was previously configured via cloud-init.

CMDLINE:

ds=nocloud-net;s=http://init.example.com/

Changing cloud-init-local.conf solved the problem for us:

- start on mounted MOUNTPOINT=/ and mounted MOUNTPOINT=/run
+ start on mounted MOUNTPOINT=/

Tags: patch init
Marc Riemer (mr-l)
affects: cloud-init → cloud-init (Ubuntu)
Revision history for this message
Marc Riemer (mr-l) wrote :

I found a solution, which will solve this and a previous bug (no /run mounted).

I guess the problem is, the event "mouted / and mounted /run" will never be triggered at the same time. As a result cloud-init-local will not be stopped at all and cloud-init-nonet wait until cloud-init-local has been stopped, what will never happen.

Using the event "mounted MOUNTPOINT=/run TYPE=tmpfs" makes sure / and also /run was mounted when cloud-init-local start the cloud-init local process.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "cloud-init-local.conf.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Scott Moser (smoser) wrote :

Hi, could you try this on 16.04 and report if it is functional there?
After reporting back please set status appropriately.
Thanks,
Scott

Changed in cloud-init (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for cloud-init (Ubuntu) because there has been no activity for 60 days.]

Changed in cloud-init (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.