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

[Xen-users] Hi - Regarding xend - xm create Error


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Mahendra Kutare <mahendra.kutare@xxxxxxxxx>
  • Date: Wed, 19 May 2010 11:47:55 -0400
  • Delivery-date: Wed, 19 May 2010 08:49:52 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=p93go4DIkdq4H4dYJ0p92aQHwrjsUqe0VYSpuqqAnubq2+WtQvB3iU8WxxxWTUBfJ1 k6G7MxB3HUutfopoi+eGBtA0aw61XrvsxZpzWui6MOaHNOqF4wlY1R2ywl8HeTvXgc+F nfbS8++yXha8gi3FTvzFKG1LWnCAMJEH8xjsE=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi,

I am able to get Xend running on Fedora 8 but when I try to create any
VM it fails.

The xm create osc.cfg throws following error -
[root@asds174 vm_images]# xm create osc.cfg
Modified
arg=osc.cfg
stop3
Using config file "./osc.cfg".
group_id=None
['create', 'osc.cfg']
Stop 1
None
['vm', ['name', 'osc'], ['memory', 512], ['vcpus', 1],
['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['image',
['linux', ['kernel', '/boot/vmlinuz-2.6.18.8-xen'], ['ramdisk',
'/boot/initrd-2.6.18-xen.img'], ['ip',
'138.15.164.190:127.0.255.255::::eth0:no'], ['root', '/dev/xvda1 ro'],
['args', 'xencons=tty']]], ['device', ['tap', ['uname',
'tap:aio:/vm_images/osc_0.img'], ['dev', 'xvda1'], ['mode', 'w']]],
['device', ['tap', ['uname', 'tap:aio:/vm_images/osc_0.swap'], ['dev',
'xvda2'], ['mode', 'w']]], ['device', ['vif', ['mac',
'00:16:3e:36:00:11']]]]
stop 6
Error: Creating domain failed: name=osc


The /var/log/xen/xend.log shows the following -

[2010-05-19 11:45:35 12078] ERROR (XendDomainInfo:83) Hkang in create.
None
[2010-05-19 11:45:35 12078] ERROR (XendConfig:309) stop 10
None
[2010-05-19 11:45:35 12078] ERROR (XendConfig:820) stop 11
Traceback (most recent call last):
  File "//usr/lib/python/xen/xend/XendConfig.py", line 810, in _sxp_to_xapi
    self[apikey] = type_conv(cfg[cfgkey])
KeyError: 'bootloader'
[2010-05-19 11:45:35 12078] ERROR (XendConfig:826) stop 12
Traceback (most recent call last):
  File "//usr/lib/python/xen/xend/XendConfig.py", line 810, in _sxp_to_xapi
    self[apikey] = type_conv(cfg[cfgkey])
