Bug 747495 - /distribution/inventory does not account for virt balloon memory
Summary: /distribution/inventory does not account for virt balloon memory
Keywords:
Status: CLOSED DUPLICATE of bug 541294
Alias: None
Product: Beaker
Classification: Retired
Component: inventory
Version: 0.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified vote
Target Milestone: ---
Assignee: Dan Callaghan
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-20 03:36 UTC by Dan Callaghan
Modified: 2014-08-12 04:33 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-20 04:38:10 UTC


Attachments (Terms of Use)

Description Dan Callaghan 2011-10-20 03:36:39 UTC
When running on a KVM guest with memory balloooning, the /distribution/inventory task reports the current amount of memory allocated, not the maximum balloon amount permitted (which would be more useful for our purposes).

For example, when a guest has an initial allocation of 1GB and a maximum of 2GB, the memory amount is reported as 983 MB (1GB minus various reservations).

Comment 1 Dan Callaghan 2011-10-20 03:36:52 UTC
It seems lshw is able to figure out the true maximum balloon amount:

     *-memory
          description: System Memory
          physical id: 1000
          size: 2GiB
          capacity: 2GiB
        *-bank
             description: DIMM RAM
             physical id: 0
             slot: DIMM 0
             size: 2GiB
             width: 64 bits

Comment 2 Steven Lawrance 2011-10-20 04:38:10 UTC

*** This bug has been marked as a duplicate of bug 541294 ***


Note You need to log in before you can comment on or make changes to this bug.