Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-05-15 | pep8 fixes | Scott Moser | |
2015-05-08 | Fix retrying. | Daniel Watkins | |
2015-05-08 | Reintroduce original code path. | Daniel Watkins | |
2015-05-08 | Move our walinuxagent implementation to a single function call. | Daniel Watkins | |
2015-05-08 | Stop using Python 3 only tempfile.TemporaryDirectory (but lose free cleanup). | Daniel Watkins | |
2015-05-08 | Split WALinuxAgentShim code out to separate file. | Daniel Watkins | |
2015-05-08 | Make find_endpoint a staticmethod to clean up top-level namespace. | Daniel Watkins | |
2015-05-08 | Return a dict of data from WALinuxAgentShim, rather than accessing attributes. | Daniel Watkins | |
2015-05-07 | Implement basic replacement for walinuxagent in Azure data source. | Daniel Watkins | |
2015-05-01 | fix 'Make pyflakes' | Scott Moser | |
2015-05-01 | Azure: if user has set hostname, do not overwrite it | Scott Moser | |
Due to the way the azure boot works, where we identify the hostname to the fabric, we were inadvertently overwriting hostname that the user had set. LP: #1375252 | |||
2015-04-20 | GCE instance-level SSH keys override project-level keys. (LP: #1403617) | Daniel Watkins | |
2015-04-20 | Add test that missing GCE required key returns False. | Daniel Watkins | |
2015-04-15 | Reset host name after bounce has allowed walinuxagent to run successfully. | Daniel Watkins | |
2015-04-15 | Add unit tests for Azure hostname bouncing. | Daniel Watkins | |
Including minor refactoring to make mocking considerably easier. | |||
2015-03-25 | Ensure that the serial console is always closed. | Daniel Watkins | |
2015-03-25 | Refactor tests to assume JoyentMetadataClient is correct. | Daniel Watkins | |
We are treating JoyentMetadataClient as a unit which the data source depends on, so we mock it out instead of providing a fake implementation of it. | |||
2015-03-25 | Convert DataSourceSmartOS to use v2 metadata. | Daniel Watkins | |
2015-03-25 | Organise imports in test_smartos.py. | Daniel Watkins | |
2015-03-13 | Write and read bytes to/from the SmartOS serial console. | Daniel Watkins | |
2015-03-04 | Fix hang caused by HTTPretty on Python 3.4.2. | Daniel Watkins | |
HTTPretty can causes hangs on Python 3.4.2 (and maybe Python 3.4.1), due to a Python bug (fixed in Python 3.4.3). This works around the problem in the appropriate Python versions. See https://github.com/gabrielfalcao/HTTPretty/pull/193 and https://github.com/gabrielfalcao/HTTPretty/issues/221 for details. | |||
2015-02-25 | move towards user-data being binary | Scott Moser | |
UrlResponse: biggest change... make readurl return bytes, making user know what to do with it. util: add load_tfile_or_url for loading text file or url as read_file_or_url now returns bytes ec2_utils: all meta-data is text, remove non-obvious string translations DigitalOcean: adjust for ec2_utils DataSourceGCE, DataSourceMAAS: user-data is binary other fields are text. openstack.py: read paths without decoding to text. This is ok as paths other than user-data are json, and load_json will handle load_file still returns text, and that is what most things use. | |||
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 | merge from trunk | Scott Moser | |
2015-02-20 | Add automated tests for CloudStack passwords. | Daniel Watkins | |
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-10 | pep8 | Scott Moser | |
2015-01-27 | Respond to review: | Barry Warsaw | |
- Refactor both the base64 encoding and decoding into utility functions. Also: - Mechanically fix some other broken untested code. | |||
2015-01-26 | super() works in all of Python 2.6, 2.7, and 3.4. | Barry Warsaw | |
2015-01-26 | Repair the Python 2.6 tests. | Barry Warsaw | |
2015-01-26 | Trunk merged and ported. | Barry Warsaw | |
2015-01-26 | Port the MAAS code to oauthlib. | Barry Warsaw | |
2015-01-26 | * More str/bytes fixes. | Barry Warsaw | |
* Temporarily skip the MAAS tests in py3 since they need to be ported to oauthlib. | |||
2015-01-26 | More Python 3 test fixes. | Barry Warsaw | |
2015-01-26 | More test repairs. | Barry Warsaw | |
2015-01-22 | Low hanging Python 3 fruit. | Barry Warsaw | |
2015-01-22 | More conversions from mocker to mock. | Barry Warsaw | |
2015-01-22 | More test ports from mocker to mock. | Barry Warsaw | |
2015-01-22 | Use .addCleanup() instead of a .tearDown() where appropriate, although we | Barry Warsaw | |
might have to rewrite this for Python 2.6. Disable Cepko tests (test_cs_util.py) since they are essentially worthless. Convert test_azure to unittest.mock. | |||
2015-01-22 | merge from trunk | Scott Moser | |
2015-01-21 | Largely merge lp:~harlowja/cloud-init/py2-3 albeit manually because it seemed | Barry Warsaw | |
to be behind trunk. `tox -e py27` passes full test suite. Now to work on replacing mocker. | |||
2015-01-21 | More octal literal fixes. | Barry Warsaw | |
2015-01-21 | Fix file modes to be Python 2/3 compatible. | Barry Warsaw | |
2015-01-14 | Drop reliance on dmidecode executable. | Ben Howard | |
2015-01-14 | Use the short name for GCE hostnames per GCE's request (LP: #1383794). | Ben Howard | |
2015-01-06 | remove the user-data-encoding from test meta-data | Scott Moser | |
just so we don't come to rely on it being set to 'base64' or ''. rather the default case is that it wont be present at all. | |||
2015-01-06 | merge from trunk | Scott Moser | |
2015-01-06 | tools/run-pep8: remove leading ',' fed to --ignore | Scott Moser | |
--ignore was being called with ',E121,E...' rather than 'E121,E...'. that resulted in odd behavior, missing the pep8 errors that are fixed here. | |||
2015-01-06 | pep8 | Scott Moser | |