merge snappy support

Bug #1428139 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Fix Released
Medium
Unassigned

Bug Description

lp:~smoser/ubuntu/vivid/cloud-init/vivid-snappy has the code that is in the 'snappy' version of cloud-init as found in snappy builds.
need to pull that into cloud-init for ubuntu archive to get rid of the differences.

Related branches

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

Changes from trunk/archive for the cloud-init that is in snappy now.

Branch of collected changes to snappy cloud-init:
  http://bazaar.launchpad.net/~smoser/ubuntu/vivid/cloud-init/vivid-snappy/view/head
working branch for trunk/archive
  https://code.launchpad.net/~smoser/cloud-init/lp1428139/

Generally speaking the biggest issue is that we WARN (write to console) with
all these things when they fail, so the changes we need are to not write ugly
WARN messages to the console on thing sthat are going to fail.

Things that need fixing.
 - FIXED: snappy-config-module.patch snappy config module.
   configures ssh on off)
 - snappy-syslog-perms.patch: config change was needed as default
   tries to change perms of a file to 'syslog:adm'
   need to not warn when that fails here.
 - lock_password: disabled for the default user
   cloud-init runs this by default to not have a passwd.
     sudo usermod --lock ubuntu
   that fails on snappy.

snappy module commented out:
 - resizefs: cannot resize root volume
   was just disabled. need to recognize read-only and just log debug
 - FIXED: emit_upstart: 'initctl emit' doesnt work
   basically dont do this if initctl version doesn't work.
 - locale: cloud-init tries 'locale-gen'
   what to do here?
 - grub-dpkg: fails to run dpkg-set-selections shows a warning
 - apt-pipelining
 - apt-configure
 - lock_password: False .. do not lock password for user as usermod -l fails
   writes a warning

Scott Moser (smoser)
Changed in cloud-init:
status: New → Fix Committed
importance: Undecided → Medium
Revision history for this message
Scott Moser (smoser) wrote :

This is fixed in cloud-init 0.7.7

Changed in cloud-init:
status: Fix Committed → Fix Released
Revision history for this message
James Falcon (falcojr) wrote :
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.