That looks like a twist on Foreman-nightly-rpm-pipeline 1222 failed - #6 by aruzicka . In the excerpt from the logs we can see two different version of dynflow 1.5.0 and 1.6.1 accessing the same db which would explain why the older version cannot read certain data.