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

Ansible Operator proxy now fails requests when virtual resource can't be determined #3112

Merged

Conversation

fabianvf
Copy link
Member

Description of the change:
Proxy will return 500 if it fails to get an API resource using the discovery client.

Motivation for the change:
This seems to be caused by some kind of race condition, but the result is that resources that should have ownerReferences injected do not, preventing dependent watches from being properly established and preventing garbage collection from working properly.

This is not a fix for the root cause of #2623 , but it should at least prevent us from putting the user into a state we can't recover from.

Copy link
Member

@estroz estroz left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label May 26, 2020
@fabianvf fabianvf merged commit 494969a into operator-framework:master May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants