~chad.smith/cloud-init:collect-logs

Last commit made on 2017-09-15
Get this branch:
git clone -b collect-logs https://git.launchpad.net/~chad.smith/cloud-init
Only Chad Smith can upload to this branch. If you are Chad Smith please log in for upload directions.

Branch merges

Branch information

Name:
collect-logs
Repository:
lp:~chad.smith/cloud-init

Recent commits

ef77fe4... by Chad Smith on 2017-09-15

address review comments on license, dpkg-query structuring, docstrings. And dropped the optional newline append to cmd output

dba1e05... by Chad Smith on 2017-09-15

add optional --include-userdata param to collect-logs. make the apport import optional

c83e0ba... by Chad Smith on 2017-09-15

move cloud-init.pt -> cloudinit.apport. Add systemd-ordering tag to apport.py bug if we see Breaking ordering cycle per bug 1717477. Drop upstream inclusion of cloud-init.py, we will have to carry a minimal patch to deliver apport functionality to ubuntu releases

04260ae... by Chad Smith on 2017-09-15

unit tests validate that we add a trailing newline to cmd content if it does not already have a newline

327f3ee... by Chad Smith on 2017-09-15

flakes and ProcessExecutionError instead of CalledProcessError

6d93c8c... by Chad Smith on 2017-09-15

add _write_command_output_to_file helper function per review comments

e06880a... by Chad Smith on 2017-09-15

Address smoser's review comments:

 - update collect-logs help summary "logs" -> "debug info"
 - fixup imports in apport cloud-init.py, separate VMware and OVF cloud
   choices, grep cloud-init.log for warnings or errors, use existing
   /var/lib/cloud/instance/user-data.txt instead of asking them to create
   /run/cloud-init/user-data.txt
 - fixup collect-logs (log.py) to use tempdir for log-dir creation, add
   newline in version file, cloudconfig-schema -> collect-logs copy paste error
   add vi comment to end of file

66dad59... by Chad Smith on 2017-09-13

comment typos and 80 char line width

1efed63... by Chad Smith on 2017-09-13

docstring fixup

7a2ae7b... by Chad Smith on 2017-09-13

rules.in updates to include apport package-hooks