Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 947461

Summary: Vdsm XMLRPC handling crashes in case of parsing nonASCII character causing communication between rhevm and host to fail
Product: Red Hat Enterprise Virtualization Manager Reporter: Tomas Dosek <tdosek>
Component: vdsmAssignee: Michal Skrivanek <michal.skrivanek>
Status: CLOSED DUPLICATE QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: 3.1.3CC: acathrow, bazulay, hateya, iheim, lpeer, michal.skrivanek, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-02 15:47:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 947014, 951609    
Attachments:
Description Flags
vdsm log none

Description Tomas Dosek 2013-04-02 13:19:57 UTC
Created attachment 730765 [details]
vdsm log

Description of problem:

If XMLRPC handles VM stats with nonASCII characters it throws and error and stops responding to queries.

For Example VMstats please refer to bgu: https://bugzilla.redhat.com/show_bug.cgi?id=947014

Version-Release number of selected component (if applicable):
[root@h-p-08 ~]# rpm -qa | grep vdsm
vdsm-cli-4.10.2-1.8.el6ev.noarch
vdsm-reg-4.10.2-1.8.el6ev.noarch
vdsm-xmlrpc-4.10.2-1.8.el6ev.noarch
vdsm-4.10.2-1.8.el6ev.x86_64
vdsm-python-4.10.2-1.8.el6ev.x86_64

How reproducible:
100 % 

Steps to Reproduce:
1. Have a machine with tools installed and application with nonASCII name installed

Actual results:
XMLRPC fails to deserialize JSON object and gets stuck

Expected results:
Should not get stuck

Additional info: attaching vdsm log, due to size of sosreport I cannot upload it to BZ, please let me know if you need any specific files from it

Comment 1 Itamar Heim 2013-04-02 15:07:54 UTC
close duplicate of bug 888732?