Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 719396

Summary: [vdsm] when killing one vm and other vms are running, getAllVmStats return "Virtual machine does not exist".
Product: Red Hat Enterprise Linux 6 Reporter: David Naori <dnaori>
Component: vdsmAssignee: Federico Simoncelli <fsimonce>
Status: CLOSED DUPLICATE QA Contact: David Naori <dnaori>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1CC: abaron, bazulay, danken, dnaori, hateya, iheim, mgoldboi, ykaul
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-11 13:13:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
vdsm log none

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 ***