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 #14722 - wait on subs refresh task on product create #5984

Merged
merged 1 commit into from Apr 20, 2016

Conversation

jlsherrill
Copy link
Member

as that is when the unlimited pool gets created
and if we do not wait the pool may not exist
at indexing time

as that is when the unlimited pool gets created
and if we do not wait the pool may not exist
at indexing time
@ehelms
Copy link
Member

ehelms commented Apr 20, 2016

So this is just a race condition and reproducing it is difficult at best? Cause so far my attempts have been failures.

@jlsherrill
Copy link
Member Author

It is a race condition. If the pool refresh takes long than the subscription indexing the pool won't be created.
It may help if you have a manifest imported into the org first? Even then I had to create 4 or 5 custom products before i could reproduce the issue.

@ehelms
Copy link
Member

ehelms commented Apr 20, 2016

ACK

@jlsherrill jlsherrill merged commit 3028d92 into Katello:master Apr 20, 2016
@jlsherrill jlsherrill deleted the 14722 branch April 20, 2016 22:56
ehelms pushed a commit to ehelms/katello that referenced this pull request May 18, 2016
)

as that is when the unlimited pool gets created
and if we do not wait the pool may not exist
at indexing time
(cherry picked from commit 3028d92)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants