[Engine-devel] Setup in latest master apparently broken

Yedidyah Bar David didi at redhat.com
Mon Jan 6 06:54:47 UTC 2014


----- 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...
-- 
Didi



More information about the Devel mailing list