<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Apr 27, 2018 at 7:31 AM, <span dir="ltr"><<a href="mailto:dhy336@sina.com" target="_blank">dhy336@sina.com</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>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'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 ] "before" 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: {'<wbr>priority': 5000, 'name': None,<wbr> 'before': 'osetup.ovn.<wbr>provider.service.restart', '<wbr>after': ('<img><a href="http://osetup.pki.ca">osetup.pki.ca</a>.<wbr>available', 'osetup.ovn.<wbr>services.restart'), 'method': <wbr><bound method ?._misc_<wbr>configure_ovn_pki of <otopi.<wbr>plugins.ovirt_engine_setup.<wbr>ovirt_engine.network.<wbr>ovirtproviderovn.Plugin <wbr>object at 0x30087d0>>, '<wbr>condition': <bound method ?.<<wbr>lambda> of <otopi.plugins.<wbr>ovirt_engine_setup.ovirt_<wbr>engine.network.<wbr>ovirtproviderovn.Plugin <wbr>object at 0x30087d0>>, 'stage'<wbr>: 11}<br>[ ERROR ] "before" 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: {'<wbr>priority': 5000, 'name': None,<wbr> 'before': 'osetup.ovn.<wbr>provider.service.restart', '<wbr>after': ('<img><a href="http://osetup.pki.ca">osetup.pki.ca</a>.<wbr>available', 'osetup.ovn.<wbr>services.restart'), 'method': <wbr><bound method ?._misc_<wbr>configure_provider of <otopi.<wbr>plugins.ovirt_engine_setup.<wbr>ovirt_engine.network.<wbr>ovirtproviderovn.Plugin <wbr>object at 0x30087d0>>, '<wbr>condition': <bound method ?.<<wbr>lambda> of <otopi.plugins.<wbr>ovirt_engine_setup.ovirt_<wbr>engine.network.<wbr>ovirtproviderovn.Plugin <wbr>object at 0x30087d0>>, 'stage'<wbr>: 11}<br>[ ERROR ] Failed to execute <wbr>stage 'Environment setup': <wbr>Found bad "before" or "after" <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 'Clean up': 'NoneType' <wbr>object has no attribute '<wbr>cleanup'<br>[ INFO ] Generating answer <wbr>file '/home/guoss4/ovirt-<wbr>engine/var/lib/ovirt-engine/<wbr>setup/answers/20180427001531-<wbr>setup.conf'<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>