curtin traceback when error_tarfile path does not exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin |
Fix Released
|
High
|
Chad Smith |
Bug Description
When testing curtin in a new environment and generating an error, error_tarfile path will trace if the error_tarfile destination directory does not exist.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/
ret = args.func(args)
File "/home/
create_
File "/home/
util.subp(cmd, capture=True)
File "/home/
return _subp(*args, **kwargs)
File "/home/
cmd=args)
curtin.
Command: ['tar', '-cvf', '/var/log/
Exit code: 2
Reason: -
Stdout: ''
Stderr: tar: /var/log/
tar: Error is not recoverable: exiting now
Related branches
- Ryan Harper (community): Approve
- Server Team CI bot: Approve (continuous-integration)
-
Diff: 73 lines (+29/-5)2 files modifiedcurtin/commands/collect_logs.py (+3/-0)
tests/unittests/test_commands_collect_logs.py (+26/-5)
Changed in curtin: | |
importance: | Undecided → High |
assignee: | nobody → Chad Smith (chad.smith) |
status: | New → In Progress |
Changed in curtin: | |
status: | In Progress → Fix Committed |
This bug is believed to be fixed in curtin in 18.1. If this is still a problem for you, please make a comment and set the state back to New
Thank you.