Description of problem: 2013-09-11 15:13:50,702 - MainThread - vmpools - DEBUG - Response body for PUT request is: <fault> <reason>Operation Failed</reason> <detail>[Cannot edit VM-Pool. Cannot set single display device to non Linux operating system.]</detail> </fault> 2013-09-11 15:13:50,702 - MainThread - vmpools - ERROR - Response code is not valid, expected is: [200, 201], actual is: 400 2013-09-11 15:13:50,703 - MainThread - test_runner - ERROR - Test Case failed: There is no Exception.Test returned False. 2013-09-11 15:13:50,962 - MainThread - plmanagement.error_fetcher - ERROR - Errors fetched from VDC(jenkins-automation-rpm-vm44.eng.lab.tlv.redhat.com): 2013-09-11 15:13:50,661 ERROR [org.ovirt.engine.core.bll.job.ExecutionHandler] (ajp-/127.0.0.1:8702-3) java.lang.NullPointerException 2013-09-11 15:13:50,676 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp-/127.0.0.1:8702-3) Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: VM Pool rest_testPool was renamed from rest_testPool to rest_testPoolUpd. 2013-09-11 15:13:50,697 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (ajp-/127.0.0.1:8702-3) Operation Failed: [Cannot edit VM-Pool. Cannot set single display device to non Linux operating system.]
posted fix at: http://gerrit.ovirt.org/#/c/19142/
submitted at: http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=db4b79fe660a282fc97b283a33aeb163c263ef1c
missed the branch off, needs to be backported to ovirt-engine-3.3
I see this same bug in sf20.3. Will this bug going to be fixed on 3.2 as well?
Please fix this bug for 3.2.x too. I can't turn on the 3.2.z flag, since I don't have the permissions.
not likely that you see the same error, single video device is a 3.3 feature. Can you please add the response you see?
No need to fix for 3.2. The error I had for 3.2 is not the same as here. Sorry for the confusion.
Checked on is20, using poster: Got same error when trying to update size (num of vms in pool) to a higher number. Maybe fix is not included yet in this version? ERROR: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <fault> <reason>Operation Failed</reason> <detail>[Cannot edit VM-Pool. Cannot set single display device to non Linux operating system.]</detail> </fault>
Ilanit What is the request xml?
This is the PUT request (It fail for size bigger then existing one, here vmpool with 4 vms. update to size 5, fails it.): ------------------------------------------- Url: https://istein-33.scl.lab.tlv.redhat.com/api/vmpools/c7aa7b8e-92c3-4d84-9822-858b206ee759 user: admin@internal password: 123456 content type: application/xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <vmpool href="/api/vmpools/c7aa7b8e-92c3-4d84-9822-858b206ee759" id="c7aa7b8e-92c3-4d84-9822-858b206ee759"> <actions> <link href="/api/vmpools/c7aa7b8e-92c3-4d84-9822-858b206ee759/allocatevm" rel="allocatevm"/> </actions> <name>testpool_testnew_1</name> <description>description test new_1</description> <size>5</size> <cluster href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95" id="99408929-82cf-4dc7-a532-9d998063fa95"/> <template href="/api/templates/1515e8c1-bc13-462a-b58a-bc166b4f10c5" id="1515e8c1-bc13-462a-b58a-bc166b4f10c5"/> <prestarted_vms>0</prestarted_vms> <max_user_vms>1</max_user_vms> </vmpool> Response (status 400, bad request): ---------------------------------- <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <fault> <reason>Operation Failed</reason> <detail>[Cannot edit VM-Pool. Cannot set single display device to non Linux operating system.]</detail> </fault>
Verified on is20.2. This fix was not included in is20. However on is20.2 it is included.
Closing - RHEV 3.3 Released