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
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://
I think there is a problem with catching IntegrityError and continuing issuing queries. We probably want to do this http://
Related branches
lp:~julian-edwards/maas/1.6-savepoints-migration
- Julian Edwards (community): Approve
-
Diff: 24 lines (+4/-1)1 file modifiedsrc/maasserver/migrations/0088_z_backport_trunk_0099.py (+4/-1)
lp:~julian-edwards/maas/savepoints-migration
- Julian Edwards (community): Approve
-
Diff: 120 lines (+60/-6)3 files modifiedsrc/maasserver/api/tests/test_nodegroup.py (+12/-0)
src/maasserver/forms.py (+2/-1)
src/maasserver/migrations/0099_convert_cluster_interfaces_to_networks.py (+46/-5)
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 is related to how we fixed https:/ /bugs.launchpad .net/maas/ +bug/1359551.