lp:~harlowja/cloud-init/better-errors

Created by Joshua Harlow and last modified
Get this branch:
bzr branch lp:~harlowja/cloud-init/better-errors
Only Joshua Harlow can upload to this branch. If you are Joshua Harlow please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Joshua Harlow
Project:
cloud-init
Status:
Merged

Recent revisions

1004. By Joshua Harlow

Remove/adjust the verbose 'failed at attempted import of' log

Instead of using this log (which really isn't a failure) we should
instead of just return the looked up locations and then if there really
is an error the caller can handle the usage of the looked up locations
as they choose fit.

1003. By Scott Moser

FreeBsd: fix initscripts and add working config file

This set of changes generally produces a functional cloud-init on FreeBsd.

1002. By Scott Moser

Openstack: do not load urls twice

The metadata service openstack implementation would end up fetching
urls more than once, as _path_exists would end up doing a GET.
Now instead, get things you expect to be there.

1001. By Jay Faulkner

Fix pep8 issues, drop pylint.

pep8: passes on pylint 1.5.7 (and 1.5.6 utopic).
      intent is that is to be the target for future changes.

pylint: remove as more hassle than its worth.
        Intent is to move to pyflakes at some point.

1000. By Scott Moser

ssh_authkey_fingerprints: fix bug that prevented disabling the module

Module intended to allow disabling by configuration, but that was broken.
Now this allows:
  no_ssh_fingerprints = True

999. By Scott Moser

ec2_utils.py: get_instance_metadata explicitly add trailing /

This change works around a bug in CloudStack's EC2 api implementation.
That is filed upstream at [1].

The fix is safe for openstack and EC2 use cases as well.
EC2 and OpenStacks' EC2 metadata service both return a list with
access to either of:
  <url_base>/latest/meta-data
  <url_base>/latest/meta-data/

Additionally, the responses explicitly contain a trailing '/' for
items that have a child. The ec2_utils code then just re-uses the trailng
/ there. Thus, only the top level request for 'meta-data/' needs
the explicit fix.

This also changes test cases. Those test cases failed without fixing
them. If ever this regressed, those would fail again.

--
[1] https://issues.apache.org/jira/browse/CLOUDSTACK-7405

998. By Scott Moser

docs: fix disk-setup to reference 'table_type'

997. By Scott Moser

fix rendering resolv.conf if no 'options' are provided

this makes some changes to the cc_resolv_conf to make its
generate_resolv_conf method more easily callable (for future test).

Also sets it up so that 'options' is always defined when the template
is rendered.

996. By Scott Moser

settings: fix typo resulting in OpenStack and GCE not running.

995. By Scott Moser

systemd: make cloud-init block ssh service startup to guarantee keys exist

Branch metadata

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

Subscribers