Hi all
I've got a working domain0 installed on Gentoo using the latest eBuilds.
The systems boots fine into dom0 and I haven't noticed any instabilities
so far.
Unfortunately whenever I try to create an unprivileged domU, my xend
crashes and I get a paused broken domain.
kings2 xen # xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 489 2 r----- 9877.4
kings2 xen # xm create -c /etc/xen/xmexodus1
Using config file "/etc/xen/xmexodus1".
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 "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 897, in main
rc = cmd(args)
File "<string>", line 1, in <lambda>
File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 533, in
xm_subcommand
cmd.main([command] + args)
File "/usr/lib/python2.4/site-packages/xen/xm/create.py", line 850, in
main
dom = make_domain(opts, config)
File "/usr/lib/python2.4/site-packages/xen/xm/create.py", line 788, in
make_domain
dominfo = server.xend_domain_create(config)
File "/usr/lib/python2.4/site-packages/xen/xend/XendClient.py", line
207, in xend_domain_create
{'op' : 'create',
File "/usr/lib/python2.4/site-packages/xen/xend/XendClient.py", line
153, in xendPost
return self.client.xendPost(url, data)
File "/usr/lib/python2.4/site-packages/xen/xend/XendProtocol.py", line
101, in xendPost
return self.xendRequest(url, "POST", args)
File "/usr/lib/python2.4/site-packages/xen/xend/XendProtocol.py", line
172, in xendRequest
resp = conn.getresponse()
File "/usr/lib/python2.4/httplib.py", line 863, in getresponse
response.begin()
File "/usr/lib/python2.4/httplib.py", line 333, in begin
version, status, reason = self._read_status()
File "/usr/lib/python2.4/httplib.py", line 297, in _read_status
raise BadStatusLine(line)
httplib.BadStatusLine
At that point my xend.log file looks like (no error msgs):
[2005-12-29 23:23:15 xend.XendDomainInfo] DEBUG (XendDomainInfo:176)
XendDomainInfo.create(['vm', ['name', 'Domain-1'], ['memory', '256'],
['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12.6-xenU'], ['root',
'/dev/hdc1 ro'], ['vcpus', '1'], ['vcpus', '1'], ['boot', 'c']]],
['device', ['vbd', ['uname', 'phy:vg_system/exodus_root'], ['dev',
'hda1'], ['mode', 'w']]], ['device', ['vbd', ['uname',
'file:/export/virtualcd/Tools/install-x86-universal-2005.1-r1.iso'],
['dev', 'hdc1'], ['mode', 'r']]]])
[2005-12-29 23:23:15 xend.XendDomainInfo] DEBUG (XendDomainInfo:281)
parseConfig: config is ['vm', ['name', 'Domain-1'], ['memory', '256'],
['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12.6-xenU'], ['root',
'/dev/hdc1 ro'], ['vcpus', '1'], ['vcpus', '1'], ['boot', 'c']]],
['device', ['vbd', ['uname', 'phy:vg_system/exodus_root'], ['dev',
'hda1'], ['mode', 'w']]], ['device', ['vbd', ['uname',
'file:/export/virtualcd/Tools/install-x86-universal-2005.1-r1.iso'],
['dev', 'hdc1'], ['mode', 'r']]]]
[2005-12-29 23:23:15 xend.XendDomainInfo] DEBUG (XendDomainInfo:373)
parseConfig: result is {'ssidref': None, 'uuid': None, 'on_crash': None,
'on_reboot': None, 'image': ['linux', ['kernel',
'/boot/vmlinuz-2.6.12.6-xenU'], ['root', '/dev/hdc1 ro'], ['vcpus',
'1'], ['vcpus', '1'], ['boot', 'c']], 'on_poweroff': None, 'cpus': None,
'name': 'Domain-1', 'backend': [], 'vcpus': 1, 'cpu_weight': None,
'vcpu_avail': None, 'memory': 256, 'device': [('vbd', ['vbd', ['uname',
'phy:vg_system/exodus_root'], ['dev', 'hda1'], ['mode', 'w']]), ('vbd',
['vbd', ['uname',
'file:/export/virtualcd/Tools/install-x86-universal-2005.1-r1.iso'],
['dev', 'hdc1'], ['mode', 'r']])], 'bootloader': None, 'cpu': None,
'maxmem': None}
[2005-12-29 23:23:15 xend.XendDomainInfo] DEBUG (XendDomainInfo:1123)
XendDomainInfo.construct: None 0
[2005-12-29 23:23:15 xend.XendDomainInfo] DEBUG (XendDomainInfo:1155)
XendDomainInfo.initDomain: 22 1.0
[2005-12-29 23:23:15 xend] DEBUG (balloon:47) Balloon: free 513; need 257.
[2005-12-29 23:23:15 xend] INFO (image:132) buildDomain os=linux dom=22
vcpus=1
[2005-12-29 23:23:15 xend] DEBUG (image:170) dom = 22
[2005-12-29 23:23:15 xend] DEBUG (image:171) image =
/boot/vmlinuz-2.6.12.6-xenU
[2005-12-29 23:23:15 xend] DEBUG (image:172) store_evtchn = 1
[2005-12-29 23:23:15 xend] DEBUG (image:173) console_evtchn = 2
[2005-12-29 23:23:15 xend] DEBUG (image:174) cmdline =
root=/dev/hdc1 ro
[2005-12-29 23:23:15 xend] DEBUG (image:175) ramdisk =
[2005-12-29 23:23:15 xend] DEBUG (image:176) vcpus = 1
As soon as I restart xend, it recovers my new domain, but there is still
no output:
[2005-12-29 23:23:53 xend] INFO (SrvDaemon:268) Xend Daemon started
[2005-12-29 23:23:53 xend] INFO (SrvDaemon:272) Xend changeset:
unavailable .
[2005-12-29 23:23:53 xend.XendDomainInfo] DEBUG (XendDomainInfo:198)
XendDomainInfo.recreate({'paused': 0, 'cpu_time': 9069310723648L,
'ssidref': 0, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0], 'shutdown_reason': 0, 'dying': 0, 'dom': 0, 'mem_kb': 500736,
'maxmem_kb': -4, 'max_vcpu_id': 1, 'crashed': 0, 'running': 1,
'shutdown': 0, 'online_vcpus': 2, 'blocked': 0})
[2005-12-29 23:23:53 xend.XendDomainInfo] INFO (XendDomainInfo:210)
Recreating domain 0, UUID 00000000-00000000-00000000-00000000.
[2005-12-29 23:23:53 xend] DEBUG (XendDomain:151) number of vcpus to use
is 0
[2005-12-29 23:23:53 xend.XendDomainInfo] DEBUG (XendDomainInfo:198)
XendDomainInfo.recreate({'paused': 1, 'cpu_time': 0L, 'ssidref': 0,
'handle': [121, 203, 8, 122, 140, 182, 97, 200, 247, 152, 222, 246, 48,
180, 21, 61], 'shutdown_reason': 0, 'dying': 0, 'dom': 22, 'mem_kb':
262144, 'maxmem_kb': 262144, 'max_vcpu_id': 0, 'crashed': 0, 'running':
0, 'shutdown': 0, 'online_vcpus': 1, 'blocked': 0})
[2005-12-29 23:23:53 xend.XendDomainInfo] INFO (XendDomainInfo:210)
Recreating domain 22, UUID 79cb087a-8cb661c8-f798def6-30b4153d.
[2005-12-29 23:23:53 xend.XendDomainInfo] DEBUG (XendDomainInfo:655)
Storing VM details: {'ssidref': '0', 'uuid':
'79cb087a-8cb661c8-f798def6-30b4153d', 'on_reboot': 'restart',
'on_poweroff': 'destroy', 'name': 'Domain-22', 'vcpus': '1',
'vcpu_avail': '1', 'memory': '256', 'on_crash': 'restart', 'maxmem': '256'}
[2005-12-29 23:23:53 xend.XendDomainInfo] DEBUG (XendDomainInfo:680)
Storing domain details: {'cpu/0/availability': 'online',
'memory/target': '262144', 'name': 'Domain-22', 'console/limit':
'1048576', 'vm': '/vm/79cb087a-8cb661c8-f798def6-30b4153d', 'domid': '22'}
[2005-12-29 23:23:54 xend] INFO (SrvServer:112) unix
path=/var/lib/xend/xend-socket
xm list shows now:
kings2 xen # xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 489 2 r----- 10086.1
Domain-23 23 256 1 --p--- 0.0
My domain config looks like:
kernel = "/boot/vmlinuz-2.6.12.6-xenU"
memory = 256
name = "Domain-1"
vcpus = 1
nics=0
disk = [ 'phy:vg_system/exodus_root,hda1,w',
'file:/export/virtualcd/Tools/install-x86-universal-2005.1-r1.iso,hdc1,r' ]
root = "/dev/hdc1 ro"
I would really apreciate any ideas how to get this going or at least how
to debug it further.
Many thanks,
Rene
signature.asc
Description: OpenPGP digital signature
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|