create_Network_from_NodeGroupInterface is missing a catch for IntegrityError
Bug #1359551 reported by
Julian Edwards
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
ValidationError only catches network clashes. If the name is the same, IntegrityError is raised.
Related branches
lp://staging/~julian-edwards/maas/fix-migration-error
- Raphaël Badin (community): Needs Fixing
- Jeroen T. Vermeulen (community): Approve
- Julian Edwards (community): Approve
-
Diff: 70 lines (+17/-2)3 files modifiedsrc/maasserver/forms.py (+2/-1)
src/maasserver/migrations/0088_z_backport_trunk_0099.py (+3/-1)
src/maasserver/tests/test_api_nodegroup.py (+12/-0)
lp://staging/~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: | |
status: | New → Triaged |
importance: | Undecided → Critical |
milestone: | none → 1.6.1 |
milestone: | 1.6.1 → 1.7.0 |
Changed in maas: | |
assignee: | nobody → Julian Edwards (julian-edwards) |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.