Public bug reported: Since https://github.com/openstack/python- openstackclient/commit/6ae0d2e8a54fd5139e63a990ab4bdce634e73c5e was merged, authentication using admin token is failing.
Test: export OS_IMAGE_API_VERSION=1 export OS_IDENTITY_API_VERSION=3 export OS_TOKEN=57562bf156da4e09899b37cca5a63ba5 export OS_URL=http://127.0.0.1:35357/v3 Try any operation: [root@packstack2 ~]# openstack service list WARNING: openstackclient.common.exceptions is deprecated and will be removed after Jun 2017. Please use osc_lib.exceptions WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils 'StrOpt' object has no attribute 'deprecated' And returns 1. With a version before merging that patch: # openstack service create compute WARNING: openstackclient.common.exceptions is deprecated and will be removed after Jun 2017. Please use osc_lib.exceptions WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils +---------+----------------------------------+ | Field | Value | +---------+----------------------------------+ | enabled | True | | id | 780dab36834b45fe981aaadec54365bc | | name | | | type | compute | +---------+----------------------------------+ [root@packstack2 ~]# openstack service list WARNING: openstackclient.common.exceptions is deprecated and will be removed after Jun 2017. Please use osc_lib.exceptions WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils +----------------------------------+------+---------+ | ID | Name | Type | +----------------------------------+------+---------+ | 780dab36834b45fe981aaadec54365bc | | compute | +----------------------------------+------+---------+ Note this is having a high impact as this mechanism is used to bootstrap keystone in different deployment tools. ** Affects: python-openstackclient Importance: Undecided Status: New ** Also affects: python-openstackclient Importance: Undecided Status: New ** No longer affects: python-openstackclient (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593664 Title: openstackclient fails with --os-token and --os-url To manage notifications about this bug go to: https://bugs.launchpad.net/python-openstackclient/+bug/1593664/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
