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

Default queue sync error #2663

Closed
haiker2011 opened this issue Jan 31, 2023 · 2 comments
Closed

Default queue sync error #2663

haiker2011 opened this issue Jan 31, 2023 · 2 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@haiker2011
Copy link

haiker2011 commented Jan 31, 2023

What happened:
default queue sync error
What you expected to happen:
default queue can update
How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:
update status of Queue default: is invalid: status.allocated: Required value.

# kubectl logs -n volcano-system volcano-controllers-f4b69577b-jh8pw -f

2023/01/31 07:21:11 maxprocs: Leaving GOMAXPROCS=4: CPU quota undefined
W0131 07:21:11.823977       1 client_config.go:617] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
I0131 07:21:11.825162       1 garbagecollector.go:97] Starting garbage collector
I0131 07:21:11.825545       1 queue_controller.go:175] Starting queue controller.
I0131 07:21:11.926441       1 job_controller.go:265] JobController is running ......
I0131 07:21:11.926445       1 queue_controller.go:242] Begin execute SyncQueue action for queue default, current status
I0131 07:21:11.926469       1 queue_controller_action.go:35] Begin to sync queue default.
I0131 07:21:11.926475       1 job_controller.go:269] worker 1 start ......
I0131 07:21:11.926492       1 pg_controller.go:125] PodgroupController is running ......
I0131 07:21:11.926493       1 job_controller.go:269] worker 2 start ......
I0131 07:21:11.926444       1 job_controller.go:269] worker 0 start ......
E0131 07:21:11.932619       1 queue_controller_action.go:79] Failed to update status of Queue default: Queue.scheduling.volcano.sh "default" is invalid: status.allocated: Required value.
I0131 07:21:11.932640       1 queue_controller_action.go:80] End sync queue default.
I0131 07:21:11.932650       1 queue_controller.go:224] Finished syncing queue default (6.211528ms).
I0131 07:21:11.932659       1 queue_controller.go:258] Error syncing queue request Queue: default, Job: /, Task:, Event:OutOfSync, ExitCode:0, Action:SyncQueue, JobVersion: 0 for sync queue default failed for Queue.scheduling.volcano.sh "default" is invalid: status.allocated: Required value, event is OutOfSync, action is SyncQueue.

the default queue state is not open

# kubectl get queues default -oyaml

apiVersion: scheduling.volcano.sh/v1beta1
kind: Queue
metadata:
  creationTimestamp: "2023-01-30T08:12:02Z"
  generation: 1
  managedFields:
  - apiVersion: scheduling.volcano.sh/v1beta1
    fieldsType: FieldsV1
    fieldsV1:
      f:spec:
        .: {}
        f:guarantee: {}
        f:reclaimable: {}
        f:weight: {}
      f:status:
        .: {}
        f:reservation: {}
    manager: vc-scheduler
    operation: Update
    time: "2023-01-30T08:12:01Z"
  name: default
  resourceVersion: "13445"
  uid: 18c6672b-2559-40a4-ab16-f2fe17459d1b
spec:
  guarantee: {}
  reclaimable: true
  weight: 1

Environment:

  • Volcano Version: v1.7.0
  • Kubernetes version (use kubectl version):v1.20.11-aliyun.1
  • Cloud provider or hardware configuration: aliyun
  • OS (e.g. from /etc/os-release): CentOS Linux 7 (Core)
  • Kernel (e.g. uname -a):Linux iZ2zegifgmr6s0mtmpay0tZ 3.10.0-1160.76.1.el7.x86_64
  • Install tools:
  • Others:
@haiker2011 haiker2011 added the kind/bug Categorizes issue or PR as related to a bug. label Jan 31, 2023
@MicheleBag
Copy link

Hi!
I encountered the same error, did you find any solution?

@Wang-Kai
Copy link
Contributor

Wang-Kai commented Nov 3, 2023

Hi!
I encountered the same error, did you find any solution?

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