Hide Forgot
Description of problem: When running the 'sosreport -k openstack_nova.cmds=on' on a RHOS 7 Controller node, the nova_config_list and nova_flavor_list files indicate errors. Version-Release number of selected component (if applicable): sos-3.2-36.el7ost.1.noarch openstack-nova-common-2015.1.2-18.el7ost.noarch How reproducible: Always Steps to Reproduce: 1. From a controller node, run 'sosreport -k openstack_nova.cmds=on' 2. Extract the resulting sosreport 3. Examine the sos_commands/openstack_nova/nova_config_list and nova_flavor_list files Actual results: openstack_nova]# grep 'error: argument' * nova_config_list:nova-manage: error: argument category: invalid choice: 'config' (choose from 'version', 'bash-completion', 'shell', 'logs', 'db', 'vm', 'agent', 'host', 'floating', 'vpn', 'api_db', 'project', 'account', 'network', 'service', 'cell', 'fixed') nova_flavor_list:nova-manage: error: argument category: invalid choice: 'flavor' (choose from 'version', 'bash-completion', 'shell', 'logs', 'db', 'vm', 'agent', 'host', 'floating', 'vpn', 'api_db', 'project', 'account', 'network', 'service', 'cell', 'fixed') Expected results: Correct information is stored in the files. Maybe the nova_flavor_list (populated by 'nova-manage flavor list') should be 'openstack flavor list' ?
Sounds about right, Lee?
(In reply to Bryn M. Reeves from comment #1) > Sounds about right, Lee? Well a new plugin really needs to be created to capture output from the `openstack` command. It's a separate entity that hasn't always been provided by OSP and thus may or may not be present on a host. I'd rather see the following backported into the RHEL 7.3 version : https://github.com/sosreport/sos/commit/70dec0664a6ab69c57b89eb8519efdf8d98f9763 Happy to do this myself or to reassign this bug to the default assignee for the RHEL component if needed.
> I'd rather see the following backported into the RHEL 7.3 version : > https://github.com/sosreport/sos/commit/70dec0664a6ab69c57b89eb8519efdf8d98f9763 That commit is in 3.3, so it is already in 7.3. If 'nova flavor list' is a valid command then this can be closed when the updated package hits RHOS and there's no further action needed. If it isn't then this bug can be used to address that on z-stream if necessary.
This is currently assigned to the sos-plugins-openstack component (which should be obsolete). If there's no separate maintenance being done for sos in RHOS now then this can be moved to RHEL/sos if there is still work to be done.
Closing as CURRENTRELEASE given the commit listed in c#2 is now part of RHEL 7.3 sos.