Created attachment 1338260 [details] /var/log/foreman/production.log Description of problem: when satellite is starting, there are four of "RuntimeError: The Dynflow world was not initialized yet. If your plugin uses it, make sure to call ForemanTasks.dynflow.require! in some initializer" in production.log Version-Release number of selected component (if applicable): satellite-6.3.0-19.0.beta.el7sat.noarch tfm-rubygem-foreman-tasks-0.9.6-1.fm1_15.el7sat.noarch How reproducible: always Steps to Reproduce: 1. Restart system with Satellite and watch production.log while Satellite is starting Actual results: See tracebacks in attached log Expected results: There should be no tracebacks Additional info: Usually tracebacks during start if everything works after that seems harmless, but this one sugests there might be a way how to suppress it: "make sure to call ForemanTasks.dynflow.require! in some initializer"
Additional notes: When dynflow world is initialized it invalidates execution plans which still have execution locks. Those execution plans are switched from (usually) running state to paused. When the execution plans are saved with the paused state a callback in foreman-tasks is triggered to update the task object in foreman tasks. This however tries to access ForemanTasks.dynflow.world which is not set at that time. Also restarting the machine seems like an overkill, the following should be enough to trigger the bug Steps to reproduce: 1) Start a task 2) Kill foreman-tasks with SIGKILL 3) watch production.log 4) restart foreman-tasks service
Created redmine issue http://projects.theforeman.org/issues/21361 from this bug
The Satellite Team is attempting to provide an accurate backlog of bugzilla requests which we feel will be resolved in the next few releases. We do not believe this bugzilla will meet that criteria, and have plans to close it out in 1 month. This is not a reflection on the validity of the request, but a reflection of the many priorities for the product. If you have any concerns about this, feel free to contact Rich Jerrido or Bryan Kearney or your account team. If we do not hear from you, we will close this bug out. Thank you.
Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact Rich Jerrido or Bryan Kearney. Thank you.