@Caleb is the UI now using info under "resources" for virsh pods too?
I can reproduce this with master, where memory/cpu shows 0 available, while storage is correct.
Looking at the websocket data, I see that total/used/available are correct, while "resources" is empty, which is expected since we collect those only for LXD-based vmhosts:
@Caleb is the UI now using info under "resources" for virsh pods too?
I can reproduce this with master, where memory/cpu shows 0 available, while storage is correct.
Looking at the websocket data, I see that total/used/ available are correct, while "resources" is empty, which is expected since we collect those only for LXD-based vmhosts:
{ over_commit_ ratio": 1, over_commit_ ratio": 1, storage_ gb": "455.9" storage_ gb": "0.0" storage_ gb": "455.9" machines_ count": 0, storage_ gb": "188.1" 3b12-4f64- a4cf-3c2127dc90 0a", libvirt/ maas-images" , tracked" : 0, other": 0, _tracked" : 0, _other" : 0, _tracked" : 0, _other" : 0, tracked" : 0, other": 0,
...
"cpu_
"memory_
...
"type": "virsh",
"total": {
"cores": 4,
"memory": 15860,
"memory_gb": "15.5",
"local_storage": 489479471104,
"local_
},
"used": {
"cores": 0,
"memory": 0,
"memory_gb": "0.0",
"local_storage": 0,
"local_
},
"available": {
"cores": 4,
"memory": 15860,
"memory_gb": "15.5",
"local_storage": 489479471104,
"local_
},
"composed_
"owners_count": 0,
"hints": {
"cores": 4,
"cpu_speed": 2800,
"memory": 15860,
"memory_gb": "15.5",
"local_storage": 201947750400,
"local_
},
"storage_pools": [
{
"id": "ee6f53a3-
"name": "maas",
"type": "dir",
"path": "/var/lib/
"total": 489479471104,
"used": 0,
"available": 489479471104
}
],
...
"resources": {
"cores": {
"allocated_
"allocated_
"free": 0
},
"memory": {
"hugepages": {
"allocated
"allocated
"free": 0
},
"general": {
"allocated
"allocated
"free": 0
}
},
"storage": {
"allocated_
"allocated_
"free": 0
},
"vm_count": {
"tracked": 0,
"other": 0
},
"interfaces": [],
"vms": [],
"numa": []
},
...
}