Commit Graph

64 Commits

Author SHA1 Message Date
Zexi Li
9c1f81bab4 fix(scheduler): 尽早发现子网ip不足引起的调度失败 (#22136) 2025-02-19 17:21:57 +08:00
Zexi Li
f41775b33b fix(scheduler): check free capacity of each storage 2022-10-14 12:36:01 +08:00
Zexi Li
da3eb1c0cc Automated cherry pick of #15120: optimize(scheduler): global cache for schedtag (#15124)
* optimize(scheduler): global cache for schedtag

* feat(scheduler): informer of schedtag
2022-10-08 20:49:49 +08:00
Qiu Jian
282cbb1624 fix: scheduler options not updated by OptionManager 2022-06-17 23:26:14 +08:00
ioito
36fdbd75bc fix(region): avoid panic 2022-04-21 17:11:02 +08:00
Qu Xuan
a55732b782 fix(region): fix cloudpods scheduler error 2021-10-08 15:16:41 +08:00
Zexi Li
22e2896afc fix(scheduler): cpu arch match 2021-09-22 11:14:06 +08:00
Qu Xuan
aa60326bc3 fix(region): struct guest json desc 2021-09-01 09:44:55 +08:00
Qu Xuan
f664cc25a9 fix(region): return sql error 2021-08-11 19:13:25 +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
a78c565d4f fix(scheduler): sku by region and fill onecloud vpc networks 2020-12-10 21:12:06 +08:00
Zexi Li
b47b0dc863 scheduler: ignore non running guests only exclude ready status 2020-11-05 18:05:49 +08:00
wanyaoqi
1f51af3a61 scheduler: fix fillter isolated device 2020-09-16 18:30:38 +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
Zexi Li
7a08a60dbd scheduler: refactor network predicate (#7553) 2020-08-13 17:56:47 +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
wanyaoqi
91ff1d7d84 isolated device add attribute reserved resource 2020-05-25 17:31:34 +08:00
Qiu Jian
a687d49181 fix: add scheduler support 2020-03-27 01:20:30 +08:00
Qiu Jian
cf5498ac24 feature: recode structuralized GetExtraDetails and ListItemFilter 2020-03-04 14:01:25 +08:00
Yousong Zhou
7c29b06669 scheduler: network_predicate: allow onecloud vpc networks 2020-01-17 17:48:04 +08:00
Qiu Jian
4a8a79a786 bug fixes 2020-01-03 13:58:05 +08:00
Qiu Jian
bc7f62a2ad scheduler schedule according to quota limit 2020-01-03 13:58:04 +08:00
Qiu Jian
cad0f2c1c5 feature: cloud account share_mode support 2019-11-15 15:09:12 +08:00
Zexi Li
e8377a8709 baremetal: add cdrom boot schedule 2019-10-23 11:18:27 +08:00
Rain
10991015ef guest persion 2019-10-09 20:43:35 +08:00
Zexi
8f34593113 scheduler: fix reserved resource out of limit bug 2019-09-02 18:04:18 +08:00
wanyaoqi
fa370a7c6d - live migrate filter cpu model
- fix list export keys
2019-06-26 13:01:11 +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
Jian Qiu
bff3ba9b16 fix: keystone fernet setup bugs and other bugs (#1022) 2019-06-01 17:31:20 +08:00
Zexi
0f3c6f36c3 scheduler: remove gorm code 2019-05-30 21:37:51 +08:00
Zexi
64cca04a17 scheduler: add pending usage process 2019-05-29 19:57:44 +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
Qiu Jian
da57161fd0 fix: move all consts in compute/models to apis/compute 2019-04-17 09:23:19 +08:00
Zexi
db0e303798 make 'go test ./...' pass 2019-04-15 19:54:46 +08:00
Zexi Li
2320dd0ad3 fix: baremetal scheduler forecast fail (#349) 2019-04-12 12:34:08 +08:00
Qiu Jian
004d9b6f95 update copyright headers of all source 2019-03-29 14:47:48 +08:00
Zexi Li
ab0d45a24f 修复 baremetal 创建的一系列问题:
1. dhcp 并发请求冲突
2. 调度 storage 不适配
3. 获取 login info 字段不正确
2019-03-26 16:08:06 +08:00
Zexi Li
38da40461d scheduler: server sku predicate 2019-03-21 16:44:09 +08:00
Zexi Li
1ed92bd176 fix: gpu server not work 2019-03-20 20:07:43 +08:00
Zexi Li
6df6880501 define scheduler apis output and input structs 2019-03-20 12:03:29 +08:00
Zexi Li
19c341c297 scheduler: use compute models 2019-03-20 12:03:29 +08:00
Yousong Zhou
8fe4f2ec98 treewide: group imports with goimports
./goimports -w -local yunion.io/x/onecloud/ -corp yunion.io/x/ $GOPATH/src/yunion.io/x/onecloud/{cmd,pkg}
2019-03-13 10:46:12 +00:00