keystoneclient does not give feedback for required arguments

Bug #932226 reported by Anthony Young
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-keystoneclient
Fix Released
Medium
Jake Dahn

Bug Description

Steps to reproduce:

keystone --debug --username admin --password secrete --tenant_name admin --auth-url http://127.0.0.1:5000/v2.0/ tenant-delete

Expected:

Helpful feedback telling me how to specify the tenant_id

Actual:

send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: 127.0.0.1:5000\r\nContent-Length: 102\r\ncontent-type: application/json\r\naccept-encoding: gzip, deflate\r\nuser-agent: python-keystoneclient\r\n\r\n{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "secrete"}}}'
reply: 'HTTP/1.1 200 OK\r\n'
header: Content-Type: application/json; charset=UTF-8
header: Content-Length: 1980
header: Date: Tue, 14 Feb 2012 18:07:14 GMT
connect: (192.168.2.10, 35357)
send: u'DELETE /v2.0/tenants/None HTTP/1.1\r\nHost: 192.168.2.10:35357\r\nx-auth-token: 31d5453773d94e2d97ee0f299f1a8952\r\naccept-encoding: gzip, deflate\r\nuser-agent: python-keystoneclient\r\n\r\n'
reply: 'HTTP/1.1 500 Internal Server Error\r\n'
header: Content-Type: text/plain
header: Content-Length: 4590
header: Date: Tue, 14 Feb 2012 18:07:14 GMT
header: Connection: close
No handlers could be found for logger "keystoneclient.client"

Joseph Heck (heckj)
Changed in keystone:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Dean Troyer (dtroyer) wrote :

This was addressed in https://review.openstack.org/3933 (committed) and https://review.openstack.org/4375 (proposed)

tags: added: python-keystoneclient
Revision history for this message
Dean Troyer (dtroyer) wrote :

No linkage from Gerrit: https://review.openstack.org/4375 has been merged, this is fixed.

Changed in keystone:
status: Confirmed → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
milestone: none → essex-4
status: Fix Committed → Fix Released
Mark McLoughlin (markmc)
Changed in keystone:
assignee: nobody → Jake Dahn (jakedahn)
Thierry Carrez (ttx)
Changed in keystone:
milestone: essex-4 → 2012.1
Thierry Carrez (ttx)
affects: keystone → python-keystoneclient
Changed in python-keystoneclient:
milestone: 2012.1 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.