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 #33430 - do not error on pulpcore with 1 worker #9618

Merged
merged 1 commit into from Sep 13, 2021

Conversation

jlsherrill
Copy link
Member

No description provided.

@jlsherrill
Copy link
Member Author

easy to test, shut down all but 1 worker and try to use pulp3

@theforeman-bot
Copy link

Issues: #33430

unless workers.count > 1
fail _("Not all necessary pulp workers running at %s.") % url
end
fail _("Not all necessary pulp workers running at %s.") % url if workers.empty?
Copy link
Member

Choose a reason for hiding this comment

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

Could the error message be "No pulp workers running..." if it's failing when workers is empty?

Copy link
Member Author

Choose a reason for hiding this comment

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

updated!

Copy link
Member

@jjeffers jjeffers left a comment

Choose a reason for hiding this comment

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

Test all 3 conditions - >1, 1, and 0 pulp workers - worked as indicated.

If there are no pulp workers, the error message appears. 1 or more pulp workers allows the operation to complete.

@jlsherrill jlsherrill merged commit 76eef83 into Katello:master Sep 13, 2021
@jlsherrill jlsherrill deleted the 33430 branch September 13, 2021 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants