Composing a VM via the API hangs and doesn't commission the VM

Bug #2043397 reported by Björn Tillenius
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Triaged
High
Unassigned

Bug Description

With latest/edge at 3.5.0~alpha1-15324-g.3e873e9ee, I can't compose a VM using the API. I'm doing the following:

  maas dev vm-host compose 3 hostname=vm2 cores=4 memory=4096

It simply hangs. I can see that the VM gets created in LXD, but it seems like MAAS doesn't turn on the VM.
If I manually turn on the VM in LXD, the commissioning finishes, but the CLI command from before still doesn't return anything, it's still hung.

I get similar errors running "maas dev machine rescue-mode .." and "maas dev machine exit-rescue-mode ..."

Changed in maas:
status: New → Triaged
importance: Undecided → High
milestone: none → 3.5.0
summary: - Composing a VM via the API hangs
+ Composing a VM via the API hangs and doesn't commission the VM
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.