Dear List, 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 domU - Debian Squeeze Remus is working fine unless i try to give more than 1 core to the domU. 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
On Wed, Feb 08, 2012 at 04:59:18PM +0100, mailinglist@modernbiztonsag.org wrote:> 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. -- Pasi> domU > - Debian Squeeze > > Remus is working fine unless i try to give more than 1 core to the domU. > > 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
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. > > >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. shriram> > 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
> On Wed, Feb 08, 2012 at 04:59:18PM +0100, mailinglist@modernbiztonsag.org > wrote: >> 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 >> >Hello,> Did you try xen-unstable? There are many Remus related fixes/enhancements > in xen-unstable. >Nope, not yet, and i would avoid it if possible because we would like to use this in a "production" environment. (Shriram''s suggestion work though so i''m onto testing with heavy load now.)> -- PasiBest regards, Mate> > >> domU >> - Debian Squeeze >> >> Remus is working fine unless i try to give more than 1 core to the domU. >> >> 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 > >
> 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!> > shriramBest 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