Remove the need for boto just for fetching the

userdata and metadata. Add in this crawling functionality
to the ec2_utils module that will fully crawl (not lazily)
the ec2 metadata and parse it in the same manner as boto.

1. Make the ec2 datasource + cloudstack now call into these.
2. Fix phone_home due to urllib3 change (TBD)
This commit is contained in:
Joshua Harlow
2012-10-19 14:06:21 -07:00
parent c9ca5a35bc
commit 5a17518016
6 changed files with 121 additions and 110 deletions

View File

@@ -10,11 +10,6 @@ PrettyTable
# datasource is removed, this is no longer needed
oauth
# This is used to fetch the ec2 metadata into a easily
# parseable format, instead of having to have cloud-init perform
# those same fetchs and decodes and signing (...) that ec2 requires.
boto
# This is only needed for places where we need to support configs in a manner
# that the built-in config parser is not sufficent (ie
# when we need to preserve comments, or do not have a top-level