Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 878064 - engine: Error while executing action SetVmTicket: Unexpected exception
engine: Error while executing action SetVmTicket: Unexpected exception
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine (Show other bugs)
3.1.0
x86_64 Linux
medium Severity medium
: ---
: 3.2.0
Assigned To: Roy Golan
Dafna Ron
virt
: Reopened
Depends On:
Blocks: 922807
  Show dependency treegraph
 
Reported: 2012-11-19 10:23 EST by Dafna Ron
Modified: 2013-06-10 16:34 EDT (History)
11 users (show)

See Also:
Fixed In Version: vdsm-4.10.2-11.0.el6ev
Doc Type: Bug Fix
Doc Text:
Previously, when attempting to live migrate a virtual machine from one host to another host, a TimeoutError appeared, which read "TimeoutError: Timed out during operation: cannot acquire state change lock in vdsm for setVmTicket has an exception error in UI." VDSM did not attempt to contact QEMU for storage sampling. VDSM has now been updated to contact QEMU for storage sampling. Now, when TimeoutErrors appear during live migration, they are more specific.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-06-10 16:34:58 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
logs (495.00 KB, application/x-gzip)
2012-11-19 10:23 EST, Dafna Ron
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0886 normal SHIPPED_LIVE Moderate: rhev 3.2 - vdsm security and bug fix update 2013-06-10 20:25:02 EDT
Red Hat Product Errata RHSA-2013:0888 normal SHIPPED_LIVE Moderate: Red Hat Enterprise Virtualization Manager 3.2 update 2013-06-10 20:55:41 EDT

  None (edit)
Description Dafna Ron 2012-11-19 10:23:06 EST
Created attachment 647824 [details]
logs

Description of problem:

TimeoutError: Timed out during operation: cannot acquire state change lock in vdsm for setVmTicket has an exception error in UI. 

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

si24.2

How reproducible:

100%

Steps to Reproduce:
1. create and run a vm 
2. live migrate the vm -> once snapshot is created try to migrate the vm to a different host
3. after migration fails try to open spice monitor to vm
  
Actual results:

 Unexpected exception in engine log will prompt error in UI: Error while executing action SetVmTicket: Unexpected exception

Expected results:

we need to have a clear error for the exception

Additional info: logs
Comment 5 Michal Skrivanek 2012-12-05 07:30:37 EST
dafna, can you please clarify the scenario? what is "once snapshot is created"
Comment 6 Dafna Ron 2012-12-05 07:39:51 EST
when we move a disk we create a live snapshot. 
once snapshot is created -> after the live snapshot is created for the live migration.
Comment 7 Roy Golan 2012-12-06 10:30:33 EST
the error will not occur in that scenario after bug 872277 resolution. still worth catching this Monitor timeout exception and set the correct message in VDSM error object
Comment 9 Roy Golan 2012-12-20 10:39:05 EST
mistakenly closed it. proposed patch for VDSM and engine:
http://gerrit.ovirt.org/#/q/topic:878064,n,z
Comment 11 Cheryn Tan 2013-04-03 03:02:23 EDT
This bug is currently attached to errata RHBA-2012:14332. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag.

Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information:

* Cause: What actions or circumstances cause this bug to present.

* Consequence: What happens when the bug presents.

* Fix: What was done to fix the bug.

* Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore')

Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug.

For further details on the Cause, Consequence, Fix, Result format please refer to:

https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes

Thanks in advance.
Comment 12 Dafna Ron 2013-05-21 08:39:41 EDT
there is CanDoAction added to the live storage migration + live migration. 

I tested after the CanDoAction and after the live storage migration ended + live migration of the vm. 

we cannot connect to the graphic server after the vm migrated but no exception
moving to verified.
Comment 14 errata-xmlrpc 2013-06-10 16:34:58 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0886.html

Note You need to log in before you can comment on or make changes to this bug.