Data migration fails with django.db.utils.InternalError: current transaction is aborted, commands ignored until end of transaction block

Bug #1360008 reported by Raphaël Badin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Julian Edwards
1.6
Fix Released
Critical
Julian Edwards

Bug Description

Upgrading failed with http://pastebin.ubuntu.com/8109421/.

I think there is a problem with catching IntegrityError and continuing issuing queries. We probably want to do this http://paste.ubuntu.com/8109462/ (i.e. rollback the failed transaction before we issue a new SQL command) [WARNING: untested code].

Related branches

Revision history for this message
Raphaël Badin (rvb) wrote :

This is related to how we fixed https://bugs.launchpad.net/maas/+bug/1359551.

Changed in maas:
assignee: nobody → Julian Edwards (julian-edwards)
status: Triaged → In Progress
milestone: none → 1.7.0
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
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.