<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">&lt;<a href="mailto:mmartinezp@uci.cu" target="_blank">mmartinezp@uci.cu</a>&gt;</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&#39;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:
      [&#39;/etc/ovirt-engine-setup.<wbr>conf.d/10-packaging-jboss.<wbr>conf&#39;,
      &#39;/etc/ovirt-engine-setup.conf.<wbr>d/10-packaging.conf&#39;]<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 ] &quot;before&quot; 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&#39;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: {&#39;priority&#39;: 5000, &#39;name&#39;: None, &#39;before&#39;:
      &#39;osetup.ovn.provider.service.<wbr>restart&#39;, &#39;after&#39;:
      (&#39;osetup.pki.ca.available&#39;, &#39;osetup.ovn.services.restart&#39;)<wbr>,
      &#39;method&#39;: &lt;bound method ?._misc_configure_ovn_pki of
&lt;otopi.plugins.ovirt_engine_<wbr>setup.ovirt_engine.network.<wbr>ovirtproviderovn.Plugin
      object at 0x1592790&gt;&gt;, &#39;condition&#39;: &lt;bound method
      ?.&lt;lambda&gt; of
&lt;otopi.plugins.ovirt_engine_<wbr>setup.ovirt_engine.network.<wbr>ovirtproviderovn.Plugin
      object at 0x1592790&gt;&gt;, &#39;stage&#39;: 11}<br>
      [ ERROR ] &quot;before&quot; 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: {&#39;priority&#39;: 5000, &#39;name&#39;: None, &#39;before&#39;:
      &#39;osetup.ovn.provider.service.<wbr>restart&#39;, &#39;after&#39;:
      (&#39;osetup.pki.ca.available&#39;, &#39;osetup.ovn.services.restart&#39;)<wbr>,
      &#39;method&#39;: &lt;bound method ?._misc_configure_provider of
&lt;otopi.plugins.ovirt_engine_<wbr>setup.ovirt_engine.network.<wbr>ovirtproviderovn.Plugin
      object at 0x1592790&gt;&gt;, &#39;condition&#39;: &lt;bound method
      ?.&lt;lambda&gt; of
&lt;otopi.plugins.ovirt_engine_<wbr>setup.ovirt_engine.network.<wbr>ovirtproviderovn.Plugin
      object at 0x1592790&gt;&gt;, &#39;stage&#39;: 11}<br>
      [ ERROR ] Failed to execute stage &#39;Environment setup&#39;: Found bad
      &quot;before&quot; or &quot;after&quot; 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 &#39;Clean up&#39;: &#39;NoneType&#39; object
      has no attribute &#39;cleanup&#39;<br>
      [ INFO  ] Generating answer file
      &#39;/var/lib/ovirt-engine/setup/<wbr>answers/20180320051817-setup.<wbr>conf&#39;<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>