[nailgun] ./manage.py dropdb doesn't work in case of changed schema

Bug #1323350 reported by Vitaly Kramskikh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Nikolay Markov

Bug Description

sqlalchemy.exc.InternalError: (InternalError) cannot drop table clusters because other objects depend on it
DETAIL: constraint nodegroups_cluster_id_fkey on table nodegroups depends on table clusters
HINT: Use DROP ... CASCADE to drop the dependent objects too.
 '\nDROP TABLE clusters' {}

Caused by https://review.openstack.org/#/c/93286/

I suggest to revert it or reimplement properly

Revision history for this message
Aleksandra Fedorova (bookwar) wrote :

Log for tests runnning on already merged code:

https://fuel-jenkins.mirantis.com/job/stackforge-verify-fuel-web/3802/consoleFull

Fuel CI tests are broken, which blocks the review process for fuel-web repo. Changing to critical.

Changed in fuel:
importance: High → Critical
tags: added: fuel-ci
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

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

Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Dima Shulyak (dshulyak)
status: Confirmed → In Progress
Changed in fuel:
assignee: Dima Shulyak (dshulyak) → Aleksandra Fedorova (afedorova)
Dima Shulyak (dshulyak)
Changed in fuel:
assignee: Aleksandra Fedorova (afedorova) → Nikolay Markov (nmarkov)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/99300
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=34c1ad5dc97f13833da3c8e19ceb71f4d1bb8578
Submitter: Jenkins
Branch: master

commit 34c1ad5dc97f13833da3c8e19ceb71f4d1bb8578
Author: Nikolay Markov <email address hidden>
Date: Wed Jun 11 13:15:05 2014 +0400

    Fix for dropdb()

    Change-Id: I2cd4862f02dedaa034aad75900b3a8a2d32da8b9
    Closes-Bug: #1323350

Changed in fuel:
status: In Progress → Fix Committed
Dmitry Ilyin (idv1985)
summary: - ./manage.py dropdb doesn't work in case of changed schema
+ [nailgun] ./manage.py dropdb doesn't work in case of changed schema
Tom Fifield (fifieldt)
Changed in fuel:
status: Fix Committed → Fix Released
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.