<div><br></div><div>Hi Ian,</div><div>at this time, this is the server status :</div><div><br></div><div>- the machine is not 'been restarted (production machine)</div><div>- the packages belong to a Wheezy (upgrade to 4.0.1-5.2 from 4.0.1-4)</div>
<div>- the package xen-qemu-dm-4.0 is installed </div><div>- these are the log files /var/log/xen/xend.log after launching the following command from bash 'xm list'</div><div><br></div><div><div>[2012-07-17 17:04:00 25155] DEBUG (XendDomainInfo:149) XendDomainInfo.recreate({'max_vcpu_id': 3, 'cpu_time': 4484766829602L, 'ssidref': 0, 'hvm': 0, 'shutdo</div>
<div>wn_reason': 0, 'dying': 0, 'online_vcpus': 2, 'domid': 48, 'paused': 0, 'crashed': 0, 'running': 0, 'maxmem_kb': 2097152L, 'shutdown': 1, 'mem_kb': 2090240L,</div>
<div> 'handle': [91, 60, 12, 18, 150, 154, 232, 134, 68, 179, 173, 56, 116, 117, 79, 7], 'blocked': 0})</div><div>[2012-07-17 17:04:00 25155] INFO (XendDomainInfo:167) Recreating domain 48, UUID 5b3c0c12-969a-e886-44b3-ad3874754f07. at /local/domain/48</div>
<div>[2012-07-17 17:04:00 25155] ERROR (xmlrpclib2:178) Internal error handling xend.domain.create</div><div>Traceback (most recent call last):</div><div>  File "/usr/lib/xen-4.0/lib/python/xen/util/xmlrpclib2.py", line 131, in _marshaled_dispatch</div>
<div>    response = self._dispatch(method, params)</div><div>  File "/usr/lib/python2.5/SimpleXMLRPCServer.py", line 415, in _dispatch</div><div>    return func(*params)</div><div>  File "/usr/lib/xen-4.0/lib/python/xen/xend/server/XMLRPCServer.py", line 79, in domain_create</div>
<div>    info = XendDomain.instance().domain_create(config)</div><div>  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendDomain.py", line 980, in domain_create</div><div>    self._refresh()</div><div>  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendDomain.py", line 417, in _refresh</div>
<div>    self._refreshTxn(txn, refresh_shutdown)</div><div>  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendDomain.py", line 433, in _refreshTxn</div><div>    new_dom = XendDomainInfo.recreate(dom, False)</div><div>
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendDomainInfo.py", line 202, in recreate</div><div>    vmpath = vmpath)</div><div>  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendDomainInfo.py", line 448, in __init__</div>
<div>    self._augmentInfo(priv)</div><div>  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendDomainInfo.py", line 1623, in _augmentInfo</div><div>    self.info.device_add(device[0], cfg_sxp = device)</div><div>  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendConfig.py", line 1417, in device_add</div>
<div>    vusb_dict = self.vusb_convert_sxp_to_dict(config)</div><div>  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendConfig.py", line 1851, in vusb_convert_sxp_to_dict</div><div>    for port in ports[1:]:</div>
<div>TypeError: 'NoneType' object is unsubscriptable</div></div><div><br></div>same problem occurs typing 'xm create' .<div><br></div><div>ciao</div><div>Orazio.<br><br><div class="gmail_quote">2012/7/17 Ian Campbell <span dir="ltr"><<a href="mailto:ijc@hellion.org.uk" target="_blank">ijc@hellion.org.uk</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Orazio,<br>
<br>
Is "NoneType object is unsubscriptable" the full and complete error message?<br>
I'd have expected some sort of accompanying backtrace, if not on the console<br>
then in /var/log/xen/*<br>
<br>
Is this issue by any chance fixed by installing the xen-qemu-dm-4.0 package?<br>
<br>
Lastly, does this happen with the packages from Wheezy?<br>
<br>
Thanks,<br>
Ian.<br>
</blockquote></div><br></div>