Hi,

I posted a patch with a proposed fix (https://gerrit.ovirt.org/#/c/88999/).
Please open a bug so you can track the version the fix is included in.

Please attach to the bug vdsm.log, engine.log and server.log (If you had several attempts to reinstall/remove-add the host please add the logs with all the attempts).


On Wed, Mar 14, 2018 at 1:42 PM, <dhy336@sina.com> wrote:
Hi, Alona

1.  not  opened the SetupNetwoks dialog.  while installing the host .
2.   I try to many times to  re-install (or remove and re-add) the host  
----- 原始邮件 -----
发件人:Alona Kaplan <alkaplan@redhat.com>
收件人:dhy336@sina.com
抄送人:users <users@ovirt.org>
主题:Re: [ovirt-users] ovirt-engine add host failed
日期:2018年03月14日 18点47分

Hi,

Seems the communication with the host is slow and you get a timeout error.

Is there a chance you opened the SetupNetwoks dialog while installing the host (it may slow down the host since it queries the host for lldp information)?

Please try to re-install (or remove and re-add) the host (don't open the setup network dialog during the installation).

More technically, there is a bug in the code -
Collecting and persisting the data from the host is done inside a transaction.
Only the persisting should be done in a transaction.
According to the attached log seems the collection of the data from the host finished successfully (was slow, but finished without a timeout), but the persistence of the data fails since during the persistence the transaction reached to the timeout.

Can you please file a bug in the bugzilla and attach the relevant logs (engine.log, server.log and vdsm.log)

Thanks.
Alona.



On Wed, Mar 14, 2018 at 5:15 AM, <dhy336@sina.com> wrote:
I add host for ovirt-engine,  when SetupNetworks faild, server.log has some error. But I do not how fix it,  could someone give me some advise?
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users