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

TAS Policy remove is not working as there are error logs in scheduler #29

Closed
Rajpratik71 opened this issue Mar 2, 2021 · 4 comments
Closed

Comments

@Rajpratik71
Copy link

Skipping extender &{https://tas-service.default.svc.cluster.local:9001 scheduler/filter scheduler/prioritize 1 0xc000866660 false map[telemetry/scheduling:{}] true} as it returned error Failed scheduler/filter with extender at URL https://tas-service.default.svc.cluster.local:9001/scheduler/filter, code 404 and has ignorable flag set

@togashidm
Copy link
Contributor

@Rajpratik71
Could you give more details about it?
So the steps needed to reproduce the issue. Also, the logs from TAS.

@nitisgoe
Copy link

Seeing the same issue.
Steps:
Apply a policy and deploy an app.
remove the policy and scale the app.
Since the policy is removed there should not be any validation and scaling should schedule pods to multi nodes
Actual: It still look for policy and schedules only the valid node.
Logs from kube scheduler

1 generic_scheduler.go:378] Skipping extender &{https://tas-service.default.svc.cluster.local:9001 scheduler/filter scheduler/prioritize 1 0xc0007937d0 false map[telemetry/scheduling:{}] true} as it returned error Failed scheduler/filter with extender at URL https://tas-service.default.svc.cluster.local:9001/scheduler/filter, code 404 and has ignorable flag set
W0323 06:29:16.049715 1 generic_scheduler.go:378] Skipping extender &{https://tas-service.default.svc.cluster.local:9001 scheduler/filter scheduler/prioritize 1 0xc0007937d0 false map[telemetry/scheduling:{}] true} as it returned error Failed scheduler/filter with extender at URL https://tas-service.default.svc.cluster.local:9001/scheduler/filter, code 404 and has ignorable flag set

there are no new logs in TAS ext or cont. It still refers to the old policy stats.

@killianmuldoon
Copy link
Contributor

Let me know if I rightly understand your use case:
You're trying to schedule new pods - created using a scale up - with a telemetry aware scheduling policy. You've removed the policy from the Kubernetes API and the pod is still being scheduled, but it looks like the policy is still being applied?

The error logs are expected as the pod is still requesting scheduling using TAS - deleting the policy doesn't change the scheduler behavior here. But it's concerning if the effects of the policy are persisting after the policy is deleted.

Can you output the description of the node that you think is invalid? And the policy you were using before deleting.

@nitisgoe
Copy link

nitisgoe commented Apr 5, 2021

Yes. even after the policy is deleted and trying to schedule the pods after that, policy effects still persist and doesn't schedule the pods on any other node except the one which was valid on policy apply.

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

No branches or pull requests

4 participants