[ironic-client] Auth Token being sent as "X-Auth-Token: <function <lambda> at 0x107b068c0>"

Bug #1244810 reported by Kevin McDonald
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-ironicclient
Fix Released
High
Kevin McDonald

Bug Description

With current master, the python-ironicclient seems to be sending the string representation of a lambda function as the auth token when making calls. For example:

$ ironic --debug node-list
INFO (connectionpool:257) Starting new HTTP connection (1): 127.0.0.1
DEBUG (connectionpool:374) Setting read timeout to None
DEBUG (connectionpool:414) "POST /v2.0/tokens HTTP/1.1" 200 1477
DEBUG (http:106) curl -i -X GET -H 'X-Auth-Token: <function <lambda> at 0x10de718c0>' -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'User-Agent: python-ironicclient' http://localhost: 6385/v1/nodes

Changed in ironic:
importance: Undecided → High
Changed in ironic:
assignee: nobody → Kevin McDonald (k3vinmcdonald)
status: New → In Progress
aeva black (tenbrae)
affects: ironic → python-ironicclient
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-ironicclient (master)

Reviewed: https://review.openstack.org/53963
Committed: http://github.com/openstack/python-ironicclient/commit/94e0fb78e4df8cff30ee2e376b3e64aa602a092c
Submitter: Jenkins
Branch: master

commit 94e0fb78e4df8cff30ee2e376b3e64aa602a092c
Author: Kevin McDonald <email address hidden>
Date: Fri Oct 25 16:57:52 2013 -0500

    Fixes Auth Token being sent as lambda function

    Change-Id: Id6d7db4b2d3c7350147b26d42fc77f66a530a29b
    Closes-Bug: #1244810

Changed in python-ironicclient:
status: In Progress → Fix Committed
Changed in python-ironicclient:
milestone: none → 0.7.0
status: Fix Committed → Fix Released
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.