Created attachment 913707 [details] engine.log Description of problem: When trying to stop the VM while it is powering up or shutting down, the reason comment does not get saved in the DB Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. Update the cluster to enable optional reason 2. Run a VM and wait until it is UP 3. Shut down the VM with some reason 4. While the VM is powering down, shut down the VM again, and add a new comment Actual results: The Reason gets deleted. Expected results: On the second shut down, the reason text box should be initialized with the former reason text, and the user will be allowed to edit it as he will Additional info:
Created attachment 922856 [details] engine.log Not sure it works as it should: - shutdown (reason: 1) - shutdown (reason: 1j - previous msg is visible, I just appended 'j') '1j' is not saved, am I slow or is it broken? Please see attached log.
Please see #1. Thank you.
... thread-25) [3d2aa247] Running command: StopVmCommand(StopVmType = CANNOT_SHUTDOWN, StopReason = , QuotaId = null, VmId = 5f7fab0f-30dd-4033-92e2-115221892c80) internal: true. Entities affected : ID: 5f7fab0f-30dd-4033-92e2-115221892c80 Type: VM 2014-07-31 10:51:24,505 INFO [org.ovirt.engine.core.vdsbroker.DestroyVmVDSCommand] (org.ovirt.thread.pool-8-thread-25) [3d2aa247] START, DestroyVmVDSCommand(HostName = dell-r210ii-03, ... StopReason is empty (it was 1j before), then there's destroy of the vm?
There was an issue while invoking two consecutive Shutdown commands, I have pushed a patch for that
oVirt 3.5 has been released and should include the fix for this issue.