Description of problem: If VM created with incorrect ID format, response is returned as a string format instead of XML which would be expected. Version-Release number of selected component (if applicable): Red Hat Virtualization Manager Version: 4.1.3.4-0.1.el7 How reproducible: 100% Steps to Reproduce: 1. try creating VM via REST with following request: POST <vm id="11111"> <name>test_vm_name</name> <description>test_vm_description</description> <display> <type>spice</type> </display> <os> <type>rhel_7x64</type> ... </vm> Full example here: http://pastebin.test.redhat.com/498840 Actual results: Invalid UUID string: 11111 Expected results: <fault> <detail>[Invalid UUID string: 11111.]</detail> <reason>Operation Failed</reason> </fault> Additional info:
This happens on all collections I have tried (vms, clusters, permissions...). Seems like an infra issue/decision. Moving to infra to decide.
I agree this should be improved. Ori, can you take a look?
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.
Patch posted: https://gerrit.ovirt.org/#/c/81212
Verified in 4.2.0-0.0.master.20170903205106.gitb17261a.el7.centos
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017. Since the problem described in this bug report should be resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.