I am trying to create a domain. The error I receive from xm is very
generic and I cannot readily see what is wrong:
This is what I get
xm create xen-domain-config
Using config file "xen-domain-config".
/usr/lib/python2.4/xmllib.py:9: DeprecationWarning: The xmllib module is
obsolete. Use xml.sax instead.
warnings.warn("The xmllib module is obsolete. Use xml.sax instead.",
DeprecationWarning)
Error: (22, 'Invalid argument')
My configuration file is very simple:
# -*- 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 = "/home/j9/bin/j9"
# Initial memory allocation (in megabytes) for the new domain.
memory = 32
# A name for your domain. All domains must have different names.
name = "J9-Lib-OS"
on_crash = 'destroy'
From xend.log
[2006-08-19 20:39:03 xend.XendDomainInfo 4453] DEBUG
(XendDomainInfo:186) XendDomainInfo.create(['vm', ['name', 'J9-Lib-OS'],
['memory', 32], ['on_crash', 'destroy'], ['vcpus', 1], ['image',
['linux', ['kernel', '/home/j9/bin/j9']]]])
[2006-08-19 20:39:03 xend.XendDomainInfo 4453] DEBUG
(XendDomainInfo:292) parseConfig: config is ['vm', ['name',
'J9-Lib-OS'], ['memory', 32], ['on_crash', 'destroy'], ['vcpus', 1],
['image', ['linux', ['kernel', '/home/j9/bin/j9']]]]
[2006-08-19 20:39:03 xend.XendDomainInfo 4453] DEBUG
(XendDomainInfo:391) parseConfig: result is {'uuid': None, 'on_crash':
'destroy', 'on_reboot': None, 'localtime': None, 'image': ['linux',
['kernel', '/home/j9/bin/j9']], 'on_poweroff': None, 'bootloader_args':
None, 'cpus': None, 'name': 'J9-Lib-OS', 'backend': [], 'vcpus': 1,
'cpu_weight': None, 'features': None, 'vcpu_avail': None, 'memory': 32,
'device': [], 'bootloader': None, 'cpu': None, 'maxmem': None}
[2006-08-19 20:39:03 xend.XendDomainInfo 4453] DEBUG
(XendDomainInfo:1219) XendDomainInfo.construct: None
[2006-08-19 20:39:03 xend.XendDomainInfo 4453] DEBUG
(XendDomainInfo:1251) XendDomainInfo.initDomain: 1 1.0
[2006-08-19 20:39:03 xend.XendDomainInfo 4453] ERROR
(XendDomainInfo:198) Domain construction failed
Traceback (most recent call last):
File "/home/j9/xen-tools/usr/lib/python/xen/xend/XendDomainInfo.py",
line 191, in create
vm.initDomain()
File "/home/j9/xen-tools/usr/lib/python/xen/xend/XendDomainInfo.py",
line 1318, in initDomain
raise VmError(str(exn))
VmError: (22, 'Invalid argument')
[2006-08-19 20:39:03 xend.XendDomainInfo 4453] DEBUG
(XendDomainInfo:1404) XendDomainInfo.destroy: domid=1
[2006-08-19 20:39:03 xend.XendDomainInfo 4453] DEBUG
(XendDomainInfo:1412) XendDomainInfo.destroyDomain(1)
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
|