Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1005562

Summary: RHEVM-RESTAPI: "Start" vm sent as run once
Product: Red Hat Enterprise Virtualization Manager Reporter: Barak Dagan <bdagan>
Component: ovirt-engine-restapiAssignee: Martin Betak <mbetak>
Status: CLOSED CURRENTRELEASE QA Contact: Ilanit Stein <istein>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acathrow, bazulay, iheim, mavital, michal.skrivanek, oramraz, pstehlik, Rhev-m-bugs, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: is19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-21 22:13:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1026487    

Description Barak Dagan 2013-09-08 12:22:13 UTC
Description of problem:
Starting VM from API, results the VM to run in "run once" mode, instead of just "up"

Version-Release number of selected component (if applicable):
is13

How reproducible:
100%

Steps to Reproduce:
1.
RHEVM shell (connected.161.51)]# action vm vm04 start

status-state: complete
vm-id       : a5a88067-e6ce-468c-8809-47151151cd4a

2. engine log:
3.2013-09-08 14:48:09,116 INFO  [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand] (ajp-/127.0.0.1:8702-4) START, IsVmDuringInitiatingVDSCommand( vmId = a5a88067-e6ce-468c-8809-47151151cd4a), lo
2013-09-08 14:48:09,142 INFO  [org.ovirt.engine.core.bll.RunVmOnceCommand] (ajp-/127.0.0.1:8702-4) Running command: RunVmOnceCommand internal: false. Entities affected :  ID: a5a88067-e6ce-468c-8809-4715115
2013-09-08 14:48:09,177 INFO  [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand] (ajp-/127.0.0.1:8702-4) START, CreateVmVDSCommand(HostName = rose02, HostId = 5ed5c63e-6037-477c-8350-c1dd851a9af4, vmId=a5
2013-09-08 14:48:09,184 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand] (ajp-/127.0.0.1:8702-4) START, CreateVDSCommand(HostName = rose02, HostId = 5ed5c63e-6037-477c-8350-c1dd851a9af4, v
2013-09-08 14:48:09,219 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand] (ajp-/127.0.0.1:8702-4) org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand spiceSslCipherSuite=DEFAULT,memS
2013-09-08 14:48:12,603 INFO  [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-87) VM vm04 a5a88067-e6ce-468c-8809-47151151cd4a moved from WaitForLaunch --> PoweringUp
2013-09-08 14:48:26,882 INFO  [org.ovirt.engine.core.bll.SetVmTicketCommand] (ajp-/127.0.0.1:8702-6) Running command: SetVmTicketCommand internal: false. Entities affected :  ID: a5a88067-e6ce-468c-8809-471
2013-09-08 14:48:26,887 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp-/127.0.0.1:8702-6) START, SetVmTicketVDSCommand(HostName = rose02, HostId = 5ed5c63e-6037-477c-8350-c1dd8
2013-09-08 14:49:10,150 INFO  [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-68) VM vm04 a5a88067-e6ce-468c-8809-47151151cd4a moved from PoweringUp --> Up


Actual results:
VM starts in run once

Expected results:


Additional info:

Comment 1 Ilanit Stein 2013-10-22 07:57:40 UTC
Verified on IS19, 
rhevm-cli-3.3.0.8-1.el6ev.noarch

Comment 2 Itamar Heim 2014-01-21 22:13:53 UTC
Closing - RHEV 3.3 Released

Comment 3 Itamar Heim 2014-01-21 22:21:39 UTC
Closing - RHEV 3.3 Released