Description of problem:
3.2.7 Guest Agent doest not report data.
Version-Release number of selected component (if applicable):
3.2.7/sf16.1 - Windows XP SP3 as guest OS
vdsm-4.10.2-18.0.el6ev.x86_64
How reproducible:
100%
Steps to Reproduce:
1. install above version of GA
2. check log, check getVmStats on host
3.
Actual results:
GA does not report data
Expected results:
GA should report the data
Additional info:
Install.rhev-agent-servece log:
===============================
Dummy-1::INFO::2013-05-12 21:04:54,983::ovirtguestservice::50::root::Starting OVirt Guest Agent service
Dummy-2::INFO::2013-05-12 21:04:54,983::ovirtagentlogic::139::root::Received an external command: refresh...
Dummy-2::ERROR::2013-05-12 21:04:54,983::ovirtagentlogic::135::root::Error while reading the virtio-serial channel.
Traceback (most recent call last):
File "OVirtAgentLogic.pyc", line 133, in doListen
File "OVirtAgentLogic.pyc", line 163, in parseCommand
File "OVirtAgentLogic.pyc", line 180, in sendUserInfo
File "VirtIoChannel.pyc", line 144, in write
File "VirtIoChannel.pyc", line 83, in _filter_object
File "VirtIoChannel.pyc", line 74, in filt
File "VirtIoChannel.pyc", line 78, in filt
File "VirtIoChannel.pyc", line 80, in filt
File "VirtIoChannel.pyc", line 42, in _string_check
TypeError: encode() argument 1 must be string, not None
Dummy-1::INFO::2013-05-12 21:18:34,342::ovirtguestservice::50::root::Starting OVirt Guest Agent service
Dummy-1::INFO::2013-05-13 00:01:13,312::ovirtguestservice::50::root::Starting OVirt Guest Agent service
Dummy-2::INFO::2013-05-13 00:01:13,953::ovirtagentlogic::139::root::Received an external command: refresh...
Dummy-2::ERROR::2013-05-13 00:01:13,953::ovirtagentlogic::135::root::Error while reading the virtio-serial channel.
Traceback (most recent call last):
File "OVirtAgentLogic.pyc", line 133, in doListen
File "OVirtAgentLogic.pyc", line 163, in parseCommand
File "OVirtAgentLogic.pyc", line 180, in sendUserInfo
File "VirtIoChannel.pyc", line 144, in write
File "VirtIoChannel.pyc", line 83, in _filter_object
File "VirtIoChannel.pyc", line 74, in filt
File "VirtIoChannel.pyc", line 78, in filt
File "VirtIoChannel.pyc", line 80, in filt
File "VirtIoChannel.pyc", line 42, in _string_check
TypeError: encode() argument 1 must be string, not None
Dummy-2::INFO::2013-05-13 00:06:22,483::ovirtagentlogic::139::root::Received an external command: refresh...
Dummy-2::ERROR::2013-05-13 00:06:22,500::ovirtagentlogic::135::root::Error while reading the virtio-serial channel.
Traceback (most recent call last):
File "OVirtAgentLogic.pyc", line 133, in doListen
File "OVirtAgentLogic.pyc", line 163, in parseCommand
File "OVirtAgentLogic.pyc", line 180, in sendUserInfo
File "VirtIoChannel.pyc", line 144, in write
File "VirtIoChannel.pyc", line 83, in _filter_object
File "VirtIoChannel.pyc", line 74, in filt
File "VirtIoChannel.pyc", line 78, in filt
File "VirtIoChannel.pyc", line 80, in filt
File "VirtIoChannel.pyc", line 42, in _string_check
TypeError: encode() argument 1 must be string, not None
Dummy-2::INFO::2013-05-13 02:09:49,983::ovirtagentlogic::139::root::Received an external command: refresh...
Dummy-2::ERROR::2013-05-13 02:09:49,983::ovirtagentlogic::135::root::Error while reading the virtio-serial channel.
Traceback (most recent call last):
File "OVirtAgentLogic.pyc", line 133, in doListen
File "OVirtAgentLogic.pyc", line 163, in parseCommand
File "OVirtAgentLogic.pyc", line 180, in sendUserInfo
File "VirtIoChannel.pyc", line 144, in write
File "VirtIoChannel.pyc", line 83, in _filter_object
File "VirtIoChannel.pyc", line 74, in filt
File "VirtIoChannel.pyc", line 78, in filt
File "VirtIoChannel.pyc", line 80, in filt
vdsClient -s0 getVmStats $UUID
==============================
# vdsClient -s 0 getVmStats 5e20c541-aaca-4627-bbc5-cd0d19d5e893
5e20c541-aaca-4627-bbc5-cd0d19d5e893
Status = Up
username = Unknown
memUsage = 0
acpiEnable = true
session = Unknown
displaySecurePort = 5901
timeOffset = -43202
balloonInfo = {'balloon_max': 1048576, 'balloon_cur': 1048576}
pauseCode = NOERR
network = {'vnet0': {'macAddr': '00:1a:4a:e0:3f:c3', 'rxDropped': '0', 'txDropped': '0', 'rxErrors': '0', 'txRate': '0.0', 'rxRate': '0.0', 'txErrors': '0', 'state': 'unknown', 'speed': '1000', 'name': 'vnet0'}}
vmType = kvm
cpuUser = 0.75
elapsedTime = 63202
displayType = qxl
cpuSys = 2.80
appsList = []
hash = -2296788189011250522
pid = 23918
displayIp = 10.34.63.222
displayPort = 5900
guestIPs =
kvmEnable = true
disks = {'vda': {'readLatency': '0', 'apparentsize': '2117140480', 'writeLatency': '2299999', 'imageID': '8d92254e-c574-4919-8be1-7178bbce912e', 'flushLatency': '0', 'readRate': '0.00', 'truesize': '2118074368', 'writeRate': '2029.48'}, 'hdc': {'readLatency': '0', 'apparentsize': '0', 'writeLatency': '0', 'flushLatency': '0', 'readRate': '0.00', 'truesize': '0', 'writeRate': '0.00'}}
monitorResponse = 0
statsAge = 0.70
clientIp = 10.34.131.103
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-0925.html
Description of problem: 3.2.7 Guest Agent doest not report data. Version-Release number of selected component (if applicable): 3.2.7/sf16.1 - Windows XP SP3 as guest OS vdsm-4.10.2-18.0.el6ev.x86_64 How reproducible: 100% Steps to Reproduce: 1. install above version of GA 2. check log, check getVmStats on host 3. Actual results: GA does not report data Expected results: GA should report the data Additional info: Install.rhev-agent-servece log: =============================== Dummy-1::INFO::2013-05-12 21:04:54,983::ovirtguestservice::50::root::Starting OVirt Guest Agent service Dummy-2::INFO::2013-05-12 21:04:54,983::ovirtagentlogic::139::root::Received an external command: refresh... Dummy-2::ERROR::2013-05-12 21:04:54,983::ovirtagentlogic::135::root::Error while reading the virtio-serial channel. Traceback (most recent call last): File "OVirtAgentLogic.pyc", line 133, in doListen File "OVirtAgentLogic.pyc", line 163, in parseCommand File "OVirtAgentLogic.pyc", line 180, in sendUserInfo File "VirtIoChannel.pyc", line 144, in write File "VirtIoChannel.pyc", line 83, in _filter_object File "VirtIoChannel.pyc", line 74, in filt File "VirtIoChannel.pyc", line 78, in filt File "VirtIoChannel.pyc", line 80, in filt File "VirtIoChannel.pyc", line 42, in _string_check TypeError: encode() argument 1 must be string, not None Dummy-1::INFO::2013-05-12 21:18:34,342::ovirtguestservice::50::root::Starting OVirt Guest Agent service Dummy-1::INFO::2013-05-13 00:01:13,312::ovirtguestservice::50::root::Starting OVirt Guest Agent service Dummy-2::INFO::2013-05-13 00:01:13,953::ovirtagentlogic::139::root::Received an external command: refresh... Dummy-2::ERROR::2013-05-13 00:01:13,953::ovirtagentlogic::135::root::Error while reading the virtio-serial channel. Traceback (most recent call last): File "OVirtAgentLogic.pyc", line 133, in doListen File "OVirtAgentLogic.pyc", line 163, in parseCommand File "OVirtAgentLogic.pyc", line 180, in sendUserInfo File "VirtIoChannel.pyc", line 144, in write File "VirtIoChannel.pyc", line 83, in _filter_object File "VirtIoChannel.pyc", line 74, in filt File "VirtIoChannel.pyc", line 78, in filt File "VirtIoChannel.pyc", line 80, in filt File "VirtIoChannel.pyc", line 42, in _string_check TypeError: encode() argument 1 must be string, not None Dummy-2::INFO::2013-05-13 00:06:22,483::ovirtagentlogic::139::root::Received an external command: refresh... Dummy-2::ERROR::2013-05-13 00:06:22,500::ovirtagentlogic::135::root::Error while reading the virtio-serial channel. Traceback (most recent call last): File "OVirtAgentLogic.pyc", line 133, in doListen File "OVirtAgentLogic.pyc", line 163, in parseCommand File "OVirtAgentLogic.pyc", line 180, in sendUserInfo File "VirtIoChannel.pyc", line 144, in write File "VirtIoChannel.pyc", line 83, in _filter_object File "VirtIoChannel.pyc", line 74, in filt File "VirtIoChannel.pyc", line 78, in filt File "VirtIoChannel.pyc", line 80, in filt File "VirtIoChannel.pyc", line 42, in _string_check TypeError: encode() argument 1 must be string, not None Dummy-2::INFO::2013-05-13 02:09:49,983::ovirtagentlogic::139::root::Received an external command: refresh... Dummy-2::ERROR::2013-05-13 02:09:49,983::ovirtagentlogic::135::root::Error while reading the virtio-serial channel. Traceback (most recent call last): File "OVirtAgentLogic.pyc", line 133, in doListen File "OVirtAgentLogic.pyc", line 163, in parseCommand File "OVirtAgentLogic.pyc", line 180, in sendUserInfo File "VirtIoChannel.pyc", line 144, in write File "VirtIoChannel.pyc", line 83, in _filter_object File "VirtIoChannel.pyc", line 74, in filt File "VirtIoChannel.pyc", line 78, in filt File "VirtIoChannel.pyc", line 80, in filt vdsClient -s0 getVmStats $UUID ============================== # vdsClient -s 0 getVmStats 5e20c541-aaca-4627-bbc5-cd0d19d5e893 5e20c541-aaca-4627-bbc5-cd0d19d5e893 Status = Up username = Unknown memUsage = 0 acpiEnable = true session = Unknown displaySecurePort = 5901 timeOffset = -43202 balloonInfo = {'balloon_max': 1048576, 'balloon_cur': 1048576} pauseCode = NOERR network = {'vnet0': {'macAddr': '00:1a:4a:e0:3f:c3', 'rxDropped': '0', 'txDropped': '0', 'rxErrors': '0', 'txRate': '0.0', 'rxRate': '0.0', 'txErrors': '0', 'state': 'unknown', 'speed': '1000', 'name': 'vnet0'}} vmType = kvm cpuUser = 0.75 elapsedTime = 63202 displayType = qxl cpuSys = 2.80 appsList = [] hash = -2296788189011250522 pid = 23918 displayIp = 10.34.63.222 displayPort = 5900 guestIPs = kvmEnable = true disks = {'vda': {'readLatency': '0', 'apparentsize': '2117140480', 'writeLatency': '2299999', 'imageID': '8d92254e-c574-4919-8be1-7178bbce912e', 'flushLatency': '0', 'readRate': '0.00', 'truesize': '2118074368', 'writeRate': '2029.48'}, 'hdc': {'readLatency': '0', 'apparentsize': '0', 'writeLatency': '0', 'flushLatency': '0', 'readRate': '0.00', 'truesize': '0', 'writeRate': '0.00'}} monitorResponse = 0 statsAge = 0.70 clientIp = 10.34.131.103