Skip to contentSkip to conversation

Unexpected error: httplib.BadStatusLine

DISCUSSION Tracy R Reed 2 participants 2 messages Sep 17, 2005 – Sep 19, 2005

lore
Share & tools
lore
#0 lore raw

[root@localhost ~]# /usr/sbin/xm create -c /etc/xen/mail.conf Using config file "/etc/xen/mail.conf".
Unexpected error: httplib.BadStatusLine

Please report to [email protected]
Traceback (most recent call last):
File "/usr/sbin/xm", line 10, in ?
main.main(sys.argv)
File "/usr/lib64/python/xen/xm/main.py", line 710, in main
rc = cmd(args)
File "/usr/lib64/python/xen/xm/main.py", line 176, in xm_create
create.main(args)
File "/usr/lib64/python/xen/xm/create.py", line 839, in main
dom = make_domain(opts, config)
File "/usr/lib64/python/xen/xm/create.py", line 739, in make_domain
dominfo = server.xend_domain_create(config)
File "/usr/lib64/python/xen/xend/XendClient.py", line 203, in
xend_domain_create

    {'op'      : 'create',

File "/usr/lib64/python/xen/xend/XendClient.py", line 155, in xendPost
return self.client.xendPost(url, data)
File "/usr/lib64/python/xen/xend/XendProtocol.py", line 97, in xendPost
return self.xendRequest(url, "POST", args)
File "/usr/lib64/python/xen/xend/XendProtocol.py", line 168, in
xendRequest
resp = conn.getresponse()
File "/usr/lib64/python2.4/httplib.py", line 862, in getresponse
response.begin()
File "/usr/lib64/python2.4/httplib.py", line 333, in begin
version, status, reason = self._read_status()
File "/usr/lib64/python2.4/httplib.py", line 297, in _read_status
raise BadStatusLine(line)
httplib.BadStatusLine

This is from unstable downloaded on 9/15.

It would be nice if xm supported --version which includes a version number or date in the case of unstable which I can include in bug reports

Signature · 2 lines
Tracy R Reed
http://ultraviolet.org
#1 lore raw
Quoted 2 lines · Tracy R Reed

It would be nice if xm supported --version which includes a version number or date in the case of unstable which I can include in bug reports

Hi Tracy,

If you have xend up and running, you can use "xm info", which amongst other things will give you a line like this:

xen_changeset : Sat Sep 17 22:34:34 2005 +0100 702e7f173465

The number at the end (which may be much longer sometimes) is the changeset ID, which you can use as a version reference against the unstable tree. You can also put this into the search facility at

http://lxr.xensource.com/lxr-unstable/ident

Cheers,

Ewan.