The last fix mentioned by Didi indeed fixed the problem.
I've re-enqueued the original patch to otopi. It was successfully tested and deployed by the CI.

On Wed, Mar 14, 2018 at 8:30 AM, Yedidyah Bar David <didi@redhat.com> wrote:
On Tue, Mar 13, 2018 at 8:14 PM, Daniel Belenky <dbelenky@redhat.com> wrote:
> Hi,
>
> I've discussed this issue with Didi and Yuval, and I understood that
> rebuilding ovirt-host-deploy with new otopi should fix this.
> The last commit in ovirt-host-deploy has been rebuilt and now is being
> tested in CQ.
> Since CQ has prevented the change in otopi from making it's way to the
> tested repo, this failure applies only to changes in otopi project and will
> not affect others.
> So maybe we can wait for a proper fix (in case rebuilding ovirt-host-deploy
> won't solve the issue) instead of reverting the change.
>
> On Tue, Mar 13, 2018 at 8:01 PM, Yaniv Kaul <ykaul@redhat.com> wrote:
>>
>>
>>
>> On Mar 13, 2018 6:11 PM, "Dafna Ron" <dron@redhat.com> wrote:
>>
>> Hi,
>>
>> CQ reported failure on both basic and upgrade suites in otpi project.
>>
>> Link and headline of suspected patches:
>>
>> core: Use python3 when possible- https://gerrit.ovirt.org/#/c/87276/
>>
>>
>> Please revert.
>> Y.
>>
>>
>>
>> Link to Job:
>>
>> http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/6285/
>>
>> Link to all logs:
>>
>>
>> http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/6285/artifacts/
>>
>> (Relevant) error snippet from the log:
>>
>> <error>
>>
>>
>>         at
>> org.ovirt.engine.core.bll.hostdeploy.AddVdsCommand.lambda$executeCommand$2(AddVdsCommand.java:217)
>> [bll.jar:]
>>         at
>> org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWrapperRunnable.run(ThreadPoolUtil.java:96)
>> [utils.jar:]
>>         at
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>> [rt.jar:1.8.0_161]
>>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>> [rt.jar:1.8.0_161]
>>         at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>> [rt.jar:1.8.0_161]
>>         at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>> [rt.jar:1.8.0_161]
>>         at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_161]
>>         at
>> org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:250)
>> [javax.enterprise.concurrent-1.0.jar:]
>>         at
>> org.jboss.as.ee.concurrent.service.ElytronManagedThreadFactory$ElytronManagedThread.run(ElytronManagedThreadFactory.java:78)
>>
>> 2018-03-13 09:22:40,287-04 ERROR
>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [7e847b89]
>> Error during deploy dialog
>> 2018-03-13 09:22:40,288-04 DEBUG
>> [org.ovirt.engine.core.aaa.filters.SsoRestApiAuthFilter] (default task-25)
>> [] Entered SsoRestApiAuthFilter
>> 2018-03-13 09:22:40,288-04 DEBUG
>> [org.ovirt.engine.core.aaa.filters.SsoRestApiAuthFilter] (default task-25)
>> [] SsoRestApiAuthFilter authenticating with sso
>> 2018-03-13 09:22:40,288-04 DEBUG
>> [org.ovirt.engine.core.aaa.filters.SsoRestApiAuthFilter] (default task-25)
>> [] SsoRestApiAuthFilter authenticating using BEARER header
>> 2018-03-13 09:22:40,290-04 DEBUG
>> [org.ovirt.engine.core.aaa.filters.SsoRestApiAuthFilter] (default task-25)
>> [] SsoRestApiAuthFilter successfully authenticated using BEARER header
>> 2018-03-13 09:22:40,290-04 DEBUG
>> [org.ovirt.engine.core.aaa.filters.SsoRestApiNegotiationFilter] (default
>> task-25) [] Entered SsoRestApiNegotiationFilter
>> 2018-03-13 09:22:40,292-04 DEBUG
>> [org.ovirt.engine.core.aaa.filters.SsoRestApiNegotiationFilter] (default
>> task-25) [] SsoRestApiNegotiationFilter Not performing Negotiate Auth
>> 2018-03-13 09:22:40,297-04 ERROR
>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]
>> (EE-ManagedThreadFactory-engine-Thread-2) [7e847b89] Error during host
>> lago-basic-suite-master-host-1 install
>> 2018-03-13 09:22:40,311-04 ERROR
>> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
>> (EE-ManagedThreadFactory-engine-Thread-2) [7e847b89] EVENT_ID:
>> VDS_INSTALL_IN_PROGRESS_ERROR(511), An error has occurred during
>> installation of Host lago-basic-suite-master-host-1: Unexpected error during
>> execution: /tmp/ovirt-8LoLZqxUw8/otopi: line 29:
>> /tmp/ovirt-8LoLZqxUw8/otopi-functions: No such file or directory
>> .
>> 2018-03-13 09:22:40,311-04 ERROR
>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]
>> (EE-ManagedThreadFactory-engine-Thread-2) [7e847b89] Error during host
>> lago-basic-suite-master-host-1 install, preferring first exception:
>> Unexpected connection termination
>> 2018-03-13 09:22:40,311-04 ERROR
>> [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand]
>> (EE-ManagedThreadFactory-engine-Thread-2) [7e847b89] Host installation
>> failed for host '9cca064c-4034-4428-9cc5-d4e902083dfe',
>> 'lago-basic-suite-master-host-1': Unexpected connection termination
>>

Should be fixed (for now) by:

https://gerrit.ovirt.org/88931

We still might revert eventually, need to analyze upgrades from 4.2 to 4.3.

>>
>> </error>
>>
>>
>>
>> _______________________________________________
>> Devel mailing list
>> Devel@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/devel
>>
>>
>>
>> _______________________________________________
>> Devel mailing list
>> Devel@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/devel
>
>
>
>
> --
>
> DANIEL BELENKY
>
> RHV DEVOPS
>
>
> _______________________________________________
> Devel mailing list
> Devel@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel



--
Didi



--

DANIEL BELENKY

RHV DEVOPS