Cannot edit VM. Memory size (32768MB) cannot exceed maximum memory size (16384MB)
Issue
Trying to increase memory on a vm cloned from a template during provisioning time from CloudForms. Unable to do so because of the following error
2017-08-16 21:02:56,004-04 INFO [org.ovirt.engine.core.bll.UpdateVmCommand] (default task-10) [68e5ecff-4863-472e-b8a6-529c0b0c6919] Lock Acquired to object 'EngineLock:{exclusiveLocks='[hostname=<VM_NAME, ACTION_TYPE_FAILED_VM_IS_BEING_UPDATED>]', sharedLocks='[5f885013-93c3-45cf-8893-94616949cc6f=<VM, ACTION_TYPE_FAILED_VM_IS_BEING_UPDATED>]'}'
2017-08-16 21:02:56,018-04 WARN [org.ovirt.engine.core.bll.UpdateVmCommand] (default task-10) [68e5ecff-4863-472e-b8a6-529c0b0c6919] Validation of action 'UpdateVm' failed for user hostname-authz. Reasons: VAR__ACTION__UPDATE,VAR__TYPE__VM,ACTION_TYPE_FAILED_MAX_MEMORY_CANNOT_BE_SMALLER_THAN_MEMORY_SIZE,$maxMemory 16384,$memory 32768
2017-08-16 21:02:56,018-04 INFO [org.ovirt.engine.core.bll.UpdateVmCommand] (default task-10) [68e5ecff-4863-472e-b8a6-529c0b0c6919] Lock freed to object 'EngineLock:{exclusiveLocks='[hostname=<VM_NAME, ACTION_TYPE_FAILED_VM_IS_BEING_UPDATED>]', sharedLocks='[5f885013-93c3-45cf-8893-94616949cc6f=<VM, ACTION_TYPE_FAILED_VM_IS_BEING_UPDATED>]'}'
2017-08-16 21:02:56,059-04 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default task-10) [] Operation Failed: [Cannot edit VM. Memory size (32768MB) cannot exceed maximum memory size (16384MB).]
2017-08-16 21:02:56,306-04 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.GetVolumeInfoVDSCommand] (DefaultQuartzScheduler3) [d517c88f-c357-49cb-897c-b420092fa8cf] FINISH, GetVolumeInfoVDSCommand, return: org.ovirt.engine.core.common.businessentities.storage.DiskImage@1e8c229d, log id: 469cfa80
Environment
- RHEV 4.1 +
- Red Hat CloudForms 4.5 and under
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.