Bug 719396 - [vdsm] when killing one vm and other vms are running, getAllVmStats return "Virtual machine does not exist".
Summary: [vdsm] when killing one vm and other vms are running, getAllVmStats return "V...
Keywords:
Status: CLOSED DUPLICATE of bug 701398
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: vdsm
Version: 6.1
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Federico Simoncelli
QA Contact: David Naori
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-06 17:20 UTC by David Naori
Modified: 2011-07-11 13:13 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-11 13:13:46 UTC
Target Upstream Version:


Attachments (Terms of Use)
vdsm log (641.07 KB, application/x-gzip)
2011-07-06 17:20 UTC, David Naori
no flags Details

Description David Naori 2011-07-06 17:20:39 UTC
Created attachment 511538 [details]
vdsm log

Description of problem:
when killing one vm and other vms are running, getAllVmStats return "Virtual machine does not exist"

vdsClient -s 0 list table
57c6e5f8-5edd-4f6e-9da8-b20ce121259f   1308  TOEXPORT-02          Up                                       
a116dfec-23fd-4676-b9a6-480ce1cdf765   3327  TOEXPORT-01          Up                                       
9302f367-a08a-44e5-a128-e9944745c92c  32663  TOEXPORT-03          Up                                       
cb206c72-7d64-473d-b784-25e63b7fd055   2366  TOEXPORT-06          Up                                       
44fdcd33-db49-4889-a8c9-63c81aa86f97   1651  TOEXPORT-09          Up                                       
802f8f95-3a57-4eaf-bad2-85357614644d   2000  TOEXPORT-05          Up                                       
ae71d9e9-2896-4289-ac13-50a62b49139d    977  TOEXPORT-04          Up                                       
fbf21a41-2e54-4632-bbc9-34f97ade7fc0   3021  TOEXPORT-07          Up                                       
c29070a2-22d8-41a0-a273-c0b17856c7c3   2693  TOEXPORT-11         
Up 


# kill -9 1651 && vdsClient -s 0 getAllVmStats

Virtual machine does not exist


Thread-2102::ERROR::2011-07-06 20:04:44,759::clientIF::62::vds::(wrapper) Traceback (most recent call last):
  File "/usr/share/vdsm/clientIF.py", line 58, in wrapper
    res = f(*args, **kwargs)
  File "/usr/share/vdsm/clientIF.py", line 702, in getAllVmStats
    response = self._getSingleVmStats(vmId)
  File "/usr/share/vdsm/clientIF.py", line 682, in _getSingleVmStats
    stats = v.getStats().copy()
  File "/usr/share/vdsm/vm.py", line 786, in getStats
    'monitorResponse': str(self._monitorResponse),
  File "/usr/share/vdsm/libvirtvm.py", line 940, in _getMonitorResponse
    state, details, stateTime = self._dom.controlInfo(0)
  File "/usr/share/vdsm/libvirtconnection.py", line 63, in wrapper
    ret = f(*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1195, in controlInfo
    if ret is None: raise libvirtError ('virDomainGetControlInfo() failed', dom=self)
libvirtError: Domain not found: no domain with matching uuid '44fdcd33-db49-4889-a8c9-63c81aa86f97'


Version-Release number of selected component (if applicable):
vdsm-4.9-80.el6.x86_64

How reproducible:
100%

  
Actual results:


Expected results:


Additional info:
log attached.

Comment 3 Federico Simoncelli 2011-07-11 13:13:46 UTC

*** This bug has been marked as a duplicate of bug 701398 ***


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