2014-10-03 12:32:56,568 WARN [org.ovirt.engine.core.bll.AddVmFromScratchCommand] (ajp-/127.0.0.1:8702-5) [5a3d3aa] CanDoAction of action AddVmFromScratch failed. Reasons:VAR__ACTION__ADD,VAR__TYPE__VM,BALLOON_REQUESTED_ON_NOT_SUPPORTED_ARCH,$clusterArch ppc64 rhevm-3.4.3-1.1.el6ev.noarch
Created attachment 943697 [details] engine.log
Exact reproducer on 3.4.3: 1. new vm 2. select ppc clstr 3. put vm name 4. click enter ~~~ Error while executing action: gggg: Cannot add VM. Balloon is not supported on 'ppc64' architecture. ~~~ no vm is created!
fyi in New VM -> Resource allocation there's no 'Memory Balloon Device Enabled' checkbox when ppc cluster is selected. So it's ok from UI perspective but balloon is still "loaded" in the background.
we're running out of time. Jiri, please update with investigation
workaround curl -X POST -H "Accept: application/xml" -H "Content-Type: application/xml" \ -u admin@internal -k \ -d "<vm><name>ppc64</name> \ <cluster><name>ppc64</name></cluster> \ <template><name>Blank</name></template> \ <os type='rhel_6_ppc64'><boot dev='hd'/></os><memory_policy><ballooning>false</ballooning></memory_policy></vm>" \ https://[engine]/api/vm
(In reply to Michal Skrivanek from comment #6) > we're running out of time. Jiri, please update with investigation The problem was, that the first patch just hides the balloon checkbox, but it's value is still true. The second patch changes hides it & sets it to false.
From the webadmin side this is VERIFIED. However admin still needs to disable balloon manually when creating VM via other APIs. So this shout be set defaultly by engine. This will be tracked in BZ#1151599. If anybody thinks it should be tracked here re-open it.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2014-1712.html