Skip to content

[RFE] Show failed commands from sos_reports/sos.json #14

Description

@pafernanr

It could be useful to show the commands that failed during the sosreport creation. If I am not wrong failed ones can be extracted from sos_reports/sos.json.

  • This is a snippet:
        "alternatives",
        {
            "commands": [
                {
                    "name": "alternatives --list",
                    "return_code": 0,
                    "href": "../sos_commands/alternatives/alternatives_--list"
                },
  • I mean use the return_code and href fields and show non zero return_code commands. E.g:
plugin_name command file error_msg
alternatives alternatives --list ../sos_commands/alternatives/alternatives_--list {{error msg on the file}}
  • error_msg could be truncated if too long.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions