2018-03-14 13:07:18 |
Andres Rodriguez |
bug |
|
|
added bug |
2018-03-14 13:07:23 |
Andres Rodriguez |
maas: importance |
Undecided |
High |
|
2018-03-14 13:07:28 |
Andres Rodriguez |
maas: milestone |
|
2.4.0beta1 |
|
2018-03-14 13:07:32 |
Andres Rodriguez |
maas: status |
New |
Triaged |
|
2018-03-14 13:07:46 |
Andres Rodriguez |
tags |
|
pod |
|
2018-03-14 13:07:51 |
Andres Rodriguez |
maas: assignee |
|
Newell Jensen (newell-jensen) |
|
2018-03-14 13:25:00 |
Andres Rodriguez |
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 |
|
2018-03-14 13:26:30 |
Andres Rodriguez |
description |
I have a CI test that adds a pod. However, since we added support for zones, this CI test fails because it cannot add a pod without specifying a zone.
The zone should be automatically picked if non specified.
stdout for maas maas ['pods', 'create', 'name=first-cat-pod', 'type=virsh', 'power_address=qemu+ssh://ubuntu@10.245.136.8/system', 'power_pass=ubuntu']: {{{{"zone": ["Select a valid choice. That choice is not one of the available choices."]}}}} |
Trying to add a pod WITHOUT specifying a zone results in:
stdout for maas maas ['pods', 'create', 'name=first-cat-pod', 'type=virsh', 'power_address=qemu+ssh://ubuntu@10.245.136.8/system', 'power_pass=ubuntu']: {{{{"zone": ["Select a valid choice. That choice is not one of the available choices."]}}}} |
|
2018-03-14 13:58:09 |
Andres Rodriguez |
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 |
|
2018-03-14 14:31:48 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~andreserl/maas/+git/maas/+merge/341391 |
|
2018-03-14 14:36:11 |
Andres Rodriguez |
maas: assignee |
Newell Jensen (newell-jensen) |
Andres Rodriguez (andreserl) |
|
2018-03-14 14:36:13 |
Andres Rodriguez |
maas: status |
Triaged |
In Progress |
|
2018-03-14 16:30:06 |
Andres Rodriguez |
description |
Trying to add a pod WITHOUT specifying a zone results in:
stdout for maas maas ['pods', 'create', 'name=first-cat-pod', 'type=virsh', 'power_address=qemu+ssh://ubuntu@10.245.136.8/system', 'power_pass=ubuntu']: {{{{"zone": ["Select a valid choice. That choice is not one of the available choices."]}}}} |
Trying to add a pod WITHOUT specifying a zone results in:
stdout for maas maas ['pods', 'create', 'name=first-cat-pod', 'type=virsh', 'power_address=qemu+ssh://ubuntu@10.245.136.8/system', 'power_pass=ubuntu']: {{{{"zone": ["Select a valid choice. That choice is not one of the available choices."]}}}}
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. |
|
2018-03-14 19:20:38 |
Newell Jensen |
merge proposal unlinked |
https://code.launchpad.net/~andreserl/maas/+git/maas/+merge/341391 |
|
|
2018-03-14 19:20:59 |
Newell Jensen |
maas: assignee |
Andres Rodriguez (andreserl) |
Newell Jensen (newell-jensen) |
|
2018-03-15 01:52:09 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~newell-jensen/maas/+git/maas/+merge/341434 |
|
2018-03-15 17:15:04 |
MAAS Lander |
maas: status |
In Progress |
Fix Committed |
|
2018-04-02 14:07:04 |
Andres Rodriguez |
maas: status |
Fix Committed |
Fix Released |
|