Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #36921 - Host queue not added to sidekiq #10799

Merged
merged 1 commit into from
Nov 22, 2023

Conversation

hao-yu
Copy link
Contributor

@hao-yu hao-yu commented Nov 15, 2023

The host queue is added too early during the initialization which is before the settings for Foreman plugins are loaded.

Fix it by removing the setting check because pool size is no longer define here. Since Dynflow migrated to Sidekiq, the
concurrency is defined externally in the Sidekiq workers configuration.

The host queue is added too early during the initialization
which is before the settings for Foreman plugins are loaded.

Fix it by removing the setting check because pool size is no
longer define here. Since Dynflow migrated to Sidekiq, the
concurrency is defined externally in the Sidekiq workers
configuration.
@hao-yu hao-yu force-pushed the 36921_fix_missing_hosts_queue branch from e274579 to 3f47b0b Compare November 15, 2023 12:09
@wbclark wbclark self-assigned this Nov 16, 2023
@wbclark
Copy link
Contributor

wbclark commented Nov 22, 2023

rpm-build test keeps failing due to an issue mentioned at #10782

That should be resolved, but it's still happening when I re-run that step

Maybe I need to re-run all steps for the change to be propagated

Copy link
Contributor

@wbclark wbclark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That did the trick. I guess the buildroot on fedora copr is associated with the PR, so re-running it didn't fix the issue. Just to test, I opened a duplicate PR (above) and from this I got the working rpm-build test at https://dashboard.packit.dev/results/copr-builds/1168237

As for the actual functionality, I previously tested this using the katello nightly box on forklift and found that it works fine (devel box didn't work to test it since it doesn't have dynflow-sidekiq@worker-hosts-queue-1.service)

@wbclark wbclark merged commit da87a05 into Katello:master Nov 22, 2023
5 of 6 checks passed
@wbclark
Copy link
Contributor

wbclark commented Nov 22, 2023

Thanks @hao-yu !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants