RHEV: Failed to hot add memory to VM: unsupported configuration: maxMemory has to be specified when using memory devices

Solution Verified - Updated -

Issue

  • Hot adding memory to a VM fails
  • Following error is seen in RHEV-M
Failed to hot set memory to VM.  Underlying error message:  unsupported configuration:  maxMemory has to be specified when using memory devices.
  • The following error is seen in /var/log/ovirt-engine/engine.log
ERROR [org.ovirt.engine.core.vdsbroker.SetAmountOfMemoryVDSCommand] (ajp-/127.0.0.1:8702-9) [161411d1] Command 'SetAmountOfMemoryVDSCommand(HostName = <HOST NAME>, Params:{runAsync='true', hostId='<HOST ID>', vmId='< VM ID>', memoryDevice='VmDevice:{id='VmDeviceId:{deviceId='<DEVICE ID>', vmId='<VM ID>}', device='memory', type='MEMORY', bootOrder='0', specParams='[node=0, size=8192]', address='', managed='true', plugged='true', readOnly='false', deviceAlias='', customProperties='null', snapshotId='null', logicalName='null', usingScsiReservation='false'}'})' execution failed: VDSGenericException: VDSErrorException: Failed to SetAmountOfMemoryVDS, error = unsupported configuration: maxMemory has to be specified when using memory devices , code = 70

Environment

  • Red Hat Enterprise Virtualization 3.6
    • Red Hat Enterprise Linux 7.2 Hosts

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.