Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-05-23 | test_apt_source_basic_nofn check for non-specified filename | Christian Ehrhardt | |
Cloud-inint uses a default fallback, we want to ensure no code change modfies this behaviour. | |||
2016-05-23 | generalize test_apt_source_basic to be reusable across more testcases | Christian Ehrhardt | |
2016-05-12 | make pep8 happy with a few spaces | Christian Ehrhardt | |
2016-05-12 | streamline code and sanitize expected result string definition | Christian Ehrhardt | |
2016-05-12 | improve spacing in apt_source_list test | Christian Ehrhardt | |
2016-05-12 | alphabetical order on imports | Christian Ehrhardt | |
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 | remove no more applicable "not supported" statements | 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-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-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-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-13 | chef: straighten out validation_cert and validation_key | Scott Moser | |
Now, validation_key is always a path to a file, as it is in chef's client.rb syntax. validation_cert is always the *content* of that file that should be written. However, if validation_cert is the string "system", then we do not write that value, but rather assume the file exists. LP: #1568940 | |||
2016-04-12 | rh_subscription: only check subscription if configured | Scott Moser | |
The rh_subscription config module would attempt to connect to the RHN servers even when no config is provided. Now, instead check to make sure that valid config is provided first. That consists of username and password or a activation key. LP: #1536706 | |||
2016-04-12 | chef: straighten out validation_cert and validation_key | Scott Moser | |
Now, validation_key is always a path to a file, as it is in chef's client.rb syntax. validation_cert is always the *content* of that file that should be written. However, if validation_cert is the string "system", then we do not write that value, but rather assume the file exists. LP: #1568940 | |||
2016-04-11 | Add tests for lxd-bridge | Stéphane Graber | |
2016-04-06 | Ensure that a resolve conf object is written as a string. | Scott Moser | |
Instead of passing the raw object and expecting the write_file to work automatically make sure we explicitly pass the string version of it so that the write_file routine can correctly encode/decode it as needed. LP: #1479988 | |||
2016-04-06 | fix tests and hopefully actually work | Scott Moser | |
2016-04-05 | write_files: fix decompression of content | Scott Moser | |
When provided with gzipped data, an exception would be raised because of a conversion to string. This fixes the issue and adds a test for write_files. LP: #1565638 | |||
2016-03-24 | support reading network config from kernel command line | Scott Moser | |
This adds support for suppling network configuration on the kernel command line in 2 ways: a.) kernel command line includes 'network-config=<base64>' value of that parameter is base64 encoded json (or yaml) it is taken as network config yaml. In order to save space on kernel command line, it can be base64 encoded gzipped json also. b.) ip= paired with files authored by klibc's ipconfig tool When network devices are brought up in the initramfs, klibc's ipconfig tool writes files are named /run/net-<DEVNAME>.conf. The best documentation available on that tool is /usr/share/doc/libklibc/README.ipconfig.gz. Also changes util.get_cmdline() to return the command line of pid 1 if it is in a container. That is to make it consistent with The systemd generator, and allow passing a command line to lxd, as lxd does not mask /proc/cmdline. | |||
2016-03-24 | add comments and improve error messages | Scott Moser | |
2016-03-24 | add suport for base64 encoded gzipped text on command line | Scott Moser | |
add tests to show this functional. | |||
2016-03-23 | one more tox | Scott Moser | |
2016-03-23 | add unit test | Scott Moser | |
2016-03-23 | unittest: fix bad json test with ConfigDrive | Ryan Harper | |
Introduced a new path in configdrive, openstack/2015-10-15/, needed to add bogus data in that path as well to ensure config reader didn't find good data when testing for exception thrown. |