Actions
Bug #31411
closedActions::Katello::Applicability::Hosts::BulkGenerate called many times with only a single host after sync plan runs
Difficulty:
Triaged:
Yes
Description
The issue is described here: https://community.theforeman.org/t/errata-not-calculated-generateapplicability-fails-trying-to-calculate-deleted-hosts-katello-3-17/21273/7
The user has many hosts >10K. After running a sync plan and
Actions::Katello::Applicability::Repository::Regenerateis called, BulkGenerate is called many times with a single host instead of plucking 50 hosts as it should. I'm thinking there may be some sort of race condition going on. This single host generation ends up with the user seeing many content hosts reporting no applicable content.
To reproduce, I'm thinking it would be good to first try the Regenerate action on a couple of repos that are associated to the same 10K content hosts. Perhaps there is an issue where hosts are being pushed and popped from the applicable host queue at the same time.
Actions