Python SDK api.vms.get request does not contain info about memory ballooning of a VM

Solution Verified - Updated -

Issue

Python SDK api.vms.get request returns None value for the current ballooning state of a VM.

vm = api.vms.get(name='test')
vm
<ovirtsdk.infrastructure.brokers.VM object at 0x7f7f4764c850>
print vm.get_memory_policy().get_ballooning()
None

Environment

  • Red Hat Enterprise Virtualization (RHEV) 3.x
  • Red Hat Virtualization (RHV) 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.