Updating Project and Group fails to update certain attributes

Bug #1126021 reported by Henry Nash
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
High
gordon chung

Bug Description

The keystone SQL backend contains table definitions for each of the sql tables - including a list of attributes, which is then subsequently used by update functions to copy across all the attributes. These seem incorrect for Project and Group (e.g. are missing things like "description" or "enabled"). We get away with this in the kvs backend, since it does a blind copy in of the object.

A fix for the project part of this will be dependant on https://review.openstack.org/#/c/21951/ since this fixes a bug where update_project wasn't even looking at the attribute list!

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

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

Changed in keystone:
status: New → In Progress
Revision history for this message
gordon chung (chungg) wrote :

in the keystone models, user is listed as having email & description keys. do these two still exist?

Thierry Carrez (ttx)
no longer affects: keystone/grizzly
Changed in keystone:
milestone: grizzly-3 → grizzly-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/22029
Committed: http://github.com/openstack/keystone/commit/0297f6fd56123441fc273ae7a8f68d0e2149a1ad
Submitter: Jenkins
Branch: master

commit 0297f6fd56123441fc273ae7a8f68d0e2149a1ad
Author: Gordon Chung <email address hidden>
Date: Fri Feb 15 10:15:05 2013 -0500

    add missing attributes for group/project tables (bug1126021)

    add and assign default values for optional attributes to all backends

    Change-Id: I54fe234b919162c3056c14f1f06c4de876080fb9

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: grizzly-rc1 → 2013.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.