summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-24merge from trunkScott Moser
2015-02-23Add documentation about upstream CloudStack HTTP fix.Daniel Watkins
2015-02-23Always close the password server connection, even on failure.Daniel Watkins
2015-02-20Split CloudStack password handling out to separate class.Daniel Watkins
2015-02-20Minor formatting clean-up in CloudStack DS.Daniel Watkins
2015-02-20Add automated tests for CloudStack passwords.Daniel Watkins
2015-02-18Set an explicit timeout when fetching CloudStack passwords.Daniel Watkins
2015-02-18Failing to fetch a CloudStack password should never fail the whole DS.Daniel Watkins
There might be some CloudStack deployments without the :8080 password server, and there's no reason the rest of the data source can't be used for them.
2015-02-18Fix for ascii decode in DataSourceAzure (LP: #1422993).Ben Howard
2015-02-18Read ovf-env.xml as bytes.Daniel Watkins
This should fix the Azure data source on Python 3, and is appropriate as XML shouldn't really be read as a string.
2015-02-18Set LC_ALL=C for tox tests.Daniel Watkins
As Python 3 uses the locale it's running in to determine the encoding it should use by default, we need this to (a) reproduce a problem we're seeing on Azure, and (b) to have tests run consistently between environments.
2015-02-17Add explanatory comment.Daniel Watkins
2015-02-17Fetch and use passwords from CloudStack virtual router.Daniel Watkins
2015-02-17Clean up imports in DataSourceCloudStack.py.Daniel Watkins
2015-02-13fix usage of python2 'print'Scott Moser
2015-02-13support for managing GPT partitionsScott Moser
Specifically, this is to support Azure's G-series VMs (which come with disks up to 6500GB).
2015-02-13tests/unittests/test_util.py: pep8Scott Moser
2015-02-12mount_cb: fix scoping of an exception in python3Scott Moser
2015-02-11some python3 fixesScott Moser
This fixes the last set of WARN messages in my testing. * open /dev/console in text mode * move final message to be jinja template by default to avoid a warning about lack of cheetah. * write and read pickle'd contents in binary * some logging tests Also: * add tool tox-venv for simple things like: tox-venv py34 /bin/bash
2015-02-11include exception in error again.Scott Moser
it is admittedly not clear, but 'exc' should be definied if mountpoint is not.
2015-02-11pickle contents: be careful loading and storing pickle to be binaryScott Moser
2015-02-11provide default final message in jinja to avoid WARN in logScott Moser
2015-02-11open console as text modeScott Moser
2015-02-11Open /dev/console in text mode (so we don't have to encode strings to write ↵Daniel Watkins
them).
2015-02-11pep8Scott Moser
2015-02-11add tools/tox-venv for running in a tox envScott Moser
2015-02-11Encode messages to utf-8 before writing them to the console in util.multi_log.Daniel Watkins
2015-02-11Add unittests for util.multi_log.Daniel Watkins
2015-02-11Add helpers for patching open and stdout/stderr.Daniel Watkins
2015-02-11Fix import ordering in test_util.py.Daniel Watkins
2015-02-11Enable passing arguments to nose via tox.Daniel Watkins
2015-02-11Fix reference to non-existent variable.Daniel Watkins
2015-02-10python3 support.Scott Moser
This gives us functional python3 support. There are likely still bugs, but instance boot on openstack is functional now. LP: #1247132
2015-02-10pep8Scott Moser
2015-02-10pep8Scott Moser
2015-02-10pep8Scott Moser
2015-02-11fix random_seed moduleScott Moser
2015-02-10use encode_textScott Moser
2015-02-10fix for cloud-init bin use encodeScott Moser
2015-02-10skip cheetah dependent testScott Moser
2015-02-10make bddeb work with python3 or python2Scott Moser
painful, and not perfect, but at this point the output builds on a vivid system python2 (bddeb --python2) or python3. * remove use of cheetah by bddeb in favor of builtin renderer * add '--python2' flag to bddeb and knowledge of python 2 and python3 package names. * read-dependencies can now read test-requirements also. * differenciate from build-requirements and runtime requirements.
2015-02-10fix parse_qs usageScott Moser
2015-02-10fix use of 'letters' and translateScott Moser
2015-02-09fix copyright messageScott Moser
2015-01-27Remove debugging turd.Barry Warsaw
2015-01-27Respond to review:Barry Warsaw
- Refactor "fully" decoding the payload of a text/* part. In Python 3, decode=True only means to decode according to Content-Transfer-Encoding, not according to any charset in the Content-Type header. So do that.
2015-01-27Respond to review:Barry Warsaw
- Refactor both the base64 encoding and decoding into utility functions. Also: - Mechanically fix some other broken untested code.
2015-01-27Respond to review:Barry Warsaw
- Just use util.load_file() instead of yet another way to open and read the file.
2015-01-27Remove a comment turd.Barry Warsaw
2015-01-27Remove some unused code.Barry Warsaw