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 #8519 - Bonus subs not being reindexed #4863

Merged
merged 1 commit into from Dec 12, 2014

Conversation

dustints
Copy link
Member

@dustints dustints commented Dec 9, 2014

Bonus subscriptions aren't being reindexed since the handler was only
watching for entitlements that got created/deleted. Handler should be
watching pool create/delete.

@theforeman-bot
Copy link

@dustints, this pull request is currently not mergeable. Please rebase against the master branch and push again.

If you have a remote called 'upstream' that points to this repository, you can do this by running:

    $ git pull --rebase upstream master

This message was auto-generated by Foreman's prprocessor

@dustints
Copy link
Member Author

@thomasmckay should be working now

end

def add_pool_to_index(pool_id)
cp_pool = attempt_find_pool(pool_id)
Copy link
Member

Choose a reason for hiding this comment

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

What problem is this solving?

Copy link
Member Author

Choose a reason for hiding this comment

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

@thomasmckay sometimes I get the message before the pool is available in candlepin...so when I query the pool in cp, it would throw a ResourceNotFound error...it was causing end-to-end testing to be inconsistent.

Bonus subscriptions aren't being reindexed since the handler was only
watching for entitlements that got created/deleted. Handler should be
watching pool create/delete.
@dustints
Copy link
Member Author

@thomasmckay updated, after retesting a few times, that bit of logic isn't needed.
my environment has been kind of funky while working on this.

@thomasmckay
Copy link
Member

ack

dustints pushed a commit that referenced this pull request Dec 12, 2014
Fixes #8519 - Bonus subs not being reindexed
@dustints dustints merged commit 4d24c94 into Katello:master Dec 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants