lp:~harlowja/cloud-init/url-ssl-fixings
- Get this branch:
- bzr branch lp:~harlowja/cloud-init/url-ssl-fixings
Branch merges
- Scott Moser: Needs Fixing
-
Diff: 890 lines (+316/-163)15 files modifiedRequires (+6/-5)
cloudinit/config/cc_phone_home.py (+3/-2)
cloudinit/config/cc_power_state_change.py (+1/-1)
cloudinit/distros/parsers/resolv_conf.py (+2/-2)
cloudinit/ec2_utils.py (+5/-0)
cloudinit/sources/DataSourceCloudStack.py (+6/-5)
cloudinit/sources/DataSourceEc2.py (+7/-6)
cloudinit/sources/DataSourceMAAS.py (+26/-19)
cloudinit/url_helper.py (+159/-98)
cloudinit/user_data.py (+3/-2)
cloudinit/util.py (+79/-10)
setup.py (+3/-2)
tests/unittests/test__init__.py (+5/-5)
tests/unittests/test_datasource/test_maas.py (+9/-6)
tests/unittests/test_util.py (+2/-0)
Related bugs
Bug #1067888: Https verification + usage + support | Medium | Fix Released | |
Bug #1068801: Metadata lazy loaded (even when disabled) | Medium | Fix Released |
Related blueprints
Branch information
Recent revisions
- 707. By Scott Moser
-
make get_instance_
userdata and get_instance_ metadata more like botos this shouldn't change anything, only the signatures of the methods.
- 706. By Scott Moser
-
set 'allow_redirects' to True by default
the previous implementation of url_helper.
readurl( ) would default
to allow_redirects being true.So, for backwards compat, we should keep that behavior.
- 705. By Scott Moser
-
do not bother retrying on ssl errors
if the error is an ssl error, its extremely unlikely that it would be fixed by
waiting a few seconds and trying again. - 704. By Scott Moser
-
appease pylint and pep8
* cloudinit/
distros/ parsers/ resolv_ conf.py
added some pylint overrides with 'plXXXXX' syntax.
example: # pl51222 pylint: disable=E0102The pl51222 there means: http://
www.logilab. org/ticket/ 51222 This specific issue is present in 12.04 pylint, but not 13.04.
* pylint doesn't like the requests special handling we have.
which makes sense as it is only checking versus one specific version.
* general pep8 and pylint cleanups. - 701. By Joshua Harlow
-
Fix how the http error doesn't always have the response attached
in earlier versions of requests (pre 0.10.8).
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