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

Custom scheduling non working with the custom parameters #2347

Closed
7 tasks
kvaps opened this issue Aug 9, 2018 · 1 comment
Closed
7 tasks

Custom scheduling non working with the custom parameters #2347

kvaps opened this issue Aug 9, 2018 · 1 comment

Comments

@kvaps
Copy link
Contributor

kvaps commented Aug 9, 2018

Description
No way for set custom scheduling expression for count on custom parameter.

To Reproduce
Rule like:

DEFAULT_SCHED = [
   policy = 3,
   rank   = "RANK - RUNNING_VMS"
]

My host 186 have this option, and no VMs:

RANK="-800"

But from scheduler debug log, I see that it is not count on it:

Thu Aug  9 21:33:43 2018 [Z0][SCHED][D]: Scheduling Results:
Virtual Machine: 6886

        PRI     ID - HOSTS
        ------------------------
        0       186
        0       182
        0       158
...
Thu Aug  9 21:33:43 2018 [Z0][SCHED][D]: Dispatching VMs to hosts
        VMID    Priority        Host    System DS
        --------------------------------------------------------------
        6886    0               186     159

Expected behavior
No schedule on 186 schedule it to 182 or the rest hosts

Details

  • Affected Component: Scheduler
  • Hypervisor: kvm
  • Version: 5.6.0

Progress Status

  • Branch created
  • Code committed to development branch
  • Testing - QA
  • Documentation
  • Release notes - resolved issues, compatibility, known issues
  • Code committed to upstream release/hotfix branches
  • Documentation committed to upstream release/hotfix branches
@kvaps
Copy link
Contributor Author

kvaps commented Aug 9, 2018

Sorry, my bad, I had duplicated rules in my configfile

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

1 participant