Blank passwords should be allowed on server changePassword action

Bug #992661 reported by Brian Waldon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Brian Waldon

Bug Description

1) The spec does not actually require non-blank passwords in the three cases the attribute is accepted: create, rebuild, and changePassword.

2) The handling of blank passwords isn't handled consistently in our implementation of the v2 API spec. Server create and changePassword both reject blank passwords (differently based on content-type of request) while a rebuild seems to allow blank passwords.

The spec doesn't require us to reject passwords with a length of zero, so we shouldn't be doing it at all.

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/6973
Committed: http://github.com/openstack/nova/commit/21352eeb0c557b6c71271cdd9b302c6330e34939
Submitter: Jenkins
Branch: master

commit 21352eeb0c557b6c71271cdd9b302c6330e34939
Author: Brian Waldon <email address hidden>
Date: Tue May 1 10:32:18 2012 -0700

    Allow blank passwords in changePassword action

    * Fixes bug 992661

    Change-Id: Ia07e27586719e231f5ef99f4b25b8d9ba6e7f6ca

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: folsom-1 → 2012.2
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.