UnicodeError: label too long
changeset: 6967:7a45b8ccef01 tag: tip user: [email protected] 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 [email protected] 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 [email protected]
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
Signature · 8 lines
Regards,
David F Barrera
Linux Technology Center
Systems and Technology Group, IBM
"The wisest men follow their own direction. "
EuripidesI was seeing the exact some problem on my SLES9 SP2 yesterday.
Quoted 16 lines · David F Barrera
Date:
Wed, 21 Sep 2005 12:57:30 -0500changeset: 6967:7a45b8ccef01 tag: tip user: [email protected] 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_64SLES 9 SP2 box, I get the
following error:
Signature · 4 lines
Jerone Young IBM Linux Technology Center [email protected] 512-838-1157 (T/L: 678-1157)