xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: mailinglist@modernbiztonsag.org
To: rshriram@cs.ubc.ca
Cc: mailinglist@modernbiztonsag.org, xen-devel@lists.xensource.com
Subject: Re: remus fail with SMP domU
Date: Thu, 9 Feb 2012 10:03:28 +0100	[thread overview]
Message-ID: <941f4681de1bfab6cdb75cc7129cd518.squirrel@admin.modernbiztonsag.org> (raw)
In-Reply-To: <CAP8mzPPPU5RkqFgB-ydzPP4VZSSooTJ63dUyzPcM+foJ3ONytA@mail.gmail.com>

> On Wed, Feb 8, 2012 at 9:49 AM, Pasi Kärkkäinen <pasik@iki.fi> wrote:
>
>> On Wed, Feb 08, 2012 at 04:59:18PM +0100,
>> mailinglist@modernbiztonsag.orgwrote:
>> > 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@lists.xensource.com
>> > http://lists.xensource.com/xen-devel
>>
>>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>



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

  reply	other threads:[~2012-02-09  9:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-08 15:59 remus fail with SMP domU mailinglist
2012-02-08 17:49 ` Pasi Kärkkäinen
2012-02-08 18:54   ` Shriram Rajagopalan
2012-02-09  9:03     ` mailinglist [this message]
2012-02-09  9:02   ` mailinglist

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=941f4681de1bfab6cdb75cc7129cd518.squirrel@admin.modernbiztonsag.org \
    --to=mailinglist@modernbiztonsag.org \
    --cc=rshriram@cs.ubc.ca \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).