WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Error while creating domains

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Error while creating domains
From: Srivatsa Vaddagiri <vatsa@xxxxxxxxxx>
Date: Tue, 7 Jun 2005 15:10:20 +0530
Delivery-date: Tue, 07 Jun 2005 10:38:06 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: vatsa@xxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
I am trying to start a large number of SMP domains (> 50). However,
I am unable to create more than 7 domains. When I try creating
the 8th domain, I get this error:

Using config file "myconf7".
VIRTUAL MEMORY ARRANGEMENT:
 Loaded kernel: 0xc0100000->0xc0344c24
 Init. ramdisk: 0xc0345000->0xc0345000
 Phys-Mach map: 0xc0345000->0xc0347800
 Page tables:   0xc0348000->0xc034a000
 Start info:    0xc034a000->0xc034b000
 Boot stack:    0xc034b000->0xc034c000
 TOTAL:         0xc0000000->0xc0400000
 ENTRY ADDRESS: 0xc0100000
 VCPUS:         4
Domain construction error: cannot concatenate 'str' and 'NoneType' objects
Traceback (most recent call last):
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 483, in construct
    self.configure()
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 992, in configure
    self.create_devices()
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 768, in create_devices
    self.create_configured_devices()
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 757, in 
create_configured_devices
    self.createDevice(ctrl_type, dev_config, recreate=recreate)
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 332, in createDevice
    return ctrl.createDevice(devconfig, recreate=self.recreate)
  File "/usr/lib/python/xen/xend/server/controller.py", line 236, in 
createDevice
    dev.attach(recreate=recreate, change=change)
  File "/usr/lib/python/xen/xend/server/blkif.py", line 221, in attach
    self.setNode(node)
  File "/usr/lib/python/xen/xend/server/blkif.py", line 247, in setNode
    mounted_mode = self.check_mounted(node)
  File "/usr/lib/python/xen/xend/server/blkif.py", line 265, in check_mounted
    mode = blkif.mount_mode(name)
  File "/usr/lib/python/xen/util/blkif.py", line 73, in mount_mode
    exp = re.compile('^' + name + ' .*[\(,]r(?P<mode>[ow])[,\)]')
TypeError: cannot concatenate 'str' and 'NoneType' objects
op_create> Exception creating domain:
Traceback (most recent call last):
  File "/usr/lib/python/xen/xend/server/SrvDomainDir.py", line 63, in op_create
    dominfo = self.xd.domain_create(config)
  File "/usr/lib/python/xen/xend/XendDomain.py", line 282, in domain_create
    dominfo = XendDomainInfo.vm_create(config)
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 153, in vm_create
    vm.construct(config)
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 483, in construct
    self.configure()
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 992, in configure
    self.create_devices()
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 768, in create_devices
    self.create_configured_devices()
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 757, in 
create_configured_devices
    self.createDevice(ctrl_type, dev_config, recreate=recreate)
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 332, in createDevice
    return ctrl.createDevice(devconfig, recreate=self.recreate)
  File "/usr/lib/python/xen/xend/server/controller.py", line 236, in 
createDevice
    dev.attach(recreate=recreate, change=change)
  File "/usr/lib/python/xen/xend/server/blkif.py", line 221, in attach
    self.setNode(node)
  File "/usr/lib/python/xen/xend/server/blkif.py", line 247, in setNode
    mounted_mode = self.check_mounted(node)
  File "/usr/lib/python/xen/xend/server/blkif.py", line 265, in check_mounted
    mode = blkif.mount_mode(name)
  File "/usr/lib/python/xen/util/blkif.py", line 73, in mount_mode
    exp = re.compile('^' + name + ' .*[\(,]r(?P<mode>[ow])[,\)]')
TypeError: cannot concatenate 'str' and 'NoneType' objects
Error: Error creating domain: cannot concatenate 'str' and 'NoneType' objects


Is this a bug or a python compatibility issue? FYI, I am running this on
a 4way Intel box with RHEL4 installed on it. I have installed latest
(as of 7 June) xen-unstable-src.tgz.



-- 


Thanks and Regards,
Srivatsa Vaddagiri,
Linux Technology Center,
IBM Software Labs,
Bangalore, INDIA - 560017

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>