Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-03-25 | Add link to Joyent metadata specification. | Daniel Watkins | |
2015-03-25 | Switch logging from info to debug level. | Daniel Watkins | |
2015-03-25 | Ensure that the serial console is always closed. | Daniel Watkins | |
2015-03-25 | Add logging to JoyentMetadataClient. | Daniel Watkins | |
2015-03-25 | Convert DataSourceSmartOS to use v2 metadata. | Daniel Watkins | |
2015-03-13 | Write and read bytes to/from the SmartOS serial console. | Daniel Watkins | |
2015-03-10 | DataSourceMAAS: fix timestamp error in oauthlib | Scott Moser | |
oddly enough, the timestamp you pass into oauthlib must be a None or a string. If not, raises ValueError: Only unicode objects are escapable. Got 1426021488 of type <class 'int'> | |||
2015-03-10 | DataSourceMAAS: remove debug statement | Scott Moser | |
2015-03-05 | DataSourceMAAS: generate oauth headers with adjusted timestamp in case of ↵ | Oleg Strikov | |
clock skew This functionality has been introduced to fix LP: #978127, but was lost while migrating cloud-init to python3. | |||
2015-03-04 | Fix invalid format string in CloudSigma logging. | Daniel Watkins | |
2015-03-02 | DataSourceMAAS: fix oauthlib imports | Scott Moser | |
In both python2 and python3, This throws "'module' object has no attribute 'oauth1'" $ python3 -c 'import oauthlib; oauthlib.oauth1.Client("x")' While this works fine: $ python3 -c 'import oauthlib.oauth1 as oauth1; oauth1.Client("x")' | |||
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 | 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 | Split CloudStack password handling out to separate class. | Daniel Watkins | |
2015-02-20 | Minor formatting clean-up in CloudStack DS. | 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 | 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-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 | 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-11 | fix random_seed module | 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-27 | Respond to review: | Barry Warsaw | |
- Just use util.load_file() instead of yet another way to open and read the file. | |||
2015-01-27 | Remove a comment turd. | 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 | Another handling of b64decode. | Barry Warsaw | |
Also, restore Python 2 compatibility. | |||
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-22 | Make parameter list for get_hostname method consistent | Marco Morais | |
The sources.DataSource class has method defined as: def get_hostname(self, fqdn=False, resolve_ip=False) Make the parameter list for this method in DataSourceDigitalOcean and DataSourceGCE consistent with superclass sources.DataSource. | |||
2015-01-22 | Low hanging Python 3 fruit. | Barry Warsaw | |
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-20 | New Azure disk_setup default. | Daniel Watkins | |
2015-01-16 | pep8 fixes | Scott Moser | |
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 | 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 | Corrected errant logging message. | Wayne Witzel III | |
2014-12-19 | add user-data encoding support for gce | Wayne Witzel III | |
2014-10-20 | Add Digital Ocean Datasource. | Scott Moser | |
This adds a DataSource for DigitalOcean's metadata service. The service is documented at https://developers.digitalocean.com/metadata/ . | |||
2014-10-17 | Explicitly import only types being compared | Neal Shrader | |
2014-10-17 | Correct handling of single/multiple ssh keys | Neal Shrader | |
2014-10-16 | Use existing metadata crawler to populate datasource | Neal Shrader | |