{"comment":{"url":"https://api.github.com/repos/lmiccini/sos/comments/9983000","html_url":"https://github.com/lmiccini/sos/commit/12334123e128bdc371b71b8c412add81cd69b16f#commitcomment-9983000","id":9983000,"user":{"login":"bmr-cymru","id":910549,"avatar_url":"https://avatars.githubusercontent.com/u/910549?v=3","gravatar_id":"","url":"https://api.github.com/users/bmr-cymru","html_url":"https://github.com/bmr-cymru","followers_url":"https://api.github.com/users/bmr-cymru/followers","following_url":"https://api.github.com/users/bmr-cymru/following{/other_user}","gists_url":"https://api.github.com/users/bmr-cymru/gists{/gist_id}","starred_url":"https://api.github.com/users/bmr-cymru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmr-cymru/subscriptions","organizations_url":"https://api.github.com/users/bmr-cymru/orgs","repos_url":"https://api.github.com/users/bmr-cymru/repos","events_url":"https://api.github.com/users/bmr-cymru/events{/privacy}","received_events_url":"https://api.github.com/users/bmr-cymru/received_events","type":"User","site_admin":false},"position":53,"line":53,"path":"sos/plugins/sapnw.py","commit_id":"12334123e128bdc371b71b8c412add81cd69b16f","created_at":"2015-03-02T11:17:12Z","updated_at":"2015-03-02T11:17:12Z","body":"Yes, it is:\r\n\r\n```\r\n# sosreport -vv --batch --debug -o sapnw\r\n\r\nsosreport (version 3.0)\r\n\r\nThis command will collect diagnostic and configuration information from\r\nthis Red Hat Enterprise Linux system and installed applications.\r\n\r\nAn archive containing the collected information will be generated in\r\n/var/tmp and may be provided to a Red Hat support representative.\r\n\r\nAny information provided to Red Hat will be treated in accordance with\r\nthe published support policies at:\r\n\r\n  https://access.redhat.com/support/\r\n\r\nThe generated archive may contain data considered sensitive and its\r\ncontent should be reviewed by the originating organization before being\r\npassed to any third party.\r\n\r\nNo changes will be made to system configuration.\r\n\r\n\r\ninitialised empty FileCacheArchive at /var/tmp/sosreport-bmr-rhel7-vm1-20150302124800\r\ncreated directory at sos_commands in FileCacheArchive /var/tmp/sosreport-bmr-rhel7-vm1-20150302124800\r\ncreated directory at sos_logs in FileCacheArchive /var/tmp/sosreport-bmr-rhel7-vm1-20150302124800\r\ncreated directory at sos_reports in FileCacheArchive /var/tmp/sosreport-bmr-rhel7-vm1-20150302124800\r\ncould not run '/usr/sap/hostctrl/exe/saphostctrl -function ListInstances': command not found\r\nTraceback (most recent call last):\r\n  File \"/usr/sbin/sosreport\", line 23, in <module>\r\n    main(sys.argv[1:])\r\n  File \"/usr/lib/python2.7/site-packages/sos/sosreport.py\", line 1175, in main\r\n    sos.execute()\r\nTypeError: tuple indices must be integers, not str\r\n\r\n> /usr/lib/python2.7/site-packages/sos/plugins/sapnw.py(46)setup()\r\n-> for line in p['output'].splitlines():\r\n(Pdb) \r\n\r\n```\r\n\r\nFwiw this is one of the first things that Red Hat or other distro's QE teams will do with this code."}}