Zexi Li
d7b355d3f4
fix(scheduler): improve scheduler prefer and avoid tags strategy ( #18372 )
2023-10-20 20:46:01 +08:00
屈轩
71644db668
fix: docgengo ( #18350 )
2023-10-18 06:18:53 -05:00
Zexi Li
407c90ccfb
optimized(scheduler): reduce sql query of mysql ( #15878 )
2023-01-31 19:30:58 +08:00
Zexi Li
15912a9882
fix(scheduler): consider storage backend and mediumType size ( #15469 )
2022-12-01 01:22:36 +08:00
wanyaoqi
70755a9a1b
feat(region,host): sriov nic support ( #15342 )
...
Support sriov nic passthrough to kvm guest.
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com >
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com >
2022-11-13 18:17:30 +08:00
Zexi Li
48bd8d72d3
Automated cherry pick of #15120 : optimize(scheduler): global cache for schedtag ( #15121 )
...
* optimize(scheduler): global cache for schedtag
* feat(scheduler): informer of schedtag
2022-10-08 20:49:38 +08:00
Zexi Li
8f73e2c19d
fix(scheduler): testing failed ( #14943 )
2022-09-07 10:47:54 +08:00
Zexi Li
33e70266b0
fix(scheduler): fill storage and network results
2022-09-06 12:04:23 +08:00
Qiu Jian
1aee43ab03
fix: scheduler options not updated by OptionManager
2022-06-17 23:10:00 +08:00
Qiu Jian
24c83d6f9a
fix: scheduler add missing context
2022-04-05 11:29:30 +08:00
rainzm
42a8eb837b
feat: add project with class metadata
2022-02-15 18:22:01 +08:00
rainzm
02656f6c59
fix(scheduler): consider perfer and avoid score when sorting HostPriorityList
2021-12-03 14:54:48 +08:00
rainzm
a66adb55e7
fix(scheduler): correct sorting for HostPriorityList
2021-12-02 20:57:38 +08:00
Zexi Li
d5ef3c1307
fix(scheduler): cpu arch match
2021-09-22 11:13:01 +08:00
Zexi Li
49749609b4
fix(region,scheduler): baremetal reuse ip
2021-06-18 15:45:50 +08:00
Zexi Li
bdd112e80b
fix(scheduler): storage predicate add actualCapacity filter
2020-12-19 19:56:26 +08:00
Zexi Li
0ed41b09e1
scheduler: forecast api with candidates result
2020-11-04 21:10:07 +08:00
Zexi Li
cc32bb39ef
feature: support cloudprovider, cloudregion and zone schedtag
2020-10-30 10:58:34 +08:00
rainzm
9d18b94ad6
refactor(scheduler): make forcast result clearer
...
forcast 的返回值包括:
1. CanCreate: 是否可以创建
2. FilteredCandidate: 被过滤掉的candidate(宿主机),并记录了
过滤其的 filter 的名字以及给出的原因。
3. ReqCount: 请求的机器数量
4. AllowCount: 允许的机器数量
5. NotAllowReasons: 不允许的原因,每一个不被允许的都会被列出原因。
2020-09-08 14:27:31 +08:00
rainzm
0bd84dd4b0
feat: Add method 'Sku' to CandidatePropertyGetter
2020-09-07 16:14:28 +08:00
rainzm
4b4875cd70
feat: Add IResultHelper
...
1. Adjust the package structure about pkg/scheduler/core and
pkg/scheduler/manager
2. Add IResultHelper
3. Change the signature of genericScheduler.Schedule
func (*Unit, []Candidater) (*SchedResultItemList, error) ==>
func (*Unit, []Candidater, IResultHelper) (*ScheduleResult, error)
2020-09-07 16:13:20 +08:00
Qiu Jian
b8238d2059
fix: scheduler aware policy
2020-09-04 10:36:21 +08:00
wanyaoqi
75cd041d79
baremetal colloct isolated devices info ( #7357 )
2020-08-28 12:10:34 +08:00
rainzm
ed4847dffc
opt(scheduler): better sort for hosts when selectHost
2020-08-01 17:28:22 +08:00
rainzm
fa0450b454
feat(scheduler): Change the action for guests with backup and instanceGroup
...
1. 对于主机组的打散功能,放在调度的最后单独处理。
2. 主备机的调度,通过在主机和备机之间设置一个粒度为1的主机组来实现。
3. 虚拟机的调度默认打散,在打散的基础上,选择容量大的宿主机。
3. 主备机中,主机和备机的默认打散流程分散开,互不影响。
2020-07-21 20:29:47 +08:00
Zexi Li
d8d6e8c5b5
scheduler: fix memory over committed
2020-06-16 18:51:13 +08:00
Zexi Li
db65bf4ef0
scheduler: fix min counter get count not correct
2020-05-15 15:04:38 +08:00
Qiu Jian
a687d49181
fix: add scheduler support
2020-03-27 01:20:30 +08:00
Zexi Li
4f3d7c2c32
scheduler: fix disk allocated not balanced
2020-03-14 16:39:26 +08:00
yunion-ci-robot
a1526d07de
Merge pull request #4901 from wanyaoqi/feature/wyq/sync-on-slave-start
...
backup guest fix
2020-01-19 15:43:12 +08:00
wanyaoqi
c0e2019acd
backup guest fix
2020-01-19 10:46:24 +08:00
Yousong Zhou
7c29b06669
scheduler: network_predicate: allow onecloud vpc networks
2020-01-17 17:48:04 +08:00
Yousong Zhou
d17452240b
scheduler: simplify MinCounters
2020-01-17 17:48:04 +08:00
Yousong Zhou
da68e7fccf
scheduler: simplify findCandidatesThatFit()
2020-01-17 17:48:03 +08:00
Qiu Jian
bc7f62a2ad
scheduler schedule according to quota limit
2020-01-03 13:58:04 +08:00
Zexi Li
e8377a8709
baremetal: add cdrom boot schedule
2019-10-23 11:18:27 +08:00
Rain
0c93b0c7d4
Feature: Unforced Group which prioritize scheduling guest to host with
...
enough resources of InstanceGroup and then to host even if this hosts has
no enough resources. Add groups desc in SGuest.ToSchedDesc. The backup
guest also occupies InstanceGroup resources now.
2019-10-17 12:57:43 +08:00
Rain
10991015ef
guest persion
2019-10-09 20:43:35 +08:00
Zexi
9bc81fe94c
scheduler: optimize forecast filter info
2019-07-15 09:15:25 +08:00
yunion-ci-robot
170f010c9a
Merge pull request #1384 from wanyaoqi/feature/wyq/live-migrate-filter-cpu-model
...
feature: live migrate filter cpu model
2019-06-27 16:58:50 +08:00
wanyaoqi
fa370a7c6d
- live migrate filter cpu model
...
- fix list export keys
2019-06-26 13:01:11 +08:00
Zexi
fcf600f6b2
scheduler: add schedule filter interface to guestdriver
2019-06-21 17:09:44 +08:00
Zexi
d17fbaf02c
scheduler: fix prefer avoid score
2019-06-21 13:57:13 +08:00
Zexi
4257263097
scheduler: support sharable candidate
2019-06-12 11:33:01 +08:00
Zexi
bef1848357
scheduler: host filter by cloudprovider domain id
2019-06-10 12:17:56 +08:00
Zexi
64cca04a17
scheduler: add pending usage process
2019-05-29 19:57:44 +08:00
Zexi
d185dfa932
scheduler: fix nets result not select
2019-05-29 15:54:51 +08:00
Zexi
8c3a1460cd
baremetal schedule net bonding check
2019-04-26 00:20:40 +08:00
Zexi
8b1cc4fbee
fix: prepaid recycle host not check storage types
2019-04-24 19:25:50 +08:00
Zexi Li
e01c4e590f
support network schedtag
2019-04-18 09:48:18 +08:00