Bug 878064 - engine: Error while executing action SetVmTicket: Unexpected exception
Summary: engine: Error while executing action SetVmTicket: Unexpected exception
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.1.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: 3.2.0
Assignee: Roy Golan
QA Contact: Dafna Ron
URL:
Whiteboard: virt
Depends On:
Blocks: 922807
TreeView+ depends on / blocked
 
Reported: 2012-11-19 15:23 UTC by Dafna Ron
Modified: 2022-07-09 05:57 UTC (History)
11 users (show)

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.
Clone Of:
Environment:
Last Closed: 2013-06-10 20:34:58 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


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


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-47034 0 None None None 2022-07-09 05:51:43 UTC
Red Hat Product Errata RHSA-2013:0886 0 normal SHIPPED_LIVE Moderate: rhev 3.2 - vdsm security and bug fix update 2013-06-11 00:25:02 UTC
Red Hat Product Errata RHSA-2013:0888 0 normal SHIPPED_LIVE Moderate: Red Hat Enterprise Virtualization Manager 3.2 update 2013-06-11 00:55:41 UTC

Description Dafna Ron 2012-11-19 15:23:06 UTC
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 12:30:37 UTC
dafna, can you please clarify the scenario? what is "once snapshot is created"

Comment 6 Dafna Ron 2012-12-05 12:39:51 UTC
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 15:30:33 UTC
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 15:39:05 UTC
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 07:02:23 UTC
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 12:39:41 UTC
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 20:34:58 UTC
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.