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

Workloads: Certain kinds of resources fail to fetch #427

Open
richard-cox opened this issue Jul 27, 2020 · 1 comment
Open

Workloads: Certain kinds of resources fail to fetch #427

richard-cox opened this issue Jul 27, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@richard-cox
Copy link
Member

Seen when looking at the stratos metrics workload

WARN[Mon Jul 27 16:44:20 BST 2020] {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"the server could not find the requested resource","reason":"NotFound","details":{},"code":404} 
WARN[Mon Jul 27 16:44:20 BST 2020] Passthrough response: URL: https://172.17.0.4:8443/apis/rbac.authorization.k8s.io/v1beta1/namespaces/metrics/clusterroles/metrics-prometheus-prometheus, Status Code: 404, Status: 404 Not Found, Content Type: application/json, Length: 174 
WARN[Mon Jul 27 16:44:20 BST 2020] {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"the server could not find the requested resource","reason":"NotFound","details":{},"code":404} 
WARN[Mon Jul 27 16:44:20 BST 2020] Passthrough response: URL: https://172.17.0.4:8443/apis/rbac.authorization.k8s.io/v1beta1/namespaces/metrics/clusterrolebindings/metrics-prometheus-prometheus, Status Code: 404, Status: 404 Not Found, Content Type: application/json, Length: 174 

Resource types

  • clusterroles
  • clusterrolebindings

I think this might be at the url generation state

  • I'm not sure they're applicable to a namespace
  • How does it handle the . characters?
@richard-cox richard-cox added the bug Something isn't working label Jul 27, 2020
@richard-cox
Copy link
Member Author

See release.go addJobForResource and getRestURL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant