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

[Xen-devel] Unexpected error: exceptions.OSError


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Phil Winterfield (winterfi)" <winterfi@xxxxxxxxx>
  • Date: Thu, 13 Mar 2008 15:45:03 -0700
  • Authentication-results: sj-dkim-7; header.From=winterfi@xxxxxxxxx; dkim=pass ( sig from cisco.com/sjdkim7002 verified; );
  • Delivery-date: Thu, 13 Mar 2008 15:45:27 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AciFW+A+iDEjqc9cTLuEEQLv9glvnQ==
  • Thread-topic: Unexpected error: exceptions.OSError

The ‘xm create’ python script is taking an exception before ever launching the domU guest.  After looking at the archives, this seems to occur frequently enough but for obscure and unexplained reasons.  In the cases where a resolution was found, it was usually by removing some option, e.g. vncviewer=1, in the config script.  My script is very simple and I don’t see much of anything to remove.  

 

Is there anyone who can shed some light on how to go about debugging these sorts of errors

 

Thanks,

Phil

 

 

[root@localhost ios]# xm create -c domain_config

Using config file "./domain_config".

Started domain IOSonXEN

Unexpected error: exceptions.OSError

 

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/python/xen/xm/main.py", line 2595, in main

    _, rc = _run_cmd(cmd, cmd_name, args)

  File "//usr/lib/python/xen/xm/main.py", line 2619, in _run_cmd

    return True, cmd(args)

  File "<string>", line 1, in <lambda>

  File "//usr/lib/python/xen/xm/main.py", line 1315, in xm_importcommand

    cmd.main([command] + args)

  File "//usr/lib/python/xen/xm/create.py", line 1197, in main

    do_console(sxp.child_value(config, 'name', -1))

  File "//usr/lib/python/xen/xm/create.py", line 1219, in do_console

    (p, rv) = os.waitpid(cpid, os.WNOHANG)

OSError: [Errno 10] No child processes

[root@localhost ios]# cat domain_config

#  -*- mode: python; -*-

#============================================================================

# Python configuration setup for 'xm create'.

# This script sets the parameters used when a domain is created using 'xm create'.

# You use a separate script for each domain you want to create, or

# you can set the parameters for the domain on the xm command line.

#============================================================================

 

#----------------------------------------------------------------------------

# Kernel image file.

kernel = "i86linux-i-m"

 

# Initial memory allocation (in megabytes) for the new domain.

memory =512

 

# A name for your domain. All domains must have different names.

name = "IOSonXEN"

 

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

 


Rackspace

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