UI points installation log to tar instead of log file

Bug #1922979 reported by Lee Trager
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Undecided
Unassigned
maas-ui
Fix Released
Unknown

Bug Description

When Curtin fails to run during a deployment it uploads both a log file and a tar file containing additional system logs and debug output. I had a deployment failure occur and went to look at the logs. The tar was being output and when I tried to download the log(not the tar) I got the tar.

maas-test-3.maas-installation-output-2021-04-07.log is what I get from the UI when I click "Download installation output"

$ file maas-test-3.maas-installation-output-2021-04-07.log
maas-test-3.maas-installation-output-2021-04-07.log: POSIX tar archive (GNU)

$ tar -tf maas-test-3.maas-installation-output-2021-04-07.log
curtin-logs-2021-04-08-00-31/
curtin-logs-2021-04-08-00-31/install.log
curtin-logs-2021-04-08-00-31/network
curtin-logs-2021-04-08-00-31/lshw
curtin-logs-2021-04-08-00-31/uname
curtin-logs-2021-04-08-00-31/partitions
curtin-logs-2021-04-08-00-31/cmdline
curtin-logs-2021-04-08-00-31/os-release
curtin-logs-2021-04-08-00-31/curtin-config
curtin-logs-2021-04-08-00-31/configs/
curtin-logs-2021-04-08-00-31/configs/config-005.cfg
curtin-logs-2021-04-08-00-31/configs/config-001.cfg
curtin-logs-2021-04-08-00-31/configs/config-006.cfg
curtin-logs-2021-04-08-00-31/configs/config-004.cfg
curtin-logs-2021-04-08-00-31/configs/config-007.cfg
curtin-logs-2021-04-08-00-31/configs/config-003.cfg
curtin-logs-2021-04-08-00-31/configs/config-000.cfg
curtin-logs-2021-04-08-00-31/configs/config-002.cfg
curtin-logs-2021-04-08-00-31/version

Tags: ui
Changed in maas-ui:
importance: Undecided → Unknown
Revision history for this message
Huw Wilkins (huwshimi) wrote :

Hi Lee, this should be fixed now but if you get a minute would you mind double checking that it works for you?

Changed in maas-ui:
status: New → Fix Released
Revision history for this message
Lee Trager (ltrager) wrote :

That works thanks!

Changed in maas:
status: New → Fix Committed
Changed in maas:
milestone: none → 3.2.0-beta1
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.