collect logs: grab /var/lib/cloud data files

Bug #1775074 reported by Chad Smith on 2018-06-04
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

collect-logs only does not capture /var/lib/cloud/seed input files while creating a log tarfile. These files can be helpful in understanding what the image or datasource is using as input to cloud-init.

Also be more failure tolerant of /var/lib/cloud/instance not yet being present in undiscovered datasources environments. (DatasourceNone)

Chad Smith (chad.smith) on 2018-06-04
Changed in cloud-init:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → 18.4
Chad Smith (chad.smith) wrote :

Also per /var/lib/cloud/instance may not yet exist in error'd environments.

user_data.txt: Error: [Errno 2] No such file or directory: '/var/lib/cloud/instance/user-data.txt'

description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers