summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-07-31init single: hook up reporterScott Moser
2015-07-31adjust searching so cache hits are loggedScott Moser
2015-07-31move 'mode' out of SearchReportStackScott Moser
2015-07-31address Daniel's comments in reviewScott Moser
2015-07-31merge from trunkScott Moser
2015-07-31add nicer formating and messages for datasource searchingScott Moser
2015-07-31status_wrapper in main: correct fix use of print_exc when handling exceptionScott Moser
2015-07-31fix issues found when testingScott Moser
2015-07-30fix arg orderingScott Moser
2015-07-30status_wrapper in main: fix use of print_exc when handling exceptionScott Moser
2015-07-30fix call to print_excScott Moser
2015-07-30fix namespace / local variable collisionScott Moser
2015-07-30tests passScott Moser
2015-07-28pull from 2.0 trunk @ a433358bbcf4e8a771b80cae34468409ed5a811dScott Moser
2015-07-28rsyslog: skip empty or None in remotes formatScott Moser
This allows user to specify the following to overwrite a previously declared entry without warnings. rsyslog: {'remotes': {'foo': None}}
2015-07-28rsyslog: add new format of configScott Moser
new format of config is namespaced under top level 'rsyslog' rather than having 3 tokens in the top level namespace. Additionally added here are: * tests * support for legacy config * support for 'remotes' configuration allowing simple config like rsyslog: remotes: {'myremote': "192.168.1.1"}
2015-07-28remove 'syslog' module (its been moved to rsyslog)Scott Moser
2015-07-28doc: mention how to run syslog serverScott Moser
2015-07-28must declare proto of '@'Scott Moser
2015-07-28add trailing newline only if necessaryScott Moser
2015-07-28fix bug in remotes_to_rsyslog_cfg, add testScott Moser
2015-07-28add support for 'remotes'Scott Moser
2015-07-27fix kwargScott Moser
2015-07-27fix build with merge from trunkScott Moser
2015-07-27use 'restart' rather than 'reload' on non-systemd systemsScott Moser
Testing on trusty shows that: service rsyslog reload does produce a message like: rsyslogd was HUPed but does not result in new config being in honored. Using restart does, and with upstart that should be fine (as upstart will start only if previously running).
2015-07-27_read_dmi_syspath: fix bad log message causing unintended exceptionScott Moser
2015-07-27merge from trunkScott Moser
2015-07-27add rsyslog testsScott Moser
reasonable test of reworked rsyslog module
2015-07-27update existing rsyslog module with better code and docScott Moser
2015-07-24commit initial re-work/re-implementation of syslog configScott Moser
2015-07-22mounts: support reliably detecting and using Azure ephemeral disksScott Moser
Azure's ephemeral disks are not guaranteed to be assigned the same name by the kernel every boot. This causes problems on ~2% of Azure instances, and can be fixed by using udev rules to give us a deterministic path to mount; this patch introduces those udev rules and modifies the Azure data source to use them. Changes to a couple of config modules were also required. In some places, they just needed to learn to dereference symlinks. In cc_mounts this wasn't sufficient because the dereferenced device would have been put in /etc/fstab (rather defeating the point of using the udev rules in the first place). A fairly hefty refactor was required to separate "is this a valid block device?" from "what shall I put in fstab?". LP: #1411582
2015-07-22remove some overly verbose log messagesScott Moser
2015-07-22provide data source to mirror selection code for region-specific mirrors.Scott Moser
This makes the full data source available to the mirror selection code, which means we can implement region logic on the data source for everything to use rather than it being mirror-selection-specific. It also implements that region logic for EC2 and GCE. LP: #1470890
2015-07-22merge from trunkScott Moser
2015-07-22fixes bug: https://launchpad.net/bugs/1461242Scott Moser
ssh: generate ed25519 host keys if supported now we attempt to generate ed25519 host keys. If ssh-keygen does not support it, a debug log message will be written. LP: #1461242
2015-07-22ssh: generate ed25519 host keys if supportedScott Moser
now we attempt to generate ed25519 host keys. If ssh-keygen does not support it, a debug log message will be written. LP: #1461242
2015-07-22improve log messageScott Moser
2015-07-22fixes from testingScott Moser
2015-07-22merge from trunkScott Moser
2015-07-22packages/debian/control.in: add depends on iproute2Scott Moser
tests (specifically DataSourceOpenNebula) runs 'ip' which comes from iproute2.
2015-07-22replace '2' with 'TO' in globalsScott Moser
2015-07-22pep8 line too longScott Moser
2015-07-22merge from trunkScott Moser
2015-07-22Add DataSource.region and use it in mirror selection.Daniel Watkins
Also implement DataSource.region for EC2 and GCE data sources.
2015-07-22Make full data source available to code that handles mirror selection.Daniel Watkins
2015-07-21untested suggested changeScott Moser
LP: #1461242
2015-07-21fix 'make pyflakes'Scott Moser
2015-07-21tests: fix TestHandlerHandlePart testsScott Moser
these tests were previously passing, but doing so erroneously. I believe that an update to mock caused them to start failing. I've updated the tests now. The simple change is replacing 'assert_called_with_once' with 'assert_called_once_with'. The second set of changes is seemingly a correction of the following tests expectations: test_normal_version_2 : was not expecting to get frequency passed into handle_part, but should have been. test_no_handle_when_modfreq_once: was expecting to have handle_part called even though the test implies otherwise. test_exception_is_caught: this test just looked broken. Now, we're testing that the part handler is called and that no exception is raised past handle_part
2015-07-21Add udev rules for Azure ephemeral disks.Daniel Watkins
And install them in the Debian packaging.
2015-07-21Use /dev/disk devices for Azure ephemeral disk.Daniel Watkins
The ephemeral disk will not necessarily be assigned the same name at each boot (LP: #1411582), so we use some udev rules to ensure we always get the right one.