Trying to create VM in an LXD host. Even if there are a lot of memory and cores, it will not accept it.
The host NIC is configured in bridge with OVS
MAAS version
maas 3.3.2-13177-g.a73a6e2bd 27109 3.3/stable canonical✓ -
LXD version
lxd 5.12-c63881f 24643 5.12/stable canonical✓ -
OVS version: “2.17.3”
{
"pool": {
"name": "default",
"description": "Default pool",
"id": 0,
"resource_uri": "/MAAS/api/2.0/resourcepool/0/"
},
"memory_over_commit_ratio": 1.0,
"name": "NODO12",
"storage_pools": [
{
"id": "default",
"name": "default",
"type": "dir",
"path": "/var/snap/lxd/common/lxd/storage-pools/default",
"total": 117473161216,
"used": 0,
"available": 117473161216,
"default": true
}
],
"id": 68,
"default_macvlan_mode": "",
"capabilities": [
"composable",
"dynamic_local_storage",
"over_commit",
"storage_pools"
],
"cpu_over_commit_ratio": 1.0,
"available": {
"cores": 0,
"memory": 0,
"local_storage": 117473161216
},
"version": "5.12",
"host": {
"system_id": "xpd3tt",
"__incomplete__": true
},
"total": {
"cores": 0,
"memory": 0,
"local_storage": 117473161216
},
"used": {
"cores": 0,
"memory": 0,
"local_storage": 0
},
"tags": [
"pod-console-logging"
],
"architectures": [
"amd64/generic"
],
"zone": {
"name": "default",
"description": "",
"id": 1,
"resource_uri": "/MAAS/api/2.0/zones/default/"
},
"type": "lxd",
"resource_uri": "/MAAS/api/2.0/vm-hosts/68/"
}
Also inside MAAS Postgres DB cores,memory are set to zero. I tried to manually update the row in the DB but it didn’t work.
I follow the doc with recommends doing lxd init
from the command line