KVS backend fails to update tenants

Bug #954673 reported by Dolph Mathews
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Medium
Dolph Mathews

Bug Description

In the KVS backend, update_tenant appears to load the existing tenant, and then save it again without considering the input (updated values). It then returns the update data without considering existing data.

This can be reproduced by running the keystone server using the KVS backend, and using the client to create a tenant, update it, and then retrieving (get or list) that tenant again.

The SQL backend appears to perform as expected.

Changed in keystone:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/5291
Committed: http://github.com/openstack/keystone/commit/dc41cb5c11951b416d3e379bc944ac85737b979a
Submitter: Jenkins
Branch: master

commit dc41cb5c11951b416d3e379bc944ac85737b979a
Author: Dolph Mathews <email address hidden>
Date: Tue Mar 13 16:11:27 2012 -0500

    Failing to update tenants (bug 953678, bug 954673)

    - GET /tenants: Enabled attribute was being overridden
    - "POST" /tenants/{tenant_id}: was failing to update KVS

    Change-Id: Icc1efef52d35777d73e6010bdfc0409e24570aa2

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: essex-rc1 → 2012.1
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.