A database index missing in a model class but declared in a migration.

Bug #1397899 reported by Ilya Pekelny
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Low
Viktor Serhieiev

Bug Description

A database index missed in the `revocation_event` model class, whereas the keystone/contrib/revoke/migrate_repo/versions/001_revoke_table.py:35 provides the index. The migration looks correct. Need to add the index to the model class.

Ilya Pekelny (i159)
Changed in keystone:
status: New → In Progress
assignee: nobody → Ilya Pekelny (i159)
Revision history for this message
Dolph Mathews (dolph) wrote :

this is far too vague.

Changed in keystone:
status: In Progress → Incomplete
Revision history for this message
Lance Bragstad (lbragstad) wrote :

Agreed, links to some examples would be helpful if reopened.

Changed in keystone:
status: Incomplete → In Progress
Ilya Pekelny (i159)
summary: - Database indexes missing or have inappropriate names.
+ A database index missing in a model class but declared in a migration.
description: updated
Revision history for this message
Lance Bragstad (lbragstad) wrote :

Is this still being worked?

Changed in keystone:
assignee: Ilya Pekelny (i159) → Victor Sergeyev (vsergeyev)
Changed in keystone:
importance: Undecided → Low
milestone: none → kilo-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

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

commit fc15db8a6fbda75f2ddec890a9f14a75b045f38c
Author: Ilya Pekelny <email address hidden>
Date: Wed Nov 26 18:25:56 2014 +0200

    Add index to the revocation_event.revoked_at.

    `revocation_event` model class missed index at revoked_at column, whereas a
    migration keystone/contrib/revoke/migrate_repo/versions/001_revoke_table.py:35
    provides the index. The migration looks correct, but the model doesn't
    appropriate to the migration.

    Closes-Bug: #1397899
    Change-Id: I5205f9a0e951d43badd2b11fd5b20a5d59c07ee8

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-rc1 → 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.