Project

General

Profile

Actions

Bug #31411

closed

Actions::Katello::Applicability::Hosts::BulkGenerate called many times with only a single host after sync plan runs

Added by Ian Ballou about 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Hosts
Target version:
Fixed in Releases:
Found in Releases:

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::Regenerate
is 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

Also available in: Atom PDF