[sos4.1][Policy|Ubuntu] Upload no longer working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sosreport (Ubuntu) |
Fix Released
|
Medium
|
Eric Desrochers | ||
Bionic |
Fix Released
|
Medium
|
Eric Desrochers | ||
Focal |
Fix Released
|
Medium
|
Eric Desrochers | ||
Groovy |
Fix Released
|
Medium
|
Eric Desrochers | ||
Hirsute |
Fix Released
|
Medium
|
Eric Desrochers |
Bug Description
[Impact]
UA customer can no longer instruct sos to upload the sos archive in our Canonical FTP automatically. One would need to manually sftp the file as a separate task.
[Test Case]
Run sos with the --upload option for instance as follow:
$ sos report -o ubuntu --upload
sosreport (version 4.1)
This command will collect system configuration and diagnostic
information from this Ubuntu system.
For more information on Canonical visit:
Community Website : https:/
Commercial Support : https:/
The generated archive may contain data considered sensitive and its
content should be reviewed by the originating organization before being
passed to any third party.
No changes will be made to system configuration.
Press ENTER to continue, or CTRL-C to quit.
Please enter the case id that you are generating this report for []:
Traceback (most recent call last):
File "/usr/bin/sos", line 22, in <module>
sos.execute()
File "/usr/lib/
self.
File "/usr/lib/
self.prework()
File "/usr/lib/
self.
File "/usr/lib/
if cmdline_opts.upload and self.get_
File "/usr/lib/
fname = os.path.
File "/usr/lib/
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not method
[Where problem could occur]
Worse case scenario, the sos archive upload still won't work to our UA customer FTP, and one would have to transfer us the sos archive manually via 'sftp' as an separate task.
It won't affect other sos functionnalites nor execution.
[Other information]
Upstream commit:
https:/
Changed in sosreport (Ubuntu): | |
importance: | Undecided → Low |
tags: | added: seg sts |
description: | updated |
Changed in sosreport (Ubuntu Bionic): | |
importance: | Undecided → Low |
Changed in sosreport (Ubuntu Focal): | |
importance: | Undecided → Medium |
Changed in sosreport (Ubuntu Bionic): | |
importance: | Low → Medium |
Changed in sosreport (Ubuntu): | |
importance: | Low → Medium |
Changed in sosreport (Ubuntu Groovy): | |
importance: | Undecided → Medium |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in sosreport (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Eric Desrochers (slashd) |
summary: |
- [sos4.1] Upload no longer working + [sos4.1][Policy|Ubuntu] Upload no longer working |
description: | updated |
We are in the middle of a non-lts freeze schedule release (21.04).
As soon as 'hirsute' become stable, and we start the new cycle for 'II' release. I'll start the SRU.
- Eric