Hi
I have configured few VMs with RHEL5,32 bit, but some VMs
after successful stop/restart few times, suddenly they start giving
following error from "xm create vm1.cfg" startup.
----
Error: ('c618d493-a696-7637-333d-bd891fa41ac2', 'VM_metrics')
----
If i replace system.img, they starts working again. This is what i see in xend.log file.
This happens randomly to any VM i have, no changes are happening before this error situation.
2009-03-10 20:51:50 2861
DEBUG (XendDomainInfo:85) XendDomainInfo.create(['vm', , , , , , , , ,
, ['image', , ['device', ['vbd', , , , ['device', ['vbd', , , ,
['device', ['vbd', , , , ['device', ['vbd', , , , ['device', ['vif', ,
['device', , ['device', ['vfb', , , , )
2009-03-10 20:51:50 2861 DEBUG (XendDomainInfo:1534) XendDomainInfo.constructDomain
2009-03-10 20:51:50 2861 DEBUG (balloon:116) Balloon: 1943800 KiB free; need 2048; done.
2009-03-10 20:51:50 2861 DEBUG (XendDomain:434) Adding Domain: 3
2009-03-10 20:51:50 2861 DEBUG (XendDomainInfo:1600) XendDomainInfo.initDomain: 3 256
2009-03-10 20:51:50 8138 DEBUG (XendBootloader:100) Launching bootloader as .
2009-03-10 20:51:50 2861 ERROR (XendBootloader:171) Boot loader didn't return any data!
2009-03-10 20:51:50 2861 ERROR (XendDomainInfo:430) VM start failed
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 410, in start
    XendTask.log_progress(31, 60, self._initDomain)
  File "/usr/lib/python2.4/site-packages/xen/xend/XendTask.py", line 209, in log_progress
    retval = func(*args, **kwds)
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1602, in _initDomain
    self._configureBootloader()
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1969, in _configureBootloader
    bootloader_args, kernel, ramdisk, args)
  File "/usr/lib/python2.4/site-packages/xen/xend/XendBootloader.py", line 172, in bootloader
    raise VmError, msg
VmError: Boot loader didn't return any data!
2009-03-10 20:51:50 2861 DEBUG (XendDomainInfo:1804) XendDomainInfo.destroy: domid=3
2009-03-10 20:51:50 2861 DEBUG (XendDomainInfo:1823) XendDomainInfo.destroyDomain(3)
2009-03-10 20:51:50 2861 ERROR (XendDomainInfo:90) Domain construction failed
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 88, in create
    vm.start()
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 410, in start
    XendTask.log_progress(31, 60, self._initDomain)
  File "/usr/lib/python2.4/site-packages/xen/xend/XendTask.py", line 209, in log_progress
    retval = func(*args, **kwds)
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1602, in _initDomain
    self._configureBootloader()
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1969, in _configureBootloader
    bootloader_args, kernel, ramdisk, args)
  File "/usr/lib/python2.4/site-packages/xen/xend/XendBootloader.py", line 172, in bootloader
    raise VmError, msg
VmError: Boot loader didn't return any data!
2009-03-10 20:51:50 2861 DEBUG (XendDomainInfo:1804) XendDomainInfo.destroy: domid=None
2009-03-10 20:51:50 2861 ERROR (xmlrpclib2:178) Internal error handling xend.domain.create
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/xen/util/xmlrpclib2.py", line 131, in _marshaled_dispatch
    response = self._dispatch(method, params)
  File "/usr/lib/python2.4/SimpleXMLRPCServer.py", line 406, in _dispatch
    return func(*params)
  File "/usr/lib/python2.4/site-packages/xen/xend/server/XMLRPCServer.py", line 72, in domain_create
    info = XendDomain.instance().domain_create(config)
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 920, in domain_create
    dominfo = XendDomainInfo.create(config)
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 91, in create
    vm.destroy()
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1808, in destroy
    self._cleanupVm()
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 2007, in _cleanupVm
    self.metrics.destroy()
  File "/usr/lib/python2.4/site-packages/xen/xend/XendBase.py", line 94, in destroy
    XendAPIStore.deregister(self.get_uuid(), self.getClass())
  File "/usr/lib/python2.4/site-packages/xen/xend/XendAPIStore.py", line 36, in deregister
    del __classes
(uuid, type)
KeyError: ('c618d493-a696-7637-333d-bd891fa41ac2', 'VM_metrics')
Appreciate any hint/help
Thanks
Ken