Skip to content

[BUG] koord-scheduler Failed to watch some object #310

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

Closed
Tendrun101 opened this issue Jun 24, 2022 · 3 comments · Fixed by #315
Closed

[BUG] koord-scheduler Failed to watch some object #310

Tendrun101 opened this issue Jun 24, 2022 · 3 comments · Fixed by #315
Assignees
Labels
area/koord-scheduler kind/bug Create a report to help us improve
Milestone

Comments

@Tendrun101
Copy link

What happened:
I installed koordinator-0.4.1 using helm。
changing “default-scheduler” to “koord-scheduler” ,my created pod always “Pending”

What you expected to happen:
new pod scheduled success
How to reproduce it (as minimally and precisely as possible):
created new pod using koord-scheduler to scheduler。
Anything else we need to know?:

Environment:

  • App version: 0.4.1
  • Kubernetes version (use kubectl version): v1.20.12
  • Install details (e.g. helm install args):
  • Others:
    I can found some error in koord-scheduler logs:
    ... ...
    I0624 07:45:46.545292 1 reflector.go:255] Listing and watching *v1beta1.CSIStorageCapacity from pkg/mod/k8s.io/client-go@v0.22.6/tools/cache/reflector.go:167
    I0624 07:45:46.546605 1 round_trippers.go:454] GET https://10.96.0.1:443/apis/storage.k8s.io/v1beta1/csistoragecapacities?limit=500&resourceVersion=0 404 Not Found in 1 milliseconds
    E0624 07:45:46.546774 1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.22.6/tools/cache/reflector.go:167: Failed to watch *v1beta1.CSIStorageCapacity: failed to list *v1beta1.CSIStorageCapacity: the server could not find the requested resource
    I0624 07:45:46.669350 1 reflector.go:255] Listing and watching *v1.Namespace from pkg/mod/k8s.io/client-go@v0.22.6/tools/cache/reflector.go:167
    I0624 07:45:46.671435 1 round_trippers.go:454] GET https://10.96.0.1:443/api/v1/namespaces?resourceVersion=3668803 200 OK in 1 milliseconds
    I0624 07:45:46.672500 1 round_trippers.go:454] GET https://10.96.0.1:443/api/v1/namespaces?allowWatchBookmarks=true&resourceVersion=3668803&timeout=6m1s&timeoutSeconds=361&watch=true 403 Forbidden in 0 milliseconds
    E0624 07:45:46.672573 1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.22.6/tools/cache/reflector.go:167: Failed to watch *v1.Namespace: unknown (get namespaces)
    I0624 07:45:46.916158 1 reflector.go:255] Listing and watching *v1.PodDisruptionBudget from pkg/mod/k8s.io/client-go@v0.22.6/tools/cache/reflector.go:167
    I0624 07:45:46.918702 1 round_trippers.go:454] GET https://10.96.0.1:443/apis/policy/v1/poddisruptionbudgets?limit=500&resourceVersion=0 404 Not Found in 2 milliseconds
    E0624 07:45:46.918826 1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.22.6/tools/cache/reflector.go:167: Failed to watch *v1.PodDisruptionBudget: failed to list *v1.PodDisruptionBudget: the server could not find the requested resource
    I0624 07:45:49.012190 1 reflector.go:255] Listing and watching *v1.Namespace from pkg/mod/k8s.io/client-go@v0.22.6/tools/cache/reflector.go:167
    I0624 07:45:49.015481 1 round_trippers.go:454] GET https://10.96.0.1:443/api/v1/namespaces?resourceVersion=3668803 200 OK in 2 milliseconds
    I0624 07:45:49.017339 1 round_trippers.go:454] GET https://10.96.0.1:443/api/v1/namespaces?allowWatchBookmarks=true&resourceVersion=3668803&timeout=6m43s&timeoutSeconds=403&watch=true 403 Forbidden in 1 milliseconds
    E0624 07:45:49.017454 1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.22.6/tools/cache/reflector.go:167: Failed to watch *v1.Namespace: unknown (get namespaces)
    I0624 07:45:49.097955 1 reflector.go:255] Listing and watching *v1beta1.CSIStorageCapacity from pkg/mod/k8s.io/client-go@v0.22.6/tools/cache/reflector.go:167
    I0624 07:45:49.100146 1 round_trippers.go:454] GET https://10.96.0.1:443/apis/storage.k8s.io/v1beta1/csistoragecapacities?limit=500&resourceVersion=0 404 Not Found in 1 milliseconds
    E0624 07:45:49.100320 1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.22.6/tools/cache/reflector.go:167: Failed to watch *v1beta1.CSIStorageCapacity: failed to list *v1beta1.CSIStorageCapacity: the server could not find the requested resource
    I0624 07:45:49.366849 1 pathrecorder.go:240] kube-scheduler: "/healthz" satisfied by exact match
    I0624 07:45:49.367026 1 httplog.go:109] "HTTP" verb="GET" URI="/healthz" latency="237.751µs" userAgent="kube-probe/1.20" audit-ID="" srcIP="10.143.1.29:59228" resp=200
    I0624 07:45:49.398296 1 reflector.go:255] Listing and watching *v1.PodDisruptionBudget from pkg/mod/k8s.io/client-go@v0.22.6/tools/cache/reflector.go:167
    I0624 07:45:49.401143 1 round_trippers.go:454] GET https://10.96.0.1:443/apis/policy/v1/poddisruptionbudgets?limit=500&resourceVersion=0 404 Not Found in 2 milliseconds
    E0624 07:45:49.401231 1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.22.6/tools/cache/reflector.go:167: Failed to watch *v1.PodDisruptionBudget: failed to list *v1.PodDisruptionBudget: the server could not find the requested resource
    ... ..
@Tendrun101 Tendrun101 added the kind/bug Create a report to help us improve label Jun 24, 2022
@eahydra
Copy link
Member

eahydra commented Jun 24, 2022

/assign

@eahydra
Copy link
Member

eahydra commented Jun 24, 2022

Thanks for the feedback

@jasonliu747
Copy link
Member

/area koord-scheduler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/koord-scheduler kind/bug Create a report to help us improve
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants