changeset: 6967:7a45b8ccef01
tag: tip
user: kaf24@firebug.cl.cam.ac.uk
date: Wed Sep 21 05:13:11 2005 +0000
summary: Some cleanup in tpm-related files.
When attempting to save a domain on an x86_64 SLES 9 SP2 box, I get the
following error:
bl2-2:~ # xm save 1 /tmp/vm1-saved
Unexpected error: exceptions.UnicodeError
Please report to xen-devel@lists.xensource.com
Traceback (most recent call last):
File "/usr/sbin/xm", line 10, in ?
main.main(sys.argv)
File "/tmp/xen-
unstable.hg/dist/install/usr/lib64/python/xen/xm/main.py", line
717, in main
rc = cmd(args)
File "/tmp/xen-
unstable.hg/dist/install/usr/lib64/python/xen/xm/main.py", line
185, in xm_save
server.xend_domain_save(dom, savefile)
File
"/tmp/xen-
unstable.hg/dist/install/usr/lib64/python/xen/xend/XendClient.py",
line 244, in xend_domain_save
{''op'' : ''save'',
File
"/tmp/xen-
unstable.hg/dist/install/usr/lib64/python/xen/xend/XendClient.py",
line 155, in xendPost
return self.client.xendPost(url, data)
File
"/tmp/xen-
unstable.hg/dist/install/usr/lib64/python/xen/xend/XendProtocol.py",
line 97, in xendPost
return self.xendRequest(url, "POST", args)
File
"/tmp/xen-
unstable.hg/dist/install/usr/lib64/python/xen/xend/XendProtocol.py",
line 167, in xendRequest
conn.request(method, url.fullpath(), self.request.data,
self.request.headers)
File "/usr/lib64/python2.3/httplib.py", line 718, in request
self._send_request(method, url, body, headers)
File "/usr/lib64/python2.3/httplib.py", line 733, in _send_request
self.putrequest(method, url)
File "/usr/lib64/python2.3/httplib.py", line 667, in putrequest
self.putheader(''Host'', self.host.encode("idna"))
File "/usr/lib64/python2.3/encodings/idna.py", line 160, in encode
result.append(ToASCII(label))
File "/usr/lib64/python2.3/encodings/idna.py", line 72, in ToASCII
raise UnicodeError, "label too long"
UnicodeError: label too long
--
Also, when entering ''xm dmesg'' after the save attempt, I
received the
same message:
bl2-2:~ # xm dmesg
Unexpected error: exceptions.UnicodeError
Please report to xen-devel@lists.xensource.com
Traceback (most recent call last):
File "/usr/sbin/xm", line 10, in ?
main.main(sys.argv)
File "/tmp/xen-
unstable.hg/dist/install/usr/lib64/python/xen/xm/main.py", line
717, in main
rc = cmd(args)
File "/tmp/xen-
unstable.hg/dist/install/usr/lib64/python/xen/xm/main.py", line
486, in xm_dmesg
print server.xend_node_get_dmesg()
File
"/tmp/xen-
unstable.hg/dist/install/usr/lib64/python/xen/xend/XendClient.py",
line 184, in xend_node_get_dmesg
return self.xendGet(self.nodeurl(''dmesg''))
File
"/tmp/xen-
unstable.hg/dist/install/usr/lib64/python/xen/xend/XendClient.py",
line 152, in xendGet
return self.client.xendGet(url, args)
File
"/tmp/xen-
unstable.hg/dist/install/usr/lib64/python/xen/xend/XendProtocol.py",
line 86, in xendGet
return self.xendRequest(url, "GET", args)
File
"/tmp/xen-
unstable.hg/dist/install/usr/lib64/python/xen/xend/XendProtocol.py",
line 167, in xendRequest
conn.request(method, url.fullpath(), self.request.data,
self.request.headers)
File "/usr/lib64/python2.3/httplib.py", line 718, in request
self._send_request(method, url, body, headers)
File "/usr/lib64/python2.3/httplib.py", line 733, in _send_request
self.putrequest(method, url)
File "/usr/lib64/python2.3/httplib.py", line 667, in putrequest
self.putheader(''Host'', self.host.encode("idna"))
File "/usr/lib64/python2.3/encodings/idna.py", line 160, in encode
result.append(ToASCII(label))
File "/usr/lib64/python2.3/encodings/idna.py", line 72, in ToASCII
raise UnicodeError, "label too long"
UnicodeError: label too long
--
Regards,
David F Barrera
Linux Technology Center
Systems and Technology Group, IBM
"The wisest men follow their own direction. "
Euripides
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel