[openstack-dev] [keystone] Keystone commands
Dolph Mathews
dolph.mathews at gmail.com
Wed Apr 20 04:02:32 UTC 2016
On Tue, Apr 19, 2016 at 10:40 PM, Kenny Ji-work <jenkins-sdg at qq.com> wrote:
> Hi all,
>
> I have installed openstack mitaka, when I execute any keystone's commands
> with the result displayed below:
> But I execute `openstack role list`, the result is succeed.
>
> *[root at devstack scripts]# keystone --debug role-list*
> /usr/lib/python2.7/site-packages/keystoneclient/shell.py:64:
> DeprecationWarning: The keystone CLI is deprecated in favor of
> python-openstackclient. For a Python library, continue using
> python-keystoneclient.
> 'python-keystoneclient.', DeprecationWarning)
> WARNING: unsupported identity-api-version 3, falling back to 2.0
> /usr/lib/python2.7/site-packages/keystoneclient/v2_0/client.py:145:
> DeprecationWarning: Constructing an instance of the
> keystoneclient.v2_0.client.Client class without a session is deprecated as
> of the 1.7.0 release and may be removed in the 2.0.0 release.
> 'the 2.0.0 release.', DeprecationWarning)
> /usr/lib/python2.7/site-packages/keystoneclient/v2_0/client.py:147:
> DeprecationWarning: Using the 'tenant_name' argument is deprecated in
> version '1.7.0' and will be removed in version '2.0.0', please use the
> 'project_name' argument instead
> super(Client, self).__init__(**kwargs)
> /usr/lib/python2.7/site-packages/debtcollector/renames.py:45:
> DeprecationWarning: Using the 'tenant_id' argument is deprecated in version
> '1.7.0' and will be removed in version '2.0.0', please use the 'project_id'
> argument instead
> return f(*args, **kwargs)
> /usr/lib/python2.7/site-packages/keystoneclient/httpclient.py:371:
> DeprecationWarning: Constructing an HTTPClient instance without using a
> session is deprecated as of the 1.7.0 release and may be removed in the
> 2.0.0 release.
> 'the 2.0.0 release.', DeprecationWarning)
> /usr/lib/python2.7/site-packages/keystoneclient/session.py:140:
> DeprecationWarning: keystoneclient.session.Session is deprecated as of the
> 2.1.0 release in favor of keystoneauth1.session.Session. It will be removed
> in future releases.
> DeprecationWarning)
> /usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py:56:
> DeprecationWarning: keystoneclient auth plugins are deprecated as of the
> 2.1.0 release in favor of keystoneauth1 plugins. They will be removed in
> future releases.
> 'in future releases.', DeprecationWarning)
> DEBUG:keystoneclient.auth.identity.v2:Making authentication request to
> http://10.240.227.233:35357/v3/tokens
>
This line shows a v2 client making a request to a v3 endpoint. Do you have
a versioned (v3) endpoint configured or hardcoded somewhere?
> INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection
> (1): 10.240.227.233
> DEBUG:requests.packages.urllib3.connectionpool:"POST /v3/tokens HTTP/1.1"
> 404 93
> DEBUG:keystoneclient.session:Request returned failure status: 404
> Authorization Failed: The resource could not be found. (HTTP 404)
> (Request-ID: req-c71a1014-1c8d-47c0-bed5-cba6ad91881f)
>
> Thank you for answering!
>
> Sincerely!
> Kenny Ji
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160419/0fa67d9f/attachment.html>
More information about the OpenStack-dev
mailing list