[Users] vdsm can not call libvirt function
bigclouds
bigclouds at 163.com
Mon May 6 06:19:08 UTC 2013
hi,
this vm is running, but calls failed.
---------------log-----------------------
Thread-52180::ERROR::2013-05-03 10:02:26,967::utils::412::vm.Vm::(collect) vmId=`900da72e-687f-4f53-b54a-f8da73ae8bbe`::Stats function failed: <AdvancedStatsFunction _s ampleCpu at 0x259fbc8>
694 Traceback (most recent call last):
695 File "/usr/lib64/python2.6/site-packages/vdsm/utils.py", line 408, in collect
696 statsFunction()
697 File "/usr/lib64/python2.6/site-packages/vdsm/utils.py", line 283, in __call__
698 retValue = self._function(*args, **kwargs)
699 File "/usr/share/vdsm/libvirtvm.py", line 137, in _sampleCpu
700 cpuStats = self._vm._dom.getCPUStats(True, 0)
701 File "/usr/share/vdsm/libvirtvm.py", line 515, in f
702 ret = attr(*args, **kwargs)
703 File "/usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py", line 83, in wrapper
704 ret = f(*args, **kwargs)
705 File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1715, in getCPUStats
706 if ret is None: raise libvirtError ('virDomainGetCPUStats() failed', dom=self)
707 libvirtError: Requested operation is not valid: domain is not running
708 Thread-52180::ERROR::2013-05-03 10:02:26,978::utils::412::vm.Vm::(collect) vmId=`900da72e-687f-4f53-b54a-f8da73ae8bbe`::Stats function failed: <AdvancedStatsFunction _s ampleDisk at 0x259fc38>
709 Traceback (most recent call last):
710 File "/usr/lib64/python2.6/site-packages/vdsm/utils.py", line 408, in collect
711 statsFunction()
712 File "/usr/lib64/python2.6/site-packages/vdsm/utils.py", line 283, in __call__
713 retValue = self._function(*args, **kwargs)
714 File "/usr/share/vdsm/libvirtvm.py", line 147, in _sampleDisk
715 diskSamples[vmDrive.name] = self._vm._dom.blockStats(vmDrive.name)
716 File "/usr/share/vdsm/libvirtvm.py", line 515, in f
717 ret = attr(*args, **kwargs)
718 File "/usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py", line 83, in wrapper
719 ret = f(*args, **kwargs)
720 File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1686, in blockStats
721 if ret is None: raise libvirtError ('virDomainBlockStats() failed', dom=self)
722 libvirtError: Requested operation is not valid: domain is not running
723 Thread-52180::ERROR::2013-05-03 10:02:26,999::utils::412::vm.Vm::(collect) vmId=`900da72e-687f-4f53-b54a-f8da73ae8bbe`::Stats function failed: <AdvancedStatsFunction _s ampleDiskLatency at 0x2598e70>
724 Traceback (most recent call last):
689 Thread-52180::DEBUG::2013-05-03 10:02:26,947::task::568::TaskManager.Task::(_updateState) Task=`958a52ab-d9ca-4410-8611-c3dfeee3fcd4`::moving from state preparing -> state finished
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20130506/357e24ea/attachment-0001.html>
More information about the Users
mailing list