Qiu Jian
877c732b22
fix: init shceduler schedinfo project and domain
2023-01-05 16:16:31 +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
Zexi Li
bdd112e80b
fix(scheduler): storage predicate add actualCapacity filter
2020-12-19 19:56:26 +08:00
Zexi Li
870db8e879
fix(scheduler): fetch input network when specified
2020-12-16 17:48:53 +08:00
Zexi Li
7d836f77a6
fix(scheduler): get candidates error more info
2020-12-14 14:39:27 +08:00
Zexi Li
0ed41b09e1
scheduler: forecast api with candidates result
2020-11-04 21:10:07 +08:00
Rain
ca58fb8d21
fix(scheduler): filter InstanceGroup whose enabled is false
2020-09-28 15:54:12 +08:00
Qiu Jian
c516525dbb
fix: scheduler token not support policy
2020-09-19 23:39:54 +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
Qiu Jian
b8238d2059
fix: scheduler aware policy
2020-09-04 10:36:21 +08:00
Zexi Li
d8d6e8c5b5
scheduler: fix memory over committed
2020-06-16 18:51:13 +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
8ba5986d83
goimports: first run
2019-10-28 06:22:17 +00: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
fcf600f6b2
scheduler: add schedule filter interface to guestdriver
2019-06-21 17:09:44 +08:00
Zexi
5813b924fa
scheduler: set input networks domain if empty
2019-06-15 15:28:51 +08:00
Zexi
64cca04a17
scheduler: add pending usage process
2019-05-29 19:57:44 +08:00
Zexi
c54758fbb4
use scheduler apply sched policies
2019-05-16 20:26:22 +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
eab87ed6df
fix: scheduler forecast backup server not work ( #399 )
2019-04-15 15:17:10 +08:00
Qiu Jian
004d9b6f95
update copyright headers of all source
2019-03-29 14:47:48 +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
4c82dae39b
Merge remote-tracking branch 'origin/release/2.6.0' into bugfix/yousong-goimports-270
2019-03-13 13:33:51 +00: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
1c8b745860
scheduler: add scheduler forecast api
2019-03-04 14:06:01 +08:00
Zexi Li
af4a3360f0
scheduler: forecast api
2019-03-01 20:08:07 +08:00
Zexi Li
ffd498566f
scheduler: fix backup master host schedule failed
2019-02-22 12:28:54 +08:00
Zexi Li
cc09b6e31f
scheduler: fix prefer backup host schedule fail
2019-02-22 11:18:05 +08:00
李泽玺
3021e37e87
Automatic merge from release/2.5.0 -> release/2.6.0
...
* commit '9d6a769c8b0afe2fc5b9126f749135cf70fcd7ae':
baremetal: host convert failed
fix: recode host convert codes to fix scheduler failure issues
2019-02-13 15:48:21 +08:00
Zexi Li
1fe2bbe0e0
baremetal: host convert failed
2019-02-13 15:10:10 +08:00
Zexi Li
16084f8c5f
baremetal: task refactor
2019-01-23 21:06:58 +08:00
Zexi Li
93a4085c9e
- region: nil spec when prepaid host is not empty
...
- scheduler: set default resource_type shared
2018-12-14 13:25:59 +08:00
邱剑
17aa485093
Automatic merge from release/2.3.0 -> release/2.4.0
...
* commit '4ec6a728f9132ed87a3d386afe5bd839c6f6e8b8':
fix: gpu server not work
2018-12-13 11:54:52 +08:00
Zexi Li
55a8c869f7
fix: gpu server not work
2018-12-13 11:53:54 +08:00
Zexi Li
4df0c08db8
fix: scheduler not mark prepaid host dirty
2018-12-08 00:57:23 +08:00
Zexi Li
4e344450c5
scheduler: add resource type filter
2018-12-07 15:45:03 +08:00
邱剑
00e001d981
Merge pull request #471 in YUNIONIO/onecloud from ~WANYAOQI/onecloud:feature/wyq/guest-disks-backup to release/2.4.0
...
* commit 'e64b71818b9f32f49ece1accce7adf011d12a4e1':
region: support create backup guest; scheduler: support backup guest schedule
2018-11-26 13:45:08 +08:00
Zexi Li
87a5c43ef3
scheduler: 兼容 v2 region 的输入
2018-11-26 13:35:22 +08:00
wanyaoqi
e64b71818b
region: support create backup guest;
...
scheduler: support backup guest schedule
2018-11-20 21:29:43 +08:00
TangBin
74e3f9a699
update vendor
2018-11-10 20:00:36 +08:00
邱剑
492469887b
Merge pull request #431 in YUNIONIO/onecloud from ~QUXUAN/onecloud:feature/qx-qcloud to release/2.3.0
...
* commit 'aab792ffa8ee7f873ab24d5d9ae66bc7ef3ec548':
添加部分aliyun操作
支持腾讯云资源导入
2018-11-10 13:35:05 +08:00
屈轩
aab792ffa8
添加部分aliyun操作
2018-11-08 15:37:30 +08:00