LXD pod.total.local_storage refers to host

Bug #1878117 reported by Caleb Ellis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Lee Trager

Bug Description

Pod objects returned from the websocket have helper fields for total/used/available cores/memory/storage. In the case of LXD pods it seems that the total storage refers to the LXD host as opposed to the storage set aside for the pod.

This is easily fixed in the UI just by summing the storage pool data manually, but it would be good if the websocket returned the "actual" pod total/available storage instead of the host total/available storage.

Related branches

Revision history for this message
Caleb Ellis (caleb-ellis) wrote :
Lee Trager (ltrager)
Changed in maas:
status: New → In Progress
importance: Undecided → High
milestone: none → 2.8.0rc1
assignee: nobody → Lee Trager (ltrager)
Revision history for this message
Lee Trager (ltrager) wrote :

Thanks for finding this. It looks like the issue is LXD composed machines are not linking block devices to the storage pool they use.

Changed in maas:
status: In Progress → Fix Committed
Alberto Donato (ack)
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.