Public bug reported: I am observing something strange, but maybe there is an explanation to this?
``` self.add_cmd_output([ 'snap info maas', 'maas status' ]) ``` When I run sos report -o maas then sos_commands/maas/maas_status contains expected data, however if I do sos report -o maas --all-logs then this file is empty. (I tried changing the order and snap info maas is always there, but not maas status) Running with -vvvv shows the following: ``` [plugin:maas] collecting output of 'maas status' [plugin:maas] collecting 'maas status' output directly to disk [plugin:maas] collected output of 'maas' in 1.8999457359313965 (changes=False) [plugin:maas] collected plugin 'maas' in 2.686990976333618 ``` sos.json ``` { "name": "maas status", "return_code": 0, "href": "../sos_commands/maas/maas_status" } ``` sosreport: 4.5.6 `` root@maas:/tmp/sos# apt-cache policy sosreport sosreport: Installed: 4.5.6-0ubuntu1~22.04.2 Candidate: 4.5.6-0ubuntu1~22.04.2 Version table: *** 4.5.6-0ubuntu1~22.04.2 500 500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages 100 /var/lib/dpkg/status 4.3-1ubuntu2.1 500 500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages 4.3-1ubuntu2 500 500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages ``` ** Affects: sosreport (Ubuntu) Importance: Medium Status: Confirmed ** Changed in: sosreport (Ubuntu) Importance: Undecided => Medium ** Changed in: sosreport (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2069941 Title: sosreport does not collect maas status when using --all-logs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/2069941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs