MAAS 3.3 RC shows incorrect storage amount
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Anton Troyanov | ||
3.3 |
Fix Released
|
High
|
Anton Troyanov |
Bug Description
On a MaaS environment running a mix of virtual machines and real bare metal servers, the bare metal servers are showing an incorrect amount of storage in the overview screen (screenshot1.png). However when clicking on any of the bare metal servers, the details on that server are correct (screenshot2.png and screenshot3.png). In the overview page, bare metal servers are shown to have 4, 6, 8 or 10TB of storage. While in reality the storage amount is much lower.
Here are the real amounts vs what's shown in the overview page:
NAME OVERVIEW_AMOUNT ACTUAL_AMOUNT
bmhv1.maas 4.1TB 1024.2GB over 1 disk
bmhv2.maas 6.15TB 1536.3GB over 2 disks (1x 512GB + 1x 1024GB)
bmhv3.maas 6.15TB 1536.3GB over 2 disks (1x 512GB + 1x 1024GB)
bmhv4.maas 6.15TB 1536.3GB over 2 disks (1x 512GB + 1x 1024GB)
bmhv5.maas 6.15TB 1536.3GB over 2 disks (1x 512GB + 1x 1024GB)
bmhv6.maas 10.24TB 2560.5GB over 2 disks (1x 512GB + 1x 2048GB)
bmhv7.maas 10.24TB 2560.5GB over 2 disks (1x 512GB + 1x 2048GB)
bmhv8.maas 10.24TB 2560.5GB over 2 disks (1x 512GB + 1x 2048GB)
bmhv9.maas 10.24TB 2560.5GB over 2 disks (1x 512GB + 1x 2048GB)
bmhv10.maas 10.24TB 2560.5GB over 2 disks (1x 512GB + 1x 2048GB)
testingbm.maas 7.68TB 3840.8GB over 2 disks (2x 1.92TB)
For virtual machines, the storage amount shown is correct in both the overview page and the details screen. The problem seems to only be occurring with real bare metal servers.
Related branches
- MAAS Lander: Approve
- Anton Troyanov: Approve
-
Diff: 73 lines (+33/-3)2 files modifiedsrc/maasserver/websockets/handlers/machine.py (+15/-3)
src/maasserver/websockets/handlers/tests/test_machine.py (+18/-0)
- MAAS Lander: Approve
- Alberto Donato: Approve
-
Diff: 77 lines (+33/-3)2 files modifiedsrc/maasserver/websockets/handlers/machine.py (+15/-3)
src/maasserver/websockets/handlers/tests/test_machine.py (+18/-0)
summary: |
- MaaS 3.3 RC shows incorrect storage amount + MAAS 3.3 RC shows incorrect storage amount |
Changed in maas: | |
milestone: | none → 3.4.0 |
tags: | removed: bug-council |
Changed in maas: | |
status: | Triaged → In Progress |
assignee: | nobody → Anton Troyanov (troyanov) |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 3.4.0 → 3.4.0-beta1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Hi Kevin!
I'm currently failing to reproduce the issue, but maybe you can help to narrow the scope.
Can you please examine websocket messages that MAAS UI makes towards MAAS API and the data that is being returned?
JSON data returned for `machine.list` and `machine.get` methods might be helpful.
E.g. :"machine. get","type" :0,"params" :{"system_ id":"4g3pr6" },"request_ id":7}
Thats the UI requesting summary for the machine with id 4g3pr6
{"method"
Then there will be an response message starting with:
{"type": 1, "request_id": 7, "rtype": 0, "result": {...}}
Can you please check if properties `physical_ disk_count` and `storage` are also different for different method calls?