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