KVM pods showing 0 or negative numbers for available CPU CORES and RAM and can not compose machine
Bug #1952377 reported by
Joe Guo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Expired
|
Medium
|
Unassigned |
Bug Description
KVM pods showing 0 or negative numbers for available CPU CORES and RAM and can not compose machine.
MAAS version: 2.9.0~rc3 (9131-g.26dc68728)
1) MAAS webui -> KVM, showing 0s:
CPU CORES: 34 of 0 allocated
RAM: 168577466368 of 0 B allocated
screenshot: https:/
2) KVM page, showing negative numbers:
Cores: Error: Only -22 cores available.
RAM: Error: Only -118784 MiB available.
"Compose machine" button is disabled.
screenshot: https:/
It turns out I just need to "Refresh":
KVM -> Select Hosts -> Take Action -> Refresh
To avoid confusion, maybe we can still do something on the page or in the background ?
E.g.: if 0 or negative number deteted, refresh automatically, or ask user to refresh ?
Or, if we can find out the root reason why we get false numbers, that's even better.