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

nodegroup plugins don't use #3424

Closed
ffz12 opened this issue Apr 18, 2024 · 5 comments
Closed

nodegroup plugins don't use #3424

ffz12 opened this issue Apr 18, 2024 · 5 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@ffz12
Copy link

ffz12 commented Apr 18, 2024

What happened:

When using the nodegroup plugin, the plugin is not recognized after it is added to the configmap of the volcano-scheduler-configmap. Check the volcano-scheduler-pod and the error E0418 07:21:42.912033 1 framework.go:40] Failed to get plugin nodegroup.

What you expected to happen:

The nodegroup plug-in can be used normally.

How to reproduce it (as minimally and precisely as possible):

1、Installed volcano
kubectl apply -f https://raw.githubusercontent.com/volcano-sh/volcano/master/installer/volcano-development.yaml

2、Modify the volcanic-scheduler-configmap configuration file as follows:
kind: ConfigMap
apiVersion: v1
metadata:
name: volcano-scheduler-configmap
namespace: volcano-system
data:
volcano-scheduler.conf: |
actions: "enqueue, allocate, backfill, reclaim, preempt"
tiers:
- plugins:
- name: priority
- name: gang
enablePreemptable: false
- name: conformance
- plugins:
- name: overcommit
- name: drf
enablePreemptable: false
- name: predicates
- name: proportion
- name: nodeorder
- name: nodegroup
- name: binpack

3、Change the log printing level of Volcanic-Scheduler to 2

4、The volcanic-Scheduler related pod is restarted

kubectl get po -n volcano-system | grep sche|awk '{print $1}'|xargs kubectl delete po -n volcano-system

5、View the logs of Volcanic-Scheduler

kubectl get po -n volcano-system | grep sche|awk '{print $1}'|xargs kubectl logs -n volcano-system

E0418 07:50:00.053934 1 framework.go:40] Failed to get plugin nodegroup.
E0418 07:50:01.071860 1 framework.go:40] Failed to get plugin nodegroup.
E0418 07:50:02.089626 1 framework.go:40] Failed to get plugin nodegroup.
E0418 07:50:03.118339 1 framework.go:40] Failed to get plugin nodegroup.
E0418 07:50:04.134342 1 framework.go:40] Failed to get plugin nodegroup.
E0418 07:50:05.150473 1 framework.go:40] Failed to get plugin nodegroup.

Anything else we need to know?:
Reference code location:
https://github.com/volcano-sh/volcano/blob/master/pkg/scheduler/plugins/nodegroup/nodegroup.go
147 lines
//
// User should specify arguments in the config in this format:
//
// actions: "reclaim, allocate, backfill, preempt"
// tiers:
// - plugins:
// - name: priority
// - name: gang
// - name: conformance
// - plugins:
// - name: drf
// - name: predicates
// - name: proportion
// - name: nodegroup

Environment:

  • Volcano Version: latest
  • Kubernetes version (use kubectl version): v1.23.10
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release): CentOS Linux release 7.9.2009
  • Kernel (e.g. uname -a): 3.10.0-1160.45.1.el7.x86_64
  • Install tools:
  • Others:
@ffz12 ffz12 added the kind/bug Categorizes issue or PR as related to a bug. label Apr 18, 2024
@lowang-bh
Copy link
Member

Please try the latest code in master branch.

@lowang-bh
Copy link
Member

#3402 has fixed it.

@ffz12
Copy link
Author

ffz12 commented Apr 19, 2024

Have been solved

@lowang-bh
Copy link
Member

/close

@volcano-sh-bot
Copy link
Contributor

@lowang-bh: Closing this issue.

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

3 participants