Martin Kraus
2008-Oct-22 11:48 UTC
[Xen-users] xend OSError: [Errno 2] No such file or directory
Hi,
I''ve moved a domU (copied configuration and filesystem) from machine
with
debian xen hypervisor and utils 3.0.3 to a machine with debian
xen-hyperviso-unstable (3.3+hg17961) with utils 3.3 and the domU either
fails with with kernel panic, because it cannot mount root filesystem or
freezes before the kernel boots or I get something about
OSError: [Errno 2] No such file or directory
which I can''t simulate right now. I''ve noticed that xend
starts, but during
it''s start it says:
Starting XEN control daemon: xendTraceback (most recent call last):
File "/usr/lib/xen-unstable/bin/xend", line 146, in <module>
sys.exit(main())
File "/usr/lib/xen-unstable/bin/xend", line 123, in main
start_blktapctrl()
File "/usr/lib/xen-unstable/bin/xend", line 107, in start_blktapctrl
execute(''blktapctrl'')
File "/usr/lib/xen-unstable/lib/python/xen/util/auxbin.py", line 30,
in
execute
os.execv(exepath, a)
OSError: [Errno 2] No such file or directory
which I guess is related.
this is /var/log/xen/xend.log:
[2008-10-22 13:46:20 6248] INFO (SrvDaemon:331) Xend Daemon started
[2008-10-22 13:46:20 6248] INFO (SrvDaemon:335) Xend changeset: unavailable.
[2008-10-22 13:46:20 6248] DEBUG (XendDomainInfo:137)
XendDomainInfo.recreate({''max_vcpu_id'': 1,
''cpu_time'': 88189729194L,
''ssidref'': 4, ''hvm'': 0,
''shutdown_reason'': 0, ''dying'': 0,
''online_vcpus'': 2,
''domid'': 0, ''paused'': 0,
''crashed'': 0, ''running'': 1,
''maxmem_kb'': 4294967292L,
''shutdown'': 0, ''mem_kb'': 131308L,
''handle'': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0], ''blocked'': 0, ''name'':
''Domain-0''})
[2008-10-22 13:46:20 6248] INFO (XendDomainInfo:154) Recreating domain 0, UUID
00000000-0000-0000-0000-000000000000. at /local/domain/0
[2008-10-22 13:46:20 6248] DEBUG (XendDomainInfo:2703) Storing VM details:
{''on_xend_stop'': ''ignore'',
''shadow_memory'': ''0'',
''uuid'':
''00000000-0000-0000-0000-000000000000'',
''on_reboot'': ''restart'',
''image'':
''(linux (kernel ))'', ''on_poweroff'':
''destroy'', ''on_xend_start'':
''ignore'',
''on_crash'': ''restart'',
''xend/restart_count'': ''0'',
''vcpus'': ''2'',
''vcpu_avail'':
''3'', ''name'': ''Domain-0''}
[2008-10-22 13:46:20 6248] DEBUG (XendDomainInfo:1347) Storing domain details:
{''name'': ''Domain-0'',
''console/limit'': ''1048576'',
''memory/target'': ''131308'',
''vm'':
''/vm/00000000-0000-0000-0000-000000000000'',
''domid'': ''0'',
''security_label'': '''',
''cpu/0/availability'': ''online'',
''cpu/1/availability'':
''online'',
''control/platform-feature-multiprocessor-suspend'':
''1'',
''console/type'': ''xenconsoled''}
[2008-10-22 13:46:20 6248] DEBUG (XendDomain:447) Adding Domain: 0
[2008-10-22 13:46:20 6248] DEBUG (XendDomain:383) number of vcpus to use is 0
[2008-10-22 13:46:20 6248] DEBUG (XendDomainInfo:1431)
XendDomainInfo.handleShutdownWatch
[2008-10-22 13:46:20 6248] WARNING (XendAPI:684) API call: VBD.set_device not
found
[2008-10-22 13:46:20 6248] WARNING (XendAPI:684) API call: VBD.set_type not
found
[2008-10-22 13:46:20 6248] WARNING (XendAPI:684) API call:
session.get_all_records not found
[2008-10-22 13:46:20 6248] WARNING (XendAPI:684) API call: event.get_record
not found
[2008-10-22 13:46:20 6248] WARNING (XendAPI:684) API call: event.get_all not
found
[2008-10-22 13:46:20 6248] WARNING (XendAPI:684) API call:
VM.get_auto_power_on not found
[2008-10-22 13:46:20 6248] WARNING (XendAPI:684) API call:
VM.set_auto_power_on not found
[2008-10-22 13:46:20 6248] WARNING (XendAPI:684) API call: VIF.get_network not
found
[2008-10-22 13:46:20 6248] WARNING (XendAPI:684) API call: VIF.set_device not
found
[2008-10-22 13:46:20 6248] WARNING (XendAPI:684) API call: VIF.set_MAC not
found
[2008-10-22 13:46:20 6248] WARNING (XendAPI:684) API call: VIF.set_MTU not
found
[2008-10-22 13:46:20 6248] WARNING (XendAPI:684) API call: debug.get_all not
found
[2008-10-22 13:46:20 6248] INFO (XMLRPCServer:149) Opening Unix domain socket
XML-RPC server on /var/run/xend/xen-api.sock; authentication has been disabled
for this server.
[2008-10-22 13:46:20 6248] INFO (XMLRPCServer:149) Opening Unix domain socket
XML-RPC server on /var/run/xend/xmlrpc.sock.
the configuration and kernel version is same on both machines. is it something
wrong with this version of xen, or am I being just blind to the obvious?
thanks for help
martin
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Martin Kraus
2008-Oct-22 12:03 UTC
Re: [Xen-users] xend OSError: [Errno 2] No such file or directory
On Wed, Oct 22, 2008 at 01:48:23PM +0200, Martin Kraus wrote:>I''ve managed to get the domU error: Using config file "/etc/xen/proxy.cfg". Started domain proxy Unexpected error: <type ''exceptions.OSError''> Please report to xen-devel@lists.xensource.com Traceback (most recent call last): File "/usr/lib/xen-unstable/bin/xm", line 7, in <module> main.main(sys.argv) File "/usr/lib/xen-unstable/lib/python/xen/xm/main.py", line 2725, in main _, rc = _run_cmd(cmd, cmd_name, args) File "/usr/lib/xen-unstable/lib/python/xen/xm/main.py", line 2749, in _run_cmd return True, cmd(args) File "<string>", line 1, in <lambda> File "/usr/lib/xen-unstable/lib/python/xen/xm/main.py", line 1347, in xm_importcommand cmd.main([command] + args) File "/usr/lib/xen-unstable/lib/python/xen/xm/create.py", line 1347, in main do_console(sxp.child_value(config, ''name'', -1)) File "/usr/lib/xen-unstable/lib/python/xen/xm/create.py", line 1369, in do_console (p, rv) = os.waitpid(cpid, os.WNOHANG) OSError: [Errno 10] No child processes martin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users