Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-05-12 | order code in test order | Christian Ehrhardt | |
2016-05-12 | test mirror list with failing mirror | Christian Ehrhardt | |
2016-05-12 | test debian and ubuntu source.list templating | Christian Ehrhardt | |
2016-05-12 | add testcase for rendering of templates into source.list | Christian Ehrhardt | |
2016-05-12 | remove unused test parts in test_handler_apt_source | Christian Ehrhardt | |
2016-05-12 | update doc/examples/cloud-config.txt with new key-without-source cases | 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-11 | fix pep8 warning | Christian Ehrhardt | |
2016-05-11 | add test_apt_source_keyidonly (not yet supported) | Christian Ehrhardt | |
2016-05-11 | apt_apt_source_key doesn't need a mocked retval | Christian Ehrhardt | |
2016-05-11 | add test_apt_source_keyonly (not yet supported) | Christian Ehrhardt | |
2016-05-11 | split test_apt_source_key into one for key and one for keyid | Christian Ehrhardt | |
2016-05-11 | fix a few forgotten pep8 warnings in test_handler_apt_source.py | Christian Ehrhardt | |
2016-05-11 | convert test_apt_source_ppa to use a mocked util.subp | Christian Ehrhardt | |
2016-05-11 | fix specification of keyid | Christian Ehrhardt | |
2016-05-11 | test test_apt_source_key with mocked util.subp | Christian Ehrhardt | |
2016-05-10 | Use lstrip for easier viewing of test expected result | 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-10 | use proper asserRaises for try catch | Christian Ehrhardt | |
2016-05-10 | provide valid matcher for ppa so that apt-add-repository is triggered | Christian Ehrhardt | |
2016-05-10 | add test_apt_source_key for sources with a keyid to import | Christian Ehrhardt | |
2016-05-10 | add test_apt_source_ppa (failing for now) | Christian Ehrhardt | |
2016-05-10 | split into basic and replacement test | Christian Ehrhardt | |
2016-05-10 | basic apt_source test | Christian Ehrhardt | |
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 | Get this test of net json -> net config working | 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-29 | cloudstack: Only use DHCPv4 lease files as a datasource | Daniel Watkins | |
LP: #1576273 | |||
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 | |||
2016-04-15 | network: do not write interface as 'auto' from ip= on command line. | Scott Moser | |
When ip= on the kernel command line defines the networking, set those network devices to be manually controlled, instead of 'auto'. The reason for this is that if they're marked as 'auto': a.) a second attempt will be made to ifup them. b.) they'll be brought down on shutdown 'b' is problematic on network root filesystem. Also this picks up 2 changes from curtin's net module: - Cleanup newline logic so we always have a clean '\n\n' between stanza - Add a unittest to validate bonding network config render, specifically when to emit auto $iface for dependent bond slaves. LP: #1568637 | |||
2016-04-15 | write 'allow-hotplug', but 'auto' for auto. | Scott Moser | |
2016-04-15 | support and render control=manual on initramfs network devices | Scott Moser | |
when reading the initramfs configurewd devices and turning them into network config, we change to not have 'auto' control (or allow=auto). The reason for this is that if the device was still up: a.) it would try to bring it up again (due to bug 1570142) b.) it would be brought down. 'b' is problematic if there is an iscsi or network root filesystem. Note, that ifupdown does now support 'no-auto-down' which means that the nic should not be brought down on 'ifdown -a'. LP: #1568637 | |||
2016-04-15 | sync with curtin on render_interfaces | Scott Moser | |
This picks up newline cleanup and some bond fixes from curtin at rev 374. - Cleanup newline logic so we always have a clean '\n\n' between stanza - Add a unittest to validate bonding network config render, specifically when to emit auto $iface for dependent bond slaves. |