Description of problem: While starting ovirt-engine, an exception of java.lang.StackOverflowError appears when having unmanaged commands in the database. There is a dependencies loop between CommandCoordinatorImpl and CommandsRepository (see attached engine.log). Version-Release number of selected component (if applicable): 4.2.0 (according to the code, was probably present before) How reproducible: Happened to me once. After truncate_cascaded the command_entities table, it seems to work fine. Steps to Reproduce: 1. In case of having unmanaged commands, start ovirt-engine Actual results: ERROR [org.ovirt.engine.core.bll.CommandsFactory] (ServerService Thread Pool -- 58) [] Exception: java.lang.StackOverflowError Additional info: engine.log
Could you please attach logs?
Created attachment 1325943 [details] short engine.log If full engine log is needed, please contact me via email (6.9MB size)
We saw it on 20170921 it was happening while trying to put SDs in maintenance re-openning, attaching engine log
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.
Created attachment 1330474 [details] engine log from golden env
exact version: 4.2.0-0.0.master.20170921184504.gitfcfc9a7.el7.centos
doesnt happen anymore
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017. Since the problem described in this bug report should be resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.