remus fail with SMP domU
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
[email protected]
http://lists.xensource.com/xen-devel
Quoted 2 lines · On Wed, Feb 08, 2012 at 04:59:18PM +0100, [email protected] wrote:
Dear List,
Hello,
Quoted 8 lines
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
Quoted 38 lines
domU
- Debian SqueezeRemus 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
parsedominforeturn 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 inval.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
[email protected]
http://lists.xensource.com/xen-devel
Quoted 15 lines · Pasi Kärkkäinen
Quoted 2 lines · On Wed, Feb 08, 2012 at 04:59:18PM +0100, [email protected]:
Dear List,
Hello,
Quoted 8 lines
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
Quoted 4 lines
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.
Quoted 9 lines
-- Pasi
Quoted 5 lines
domU
- Debian SqueezeRemus 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
Quoted 9 lines
Quoted 1 line
Here's the error from remus when i'm trying to enable it for an SMP
domU:
Quoted 7 lines
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
Quoted 29 lines
__init__Quoted 2 lines
self.loaddominfo()
File "/usr/lib/xen-4.1/lib/python/xen/remus/vm.py", line 35, inloaddominfo
Quoted 23 lines
self.dom = parsedominfo(self.dominfo)
File "/usr/lib/xen-4.1/lib/python/xen/remus/vm.py", line 77, in
parsedominforeturn 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 inval.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
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 18 lines · Pasi Kärkkäinen
Quoted 17 lines
Quoted 2 lines · On Wed, Feb 08, 2012 at 04:59:18PM +0100, [email protected]:
Dear List,
Hello,
Quoted 8 lines
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
Quoted 19 lines
Quoted 5 lines
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.
Quoted 10 lines
-- Pasi
Quoted 4 lines
domU
- Debian SqueezeRemus is working fine unless i try to give more than 1 core to the
domU.
Quoted 1 line
Hello,
Quoted 4 lines
The problem arises from your domU config file:
cpus = "1-15"
Quoted 8 lines
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!
Quoted 2 lines
shriram
Best regards,
Mate
Quoted 40 lines
Quoted 11 lines
Quoted 3 lines
Here's the error from remus when i'm trying to enable it for an SMP
domU:
Quoted 7 lines
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, inQuoted 29 lines
__init__Quoted 2 lines
self.loaddominfo()
File "/usr/lib/xen-4.1/lib/python/xen/remus/vm.py", line 35, inloaddominfo
Quoted 23 lines
self.dom = parsedominfo(self.dominfo)
File "/usr/lib/xen-4.1/lib/python/xen/remus/vm.py", line 77, in
parsedominforeturn 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 inval.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
[email protected]
http://lists.xensource.com/xen-devel
Quoted 5 lines
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 16 lines
Quoted 2 lines · On Wed, Feb 08, 2012 at 04:59:18PM +0100, [email protected] wrote:
Dear List,
Hello,
Quoted 8 lines
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,
Quoted 3 lines
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.)
Quoted 1 line
-- Pasi
Best regards,
Mate
Quoted 51 lines
Quoted 36 lines
domU
- Debian SqueezeRemus 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
parsedominforeturn 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 inval.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.
Quoted 7 lines
Best regards,
Mate_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel