Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-08-22 | ec2_utils.py: get_instance_metadata explicitly add trailing / | Scott Moser | |
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 LP: #1356855 | |||
2014-07-24 | merge from trunk | Scott Moser | |
2014-07-23 | fix httpretty based test cases if http_proxy is set. | Scott Moser | |
previously this would fail: http_proxy=http://foo.bar make test now it will pass. This works around a bug where httpretty is not able to patch http operations if http_proxy is set. https://github.com/gabrielfalcao/HTTPretty/issues/122 | |||
2014-07-23 | more | Dimitri John Ledkov | |
2014-02-08 | Remove HEAD usage and other small adjustments | Joshua Harlow | |
2014-02-07 | Add test for disabled dsmode | Joshua Harlow | |
2014-02-07 | Add a bunch of new tests | Joshua Harlow | |
2014-02-01 | Don't forget the rest of the files! | Joshua Harlow | |