Alon,
the diff between the two hardware.py files you sent is:
$ diff hardware.py_first hardware.py_second
108c108
< ret = struct.unpack('L', f.read(8))[0]
---
ret = struct.unpack('L', f.read(8))[0]
so they seem quite the same....
And in engine.log it complains about
2013-01-31 17:49:57,189 ERROR
[org.ovirt.engine.core.bll.InstallerMessages] (VdsDeploy) Installation
192.168.1.103: Internal error: invalid syntax (hardware.py, line 109)
while diff between patched one and original file gives, around the line 109:
diff hardware.py hardware.py.orig
105a90
f.seek(index)
107,113c92,94
< f.seek(index)
< ret = struct.unpack('L', f.read(8))[0]
< except struct.error:
<---- seems this line...
< pass
<
< self.logger.debug('prdmsr: %s', ret)
< return ret
---
return struct.unpack('L', f.read(8))[0]
except struct.error:
return -1
121c102
< ret = (
---
return (
I don't know Python so I can't correct the typo....
let me know.