<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Apr 27, 2018 at 7:31 AM,  <span dir="ltr">&lt;<a href="mailto:dhy336@sina.com" target="_blank">dhy336@sina.com</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>Hi</div><div> I engine setup faces some error.</div><div><br></div><div> I try to solute it and  it is work. here is my patch. But  not sure it is right?</div></blockquote><div><br></div><div>It seems right, but isn&#39;t it already done in these?<br><br><a href="https://gerrit.ovirt.org/#/q/Id4e0e621624efff0ff0e8a9fd6f23f53f2aa54d2,n,z">https://gerrit.ovirt.org/#/q/Id4e0e621624efff0ff0e8a9fd6f23f53f2aa54d2,n,z</a><br><a href="https://gerrit.ovirt.org/#/q/Ib6fdd78f29d88e13547d509d15081de8dc2c21aa,n,z">https://gerrit.ovirt.org/#/q/Ib6fdd78f29d88e13547d509d15081de8dc2c21aa,n,z</a><br><br></div><div>What version are you using?<br></div><div><br></div><div>Best regards,<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><br></div><div><br></div><div> $HOME/ovirt-engine/bin/<wbr>engine-setup</div>[ INFO  ] Stage: Initializing<br>          Setup was run under <wbr>unprivileged user this will <wbr>produce development <wbr>installation do you wish to <wbr>proceed? (Yes, No) [No]: yes<br>[ INFO  ] Stage: Environment <wbr>setup<br>          Configuration files:<wbr> []<br>          Log file: /home/<wbr>guoss4/ovirt-engine/var/log/<wbr>ovirt-engine/setup/ovirt-<wbr>engine-setup-20180427001528-<wbr>6h7snp.log<br>          Version: otopi-1.8.<wbr>0_master (otopi-1.8.0-0.0.<wbr>master.20180313084114.<wbr>git4e788f9.el7.centos)<br>[ ERROR ] &quot;before&quot; parameter <wbr>of method otopi.plugins.ovirt_<wbr>engine_setup.ovirt_engine.<wbr>network.ovirtproviderovn.<wbr>Plugin._misc_configure_ovn_<wbr>pki is a string, should <wbr>probably be a tuple. Perhaps <wbr>a missing comma?<br>          methodinfo: {&#39;<wbr>priority&#39;: 5000, &#39;name&#39;: None,<wbr> &#39;before&#39;: &#39;osetup.ovn.<wbr>provider.service.restart&#39;, &#39;<wbr>after&#39;: (&#39;<img><a href="http://osetup.pki.ca">osetup.pki.ca</a>.<wbr>available&#39;, &#39;osetup.ovn.<wbr>services.restart&#39;), &#39;method&#39;: <wbr>&lt;bound method ?._misc_<wbr>configure_ovn_pki of &lt;otopi.<wbr>plugins.ovirt_engine_setup.<wbr>ovirt_engine.network.<wbr>ovirtproviderovn.Plugin <wbr>object at 0x30087d0&gt;&gt;, &#39;<wbr>condition&#39;: &lt;bound method ?.&lt;<wbr>lambda&gt; of &lt;otopi.plugins.<wbr>ovirt_engine_setup.ovirt_<wbr>engine.network.<wbr>ovirtproviderovn.Plugin <wbr>object at 0x30087d0&gt;&gt;, &#39;stage&#39;<wbr>: 11}<br>[ ERROR ] &quot;before&quot; parameter <wbr>of method otopi.plugins.ovirt_<wbr>engine_setup.ovirt_engine.<wbr>network.ovirtproviderovn.<wbr>Plugin._misc_configure_<wbr>provider is a string, should <wbr>probably be a tuple. Perhaps <wbr>a missing comma?<br>          methodinfo: {&#39;<wbr>priority&#39;: 5000, &#39;name&#39;: None,<wbr> &#39;before&#39;: &#39;osetup.ovn.<wbr>provider.service.restart&#39;, &#39;<wbr>after&#39;: (&#39;<img><a href="http://osetup.pki.ca">osetup.pki.ca</a>.<wbr>available&#39;, &#39;osetup.ovn.<wbr>services.restart&#39;), &#39;method&#39;: <wbr>&lt;bound method ?._misc_<wbr>configure_provider of &lt;otopi.<wbr>plugins.ovirt_engine_setup.<wbr>ovirt_engine.network.<wbr>ovirtproviderovn.Plugin <wbr>object at 0x30087d0&gt;&gt;, &#39;<wbr>condition&#39;: &lt;bound method ?.&lt;<wbr>lambda&gt; of &lt;otopi.plugins.<wbr>ovirt_engine_setup.ovirt_<wbr>engine.network.<wbr>ovirtproviderovn.Plugin <wbr>object at 0x30087d0&gt;&gt;, &#39;stage&#39;<wbr>: 11}<br>[ ERROR ] Failed to execute <wbr>stage &#39;Environment setup&#39;: <wbr>Found bad &quot;before&quot; or &quot;after&quot; <wbr>parameters<br>[ INFO  ] Stage: Clean up<br>          Log file is located <wbr>at /home/guoss4/ovirt-engine/<wbr>var/log/ovirt-engine/setup/<wbr>ovirt-engine-setup-<wbr>20180427001528-6h7snp.log<br>[ ERROR ] Failed to execute <wbr>stage &#39;Clean up&#39;: &#39;NoneType&#39; <wbr>object has no attribute &#39;<wbr>cleanup&#39;<br>[ INFO  ] Generating answer <wbr>file &#39;/home/guoss4/ovirt-<wbr>engine/var/lib/ovirt-engine/<wbr>setup/answers/20180427001531-<wbr>setup.conf&#39;<br>[ INFO  ] Stage: Pre-<wbr>termination<br>[ INFO  ] Stage: Termination<br>[ ERROR ] Execution of setup <wbr>failed<br><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>