~smoser/cloud-init:ubuntu/devel

Last commit made on 2017-12-15
Get this branch:
git clone -b ubuntu/devel https://git.launchpad.net/~smoser/cloud-init
Only Scott Moser can upload to this branch. If you are Scott Moser please log in for upload directions.

Branch merges

Branch information

Name:
ubuntu/devel
Repository:
lp:~smoser/cloud-init

Recent commits

5cd6ba3... by Chad Smith on 2017-12-15

releasing package cloud-init version 17.2-1-g4089e20c-0ubuntu1

edeeadc... by Chad Smith on 2017-12-15

update changelog (new upstream snapshot 17.2-1-g4089e20c).

7cd9e9f... by Chad Smith on 2017-12-15

merge from master at 17.2-1-g4089e20c

4089e20... by Chad Smith on 2017-12-15

cli: Fix error in cloud-init modules --mode=init.

The cli help docs and argument parser allow the 'init' mode value
which caused a traceback.

Fix the cli to support 'init', 'config' and 'final' modes for the
cloud-init modules subcommand.

Add a check in the cli to raise a ValueError if a new
subcommand ends up allowing an unsupported/unimplemented modes.

Drive by unit test additions for a bit better coverage of error
handling.

LP: #1736600

c87588b... by Scott Moser on 2017-12-14

release 17.2

Bump the version in cloudinit/version.py to be 17.2 and update ChangeLog.

a30a3bb... by Scott Moser on 2017-12-12

ds-identify: failure in NoCloud due to unset variable usage.

The previous OVF datasource change added a debug message that referenced
an un-used variable. The failure path would be triggered if an image was
booted with a iso9660 filesystem attached to a device that was not a
cdrom.

A unit test is added for the specific failure found.

Additional safety to avoid 'cidata' labels is also added to the OVF
checker.

LP: #1737704

b63ee73... by Joshua Powers on 2017-12-12

tests: fix collect_console when not implemented

The exception was incorrectly creating a string and not a bytes object.

703241a... by Andrew Jorgensen on 2017-11-27

ec2: Use instance-identity doc for region and instance-id

The instance identity document is a better source for region information,
partly because region isn't actually in meta-data at all, only
availability-zone, which happens to be named similarly.

Reviewed-by: Ethan Faust <email address hidden>
Reviewed-by: Cyle Riggs <email address hidden>
Reviewed-by: Tom Kirchner <email address hidden>
Reviewed-by: Matt Nierzwicki <email address hidden>
[<email address hidden>: rebase onto 0.7.9]
[<email address hidden>: changes per merge proposal discussions]

bd0ffd1... by Scott Moser on 2017-12-11

tests: remove leaked tmp files in config drive tests.

Make sure that some temporary files used by the config drive tests get
cleaned up properly.

8f162b6... by Scott Moser on 2017-12-01

setup.py: Do not include rendered files in SOURCES.txt

cloud-init renders template files during its run of setup.py.
Those rendered files were in a temp dir and were making their
way into the SOURCES.txt file. That caused problems for SuSE's build
system that desired for reproducible builds.
  https://reproducible-builds.org/

We do not want to include those, so here we explicitly prune them out.

The issue of SOURCES.txt containing tmp files was reproducible with:
  $ rm -Rf cloud_init.egg-info
  $ git clean --force
  $ rm -Rf ../root.d; python3 setup.py install --root=../root.d
  $ grep ^tmp cloud_init.egg-info/SOURCES.txt

goo: http://bugzilla.opensuse.org/show_bug.cgi?id=1069635