[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-bugs] [Bug 371] New: xm block-list:Unexpected error: exceptions.UnicodeError



http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=371

           Summary: xm block-list:Unexpected error: exceptions.UnicodeError
           Product: Xen
           Version: unstable
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: lge@xxxxxxxxxx
                CC: hohnbaum@xxxxxxxxxx,pl@xxxxxxxxxx


Changeset:7502

I have seen this problem only on x86-64 with SLES9. It works fine on x86-64 with
FC4 and on x86-32 with RHEL4 or SLES9.

Here is the error:

bl2-2:ß # xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      245     1 r-----    37.1
vm1                                1      511     1 -b----     7.2
bl2-2:ß # xm block-list 1
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
748, in main
    rc = cmd(args)
  File "/tmp/xen-unstable.hg/dist/install/usr/lib64/python/xen/xm/main.py", line
563, in xm_block_list
    for x in server.xend_domain_devices(dom, 'vbd'):
  File
"/tmp/xen-unstable.hg/dist/install/usr/lib64/python/xen/xend/XendClient.py",
line 310, in xend_domain_devices
    ä'op'      : 'devices',
  File
"/tmp/xen-unstable.hg/dist/install/usr/lib64/python/xen/xend/XendClient.py",
line 153, in xendPost
    return self.client.xendPost(url, data)
  File
"/tmp/xen-unstable.hg/dist/install/usr/lib64/python/xen/xend/XendProtocol.py",
line 101, in xendPost
    return self.xendRequest(url, "POST", args)
  File
"/tmp/xen-unstable.hg/dist/install/usr/lib64/python/xen/xend/XendProtocol.py",
line 171, 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

This makes a lot of block related xm-test testcases fail on x86-64.

-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.