API error documentation
Bug #1391193 reported by
Michael Foord
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Julian Edwards | ||
1.7 |
Fix Released
|
High
|
Raphaël Badin |
Bug Description
Various apis can return error codes with meanings. Specifically calling release on a node that can't be released returns a 409 (CONFLICT) error. As far as I can tell this isn't documented, nor any other possible errors and their meanings.
Related branches
lp:~julian-edwards/maas/api-doc-bug-1391193
- Newell Jensen (community): Approve
-
Diff: 712 lines (+225/-30)11 files modifiedsrc/maasserver/api/files.py (+5/-0)
src/maasserver/api/ip_addresses.py (+5/-0)
src/maasserver/api/node_group_interfaces.py (+18/-2)
src/maasserver/api/node_groups.py (+38/-5)
src/maasserver/api/node_macs.py (+17/-4)
src/maasserver/api/nodes.py (+85/-9)
src/maasserver/api/ssh_keys.py (+9/-2)
src/maasserver/api/ssl_keys.py (+10/-2)
src/maasserver/api/tags.py (+23/-3)
src/maasserver/api/users.py (+2/-0)
src/maasserver/api/zones.py (+13/-3)
lp:~rvb/maas/api-doc-bug-1391193-1.7
- Raphaël Badin (community): Approve
-
Diff: 712 lines (+225/-30)11 files modifiedsrc/maasserver/api/files.py (+5/-0)
src/maasserver/api/ip_addresses.py (+5/-0)
src/maasserver/api/node_group_interfaces.py (+18/-2)
src/maasserver/api/node_groups.py (+38/-5)
src/maasserver/api/node_macs.py (+17/-4)
src/maasserver/api/nodes.py (+85/-9)
src/maasserver/api/ssh_keys.py (+9/-2)
src/maasserver/api/ssl_keys.py (+10/-2)
src/maasserver/api/tags.py (+23/-3)
src/maasserver/api/users.py (+2/-0)
src/maasserver/api/zones.py (+13/-3)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: doc |
Changed in maas: | |
milestone: | none → 1.7.1 |
Changed in maas: | |
status: | Triaged → In Progress |
assignee: | nobody → Julian Edwards (julian-edwards) |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 1.7.1 → next |
Changed in maas: | |
status: | Fix Committed → Fix Released |
tags: |
added: verification-done removed: verification-needed |
Changed in maas: | |
milestone: | next → none |
To post a comment you must log in.
Hello Michael, or anyone else affected,
Accepted maas into utopic-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ maas/1. 7.5+bzr3369- 0ubuntu1~ 14.10.1 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed. In either case, details of your testing will help us make a better decision.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance!