python-openstackclient: running "openstack --os-token" fails with __init__() got an unexpected keyword argument 'token' Environment: python-openstackclient-3.11.0-0.20170613232431.c69304e.el7ost.noarch instack-undercloud-7.1.1-0.20170710151630.el7ost.noarch openstack-puppet-modules-10.0.0-0.20170315222135.0333c73.el7.1.noarch openstack-tripleo-heat-templates-7.0.0-0.20170710191337.el7ost.noarch Steps to reproduce: on a deployed setup try to run: openstack --os-token <token> --os-url <url> user list Result: __init__() got an unexpected keyword argument 'token'
This seems to be working for me locally: $ openstack --os-token $MY_TOKEN --os-url http://192.168.24.1:5000/v3 user list +----------------------------------+------------------+ | ID | Name | +----------------------------------+------------------+ | 03686a4f8f5644dcb452efc235a73045 | neutron | | 1688126f64bb4265ad9d63d412541e89 | aodh | [...] $ rpm -qa python-openstackclient python-openstackclient-3.11.0-0.20170613232431.c69304e.el7ost.noarch Does it work when explicitly setting the --os-auth-type flag to "token" or "admin_token"? Do you have other OS_* OpenStack environment variables set, like a username? Looking around I get the impression this not-ideal error message happens when there's a conflict between authentication methods (e.g. https://bugs.launchpad.net/devstack/+bug/1549095 ).
Additional OS_ vars were initialized , which caused this. Closing as not a bug. Thanks a lot Julie.