lp://staging/~oddbloke/cloud-init/replace-mocker

Created by Dan Watkins and last modified
Get this branch:
bzr branch lp://staging/~oddbloke/cloud-init/replace-mocker
Only Dan Watkins can upload to this branch. If you are Dan Watkins please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Dan Watkins
Project:
cloud-init
Status:
Development

Recent revisions

1013. By Dan Watkins

Replace mocker with mock in test_distros/test_netconfig.py.

1012. By Scott Moser

cloud-init-local depends on /run. reflect that in upstart job.

With the writing of cloud-init status, cloud-init-local needs to
have /run mounted. The issue we were seeing was a race where:
 cloud-init-local creates /run/cloud-init
 /run is mounted
 cloud-init-local tries to link a file into /run/cloud-init

that directory was no longer visisable as /run was mounted over
the top.

1011. By Scott Moser

OpenStack: search less urls to determine if MD service is there.

We were checking for presense of meta_data.json for each supported
metadata version. Instead just check that /openstack is there.

This reduces the time to check on EC2 or any other cloud.

1010. By Scott Moser

ConfigDrive: support reading vendor_data similar to OpenStack MD reader

This makes the DataSourceConfigDrive support vendor-data in the same
way the metadata service reader does. There are still some things to
fix here, but now we're similar between these two.

Also drops the ability to specify a version (as in YYYY-MM-DD) that you want to
look for. Nothing was using this, but it may be useful to add back in
in the future and expose as a datasource config option.

1009. By Scott Moser

openstack: fix bug referencing undefined variable, revert some changes

I had leaked in a couple exception loud-ness changes previously.
This does fix one bug in that os_versions was not defined.

1008. By Scott Moser

pyflakes fixes.

make pyflakes now passes.

1007. By Scott Moser

resizefs: first check if device is writable before attempting

In a container the device nodes may exist but not be writable.
I'm seeing this on trusty host with trusty containers, the root
device ends up looking like it is to /dev/loop0.

1006. By Scott Moser

freebsd: fixes for sudo and build-on-freebsd

Use the regular logic to create sudo rules and just supply the correct
filename. The temp script in tools/ should install 2 more dependencies.

1005. By Scott Moser

improved logging of errors around module loading/searching

1004. By Scott Moser

Datasource: fix to provide local-hostname if not available in datasource

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://staging/~cloud-init-dev/cloud-init/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers