[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] xen-tools-4.4.4 (SLES11): Unexpected error: <class 'xml.parsers.expat.ExpatError'>
Hi! WHen using "xm list test12 -l" that seems to be in pvgrub state, I get this error: --- Unexpected error: <class 'xml.parsers.expat.ExpatError'> Please report to xen-devel@xxxxxxxxxxxxx Traceback (most recent call last): File "/usr/sbin/xm", line 20, in <module> main.main(sys.argv) File "/usr/lib64/python2.6/site-packages/xen/xm/main.py", line 3976, in main _, rc = _run_cmd(cmd, cmd_name, args) File "/usr/lib64/python2.6/site-packages/xen/xm/main.py", line 4000, in _run_cmd return True, cmd(args) File "/usr/lib64/python2.6/site-packages/xen/xm/main.py", line 1044, in xm_list doms = getDomains(params, state, use_long, pool) File "/usr/lib64/python2.6/site-packages/xen/xm/main.py", line 991, in getDomains return [server.xend.domain(dom, full) for dom in domain_names] File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__ return self.__send(self.__name, args) File "/usr/lib64/python2.6/site-packages/xen/util/xmlrpcclient.py", line 124, in __request response = xmlrpclib.ServerProxy.__request(self, methodname, params) File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request verbose=self.__verbose File "/usr/lib64/python2.6/site-packages/xen/util/xmlrpcclient.py", line 56, in request request_body, verbose) File "/usr/lib64/python2.6/xmlrpclib.py", line 1253, in request return self._parse_response(h.getfile(), sock) File "/usr/lib64/python2.6/xmlrpclib.py", line 1387, in _parse_response p.feed(response) File "/usr/lib64/python2.6/xmlrpclib.py", line 601, in feed self._parser.Parse(data, 0) xml.parsers.expat.ExpatError: not well-formed (invalid token): line 280, column 25 --- From strace I can see this output (why are you receiving HTTP responses one character at a time, BTW?): --- recvfrom(3, "H", 1, 0, NULL, NULL) = 1 recvfrom(3, "T", 1, 0, NULL, NULL) = 1 recvfrom(3, "T", 1, 0, NULL, NULL) = 1 recvfrom(3, "P", 1, 0, NULL, NULL) = 1 recvfrom(3, "/", 1, 0, NULL, NULL) = 1 recvfrom(3, "1", 1, 0, NULL, NULL) = 1 recvfrom(3, ".", 1, 0, NULL, NULL) = 1 recvfrom(3, "1", 1, 0, NULL, NULL) = 1 recvfrom(3, " ", 1, 0, NULL, NULL) = 1 recvfrom(3, "2", 1, 0, NULL, NULL) = 1 recvfrom(3, "0", 1, 0, NULL, NULL) = 1 recvfrom(3, "0", 1, 0, NULL, NULL) = 1 recvfrom(3, " ", 1, 0, NULL, NULL) = 1 recvfrom(3, "O", 1, 0, NULL, NULL) = 1 recvfrom(3, "K", 1, 0, NULL, NULL) = 1 recvfrom(3, "\r", 1, 0, NULL, NULL) = 1 [...] recvfrom(3, "\n", 1, 0, NULL, NULL) = 1 recvfrom(3, "C", 1, 0, NULL, NULL) = 1 recvfrom(3, "o", 1, 0, NULL, NULL) = 1 recvfrom(3, "n", 1, 0, NULL, NULL) = 1 recvfrom(3, "t", 1, 0, NULL, NULL) = 1 recvfrom(3, "e", 1, 0, NULL, NULL) = 1 recvfrom(3, "n", 1, 0, NULL, NULL) = 1 recvfrom(3, "t", 1, 0, NULL, NULL) = 1 recvfrom(3, "-", 1, 0, NULL, NULL) = 1 recvfrom(3, "L", 1, 0, NULL, NULL) = 1 recvfrom(3, "e", 1, 0, NULL, NULL) = 1 recvfrom(3, "n", 1, 0, NULL, NULL) = 1 recvfrom(3, "g", 1, 0, NULL, NULL) = 1 recvfrom(3, "t", 1, 0, NULL, NULL) = 1 recvfrom(3, "h", 1, 0, NULL, NULL) = 1 recvfrom(3, ":", 1, 0, NULL, NULL) = 1 recvfrom(3, " ", 1, 0, NULL, NULL) = 1 recvfrom(3, "1", 1, 0, NULL, NULL) = 1 recvfrom(3, "2", 1, 0, NULL, NULL) = 1 recvfrom(3, "5", 1, 0, NULL, NULL) = 1 recvfrom(3, "8", 1, 0, NULL, NULL) = 1 recvfrom(3, "3", 1, 0, NULL, NULL) = 1 recvfrom(3, "\r", 1, 0, NULL, NULL) = 1 recvfrom(3, "\n", 1, 0, NULL, NULL) = 1 recvfrom(3, "\r", 1, 0, NULL, NULL) = 1 recvfrom(3, "\n", 1, 0, NULL, NULL) = 1 recvfrom(3, "<?xml version='1.0'?>\n<methodResponse>\n<params>\n<param>\n<value> <array><data>\n<value><string>domain</string></value>\n<value><array><data>\n<va lue><string>domid</string></value>\n<value><int>23</int></value>\n</data></array ></value>\n<value><array><data>\n<value><string>cpu_weight</string></value>\n<va lue><int>256</int></value>\n</data></array></value>\n<value><array><data>\n<valu e><string>cpu_cap</string></value>\n<value><int>0</int></value>\n</data></array> </value>\n<value><array><data>\n<value><string>pool_name</string></value>\n<valu e><string>Pool-0</string></value>\n</data></array></value>\n<value><array><data> \n<value><string>bootloader</string></value>\n<value><string></string></value>\n </data></array></value>\n<value><array><data>\n<value><string>vcpus</string></va lue>\n<value><int>2</int></value>\n</data></array></value>\n<value><array><data> \n<value><string>cpus</string></value>\n<value><array><data>\n<value><array><dat a>\n</data></array></value>\n<value><array><data>\n</data></array></value>\n</da ta></array></value>\n</data></array", 1024, 0, NULL, NULL) = 1024 recvfrom(3, "></value>\n<value><array><data>\n<value><string>on_poweroff</string ></value>\n<value><string>destroy</string></value>\n</data></array></value>\n<va lue><array><data>\n<value><string>description</string></value>\n<value><string>T est for SLES12</string></value>\n</data></array></value>\n<value><array><data>\n <value><string>on_crash</string></value>\n<value><string>destroy</string></value >\n</data></array></value>\n<value><array><data>\n<value><string>uuid</string></ value>\n<value><string>33fd1b55-5048-b924-89f7-7badd34fd04f</string></value>\n</ data></array></value>\n<value><array><data>\n<value><string>bootloader_args</str ing></value>\n<value><string></string></value>\n</data></array></value>\n<value> <array><data>\n<value><string>name</string></value>\n<value><string>test12</stri ng></value>\n</data></array></value>\n<value><array><data>\n<value><string>on_re boot</string></value>\n<value><string>restart</string></value>\n</data></array>< /value>\n<value><array><data>\n<value><string>maxmem</string></value>\n<value><i nt>4096</int></value>\n</data", 1024, 0, NULL, NULL) = 1024 recvfrom(3, "></array></value>\n<value><array><data>\n<value><string>memory</str ing></value>\n<value><int>1024</int></value>\n</data></array></value>\n<value><a rray><data>\n<value><string>shadow_memory</string></value>\n<value><int>0</int>< /value>\n</data></array></value>\n<value><array><data>\n<value><string>features< /string></value>\n<value><string></string></value>\n</data></array></value>\n<va lue><array><data>\n<value><string>on_xend_start</string></value>\n<value><string >ignore</string></value>\n</data></array></value>\n<value><array><data>\n<value> <string>on_xend_stop</string></value>\n<value><string>ignore</string></value>\n< /data></array></value>\n<value><array><data>\n<value><string>start_time</string> </value>\n<value><double>1533211113.9450271</double></value>\n</data></array></v alue>\n<value><array><data>\n<value><string>cpu_time</string></value>\n<value><d ouble>468.09045542500002</double></value>\n</data></array></value>\n<value><arra y><data>\n<value><string>online_vcpus</string></value>\n<value><int>1</int></val ue>\n</data></array></value>\n", 1024, 0, NULL, NULL) = 1024 recvfrom(3, "<value><array><data>\n<value><string>image</string></value>\n<value ><array><data>\n<value><string>linux</string></value>\n<value><array><data>\n<va lue><string>kernel</string></value>\n<value><string>/usr/lib/grub2/x86_64-xen/gr ub.xen</string></value>\n</data></array></value>\n<value><array><data>\n<value>< string>args</string></value>\n<value><string>(hd1,0)/boot/grub/menu.lst</string> </value>\n</data></array></value>\n<value><array><data>\n<value><string>superpag es</string></value>\n<value><int>0</int></value>\n</data></array></value>\n<valu e><array><data>\n<value><string>videoram</string></value>\n<value><int>4</int></ value>\n</data></array></value>\n<value><array><data>\n<value><string>pci</strin g></value>\n<value><array><data>\n</data></array></value>\n</data></array></valu e>\n<value><array><data>\n<value><string>nomigrate</string></value>\n<value><int >0</int></value>\n</data></array></value>\n<value><array><data>\n<value><string> tsc_mode</string></value>\n<value><int>0</int></value>\n</data></array></value>\ n<value><array><data>\n<value><", 1024, 0, NULL, NULL) = 1024 recvfrom(3, "string>notes</string></value>\n<value><array><data>\n<value><string >ENTRY</string></value>\n<value><string>0</string></value>\n</data></array></val ue>\n<value><array><data>\n<value><string>XEN_VERSION</string></value>\n<value>< string>xen-3.0</string></value>\n</data></array></value>\n<value><array><data>\n <value><string>GUEST_OS</string></value>\n<value><string>GRUB2</string></value>\ n</data></array></value>\n<value><array><data>\n<value><string>VIRT_BASE</string ></value>\n<value><string>0</string></value>\n</data></array></value>\n<value><a rray><data>\n<value><string>LOADER</string></value>\n<value><string>generic</str ing></value>\n</data></array></value>\n</data></array></value>\n</data></array>< /value>\n</data></array></value>\n<value><array><data>\n<value><string>status</s tring></value>\n<value><int>2</int></value>\n</data></array></value>\n<value><ar ray><data>\n<value><string>state</string></value>\n<value><string>r-----</string ></value>\n</data></array></value>\n<value><array><data>\n<value><string>store_m fn</string></value>\n<value><in", 1024, 0, NULL, NULL) = 1024 recvfrom(3, "t>25971146</int></value>\n</data></array></value>\n<value><array><d ata>\n<value><string>console_mfn</string></value>\n<value><int>25971145</int></v alue>\n</data></array></value>\n<value><array><data>\n<value><string>device</str ing></value>\n<value><array><data>\n<value><string>vif</string></value>\n<value> <array><data>\n<value><string>bridge</string></value>\n<value><string>br0</strin g></value>\n</data></array></value>\n<value><array><data>\n<value><string>mac</s tring></value>\n<value><string>00:16:3e:7b:40:1d</string></value>\n</data></arra y></value>\n<value><array><data>\n<value><string>script</string></value>\n<value ><string>/etc/xen/scripts/vif-bridge</string></value>\n</data></array></value>\n <value><array><data>\n<value><string>uuid</string></value>\n<value><string>9eddd 812-cd72-29dd-6ad6-b59221548b00</string></value>\n</data></array></value>\n<valu e><array><data>\n<value><string>backend</string></value>\n<value><int>0</int></v alue>\n</data></array></value>\n</data></array></value>\n</data></array></value> \n<value><array><data>\n<value", 1024, 0, NULL, NULL) = 1024 recvfrom(3, "><string>device</string></value>\n<value><array><data>\n<value><str ing>vif</string></value>\n<value><array><data>\n<value><string>bridge</string></ value>\n<value><string>br1</string></value>\n</data></array></value>\n<value><ar ray><data>\n<value><string>mac</string></value>\n<value><string>00:16:3e:76:0f:d b</string></value>\n</data></array></value>\n<value><array><data>\n<value><strin g>script</string></value>\n<value><string>/etc/xen/scripts/vif-bridge</string></ value>\n</data></array></value>\n<value><array><data>\n<value><string>uuid</stri ng></value>\n<value><string>0c75804f-cb9b-c313-b175-9a02b4c3afff</string></value >\n</data></array></value>\n<value><array><data>\n<value><string>backend</string ></value>\n<value><int>0</int></value>\n</data></array></value>\n</data></array> </value>\n</data></array></value>\n<value><array><data>\n<value><string>device</ string></value>\n<value><array><data>\n<value><string>vif</string></value>\n<val ue><array><data>\n<value><string>bridge</string></value>\n<value><string>br2</st ring></value>\n</data></array", 1024, 0, NULL, NULL) = 1024 recvfrom(3, "></value>\n<value><array><data>\n<value><string>mac</string></value >\n<value><string>00:16:3e:7f:89:5f</string></value>\n</data></array></value>\n< value><array><data>\n<value><string>script</string></value>\n<value><string>/etc /xen/scripts/vif-bridge</string></value>\n</data></array></value>\n<value><array ><data>\n<value><string>uuid</string></value>\n<value><string>2b521d66-72d1-1247 -dba1-4d94d0e18524</string></value>\n</data></array></value>\n<value><array><dat a>\n<value><string>backend</string></value>\n<value><int>0</int></value>\n</data ></array></value>\n</data></array></value>\n</data></array></value>\n<value><arr ay><data>\n<value><string>device</string></value>\n<value><array><data>\n<value> <string>console</string></value>\n<value><array><data>\n<value><string>protocol< /string></value>\n<value><string>vt100</string></value>\n</data></array></value> \n<value><array><data>\n<value><string>location</string></value>\n<value><string >2</string></value>\n</data></array></value>\n<value><array><data>\n<value><stri ng>uuid</string></value>\n<val", 1024, 0, NULL, NULL) = 1024 recvfrom(3, "ue><string>8d12e528-2bbd-259e-0663-267b1cb7266b</string></value>\n< /data></array></value>\n</data></array></value>\n</data></array></value>\n<value ><array><data>\n<value><string>device</string></value>\n<value><array><data>\n<v alue><string>vbd</string></value>\n<value><array><data>\n<value><string>protocol </string></value>\n<value><string>x86_64-abi\0</string></value>\n</data></array> </value>\n<value><array><data>\n<value><string>uuid</string></value>\n<value><st ring>2d50d2bb-1518-439d-c338-2131fd266576</string></value>\n</data></array></val ue>\n<value><array><data>\n<value><string>bootable</string></value>\n<value><int >1</int></value>\n</data></array></value>\n<value><array><data>\n<value><string> dev</string></value>\n<value><string>xvda:cdrom</string></value>\n</data></array ></value>\n<value><array><data>\n<value><string>uname</string></value>\n<value>< string>file:/cfs/xen/images/SLES4SAP-12-SP3.iso</string></value>\n</data></array ></value>\n<value><array><data>\n<value><string>mode</string></value>\n<value><s tring>r</string></value>\n</d", 1024, 0, NULL, NULL) = 1024 --- This is from SLES11 SP4: rpm -qf $(which xm) xen-tools-4.4.4_34-61.32.1 Regards, Ulrich _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |