Bug 1151516 - [restapi] can't create new ppc64 VM via restapi: Migration option is not supported in this CPU architecture.
Summary: [restapi] can't create new ppc64 VM via restapi: Migration option is not supp...
Keywords:
Status: CLOSED DUPLICATE of bug 1057178
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-restapi
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Vitor de Lima
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-10 15:14 UTC by Jiri Belka
Modified: 2014-10-10 18:31 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-10 18:31:06 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
engine.log (1.44 MB, text/plain)
2014-10-10 15:14 UTC, Jiri Belka
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 21643 0 master MERGED core, engine, restapi: Proper default migration policies for ppc64 Never

Description Jiri Belka 2014-10-10 15:14:15 UTC
Created attachment 945692 [details]
engine.log

Description of problem:
can't create new ppc64 VM via restapi: Migration option is not supported in this CPU architecture. interesting, i can create ppc64 via Admin Portal.

~~~
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<fault>
    <reason>Operation Failed</reason>
    <detail>[Cannot add VM. Migration option is not supported in this CPU architecture.]</detail>
</fault>
~~~

curl -X POST -H "Accept: application/xml" -H "Content-Type: application/xml" -u admin@internal:XXXXXX -k -d "<vm><name>otheros-ppc64</name> <cluster><name>ppc64</name></cluster> <template><name>Blank</name></template> <os type='other_ppc64'><boot dev='hd'/></os></vm>" https://localhost/api/vms

even explicit HA false doesn't work:

curl -X POST -H "Accept: application/xml" -H "Content-Type: application/xml" -u admin@internal:XXXXXX -k -d "<vm><name>otheros-ppc64</name> <cluster><name>ppc64</name></cluster> <template><name>Blank</name></template> <os type='other_ppc64'><boot dev='hd'/></os><high_availability><enabled>false</enabled><priority>1</priority></high_availability></vm>" https://localhost/api/vms

Version-Release number of selected component (if applicable):
rhevm-backend-3.5.0-0.14.beta.el6ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. create ppc64 via restapi on 3.5
2.
3.

Actual results:
fail (HA is still used)

Expected results:
should work

Additional info:

Comment 1 Michal Skrivanek 2014-10-10 17:43:05 UTC
Is it fixed already by the recent changes?

Comment 2 Vitor de Lima 2014-10-10 18:08:49 UTC
There is a fix in review for the master branch.

Comment 3 Michal Skrivanek 2014-10-10 18:31:06 UTC
Thanks for confirmation. No need to track twice then, closing

*** This bug has been marked as a duplicate of bug 1057178 ***


Note You need to log in before you can comment on or make changes to this bug.