[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] remus fail with SMP domU



> On Wed, Feb 8, 2012 at 9:49 AM, Pasi KÃrkkÃinen <pasik@xxxxxx> wrote:
>
>> On Wed, Feb 08, 2012 at 04:59:18PM +0100,
>> mailinglist@xxxxxxxxxxxxxxxxxxxxxxxx:
>> > Dear List,
>> >
>>
>> Hello,
>>
>> > i'm experimenting with remus with the following setup.
>> >
>> > dom0:
>> > - Debian Squeeze
>> > - Jeremy's 2.6.38.48 kernel
>> > - xen 4.1.2 recompiled from sid
>> > - DRBD for block device backend
>> >
>>
>> Did you try xen-unstable? There are many Remus related
>> fixes/enhancements
>> in xen-unstable.
>>
>>
> IIRC, all fixes were backported to xen-4.1-testing.
>
>
>> -- Pasi
>>
>>
>> > domU
>> > - Debian Squeeze
>> >
>> > Remus is working fine unless i try to give more than 1 core to the
>> domU.
>> >
>>
>

Hello,

>
> The problem arises from your domU config file:
> cpus = "1-15"
>
> The python parser is unable to parse the cpu spec in this format. I think
> even
> cpus = "^0" throws an error of similar sort.
>
> One solution is to remove this line, boot the domU,
> and do xm vcpu-pin command to restrict the physical cpus
> on which you wish the domU to run.
>

Yes, that was the solution! Thank you for the quick answer!

>
> shriram

Best regards,
Mate

>
>
>>  > Here's the error from remus when i'm trying to enable it for an SMP
>> domU:
>> >
>> > Traceback (most recent call last):
>> >   File "/usr/lib/xen-4.1/lib/python/remus", line 219, in <module>
>> >     run(cfg)
>> >   File "/usr/lib/xen-4.1/lib/python/remus", line 109, in run
>> >     dom = vm.VM(cfg.domid)
>> >   File "/usr/lib/xen-4.1/lib/python/xen/remus/vm.py", line 32, in
>> __init__
>> >     self.loaddominfo()
>> >   File "/usr/lib/xen-4.1/lib/python/xen/remus/vm.py", line 35, in
>> loaddominfo
>> >     self.dom = parsedominfo(self.dominfo)
>> >   File "/usr/lib/xen-4.1/lib/python/xen/remus/vm.py", line 77, in
>> > parsedominfo
>> >     return s2d(dominfo[1:])
>> >   File "/usr/lib/xen-4.1/lib/python/xen/remus/vm.py", line 61, in s2d
>> >     val = s2d(elem[1:])
>> >   File "/usr/lib/xen-4.1/lib/python/xen/remus/vm.py", line 64, in s2d
>> >     return s2d(elem)
>> >   File "/usr/lib/xen-4.1/lib/python/xen/remus/vm.py", line 66, in s2d
>> >     for k, v in val.iteritems():
>> > AttributeError: 'int' object has no attribute 'iteritems'
>> >
>> > I've attached the domU configuration file.
>> >
>> > Please let me know if you need more info on this.
>> >
>> > Best regards,
>> > Mate
>>
>> > _______________________________________________
>> > 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
>



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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.