[2.2.0~rc3] maas reports an incorrect amount of available storage space for a virsh pod
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Данило Шеган | ||
2.2 |
Fix Released
|
High
|
Данило Шеган |
Bug Description
Created a virsh pod:
qemu+ssh:
2 things:
1) storage is reported as GiB (powers of 2, usually used with RAM) in a pod resources tab while the node storage is reported in GB (powers of 10 like the storage quantities are usually reported).
2) The available storage is negative and its absolute value is equal to the storage used (see the screenshot)
On the actual system there's a lot of storage:
root@maas-
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/
This is rc3 originally upgraded from maas 2.1 to 2.2rc2 and then to rc3.
root@maas-
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii maas 2.2.0~rc3+
ii maas-cli 2.2.0~rc3+
un maas-cluster-
ii maas-common 2.2.0~rc3+
ii maas-dhcp 2.2.0~rc3+
ii maas-dns 2.2.0~rc3+
ii maas-proxy 2.2.0~rc3+
ii maas-rack-
ii maas-region-api 2.2.0~rc3+
ii maas-region-
un maas-region-
Related branches
- Mike Pontillo (community): Needs Fixing
-
Diff: 141 lines (+63/-12)2 files modifiedsrc/provisioningserver/drivers/pod/tests/test_virsh.py (+23/-0)
src/provisioningserver/drivers/pod/virsh.py (+40/-12)
- Mike Pontillo (community): Approve
-
Diff: 235 lines (+123/-12)4 files modifiedsrc/provisioningserver/drivers/pod/tests/test_virsh.py (+23/-0)
src/provisioningserver/drivers/pod/virsh.py (+17/-12)
src/provisioningserver/utils/__init__.py (+45/-0)
src/provisioningserver/utils/tests/test_utils.py (+38/-0)
- Данило Шеган (community): Approve
-
Diff: 235 lines (+123/-12)4 files modifiedsrc/provisioningserver/drivers/pod/tests/test_virsh.py (+23/-0)
src/provisioningserver/drivers/pod/virsh.py (+17/-12)
src/provisioningserver/utils/__init__.py (+45/-0)
src/provisioningserver/utils/tests/test_utils.py (+38/-0)
tags: | added: cpe |
tags: | added: pod |
Changed in maas: | |
milestone: | none → 2.2.0rc4 |
importance: | Undecided → High |
Changed in maas: | |
assignee: | nobody → Newell Jensen (newell-jensen) |
Changed in maas: | |
milestone: | 2.2.0rc4 → 2.2.1 |
Changed in maas: | |
status: | Incomplete → New |
Changed in maas: | |
status: | New → Triaged |
summary: |
- maas reports an incorrect amount of available storage space for a virsh - pod + [2.2.0~rc3] maas reports an incorrect amount of available storage space + for a virsh pod |
Changed in maas: | |
assignee: | nobody → Данило Шеган (danilo) |
no longer affects: | maas/trunk |
Changed in maas: | |
milestone: | 2.3.0 → 2.3.0alpha1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Can you provide the output of:
virsh pool-list
Repeat the following for every pool.
virsh pool-info {name-of-pool}