← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1672713] [NEW] Dependency between subsystems at the DB layer

 

Public bug reported:

We should not have dependencies like foreign keys between subsystems in
keystone - they might be handled by separate backends!

As an example, we currently have a foreign keys between the
federated_user table and protocol and idp tables [1]. We should drop
this foreign keys and handle the cross-subsystems operations at the
manager layer.

[1]
https://github.com/openstack/keystone/blob/master/keystone/common/sql/migrate_repo/versions/094_add_federated_user_table.py#L43-L45

** Affects: keystone
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1672713

Title:
  Dependency between subsystems at the DB layer

Status in OpenStack Identity (keystone):
  New

Bug description:
  We should not have dependencies like foreign keys between subsystems
  in keystone - they might be handled by separate backends!

  As an example, we currently have a foreign keys between the
  federated_user table and protocol and idp tables [1]. We should drop
  this foreign keys and handle the cross-subsystems operations at the
  manager layer.

  [1]
  https://github.com/openstack/keystone/blob/master/keystone/common/sql/migrate_repo/versions/094_add_federated_user_table.py#L43-L45

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1672713/+subscriptions