diff options
author | Scott Moser <smoser@ubuntu.com> | 2012-11-12 10:01:02 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2012-11-12 10:01:02 -0500 |
commit | 7446280d1398f7dc8ad74a792416cd82a5873d67 (patch) | |
tree | f050693a881d4ef9ac63bf2cf430082714c71b5a /ChangeLog | |
parent | 71ba36704132ff8597dfc0e45b34e0c4424e239f (diff) | |
parent | 7fd838c187ad004d124c9293d91fdb4fca083f66 (diff) | |
download | vyos-cloud-init-7446280d1398f7dc8ad74a792416cd82a5873d67.tar.gz vyos-cloud-init-7446280d1398f7dc8ad74a792416cd82a5873d67.zip |
wrap boto.utils.get_instance_metadata to ensure non-lazy loading
newer versions of boto lazily load the metadata from the ec2
metadata service. Here, we:
1. Add a ec2_utils module that checks which version of boto is being used and
under the right versions the metadata dictionary will be expanded.
2. Use this new ec2_utils module in the cloudstack and ec2
datasources as there entrypoints into boto.
3. Add a dependency on python-pkg-resources (from pkg_resources import
parse_version) to determine the boto version.
LP: #1068801
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -23,6 +23,9 @@ - Fix the merging of group configuration when that group configuration is a dict => members. [revno 707] - add yum_add_repo configuration module for adding additional yum repos + - work around the lazy loading of get_instance_metadata in boto >= 2.6.0 + by fully walking the dictionary. (LP: #1068801) + Added dependency on distribute's python-pkg-resources 0.7.0: - add a 'exception_cb' argument to 'wait_for_url'. If provided, this method will be called back with the exception received and the message. |