Add some debugging to print 'name' at the appropraite place. What's the
configuration file for this domain.
You might want to use the 'dry run' option just to print out the sxp the
domain config has been parsed in to. I suspect the block device name is
messed up.
Ian
> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
> Srivatsa Vaddagiri
> Sent: 07 June 2005 10:40
> To: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-devel] Error while creating domains
>
> 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
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|