KeyError: 'bootloader'
[2010-05-19 11:45:35 12078] ERROR (XendDomainInfo:87) ['vm', ['name',
'osc'], ['memory', 512], ['vcpus', 1], ['on_xend_start', 'ignore'],
['on_xend_stop', 'ignore'], ['image', ['linux', ['kernel',
'/boot/vmlinuz-2.6.18.8-xen'], ['ramdisk',
'/boot/initrd-2.6.18-xen.img'], ['ip',
'138.15.164.190:127.0.255.255::::eth0:no'], ['root', '/dev/xvda1 ro'],
['args', 'xencons=tty']]], ['device', ['tap', ['uname',
'tap:aio:/vm_images/osc_0.img'], ['dev', 'xvda1'], ['mode', 'w']]],
['device', ['tap', ['uname', 'tap:aio:/vm_images/osc_0.swap'], ['dev',
'xvda2'], ['mode', 'w']]], ['device', ['vif', ['mac',
'00:16:3e:36:00:11']]]]
None
[2010-05-19 11:45:35 12078] ERROR (XendDomainInfo:88) {'vcpus_params':
{'cap': 0, 'weight': 256}, 'PV_args': 'root=/dev/xvda1 ro
ip=138.15.164.190:127.0.255.255::::eth0:no xencons=tty', 'features':
'', 'cpus': [[]], 'actions_after_reboot': 'restart', 'vcpu_avail': 1,
'VCPUs_live': 1, 'PV_bootloader': '', 'actions_after_crash':
'restart', 'vbd_refs': ['7c196b93-66a6-b6c6-fb14-66ae6870d356',
'3c9b94ed-e547-29c0-584e-eef991f7be3e'], 'PV_ramdisk':
'/boot/initrd-2.6.18-xen.img', 'memory_dynamic_min': 536870912,
'name_label': 'osc', 'VCPUs_at_startup': 1, 'HVM_boot_params': {},
'platform': {}, 'PV_kernel': '/boot/vmlinuz-2.6.18.8-xen',
'console_refs': [], 'on_xend_stop': 'ignore', 'memory_static_min': 0,
'HVM_boot_policy': '', 'VCPUs_max': 1, 'memory_static_max': 536870912,
'actions_after_shutdown': 'destroy', 'on_xend_start': 'ignore',
'memory_dynamic_max': 536870912, 'actions_after_suspend': '',
'is_a_template': False, 'is_control_domain': False, 'uuid':
'8b692d5c-0097-1ee1-eb07-0a9b1a01428f', 'shadow_memory': 0, 'target':
0, 'PV_bootloader_args': '', 'other_config': {}, 'devices':
{'3c9b94ed-e547-29c0-584e-eef991f7be3e': ('tap', {'bootable': 0,
'uname': 'tap:aio:/vm_images/osc_0.swap', 'mode': 'w', 'dev': 'xvda2',
'uuid': '3c9b94ed-e547-29c0-584e-eef991f7be3e'}),
'7c196b93-66a6-b6c6-fb14-66ae6870d356': ('tap', {'bootable': 1,
'uname': 'tap:aio:/vm_images/osc_0.img', 'mode': 'w', 'dev': 'xvda1',
'uuid': '7c196b93-66a6-b6c6-fb14-66ae6870d356'}),
'478eb793-45a2-76bb-3c21-93cbf425eb90': ('vif', {'mac':
'00:16:3e:36:00:11', 'uuid':
'478eb793-45a2-76bb-3c21-93cbf425eb90'})}, 'vif_refs':
['478eb793-45a2-76bb-3c21-93cbf425eb90'], 'vtpm_refs': []}
None
[2010-05-19 11:45:35 12078] DEBUG (XendDomainInfo:96)
XendDomainInfo.create(['vm', ['name', 'osc'], ['memory', 512],
['vcpus', 1], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'],
['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.18.8-xen'],
['ramdisk', '/boot/initrd-2.6.18-xen.img'], ['ip',
'138.15.164.190:127.0.255.255::::eth0:no'], ['root', '/dev/xvda1 ro'],
['args', 'xencons=tty']]], ['device', ['tap', ['uname',
'tap:aio:/vm_images/osc_0.img'], ['dev', 'xvda1'], ['mode', 'w']]],
['device', ['tap', ['uname', 'tap:aio:/vm_images/osc_0.swap'], ['dev',
'xvda2'], ['mode', 'w']]], ['device', ['vif', ['mac',
'00:16:3e:36:00:11']]]])
[2010-05-19 11:45:35 12078] ERROR (XendDomainInfo:450) <hkang> VM is
started here.
None
[2010-05-19 11:45:35 12078] DEBUG (XendDomainInfo:2045)
XendDomainInfo.constructDomain
[2010-05-19 11:45:35 12078] DEBUG (balloon:132) Balloon: 126608 KiB
free; need 2048; done.
[2010-05-19 11:45:35 12078] ERROR (XendDomainInfo:2073) stop 17
None
[2010-05-19 11:45:35 12078] ERROR (XendDomainInfo:2074) 1000
None
[2010-05-19 11:45:35 12078] ERROR (XendDomainInfo:475) VM start failed
Traceback (most recent call last):
  File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 453, in start
    XendTask.log_progress(0, 30, self._constructDomain)
  File "//usr/lib/python/xen/xend/XendTask.py", line 209, in log_progress
    retval = func(*args, **kwds)
  File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 2089, in
_constructDomain
    self.info['name_label'])
VmError: Creating domain failed: name=osc
[2010-05-19 11:45:35 12078] ERROR (XendDomainInfo:101) Domain
construction failed
Traceback (most recent call last):
  File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 99, in create
    vm.start()
  File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 453, in start
    XendTask.log_progress(0, 30, self._constructDomain)
  File "//usr/lib/python/xen/xend/XendTask.py", line 209, in log_progress
    retval = func(*args, **kwds)
  File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 2089, in
_constructDomain
    self.info['name_label'])
VmError: Creating domain failed: name=osc


Anyone can provide some pointers on this ?

- Thanks
Mahendra

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


 


Rackspace

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