Import of the VM fails with message:"Cannot import VM. Quota is not valid"

Solution Verified - Updated -

Issue

Import the VM from the VMware fails with message

"Cannot import VM. Quota is not valid"

The quotas are in enforced status on the datacentre, also the assigned cluster has an unlimited everything quota set.

engine.log

2017-05-09 14:11:03,821 INFO  [org.ovirt.engine.core.bll.AddVmFromTemplateCommand] (default task-72) [ec5e263] Lock Acquired to object 'EngineLock:{exclusiveLocks='[test=<VM_NAME, ACTION_TYPE_FAILED_OBJECT_LOCKED>]', sharedLocks='[00000000-0000-0000-0000-000000000000=<TEMPLATE, ACTION_TYPE_FAILED_TEMPLATE_IS_USED_FOR_CREATE_VM$VmName test>]'}'
2017-05-09 14:11:03,857 ERROR [org.ovirt.engine.core.bll.quota.QuotaManager] (default task-72) [] No Quota id passed from command 'org.ovirt.engine.core.bll.AddVmFromTemplateCommand'
2017-05-09 14:11:03,857 WARN  [org.ovirt.engine.core.bll.AddVmFromTemplateCommand] (default task-72) [] Validation of action 'AddVmFromTemplate' failed for user test@test.com-authz. Reasons: VAR__ACTION__ADD,VAR__TYPE__VM,USER_NOT_AUTHORIZED_TO_PERFORM_ACTION,USER_NOT_AUTHORIZED_TO_PERFORM_ACTION,ACTION_TYPE_FAILED_QUOTA_IS_NOT_VALID,$VmName test

Environment

  • Red Hat Virtualization 4.0

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.