Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-08-31 | events: add timestamp and origin, support file posting | Scott Moser | |
This adds 'timestamp' and 'origin' to events. The timestamp is simply that, a floating point timestamp of when the event occurred. The origin indicates the source / reporter of this. It is useful to have a single endpoint with multiple different things reporting to it. For example, MAAS will configure cloud-init and curtin to report to the same endpoint and then it can differenciate who made the post. Admittedly, they could use multiple endpoints, but this this seems sane. Also, add support for posting files at the close of an event. This is utilized in curtin to post a log file when the install is done. files are posted on success or fail of the event. | |||
2015-08-31 | split 'events' portion of reporting into separate file | Scott Moser | |
this just separates events from other things that could conceivably be reported. | |||
2015-08-31 | readurl: if headers are provided still provide base headers | Scott Moser | |
we want cloud-init user agent to be present even if the user provided some headers. In the event that they provided User-Agent, this will respect their wishes. | |||
2015-08-25 | MAAS: fixes to data source and OauthUrlHelper | Scott Moser | |
the previous version was broken. The vital fixes here are: * adding parsedate and oauth1 imports to url_helper * fix skew_data usage intending to use self.skew_data Additionally: * reorder imports in url_helper * fixes to python3 -m cloudinit.sources.DataSourceMaas LP: #1488507 | |||
2015-08-12 | swap: create swap with fallocate if possible | Scott Moser | |
fallocate is much faster than 'dd' for creating and initializing a swap file. LP: #1482994 | |||
2015-08-10 | reporting: remove unused variable, actually print in PrintHandler | Scott Moser | |
2015-08-07 | reporting: fix logging reproter and tests | Scott Moser | |
2015-08-07 | Add initial reporting module and events | Scott Moser | |
2015-08-07 | add doc, remove some debug / print statements. | Scott Moser | |
2015-08-07 | undo broken logic that attempted to not re-initialize classes | Scott Moser | |
2015-08-07 | catch exception in webhook, adjust logging to use cloud-init logging | Scott Moser | |
2015-08-07 | fix syntax | Scott Moser | |
2015-08-07 | improvements on skew | Scott Moser | |
2015-08-07 | seems functional in test | Scott Moser | |
2015-08-07 | hopefully fix DataSourceMAAS | Scott Moser | |
2015-08-06 | add the webhook handler | Scott Moser | |
2015-08-06 | tests pass | Scott Moser | |
2015-08-06 | sync with cloudinit 2.0 for registry and reporting | Scott Moser | |
2015-08-04 | sync tests back | Scott Moser | |
2015-08-04 | fix pep8 | Scott Moser | |
2015-08-04 | merge from trunk | Scott Moser | |
2015-08-04 | pep8 fixes | Scott Moser | |
2015-08-04 | sync to 2.0 review @ patchset 4 | Scott Moser | |
2015-08-04 | fix all tests (were broken due to copied code call to userdata twice | Scott Moser | |
2015-08-04 | fix lack of import in cloud.py | Scott Moser | |
2015-08-02 | event name doesnt need mode as it is run through init-local or init-net | Scott Moser | |
2015-08-02 | fix tests from sync | Scott Moser | |
change ReportStack to ReportEventStack change default ReportEventStack to be status.SUCCESS instead of None | |||
2015-08-02 | sync with 2.0 trunk on reporting | Scott Moser | |
2015-07-31 | plumb the rest the reporting through | Scott Moser | |
2015-07-31 | init single: hook up reporter | Scott Moser | |
2015-07-31 | adjust searching so cache hits are logged | Scott Moser | |
2015-07-31 | move 'mode' out of SearchReportStack | Scott Moser | |
2015-07-31 | address Daniel's comments in review | Scott Moser | |
2015-07-31 | merge from trunk | Scott Moser | |
2015-07-31 | add nicer formating and messages for datasource searching | Scott Moser | |
2015-07-31 | status_wrapper in main: correct fix use of print_exc when handling exception | Scott Moser | |
2015-07-31 | fix issues found when testing | Scott Moser | |
2015-07-30 | fix arg ordering | Scott Moser | |
2015-07-30 | status_wrapper in main: fix use of print_exc when handling exception | Scott Moser | |
2015-07-30 | fix call to print_exc | Scott Moser | |
2015-07-30 | fix namespace / local variable collision | Scott Moser | |
2015-07-30 | tests pass | Scott Moser | |
2015-07-28 | pull from 2.0 trunk @ a433358bbcf4e8a771b80cae34468409ed5a811d | Scott Moser | |
2015-07-28 | rsyslog: skip empty or None in remotes format | Scott Moser | |
This allows user to specify the following to overwrite a previously declared entry without warnings. rsyslog: {'remotes': {'foo': None}} | |||
2015-07-28 | rsyslog: add new format of config | Scott 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-28 | remove 'syslog' module (its been moved to rsyslog) | Scott Moser | |
2015-07-28 | doc: mention how to run syslog server | Scott Moser | |
2015-07-28 | must declare proto of '@' | Scott Moser | |
2015-07-28 | add trailing newline only if necessary | Scott Moser | |
2015-07-28 | fix bug in remotes_to_rsyslog_cfg, add test | Scott Moser | |