54 Commits
Author SHA1 Message Date
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
Zexi Li 47442d0fb5 scheduler: 修复 host cache desc 缺失 ZoneID 导致 prefer_zone 机制不生效 2019-01-08 23:48:27 +08:00
Zexi Li c0102d0a32 scheduler: host 的 zone status 为 enable 时才能调度 2019-01-05 17:50:53 +08:00
Qiu Jian d008d47f52 Avoid empty policy rules 2018-12-25 16:31:07 +08:00
Zhang Dongliang 2fd89c4ae6 make fmt 2018-12-24 19:36:31 +08:00
Zexi Li 4e344450c5 scheduler: add resource type filter 2018-12-07 15:45:03 +08:00
wanyaoqi e64b71818b region: support create backup guest;
scheduler: support backup guest schedule
2018-11-20 21:29:43 +08:00
Yousong Zhou 760862f1a0 govet: unexported field with tag defined
pkg/scheduler/cache/candidate/hosts.go:54: struct field storageTypes has json tag but is not exported
2018-10-22 12:32:00 +00:00
Zexi Li 4d6fbcdf0c scheduler: dynamicschedtags support 2018-10-18 18:01:31 +08:00
Zexi Li 2ea45a7120 region: spec handler 2018-09-15 01:49:11 +08:00
Zexi Li e6788bb75e add doc.go for each package 2018-08-11 14:41:38 +08:00