** Description changed: This is to keep track of the sos41 issue to fix at convenience. [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 [Where problem could occur] [Other information] - Upsream commit: - https://github.com/sosreport/sos/pull/2479/commits/3c90f654dc10c107003d6061ce6346c191269a87 + Upstream commit: + https://github.com/sosreport/sos/commit/3c90f654dc10c107003d6061ce6346c191269a87
-- 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