Pods Cannot allocate memory, even with memory_over_commit_ratio set 10.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Won't Fix
|
Low
|
Unassigned | ||
maas-ui |
Triaged
|
Low
|
Unassigned | ||
qemu (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Please see comment #11 for what needs to be done
--- initial description below ---
Expected to compose a pod VM with 4GB of memory on a host with 6GB of total physical memory when memory_
ubuntu@infra1:~$ maas root pod compose 10 hostname=juju-1 cores=1 memory=4096 storage=20
Unable to compose machine because: Failed talking to pod: Unable to compose juju-1: error: Failed to start domain juju-1
error: internal error: qemu unexpectedly closed the monitor: 2019-05-
2019-05-
2019-05-
ubuntu@infra1:~$ lsb_release -rd
Description: Ubuntu 18.04.2 LTS
Release: 18.04
ii maas-cli 2.5.3-7533-
ii maas-common 2.5.3-7533-
ii maas-dhcp 2.5.3-7533-
ii maas-proxy 2.5.3-7533-
ii maas-rack-
ii maas-region-api 2.5.3-7533-
ii maas-region-
ii python3-django-maas 2.5.3-7533-
ii python3-maas-client 2.5.3-7533-
ii python3-
Changed in maas-ui: | |
importance: | Undecided → Unknown |
Changed in maas-ui: | |
importance: | Unknown → Undecided |
Changed in maas-ui: | |
milestone: | none → 3.4.x |
status: | New → Triaged |
no longer affects: | maas-ui/3.4 |
tags: | removed: ui |
The error message below comes from QEMU
2019-05- 30T17:08: 05.186659Z qemu-system-x86_64: cannot set up guest memory 'pc.ram': Cannot allocate memory
AS such, what I see here is that MAAS is allowing you to create the VM, but qemu is not... so I think you should investigate why qemu doesn;t allow you to.