← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1395959] Re: assignment table migration fails for keystone-manage db_sync if duplicate entry exists

 

** Changed in: keystone/juno
       Status: New => Won't Fix

-- 
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/1395959

Title:
  assignment table migration fails for keystone-manage db_sync if
  duplicate entry exists

Status in OpenStack Identity (keystone):
  Invalid
Status in OpenStack Identity (keystone) juno series:
  Won't Fix

Bug description:
  When moving from Havana to Icehouse (Keystone version 38 -> 44) and
  keystone-manage db_sync runs, it fails if there are duplicate project
  entries.

  2014-11-24 23:12:58.701 9239 CRITICAL keystone [-] IntegrityError:
  (IntegrityError) (1062, "Duplicate entry 'UserProject-
  096cb95691404a959289200afa7d4b2f-c0036d48a8524cf6ba1' for key
  'PRIMARY'") 'INSERT INTO assignment (type, actor_id, target_id,
  role_id, inherited) VALUES (%s, %s, %s, %s, %s)' ('UserProject',
  '096cb95691404a959289200afa7d4b2f',
  'c0036d48a8524cf6ba1ed6e857649989',
  '9fe2ff9ee4384b1894a90878d3e92bab', False)

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


References