Hide Forgot
Created attachment 570911 [details] engine log Description of problem: Can start VM Try to start VM from REST API: POST url:http://localhost:8080/api/vms/9c0f84e4-0bb9-42de-a64b-f9f50866cb50/start <action><async>false</async><grace_period><expiry>10</expiry><absolute>false</absolute></grace_period></action> engine error log: 2012-03-18 16:58:11,506 WARN [org.ovirt.engine.core.bll.RunVmOnceCommand] (http--0.0.0.0-8080-1) [24ebe3ed] CanDoAction of action RunVmOnce failed. Reasons:VAR__ACTION__RUN,VAR__TYPE__VM,VM_CANNOT_RUN_FROM_DISK_WITHOUT_DISK 2012-03-18 16:58:11,511 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (http--0.0.0.0-8080-1) Operation Failed: [Cannot run VM without at least one bootable disk. Alternatives: -Create a disk for this VM, and rerun the VM. -Change the boot sequence using the Edit VM command (Boot Option Sub-Tab). -Use the Run-Once command to select a different boot option and rerun the VM.] Even though VM contain bootable disk: <disks> <disk href="/api/vms/9c0f84e4-0bb9-42de-a64b-f9f50866cb50/disks/a4f589a6-6e0a-4049-a090-ec3519e85b11" id="a4f589a6-6e0a-4049-a090-ec3519e85b11"> <name>Disk 1</name> <link href="/api/vms/9c0f84e4-0bb9-42de-a64b-f9f50866cb50/disks/a4f589a6-6e0a-4049-a090-ec3519e85b11/statistics" rel="statistics"/> <vm href="/api/vms/9c0f84e4-0bb9-42de-a64b-f9f50866cb50" id="9c0f84e4-0bb9-42de-a64b-f9f50866cb50"/> <storage_domains> <storage_domain id="e1657355-c474-467f-b9d2-0a19f483fc09"/> </storage_domains> <size>2147483648</size> <type>system</type> <status> <state>ok</state> </status> <interface>virtio</interface> <format>cow</format> <sparse>true</sparse> <bootable>true</bootable> <wipe_after_delete>false</wipe_after_delete> <propagate_errors>false</propagate_errors> <plugged>true</plugged> </disk> </disks>
Sent patch to gerrit - http://gerrit.ovirt.org/#change,2913
closing ON_QA bugs as oVirt 3.1 was released: http://www.ovirt.org/get-ovirt/