Public bug reported: This is to keep track of the sos41 issue to fix at convenience.
https://github.com/sosreport/sos/issues/2472 [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://www.ubuntu.com/ Commercial Support : https://www.canonical.com 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/python3/dist-packages/sos/__init__.py", line 186, in execute self._component.execute() File "/usr/lib/python3/dist-packages/sos/report/__init__.py", line 1372, in execute self.prework() File "/usr/lib/python3/dist-packages/sos/report/__init__.py", line 857, in prework self.policy.pre_work() File "/usr/lib/python3/dist-packages/sos/policies/distros/__init__.py", line 163, in pre_work if cmdline_opts.upload and self.get_upload_url(): File "/usr/lib/python3/dist-packages/sos/policies/distros/ubuntu.py", line 77, in get_upload_url fname = os.path.basename(self.upload_archive) File "/usr/lib/python3.9/posixpath.py", line 142, in basename p = os.fspath(p) TypeError: expected str, bytes or os.PathLike object, not method ** Affects: sosreport (Ubuntu) Importance: Medium Status: New ** Affects: sosreport (Ubuntu Bionic) Importance: Medium Status: New ** Affects: sosreport (Ubuntu Focal) Importance: Medium Status: New ** Affects: sosreport (Ubuntu Groovy) Importance: Medium Status: New ** Tags: seg sts ** Changed in: sosreport (Ubuntu) Importance: Undecided => Low ** Tags added: seg sts ** Description changed: This is to keep track of the sos41 issue to fix at convenience. https://github.com/sosreport/sos/issues/2472 + + [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://www.ubuntu.com/ + Commercial Support : https://www.canonical.com + + 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/python3/dist-packages/sos/__init__.py", line 186, in execute + self._component.execute() + File "/usr/lib/python3/dist-packages/sos/report/__init__.py", line 1372, in execute + self.prework() + File "/usr/lib/python3/dist-packages/sos/report/__init__.py", line 857, in prework + self.policy.pre_work() + File "/usr/lib/python3/dist-packages/sos/policies/distros/__init__.py", line 163, in pre_work + if cmdline_opts.upload and self.get_upload_url(): + File "/usr/lib/python3/dist-packages/sos/policies/distros/ubuntu.py", line 77, in get_upload_url + fname = os.path.basename(self.upload_archive) + File "/usr/lib/python3.9/posixpath.py", line 142, in basename + p = os.fspath(p) + TypeError: expected str, bytes or os.PathLike object, not method ** Also affects: sosreport (Ubuntu Bionic) Importance: Undecided Status: New ** Also affects: sosreport (Ubuntu Groovy) Importance: Undecided Status: New ** Also affects: sosreport (Ubuntu Focal) Importance: Undecided Status: New ** 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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1923209 Title: [sos4.1] Upload no longer working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1923209/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs