redundant information was printed out when specify "--debug" option

Bug #1450285 reported by Liusheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Invalid
Undecided
Liusheng

Bug Description

when I use following command:
openstack --debug project list

There are much redundant information was printed out, like this:

root@devstack:/opt/stack/python-keystoneclient# openstack --debug project list
DEBUG: openstackclient.shell options: Namespace(auth_type='', auth_url='http://10.250.10.246:5000/v2.0', cloud='', debug=True, deferred_help=False, domain_id='', domain_name='', endpoint='', identity_provider='', identity_provider_url=', insecure=False, log_file=None, os_cacert='/opt/stack/data/CA/int-ca/ca-chain.pem', os_compute_api_version='2', os_default_domain='default', os_identity_api_version='2.0', os_image_api_version='1', os_network_api_version='2', os_objet_api_version='1', os_project_id=None, os_project_name=None, os_volume_api_version='2', password='Galax8800', project_domain_id='', project_domain_name='', project_id='', project_name='admin', region_name='RegionOne', service_provider_ndpoint='', timing=False, token='', trust_id='', url='', user_domain_id='', user_domain_name='', user_id='', username='admin', verbose_level=3, verify=False)
DEBUG: openstackclient.shell defaults: {'auth_type': 'osc_password', 'image_api_version': '1', 'compute_api_version': '2', 'network_api_version': '2', 'identity_api_version': '2', 'volume_api_version': '1', 'object_api_version': '1'}
DEBUG: openstackclient.shell cloud cfg: {'auth_type': 'osc_password', 'compute_api_version': '2', 'region_name': 'RegionOne', 'volume_api_version': '2', 'insecure': False, 'auth': {'username': 'admin', 'password': 'Galax8800', 'projectname': 'admin', 'auth_url': 'http://10.250.10.246:5000/v2.0'}, 'default_domain': 'default', 'timing': False, 'cacert': '/opt/stack/data/CA/int-ca/ca-chain.pem', 'network_api_version': '2', 'object_api_version': '1', 'image_api_version' '1', 'deferred_help': False, 'verify': False, 'identity_api_version': '2.0', 'verbose_level': 3, 'debug': True}
DEBUG: cliff.commandmanager found command 'hypervisor_stats_show'
DEBUG: cliff.commandmanager found command 'security_group_create'
DEBUG: cliff.commandmanager found command 'security_group_rule_list'
DEBUG: cliff.commandmanager found command 'keypair_list'
DEBUG: cliff.commandmanager found command 'flavor_unset'
DEBUG: cliff.commandmanager found command 'keypair_delete'
DEBUG: cliff.commandmanager found command 'host_list'
DEBUG: cliff.commandmanager found command 'keypair_create'
DEBUG: cliff.commandmanager found command 'server_pause'
DEBUG: cliff.commandmanager found command 'server_reboot'
DEBUG: cliff.commandmanager found command 'server_migrate'
DEBUG: cliff.commandmanager found command 'server_set'
DEBUG: cliff.commandmanager found command 'host_show'
DEBUG: cliff.commandmanager found command 'server_unrescue'
DEBUG: cliff.commandmanager found command 'usage_list'
DEBUG: cliff.commandmanager found command 'server_add_volume'
DEBUG: cliff.commandmanager found command 'server_unlock'
DEBUG: cliff.commandmanager found command 'security_group_set'
DEBUG: cliff.commandmanager found command 'compute_agent_create'

...

Liusheng (liusheng)
Changed in python-openstackclient:
assignee: nobody → Liusheng (liusheng)
Revision history for this message
Terry Howe (thowe-g) wrote :

I just wish KSC would print the request body when authentication fails. Unrelated to this ticket though.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote :

I'm not sure why you consider that information "redundant"? Isn't that what the debug flag is for?

Changed in python-openstackclient:
status: New → Incomplete
Revision history for this message
Steve Martinelli (stevemar) wrote :

i'd rather have that stuff than not have it.

Changed in python-openstackclient:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.