Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-05-24 | fix logic error in ec2 get_instance_userdata and slow tests | Scott Moser | |
The change to get_instance_userdata is to fix an issue that was causing retry in the test when it was not desired. if user_data returned 404 it means "there was no user-data", so dont bother retrying. However, _skip_retry_on_codes was returning False indicating that readurl should retry. test_merging was creating 2500 random tests, shrink that down to 100. test_seed_runs is still on my system the slowest test, but taking < .5 seconds where it was taking > 3. | |||
2016-05-24 | Fix up some of the net usage and restore imports and add a mini compat module | Joshua Harlow | |
2016-05-24 | Fix load -> read | Joshua Harlow | |
2016-05-24 | pacify pep8 regarding the new changes | Christian Ehrhardt | |
2016-05-24 | integrate further smaller review feedback | Christian Ehrhardt | |
2016-05-24 | rebased with upstream and reolved merge conflicts | Christian Ehrhardt | |
2016-05-23 | final pep8 check fixups | Christian Ehrhardt | |
2016-05-23 | make sure we only handle list or dict apt_sources and bail out for others | Christian Ehrhardt | |
2016-05-23 | fix issue with dictionary style apt_sources handling filenames | Christian Ehrhardt | |
2016-05-23 | warn about multiple colliding apt_source without filenames | Christian Ehrhardt | |
2016-05-23 | support apt_sources to be a dictionary | Christian Ehrhardt | |
key is the filename, and "old" input shall be handled as it was all the time. For compatibility this will (continue to) overwrite the file of multiple options that did not specify an output file (they all get the same default). Yet it will process them all - as it always did - e.g. to add the keys of all of them. Any users of the new format won't have these issues, as they will always have a key. | |||
2016-05-19 | Fix up tests and flake8 warnings | Joshua Harlow | |
2016-05-19 | Remerge against head/master | Joshua Harlow | |
2016-05-19 | Adjust net module to be more isolated | Joshua Harlow | |
This allows it to be used outside of cloudinit more easily in the future. | |||
2016-05-17 | Don't expose anything but 'render_network_state' | Joshua Harlow | |
This should be the visible api of a network renderer as anything more granular varies between the different render types and will not apply to those renderers. | |||
2016-05-16 | Fix slow tests | Joshua Harlow | |
Timeouts and retries were triggering so make it so that tests do not use the typical timesouts and retries so that the tests finish faster. | |||
2016-05-12 | fix last flake8 error | Scott Moser | |
2016-05-12 | run flake8 instead of pyflakes in tox. expect tests/ to pass flake8. | Scott Moser | |
2016-05-12 | make pep8 happy with a few spaces | Christian Ehrhardt | |
2016-05-12 | split add_key and add_key_raw fior better testability | Christian Ehrhardt | |
2016-05-12 | fix EXPORT_GPG_KEYID for long key fingerprints | Christian Ehrhardt | |
2016-05-12 | Fix logging import | Joshua Harlow | |
2016-05-12 | Fix up a ton of flake8 issues | Joshua Harlow | |
2016-05-12 | remove Unnecessary parens in add_key | Christian Ehrhardt | |
2016-05-12 | move errorlist.append out of add_key | Christian Ehrhardt | |
2016-05-12 | add feature to allow a custom template for source list | Christian Ehrhardt | |
2016-05-12 | remove missed test print | Christian Ehrhardt | |
2016-05-12 | test mirror list with failing mirror | Christian Ehrhardt | |
2016-05-12 | allow to add keys without specifying a source | Christian Ehrhardt | |
2016-05-11 | Use a fake serial module that will allow tests to contine | Joshua Harlow | |
Instead of aborting all serial using tests instead just create a serial module in cloudinit that will create a fake and broken serial class when pyserial is not actually installed. This allows for using the datasource and tests that exist in a more functional and tested manner (even when pyserial is not found). | |||
2016-05-11 | Remove stray prints leftover | Joshua Harlow | |
2016-05-11 | Fix py26 for rhel (and older versions of python) | Joshua Harlow | |
2016-05-10 | Add some basic eni rendering tests | Joshua Harlow | |
2016-05-10 | Fix removal of validate_command | Joshua Harlow | |
2016-05-10 | Move net/renderers -> net | Joshua Harlow | |
2016-05-10 | Fix up tests and debian distro | Joshua Harlow | |
2016-05-10 | Rename to net/renderers and klibc -> cmdline.py | Joshua Harlow | |
2016-05-09 | Rename renderer attribute to _net_renderer | Joshua Harlow | |
2016-05-09 | Use the new renderer in the debian and stages files | Joshua Harlow | |
2016-05-09 | Move the current rendering to a debian distro file | Joshua Harlow | |
This format allows for rendering to work in other distros and clearly separates the API needed to do this (it also moves the klibc parsing into its own module so that the leftover code in net/__init__.py is smaller and only focused on util code). | |||
2016-05-06 | fix timestamp in reporting events. | Scott Moser | |
If no timestamp was passed into a ReportingEvent, then the default was used. That default was 'time.time()' which was evaluated once only at import time. | |||
2016-05-05 | Use a decorator vs repeated key checks. | Joshua Harlow | |
2016-05-05 | Add the bridge net type | Joshua Harlow | |
2016-05-05 | Work on refactoring (and adding) network conversion tests | Joshua Harlow | |
2016-05-01 | initial commit of rework | Scott Moser | |
2016-04-29 | Paths: fix instance path if datasource's id has a '/'. | Scott Moser | |
If the datasource's instance id contained a '/' then the instance_id path would not be as expected under /var/lib/cloud/instances/instance_id. LP: #1575938 | |||
2016-04-29 | Config Drive: fix check_instance_id signature. | Scott Moser | |
After reboot cloud-init would fail as the previously pickled object would have a check_instance_id signature but it didn't match expected LP: #1575055 | |||
2016-04-28 | Tweak instance path name based on review feedback | Robert Jennings | |
r1213 (Ensure instance path is a child of cloud_dir) stripped the leading path separator. This patch goes further by replacing all path seperators with '_' which will avoid a deep directory structure under /var/lib/cloud/instances. LP: #1575938 | |||
2016-04-28 | cloudstack: Only use DHCPv4 lease files as a datasource | Wido den Hollander | |
It could be that there are also 'dhclient6.leases' files in /var/lib/dhcp when DHCPv6 is used next to DHCPv4. This patch makes sure we only read from DHCPv4 lease files | |||
2016-04-27 | Ensure instance path is a child of cloud_dir | Robert Jennings | |
A cloud has an instance-id metadata value in the form: /Compute-$TENANT/$CLOUDUSERNAME/$UUID The leading '/' causes /var/lib/cloud/instance to link to /Compute-$TENANT/$CLOUDUSERNAME/$UUID rather than /var/lib/cloud/instances/Compute-$TENANT/$CLOUDUSERNAME/$UUID This patch strips the leading path separator from the instance-id. LP: #1575938 |