os_password doesn't get set outside of the keystone session

Bug #1493977 reported by Daniel Wallace
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-novaclient
Fix Released
High
Daniel Wallace

Bug Description

REQ: curl -g -i 'https://identity.api.rackspacecloud.com/v2.0/tokens' -X POST -H "Accept: application/json" -H "Content-Type: application/json" -H "User-Agent: python-novaclient" -d '{"auth": {"RAX-KSKEY:apiKeyCredentials": {"username": "emlin", "apiKey": null}}}

This is the call passed by the rackspace-auth-openstack module, and the os_password is not set when self is passed to the auth plugin, resulting in a 400.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-novaclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/221921

Changed in python-novaclient:
assignee: nobody → Daniel Wallace (danielwallace)
status: New → In Progress
Revision history for this message
melanie witt (melwitt) wrote :

This bug affects users who are using novaclient auth plugins

Changed in python-novaclient:
importance: Undecided → Medium
Revision history for this message
Ryan Walker (ryan-walker) wrote :

As a temporary solution, it looks like downgrading to 2.23.2 works until this is fixed in a new release.

melanie witt (melwitt)
Changed in python-novaclient:
importance: Medium → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-novaclient (master)

Reviewed: https://review.openstack.org/221921
Committed: https://git.openstack.org/cgit/openstack/python-novaclient/commit/?id=b547a3da506c049ceabe50895c01fb0e2f63fcfe
Submitter: Jenkins
Branch: master

commit b547a3da506c049ceabe50895c01fb0e2f63fcfe
Author: Daniel Wallace <email address hidden>
Date: Wed Sep 9 14:19:09 2015 -0500

    make sure os_password is set for auth_plugins

    os_password is not set anywhere for auth_plugins. It is only set for
    keystone sessions. This makes sure that it gets set before being passed
    to Client.

    Closes-Bug: #1493977
    Change-Id: I94421fd6fa58be391dfe8a9a14479bb4c17c5231

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