In my experience, httplib.BadStatusLine is a result of xend dying,
rather than the other way around...
It's possible to (sort of) debug xend by attaching a GDB to the process
running xend - start xend as usual, "ps ax|grep xend", and pick out the
process number for xend, then start gdb and do "attach X" where X is the
process ID of the xend process ["python xend start" or similar]. At
least you may have a chance of seeing why xend dies.
--
Mats
> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
> Murillo F. Bernardes
> Sent: 22 November 2005 18:05
> To: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-devel] Unexpected error: httplib.BadStatusLine
> on create tests
>
> For a long time I can't run xm-test completely because of
> that error. After this happen xend dies and i get only
> connection refused.
>
> It use to be always on create tests, but not always in the same test.
>
> Any ideas?
>
> --
>
> *** Test 10_create_fastdestroy started at Tue Nov 22 17:51:59
> 2005 UTC [dom0] Running `xm create /dev/null
> ramdisk=../../ramdisk/initrd.img
> kernel=/boot/vmlinuz-2.6.12.6-xenU name=testdomain nic s=0
> vcpus=1 memory=64 root=/dev/ram0'
> Using config file "/dev/null".
> Started domain testdomain
> [dom0] Running `xm destroy testdomain'
>
> [dom0] Running `xm create /dev/null
> ramdisk=../../ramdisk/initrd.img
> kernel=/boot/vmlinuz-2.6.12.6-xenU name=testdomain nic s=0
> vcpus=1 memory=64 root=/dev/ram0'
> Using config file "/dev/null".
> Started domain testdomain
> [dom0] Running `xm destroy testdomain'
>
> [dom0] Running `xm create /dev/null
> ramdisk=../../ramdisk/initrd.img
> kernel=/boot/vmlinuz-2.6.12.6-xenU name=testdomain nic s=0
> vcpus=1 memory=64 root=/dev/ram0'
> Using config file "/dev/null".
> Started domain testdomain
> [dom0] Running `xm destroy testdomain'
>
> [dom0] Running `xm create /dev/null
> ramdisk=../../ramdisk/initrd.img
> kernel=/boot/vmlinuz-2.6.12.6-xenU name=testdomain nic s=0
> vcpus=1 memory=64 root=/dev/ram0'
> Using config file "/dev/null".
> Started domain testdomain
> [dom0] Running `xm destroy testdomain'
> [dom0] Running `xm create /dev/null
> ramdisk=../../ramdisk/initrd.img
> kernel=/boot/vmlinuz-2.6.12.6-xenU name=testdomain nics=0
> vcpus=1 memory=64 root=/dev/ram0'
> Using config file "/dev/null".
> Unexpected error: httplib.BadStatusLine
>
> Please report to xen-devel@xxxxxxxxxxxxxxxxxxx Traceback
> (most recent call last):
> File "/usr/sbin/xm", line 10, in ?
> main.main(sys.argv)
> File
> "/home/root/xen-hg/xen-unstable.hg/dist/install/usr/lib/python
> /xen/xm/main.py",
> line 875, in main
> rc = cmd(args)
> File "<string>", line 1, in <lambda>
> File
> "/home/root/xen-hg/xen-unstable.hg/dist/install/usr/lib/python
> /xen/xm/main.py",
> line 507, in xm_subcommand
> cmd.main(["bogus"] + args)
> File
> "/home/root/xen-hg/xen-unstable.hg/dist/install/usr/lib/python
> /xen/xm/create.py",
> line 932, in main
> dom = make_domain(opts, config)
> File
> "/home/root/xen-hg/xen-unstable.hg/dist/install/usr/lib/python
> /xen/xm/create.py",
> line 810, in make_domain
> dominfo = server.xend_domain_create(config)
> File
> "/home/root/xen-hg/xen-unstable.hg/dist/install/usr/lib/python
> /xen/xend/XendClient.py",
> line 207, in xend_domain_create
> {'op' : 'create',
> File
> "/home/root/xen-hg/xen-unstable.hg/dist/install/usr/lib/python
> /xen/xend/XendClient.py",
> line 153, in xendPost
> return self.client.xendPost(url, data)
> File
> "/home/root/xen-hg/xen-unstable.hg/dist/install/usr/lib/python
> /xen/xend/XendProtocol.py",
> line 101, in xendPost
> return self.xendRequest(url, "POST", args)
> File
> "/home/root/xen-hg/xen-unstable.hg/dist/install/usr/lib/python
> /xen/xend/XendProtocol.py",
> line 172, in xendRequest
> resp = conn.getresponse()
> File "/usr/lib/python2.3/httplib.py", line 781, in getresponse
> response.begin()
> File "/usr/lib/python2.3/httplib.py", line 273, in begin
> version, status, reason = self._read_status()
> File "/usr/lib/python2.3/httplib.py", line 237, in _read_status
> raise BadStatusLine(line)
> httplib.BadStatusLine
>
> --
> Murillo Fernandes Bernardes
> IBM Linux Technology Center
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|