[Engine-devel] Setup in latest master apparently broken

Roy Golan rgolan at redhat.com
Mon Jan 6 08:10:49 UTC 2014


On Mon 06 Jan 2014 08:54:47 AM IST, Yedidyah Bar David wrote:
> ----- Original Message -----
>> From: "Juan Hernandez" <jhernand at redhat.com>
>> To: engine-devel at ovirt.org
>> Sent: Monday, January 6, 2014 12:47:09 AM
>> Subject: [Engine-devel] Setup in latest master apparently broken
>>
>> The setup tool in the latest master (hash e992aa) is apparently broken,
>> it fails with the following message:
>>
>> [ ERROR ] Failed to execute stage 'Misc configuration': 'module' object
>> has no attribute 'processTemplate'
>>
>> Traceback (most recent call last):
>>    File "/usr/lib/python2.7/site-packages/otopi/context.py", line 142, in
>> _executeMethod
>>      method['method']()
>>    File
>> "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/apache/ovirt_engine.py",
>> line 67, in _misc
>>      content=outil.processTemplate(
>> AttributeError: 'module' object has no attribute 'processTemplate'
>>
>> The code there is importing "util" from "ovirt_engine", but printing the
>
> Are you sure it does not 'from ovirt_engine import util as outil'?
>
>> value of the "util" result gives the following:
>>
>> <module 'otopi.util' from '/usr/lib/python2.7/site-packages/otopi/util.pyc'>
>
> You are probably referring to http://gerrit.ovirt.org/22827 .
> This change did not touch the spec file/requirements, so you need to manually
> make sure you have latest relevant packages.
>
> I didn't try that, though - I might be wrong...

worked around with:

git revert 6aee0c5d0eb9b0229950bb9f02aa3d206a0bd0a7
and
make -e install-dev EXTRA_BUILD_FLAGS="-pl 
org.ovirt.engine:engine-server-ear"

Alon?





More information about the Devel mailing list