← Back to team overview

openstack team mailing list archive

Re: Client debugs??

 

Ah,

Odd.

If u try:

keystone  token-get  --debug

U get: keystone: error: unrecognized arguments: --debug

But if u do it before it works, odd. Guess that's a "false" message/error.

On 4/4/12 5:20 PM, "Yong Sheng Gong" <gongysh@xxxxxxxxxx> wrote:

I think it supports --debug.
look at shell commands below.

[root@robinlinux gongys]# keystone  user-list
+----------------------------------+---------+-------------------+-------+
|                id                | enabled |       email       |  name |
+----------------------------------+---------+-------------------+-------+
| 81ced34d11954800906096555539c885 | True    | admin@xxxxxxxxxxx | admin |
+----------------------------------+---------+-------------------+-------+
[root@robinlinux gongys]# keystone --debug user-list
connect: (localhost, 35357)
connect fail: ('localhost', 35357)
connect: (localhost, 35357)
send: 'GET /v2.0/users HTTP/1.1\r\nHost: localhost:35357\r\nx-auth-token: ADMIN\r\naccept-encoding: gzip, deflate\r\nuser-agent: python-keystoneclient\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Content-Type: application/json
header: Vary: X-Auth-Token
header: Content-Length: 137
header: Date: Fri, 06 Apr 2012 00:19:37 GMT
+----------------------------------+---------+-------------------+-------+
|                id                | enabled |       email       |  name |
+----------------------------------+---------+-------------------+-------+
| 81ced34d11954800906096555539c885 | True    | admin@xxxxxxxxxxx | admin |
+----------------------------------+---------+-------------------+-------+
[root@robinlinux gongys]#




-----openstack-bounces+gongysh=cn.ibm.com@xxxxxxxxxxxxxxxxxxx wrote: -----

To: openstack <openstack@xxxxxxxxxxxxxxxxxxx> <mailto:openstack@xxxxxxxxxxxxxxxxxxx>
From: Joshua Harlow <harlowja@xxxxxxxxxxxxx> <mailto:harlowja@xxxxxxxxxxxxx>
Sent by: openstack-bounces+gongysh=cn.ibm.com@xxxxxxxxxxxxxxxxxxx
Date: 04/05/2012 08:12AM
Subject: [Openstack] Client debugs??

Hi all,

I was just using the keystone client program `keystone`

And I was seeing these options.

usage: keystone [--os_username <auth-user-name>]
                [--os_password <auth-password>]
                [--os_tenant_name <auth-tenant-name>]
                [--os_tenant_id <tenant-id>] [--os_auth_url <auth-url>]
                [--os_region_name <region-name>]
                [--os_identity_api_version <identity-api-version>]
                [--token <service-token>] [--endpoint <service-endpoint>]
                [--username <auth-user-name>] [--password <auth-password>]
                [--tenant_name <tenant-name>] [--auth_url <auth-url>]
                [--region_name <region-name>]
                <subcommand> ...

Do these clients have anything like a debug mode/flag (ie --debug, --verbose...)? Is that accessible via a log file right now?

That would seem useful to see the WS calls that are being made (and any other goodies)...

-Josh _______________________________________________
Mailing list: https://launchpad.net/~openstack <https://launchpad.net/%7Eopenstack>
Post to     : openstack@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack <https://launchpad.net/%7Eopenstack>
More help   : https://help.launchpad.net/ListHelp



Follow ups

References