Why creating VMs using api is failing with error "Cannot add VM. CPU Profile doesn't match provided Cluster"
Issue
- Creating VMs using api is failing with below error .
Cannot add VM. CPU Profile doesn't match provided Cluster
- It works fine on the cluster which is created first and everything else is failing with mentioned error.
- Below
payloadis used to create VM. Issue is only withBlanktemplate
<vm>
<name>test_vm</name>
<description>test_vm_description</description>
<cluster>
<name>test_cluster</name>
</cluster>
<template>
<name>Blank</name>
</template>
<memory>17179869184</memory>
<os>
<boot>
<devices>
<device>hd</device>
</devices>
</boot>
</os>
</vm>
Environment
- Red Hat Virtualization 4.2
- Red Hat Virtualization 4.1
- Red Hat Virtualization 4.0
- Environment upgraded from 3.5.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
