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

Unable to monitor quota for openshift resources #17784

Closed
mfojtik opened this issue Dec 14, 2017 · 1 comment · Fixed by #17859
Closed

Unable to monitor quota for openshift resources #17784

mfojtik opened this issue Dec 14, 2017 · 1 comment · Fixed by #17859

Comments

@mfojtik
Copy link
Contributor

mfojtik commented Dec 14, 2017

Seen in integration test logs:

E1214 09:29:03.747036 30369 resource_quota_controller.go:170] initial monitor sync has error: [couldn't start monitor for resource {"route.openshift.io" "v1" "routes"}: unable to monitor quota for resource "route.openshift.io/v1, Resource=routes", couldn't start monitor for resource {"image.openshift.io" "v1" "imagestreamtags"}: unable to monitor quota for resource "image.openshift.io/v1, Resource=imagestreamtags", couldn't start monitor for resource {"network.openshift.io" "v1" "egressnetworkpolicies"}: unable to monitor quota for resource "network.openshift.io/v1, Resource=egressnetworkpolicies"]

Seems to be related to our generic informer:

I1214 14:13:31.868263 18394 resource_quota_monitor.go:179] QuotaMonitor unable to use a shared informer for resource "route.openshift.io/v1, Resource=routes": no informer found for {route.openshift.io v1 routes}

Seems to not be breaking anything, just producing annoying logs, bumping priority.

@dmage
Copy link
Contributor

dmage commented Dec 14, 2017

it might affect the registry extended tests: #17786

openshift-merge-robot added a commit that referenced this issue Dec 20, 2017
Automatic merge from submit-queue.

add missing types to ForResource for quota

Fixes #17784

This moves the generic `ForResource` function closer to the point of creation.  More cleanup should be done, but this at least gets the informer back on the map.

/assign @mfojtik 
/assign @soltysh
openshift-merge-robot added a commit that referenced this issue Dec 22, 2017
Automatic merge from submit-queue.

UPSTREAM: 57349: add watch to requirements for quota-able resources

Fixes part two of #17784

This avoids putting istags in the list at all

/assign soltysh
/assign derekwaynecarr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants