[2.4, b1, pod] Adding a pod via the API shouldn't require zone to be specified
Bug #1755807 reported by
Andres Rodriguez
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Newell Jensen |
Bug Description
Trying to add a pod WITHOUT specifying a zone results in:
stdout for maas maas ['pods', 'create', 'name=first-
So there's basically three issues:
1. MAAS doesn't allow specifying a pod via the API with specifying a zone.
2. allows the user to add a pod by specifying the zone *name* and not just the database *id*
3. returns zone on the API output.
Related branches
~newell-jensen/maas:lp1755807-1755829
Merged
into
maas:master
- Andres Rodriguez (community): Approve
- MAAS Lander: Needs Fixing
-
Diff: 286 lines (+57/-24)5 files modifiedsrc/maasserver/api/pods.py (+3/-0)
src/maasserver/api/tests/test_pods.py (+2/-1)
src/maasserver/forms/pods.py (+14/-7)
src/maasserver/forms/tests/test_pods.py (+13/-13)
src/maasserver/websockets/handlers/pod.py (+25/-3)
Changed in maas: | |
importance: | Undecided → High |
milestone: | none → 2.4.0beta1 |
status: | New → Triaged |
tags: | added: pod |
Changed in maas: | |
assignee: | nobody → Newell Jensen (newell-jensen) |
summary: |
- [2.4, b1, pod] Adding a pod via the API shouldn't require zone to be - specifi + [2.4, b1, pod] Can't add a pod via the API because of the zone |
description: | updated |
summary: |
- [2.4, b1, pod] Can't add a pod via the API because of the zone + [2.4, b1, pod] Adding a pod via the API shouldn't require zone to be + specified |
Changed in maas: | |
assignee: | Newell Jensen (newell-jensen) → Andres Rodriguez (andreserl) |
status: | Triaged → In Progress |
description: | updated |
Changed in maas: | |
assignee: | Andres Rodriguez (andreserl) → Newell Jensen (newell-jensen) |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.