<HTML>
<HEAD>
<TITLE>Re: [Openstack] Client debugs??</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Ah,<BR>
<BR>
Odd.<BR>
<BR>
If u try:<BR>
<BR>
keystone  token-get  --debug<BR>
<BR>
U get: keystone: error: unrecognized arguments: --debug<BR>
<BR>
But if u do it before it works, odd. Guess that’s a “false” message/error.<BR>
<BR>
On 4/4/12 5:20 PM, "Yong Sheng Gong" <<a href="gongysh@cn.ibm.com">gongysh@cn.ibm.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><SPAN STYLE='font-size:11pt'><FONT FACE="Verdana, Helvetica, Arial">I think it supports --debug.<BR>
look at shell commands below.<BR>
<BR>
[root@robinlinux gongys]# keystone  user-list<BR>
+----------------------------------+---------+-------------------+-------+<BR>
|                id                | enabled |       email       |  name |<BR>
+----------------------------------+---------+-------------------+-------+<BR>
| 81ced34d11954800906096555539c885 | True    | <a href="admin@example.com">admin@example.com</a> | admin |<BR>
+----------------------------------+---------+-------------------+-------+<BR>
[root@robinlinux gongys]# keystone --debug user-list<BR>
connect: (localhost, 35357)<BR>
connect fail: ('localhost', 35357)<BR>
connect: (localhost, 35357)<BR>
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'<BR>
reply: 'HTTP/1.1 200 OK\r\n'<BR>
header: Content-Type: application/json<BR>
header: Vary: X-Auth-Token<BR>
header: Content-Length: 137<BR>
header: Date: Fri, 06 Apr 2012 00:19:37 GMT<BR>
+----------------------------------+---------+-------------------+-------+<BR>
|                id                | enabled |       email       |  name |<BR>
+----------------------------------+---------+-------------------+-------+<BR>
| 81ced34d11954800906096555539c885 | True    | <a href="admin@example.com">admin@example.com</a> | admin |<BR>
+----------------------------------+---------+-------------------+-------+<BR>
[root@robinlinux gongys]# <BR>
<BR>
<BR>
<BR>
<BR>
<FONT COLOR="#990099"><a href="-----openstack-bounces+gongysh=cn.ibm.com@lists.launchpad.net">-----openstack-bounces+gongysh=cn.ibm.com@lists.launchpad.net</a> wrote: -----<BR>
<BR>
</FONT></FONT></SPAN><BLOCKQUOTE><SPAN STYLE='font-size:11pt'><FONT FACE="Verdana, Helvetica, Arial">To: openstack <<a href="openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>> <<a href="mailto:openstack@lists.launchpad.net">mailto:openstack@lists.launchpad.net</a>> <BR>
From: Joshua Harlow <<a href="harlowja@yahoo-inc.com">harlowja@yahoo-inc.com</a>> <<a href="mailto:harlowja@yahoo-inc.com">mailto:harlowja@yahoo-inc.com</a>> <BR>
Sent by: <a href="openstack-bounces+gongysh=cn.ibm.com@lists.launchpad.net">openstack-bounces+gongysh=cn.ibm.com@lists.launchpad.net</a><BR>
Date: 04/05/2012 08:12AM<BR>
Subject: [Openstack] Client debugs??<BR>
<BR>
</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial">Hi all,<BR>
<BR>
I was just using the keystone client program `keystone`<BR>
<BR>
And I was seeing these options.<BR>
<BR>
usage: keystone [--os_username <auth-user-name>]<BR>
                [--os_password <auth-password>]<BR>
                [--os_tenant_name <auth-tenant-name>]<BR>
                [--os_tenant_id <tenant-id>] [--os_auth_url <auth-url>]<BR>
                [--os_region_name <region-name>]<BR>
                [--os_identity_api_version <identity-api-version>]<BR>
                [--token <service-token>] [--endpoint <service-endpoint>]<BR>
                [--username <auth-user-name>] [--password <auth-password>]<BR>
                [--tenant_name <tenant-name>] [--auth_url <auth-url>]<BR>
                [--region_name <region-name>]<BR>
                <subcommand> ...<BR>
<BR>
Do these clients have anything like a debug mode/flag (ie --debug, --verbose...)? Is that accessible via a log file right now?<BR>
<BR>
That would seem useful to see the WS calls that are being made (and any other goodies)...<BR>
<BR>
-Josh</FONT><FONT FACE="Verdana, Helvetica, Arial"> </FONT></SPAN><FONT SIZE="4"><FONT FACE="Courier New"><SPAN STYLE='font-size:14pt'>_______________________________________________<BR>
Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a> <<a href="https://launchpad.net/%7Eopenstack">https://launchpad.net/%7Eopenstack</a>> <BR>
</SPAN></FONT></FONT><FONT FACE="Courier New"><SPAN STYLE='font-size:11pt'>Post to     : <a href="openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><BR>
Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a> <<a href="https://launchpad.net/%7Eopenstack">https://launchpad.net/%7Eopenstack</a>> <BR>
More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><BR>
</SPAN></FONT></BLOCKQUOTE><SPAN STYLE='font-size:11pt'><FONT FACE="Verdana, Helvetica, Arial"><BR>
</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><BR>
</FONT></SPAN></BLOCKQUOTE>
</BODY>
</HTML>