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

[Xen-users] About vcpu IndexError: list index out of range



Hi all,
    
     I'm an engineer deploying xen based virtualization platform in customer fields.
     We are using xen4.0 and xen 4.1.3 as hypervisor, and creating vms via port 9363 Xen API.
     These days we encountered a big problem,  xen hypervisor cannot start vms:
 
     In customers' field , they are using xeon E7 4807 with 48 physical cpus, and after creating an HVM with only 4 vcpus  via Xen API, we cannot start it with the following errors:
     ( It is apparent that this error never happen in our test environment with less than 8 physical cpus, and the following errors happened under hardware over 16 physical cpus,
      I've searched the keyword over the internet, but it seems that nobody encountered the same problem.)
         Are there anything wrong in my environment? Please help, thank you all very much!
      
[2012-12-18 06:48:10 2639] DEBUG (XendDomainInfo:3071) XendDomainInfo.destroy: domid=1
[2012-12-18 06:48:10 2639] DEBUG (XendDomainInfo:2401) Destroying device model
[2012-12-18 06:48:10 2639] ERROR (XendDomainInfo:2404) Device model destroy failed X86_HVM_ImageHandler instance has no attribute 'sentinel_lock'
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py", line 2402, in _releaseDevices
self.image.destroyDeviceModel()
File "/usr/local/lib/python2.6/dist-packages/xen/xend/image.py", line 621, in destroyDeviceModel
self.sentinel_lock.acquire()
AttributeError: X86_HVM_ImageHandler instance has no attribute 'sentinel_lock'
[2012-12-18 06:48:10 2639] DEBUG (XendDomainInfo:2408) Releasing devices
[2012-12-18 06:48:10 2639] ERROR (xmlrpclib2:169) Internal error handling VM.start
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/xen/util/xmlrpclib2.py", line 134, in _marshaled_dispatch
response = self._dispatch(method, params)
File "/usr/lib/python2.6/SimpleXMLRPCServer.py", line 418, in _dispatch
return func(*params)
File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendAPI.py", line 237, in f
return func(self, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendAPI.py", line 272, in check_session
return func(self, session, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendAPI.py", line 328, in <lambda>
'VM', func, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendAPI.py", line 284, in _check_ref
return func(api, session, ref, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendAPI.py", line 1919, in VM_start
start_paused = start_paused)
File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendTask.py", line 209, in log_progress
retval = func(*args, **kwds)
File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendAPI.py", line 465, in do_vm_func
xendom.do_legacy_api_with_uuid(fn, vm_ref, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py", line 772, in do_legacy_api_with_uuid
fn(dom, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py", line 1070, in domain_start
dominfo.start(is_managed = True)
File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py", line 474, in start
XendTask.log_progress(31, 60, self._initDomain)
File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendTask.py", line 209, in log_progress
retval = func(*args, **kwds)
File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py", line 2846, in _initDomain
node = self._setCPUAffinity()
File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py", line 2763, in _setCPUAffinity
best_node = find_relaxed_node(candidate_node_list)[0]
File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py", line 2731, in find_relaxed_node
cpuinfo = dom.getVCPUInfo()
File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py", line 1538, in getVCPUInfo
['cpumap', self.info['cpus'][i] and \
IndexError: list index out of range
    
 

Best Regards
Kevin
 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

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