Comment 0 for bug 1811836

Revision history for this message
Björn Tillenius (bjornt) wrote : [2.5, API] allocate command doesn't respect system_id and name when a pod is registered

This is with MAAS 2.5.1-7489-g2f25a2cc0-0ubuntu1~18.04.1.

I have a normal user and a machine A that is allocated to another user.
There's also a pod registered that has capacity to create new VMs.

If I use the allocate API like this:

  maas non-admin machines allocate name=A

I get a machine from the pod. The same happens if I specify the system_id instead.

This is wrong, since the resulting machine doesn't match the constraint I specified.