At least for virsh pods, where a pod is one physical machine, pods should have a 'zone' field, and all of the machines in a pod should be associated with the zone of the pod automatically.
Right now, MAAS will try to create machines in a pod using whatever zone is requested in the 'allocate' API call. In reality, a pod is in a specific zone and this doesn't make sense. MAAS should only allocate from the pod if no zone was requested of if the pod's zone matches the allocate request's zone.
At least for virsh pods, where a pod is one physical machine, pods should have a 'zone' field, and all of the machines in a pod should be associated with the zone of the pod automatically.
Right now, MAAS will try to create machines in a pod using whatever zone is requested in the 'allocate' API call. In reality, a pod is in a specific zone and this doesn't make sense. MAAS should only allocate from the pod if no zone was requested of if the pod's zone matches the allocate request's zone.