SQL User & Group entities still have FK to domain

Bug #1417451 reported by Henry Nash
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Medium
Steve Martinelli

Bug Description

The SQL User and Group entities store their domain_id. Even though we have tried to cut the linkage between the identity and resource/assignment components - it turns out that the User & Group SQL entities still mark domain_id as a foreign key back to the domain table in resource. This stops proper decoupling between our components (and, for instance, makes it harder to handle domain deletion via notification).

We should drop the domain_id FK constraint on User & Group entities.

Henry Nash (henry-nash)
description: updated
Changed in keystone:
status: New → Confirmed
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/156488

Changed in keystone:
assignee: Henry Nash (henry-nash) → Steve Martinelli (stevemar)
status: Confirmed → In Progress
Changed in keystone:
milestone: none → kilo-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/156488
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=27d8f05e016463cdb998c187982472a6edd6fab2
Submitter: Jenkins
Branch: master

commit 27d8f05e016463cdb998c187982472a6edd6fab2
Author: Steve Martinelli <email address hidden>
Date: Tue Feb 17 01:57:01 2015 -0500

    Drop foreign key (domain_id) from user and group tables

    Change-Id: I35004840d329afe9d670108aa8647c60e4db0ca7
    Closes-Bug: #1417451

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: kilo-3 → 2015.1.0
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.