Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-02-26 | Fix traceback with no arguments on Python 3. | Daniel Watkins | |
Fixes bug 1424277. | |||
2015-02-24 | further fixing of non-text user-data. | Scott Moser | |
2015-02-24 | move recently added test_udprocess tests to test_data, improve a bit | Scott Moser | |
explicitly test compressed user-data. | |||
2015-02-24 | Azure: Fix consumption of user-data | Scott Moser | |
This was previously broken in python3 as the userdata would be bytes rather than a string. LP: #1423972 | |||
2015-02-24 | use util.decode_binary rather than str, add tests. | Scott Moser | |
just seems to make more sense to decode here. Add a test showing the previous failure (testBytesInPayload) And one that should pass (testStringInPayload) Also, add a test for unencoded content in the ovf xml (test_userdata_plain) And explicitly set encoding on another test (test_userdata_found). | |||
2015-02-24 | tox: set LC_ALL=en_US.utf-8 rather than C | Scott Moser | |
this works around an issue in httpretty where it is not able to install in tox if LC_ALL is set to C. | |||
2015-02-24 | CloudStack: support fetching password from virtual router | Scott Moser | |
LP: #1422388 | |||
2015-02-24 | merge from trunk | Scott Moser | |
2015-02-23 | Make parameter list for get_hostname method consistent | Joshua Harlow | |
2015-02-23 | Add documentation about upstream CloudStack HTTP fix. | Daniel Watkins | |
2015-02-23 | Always close the password server connection, even on failure. | Daniel Watkins | |
2015-02-20 | Fix for Py2 to Py3 difference: cloud-init user-data mime conversion fails on | Ben Howard | |
base64 encoded data. | |||
2015-02-20 | Split CloudStack password handling out to separate class. | Daniel Watkins | |
2015-02-20 | Minor formatting clean-up in CloudStack DS. | Daniel Watkins | |
2015-02-20 | Add automated tests for CloudStack passwords. | Daniel Watkins | |
2015-02-18 | Set an explicit timeout when fetching CloudStack passwords. | Daniel Watkins | |
2015-02-18 | Failing 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-18 | Fix for ascii decode in DataSourceAzure (LP: #1422993). | Ben Howard | |
2015-02-18 | Read 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-18 | Set 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-17 | Add explanatory comment. | Daniel Watkins | |
2015-02-17 | Fetch and use passwords from CloudStack virtual router. | Daniel Watkins | |
2015-02-17 | Clean up imports in DataSourceCloudStack.py. | Daniel Watkins | |
2015-02-13 | fix usage of python2 'print' | Scott Moser | |
2015-02-13 | support for managing GPT partitions | Scott Moser | |
Specifically, this is to support Azure's G-series VMs (which come with disks up to 6500GB). | |||
2015-02-13 | tests/unittests/test_util.py: pep8 | Scott Moser | |
2015-02-12 | mount_cb: fix scoping of an exception in python3 | Scott Moser | |
2015-02-11 | some python3 fixes | Scott 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-11 | include exception in error again. | Scott Moser | |
it is admittedly not clear, but 'exc' should be definied if mountpoint is not. | |||
2015-02-11 | pickle contents: be careful loading and storing pickle to be binary | Scott Moser | |
2015-02-11 | provide default final message in jinja to avoid WARN in log | Scott Moser | |
2015-02-11 | open console as text mode | Scott Moser | |
2015-02-11 | Open /dev/console in text mode (so we don't have to encode strings to write ↵ | Daniel Watkins | |
them). | |||
2015-02-11 | pep8 | Scott Moser | |
2015-02-11 | add tools/tox-venv for running in a tox env | Scott Moser | |
2015-02-11 | Encode messages to utf-8 before writing them to the console in util.multi_log. | Daniel Watkins | |
2015-02-11 | Add unittests for util.multi_log. | Daniel Watkins | |
2015-02-11 | Add helpers for patching open and stdout/stderr. | Daniel Watkins | |
2015-02-11 | Fix import ordering in test_util.py. | Daniel Watkins | |
2015-02-11 | Enable passing arguments to nose via tox. | Daniel Watkins | |
2015-02-11 | Fix reference to non-existent variable. | Daniel Watkins | |
2015-02-10 | python3 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-10 | pep8 | Scott Moser | |
2015-02-10 | pep8 | Scott Moser | |
2015-02-10 | pep8 | Scott Moser | |
2015-02-11 | fix random_seed module | Scott Moser | |
2015-02-10 | use encode_text | Scott Moser | |
2015-02-10 | fix for cloud-init bin use encode | Scott Moser | |
2015-02-10 | skip cheetah dependent test | Scott Moser | |
2015-02-10 | make bddeb work with python3 or python2 | Scott 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. |