Bug 705839

Summary: VDSM: Unexpected exception in backend when sending setVmTicket right after VM destroy
Product: Red Hat Enterprise Linux 6 Reporter: Dafna Ron <dron>
Component: vdsmAssignee: Igor Lvovsky <ilvovsky>
Status: CLOSED ERRATA QA Contact: Dafna Ron <dron>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: abaron, bazulay, dallan, danken, dyuan, gren, iheim, ilvovsky, lpeer, nzhang, sgrinber, ykaul
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: vdsm-4.9-69.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 700048 Environment:
Last Closed: 2011-12-06 07:18:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 700048    
Bug Blocks:    

Comment 2 Dan Kenigsberg 2011-05-18 16:58:57 UTC
No regression here. The error code is not specific enough, that's all.

Comment 3 Igor Lvovsky 2011-05-22 09:16:01 UTC
http://gerrit.usersys.redhat.com/#change,441

Comment 6 Dafna Ron 2011-05-30 08:42:12 UTC
verified on ic119
vdsm-4.9-70.el6.x86_64


2011-05-30 11:38:36,004 ERROR [com.redhat.rhevm.vdsbroker.vdsbroker.BrokerCommandBase] (http-0.0.0.0-8443-1) Error code noVM and error message VDSGenericException: VDSErrorException: Failed to SetVmTicketVDS, error = Virtual machine does not exist
2011-05-30 11:38:36,005 INFO  [com.redhat.rhevm.vdsbroker.vdsbroker.BrokerCommandBase] (http-0.0.0.0-8443-1) Command com.redhat.rhevm.vdsbroker.vdsbroker.SetVmTicketVDSCommand return value 
 Class Name: com.redhat.rhevm.vdsbroker.vdsbroker.StatusOnlyReturnForXmlRpc
mStatus                       Class Name: com.redhat.rhevm.vdsbroker.vdsbroker.StatusForXmlRpc
mCode                         1
mMessage                      Virtual machine does not exist

hread-34160::ERROR::2011-05-30 11:35:59,064::clientIF::58::vds::(wrapper) Traceback (most recent call last):
  File "/usr/share/vdsm/clientIF.py", line 54, in wrapper
    res = f(*args, **kwargs)
  File "/usr/share/vdsm/clientIF.py", line 421, in setVmTicket
    return vm.setTicket(otp, seconds, connAct)
  File "/usr/share/vdsm/libvirtvm.py", line 1046, in setTicket
    graphics = xml.dom.minidom.parseString(self._dom.XMLDesc(0)) \
  File "/usr/share/vdsm/libvirtvm.py", line 295, in f
    ret = attr(*args, **kwargs)
  File "/usr/share/vdsm/libvirtconnection.py", line 59, in wrapper
    ret = f(*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 239, in XMLDesc
    if ret is None: raise libvirtError ('virDomainGetXMLDesc() failed', dom=self)
libvirtError: Domain not found: no domain with matching uuid '893188aa-7f42-4252-92fb-550c85f305f0'

Thread-34159::DEBUG::2011-05-30 11:35:59,118::lvm::359::Storage.Misc.excCmd::(cmd) SUCCESS: <err> = ''; <rc> = 0
Thread-34159::DEBUG::2011-05-30 11:35:59,129::lvm::482::OperationMutex::(_reloadlvs) Operation 'lvm reload operation' released the operation mutex

Comment 7 errata-xmlrpc 2011-12-06 07:18:50 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/RHEA-2011-1782.html