Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-05-12 | alphabetical import order | Christian Ehrhardt | |
2016-05-12 | remove superfluous import | Christian Ehrhardt | |
2016-05-12 | Adding test_apt_source_keyid_real and test_apt_source_longkeyid_real | Christian Ehrhardt | |
This now ensures that the stack of fetching IDs from keyservers and adding them really works by comparing against known good keys that are expected. | |||
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 | remove Unnecessary parens in add_key | Christian Ehrhardt | |
2016-05-12 | move errorlist.append out of add_key | Christian Ehrhardt | |
2016-05-12 | remove no more applicable "not supported" statements | Christian Ehrhardt | |
2016-05-12 | Document apt_custom_sources_list in examples | Christian Ehrhardt | |
2016-05-12 | add feature to allow a custom template for source list | Christian Ehrhardt | |
2016-05-12 | use old style nested context to make pep8 happy | Christian Ehrhardt | |
2016-05-12 | Finalize test_apt_srcl_custom | Christian Ehrhardt | |
Adding: - known content after full templating - restore subp from mocking for proper execution - drop all kind of superfluous mocking of util and OS | |||
2016-05-12 | initial version of a test for a custom source.list template | Christian Ehrhardt | |
2016-05-12 | use recommended http mirror redirection for debian | Christian Ehrhardt | |
2016-05-12 | remove missed test print | Christian Ehrhardt | |
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 | 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 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-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-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. | |||
2016-04-15 | apply networking less often | Scott Moser | |
Do not apply networking configuration whenever a previous datasource has been loaded from disk and found to be valid (via positive return 'check_instance_id' or user configuration of manual_cache_clean). This effectively means that we apply fallback networking only once per instance rather than every boot on any datasource with 'check_instance_id' implemented. LP: #1571004 | |||
2016-04-15 | log that you're not applying config | Scott Moser | |