|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] blkdev_name_to_number issues while running xenU
Christian Limpach wrote:
On 8/24/05, Arun Sharma <arun.sharma@xxxxxxxxx> wrote:
File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 410, in
createDevice
backdb['physical-device'] = "%li" % blkdev_name_to_number(node)
File "/usr/lib/python/xen/util/blkif.py", line 27, in
blkdev_name_to_number
if re.match( '/dev/sd[a-p]([1-9]|1[0-5])?', n):
You might find it helpful to add something like log.error(node) in
XendDomainInfo.py before the line which calls blkdev_name_to_number
and see what's in node.
The value of node was None (because I have no /dev/hda on the host).
[2005-08-25 18:30:11 xend] DEBUG (blkif:24) exception looking up device
number for hda: [Errno 2] No such file or directory: '/dev/hda'
[2005-08-25 18:30:11 xend] INFO (XendDomainInfo:411) arun node: None
[2005-08-25 18:30:11 xend] DEBUG (blkif:24) exception looking up device
number for None: coercing to Unicode: need string or buffer, NoneType found
-Arun
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|