Hi,
It turns to be python bug or "by design" that I am unaware of.
A workaround is available[1].
Thanks for reporting!
Regards,
Alon Bar-Lev.
[1]
From: "Alon Bar-Lev" <alonbl(a)redhat.com>
To: "Roy Golan" <rgolan(a)redhat.com>
Cc: "Juan Hernandez" <jhernand(a)redhat.com>, engine-devel(a)ovirt.org
Sent: Monday, January 6, 2014 10:23:12 AM
Subject: Re: [Engine-devel] Setup in latest master apparently broken
----- Original Message -----
> From: "Roy Golan" <rgolan(a)redhat.com>
> To: "Yedidyah Bar David" <didi(a)redhat.com>
> Cc: "Juan Hernandez" <jhernand(a)redhat.com>, engine-devel(a)ovirt.org
> Sent: Monday, January 6, 2014 10:10:49 AM
> Subject: Re: [Engine-devel] Setup in latest master apparently broken
>
> On Mon 06 Jan 2014 08:54:47 AM IST, Yedidyah Bar David wrote:
> > ----- Original Message -----
> >> From: "Juan Hernandez" <jhernand(a)redhat.com>
> >> To: engine-devel(a)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?
Please do not revert.
Try:
$ rm -fr $HOME/ovirt-engine/share/ovirt-engine/setup
$ make install-dev PREFIX=$HOME/ovirt-engine DEV_REBUILD=0
>
>
> _______________________________________________
> Engine-devel mailing list
> Engine-devel(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/engine-devel
>
_______________________________________________
Engine-devel mailing list
Engine-devel(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel