Architecture error message is badly formatted
Bug #1301465 reported by
Gavin Panella
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Raphaël Badin | ||
1.5 |
Fix Released
|
High
|
Raphaël Badin | ||
maas (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Logged into a dev server, went to edit the node, saved, got the following error message:
[u'\nNo architectures are available to use for this node; boot images may not\nhave been imported on the selected cluster controller, or it may be\nunavailable
In other words, it's rendering the repr() of a Python list.
[Impact]
* Small fix to error handling to add more user readable error messages
[Testcase]
* Run maas and goto adding a node without having any architecture preseeds loaded, make sure error is readable without extra python string/list cruft
[Regression Potential]
* Minimal, only changes display of handled errors
Related branches
lp:~rvb/maas/bad-msg-bug-1301465
- Jeroen T. Vermeulen (community): Approve
-
Diff: 44 lines (+15/-5)1 file modifiedsrc/maasserver/forms.py (+15/-5)
lp:~rvb/maas/bug-1301465-1.5
- Raphaël Badin (community): Approve
-
Diff: 44 lines (+15/-5)1 file modifiedsrc/maasserver/forms.py (+15/-5)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in maas: | |
assignee: | nobody → Raphaël Badin (rvb) |
status: | Triaged → Fix Committed |
Changed in maas: | |
milestone: | none → 1.6.0 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
milestone: | 1.6.0 → none |
Changed in maas (Ubuntu): | |
status: | New → Fix Released |
Changed in maas (Ubuntu Trusty): | |
status: | Fix Released → In Progress |
To post a comment you must log in.
branch which fixes this and other 1.5.2 release bugs for SRU is linked to bug #1325038