<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Mar 20, 2018 at 3:21 PM, Marcos Michel Martinez Perez <span dir="ltr"><<a href="mailto:mmartinezp@uci.cu" target="_blank">mmartinezp@uci.cu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p><span id="gmail-m_856935659467483768result_box" lang="en"><span>I
recently installed oVirt 4.2 on centos 7 and it turns out that
it gave me the following error when trying to execute the
command engine-setup</span></span></p></div></blockquote><div><br></div><div>Which version? What's the output of: rpm -qi ovirt-engine-setup-plugin-ovirt-engine<br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF">
<p><br>
</p>
<p>[root@localhost ~]# engine-setup<br>
[ INFO ] Stage: Initializing<br>
[ INFO ] Stage: Environment setup<br>
Configuration files:
['/etc/ovirt-engine-setup.<wbr>conf.d/10-packaging-jboss.<wbr>conf',
'/etc/ovirt-engine-setup.conf.<wbr>d/10-packaging.conf']<br>
Log file:
/var/log/ovirt-engine/setup/<wbr>ovirt-engine-setup-<wbr>20180320051815-eon9vg.log<br>
Version: otopi-1.7.7 (otopi-1.7.7-1.el7)<br>
[ ERROR ] "before" parameter of method
otopi.plugins.ovirt_engine_<wbr>setup.ovirt_engine.network.<wbr>ovirtproviderovn.Plugin._misc_<wbr>configure_ovn_pki
is a string, should probably be a tuple. Perhaps a missing comma?<br></p></div></blockquote><div><br></div><div>This error was fixed in 4.2.1, by this patch:<br><br><a href="https://gerrit.ovirt.org/#/q/Id4e0e621624efff0ff0e8a9fd6f23f53f2aa54d2,n,z">https://gerrit.ovirt.org/#/q/Id4e0e621624efff0ff0e8a9fd6f23f53f2aa54d2,n,z</a><br><br></div><div>The bug existed for some time, but was only exposed by this patch:<br><br><a href="https://gerrit.ovirt.org/#/c/86679/">https://gerrit.ovirt.org/#/c/86679/</a><br><br></div><div>which was included in otopi-1.7.7, which was released as part of 4.2.1.<br><br></div><div>So it seems like you somehow have 4.2 repos, updated otopi, but didn't update engine setup packages.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF"><p>
methodinfo: {'priority': 5000, 'name': None, 'before':
'osetup.ovn.provider.service.<wbr>restart', 'after':
('osetup.pki.ca.available', 'osetup.ovn.services.restart')<wbr>,
'method': <bound method ?._misc_configure_ovn_pki of
<otopi.plugins.ovirt_engine_<wbr>setup.ovirt_engine.network.<wbr>ovirtproviderovn.Plugin
object at 0x1592790>>, 'condition': <bound method
?.<lambda> of
<otopi.plugins.ovirt_engine_<wbr>setup.ovirt_engine.network.<wbr>ovirtproviderovn.Plugin
object at 0x1592790>>, 'stage': 11}<br>
[ ERROR ] "before" parameter of method
otopi.plugins.ovirt_engine_<wbr>setup.ovirt_engine.network.<wbr>ovirtproviderovn.Plugin._misc_<wbr>configure_provider
is a string, should probably be a tuple. Perhaps a missing comma?<br>
methodinfo: {'priority': 5000, 'name': None, 'before':
'osetup.ovn.provider.service.<wbr>restart', 'after':
('osetup.pki.ca.available', 'osetup.ovn.services.restart')<wbr>,
'method': <bound method ?._misc_configure_provider of
<otopi.plugins.ovirt_engine_<wbr>setup.ovirt_engine.network.<wbr>ovirtproviderovn.Plugin
object at 0x1592790>>, 'condition': <bound method
?.<lambda> of
<otopi.plugins.ovirt_engine_<wbr>setup.ovirt_engine.network.<wbr>ovirtproviderovn.Plugin
object at 0x1592790>>, 'stage': 11}<br>
[ ERROR ] Failed to execute stage 'Environment setup': Found bad
"before" or "after" parameters<br>
[ INFO ] Stage: Clean up<br>
Log file is located at
/var/log/ovirt-engine/setup/<wbr>ovirt-engine-setup-<wbr>20180320051815-eon9vg.log<br>
[ ERROR ] Failed to execute stage 'Clean up': 'NoneType' object
has no attribute 'cleanup'<br>
[ INFO ] Generating answer file
'/var/lib/ovirt-engine/setup/<wbr>answers/20180320051817-setup.<wbr>conf'<br>
[ INFO ] Stage: Pre-termination<br>
[ INFO ] Stage: Termination<br>
[ ERROR ] Execution of setup failed<br>
</p>
<br>
<div>
<div>
<img>
</div>
</div>
<br></div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Didi<br></div>
</div></div>