Qiu Jian
354a61632d
fix: scheduler test ignore quota limit
2020-05-27 10:10:39 +08:00
Zexi Li
2e93072691
scheduler: filter disabled cloudprovider
2020-05-14 18:09:26 +08:00
Zexi Li
e00b1fdc3b
scheduler: set schedtag default strategy if input empty
2020-05-14 17:23:02 +08:00
Zexi Li
f39c829595
scheduler: fix network predicate get wrong free port
2020-04-25 23:23:43 +08:00
Qiu Jian
a687d49181
fix: add scheduler support
2020-03-27 01:20:30 +08:00
wanyaoqi
f4d86b4fb2
guest add metadata cpu mode
...
- live migrate if guest cpu mode is qemu, do not check host cpu mode
- disk name generation replace '_' to '-'
2020-03-20 15:04:46 +08:00
Zexi Li
4f3d7c2c32
scheduler: fix disk allocated not balanced
2020-03-14 16:39:26 +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
d048c3ac69
remove bw/ebw quota from scheduler
2020-01-04 23:30:52 +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
ccaddaf19f
minor fix
2019-12-24 20:13:03 +08:00
郑雨
b59a145184
fix: Fix that fail to create vm with unforced instance group
...
1. This is a bug because of latest modify about scheduler's instance_group_predicate.
Should set minFree as zero when founding that host can't be used to create vm
with requested forced instance group.
2. Fix some little error of instance group.
3. Add PerformEnable and PerformDisable for instance group.
4. Clean scheduler desc cache after having attached or detached guests and groups
and enabled group. Cleaning was necessary when disable group because disabled
group is prohibited.
5. Add package 'golang.org/x/sync/errgroup'.
2019-11-07 15:35:51 +08:00
Rain
8e55bee9b3
feat & fix: Add batch operator and fix some bugs for instance group
...
Feature:
1. Add apis: list server by group, list group by server, bind
servers, unbind servers, bind groups, unbind groups.
2. Add climc command and docs corresponding to the above newly added apis
3. Add log about binding and unbinding operator.
4. Support enable and disable instance group.
Fix:
1. Set capacity zeor if there are not enough resource aboue forced
instance group in one host.
2. Change the stage(real delete => pending delete) that guest leave all groups.
2019-11-06 13:06:03 +08:00
Yousong Zhou
8ba5986d83
goimports: first run
2019-10-28 06:22:17 +00:00
Zexi Li
e8377a8709
baremetal: add cdrom boot schedule
2019-10-23 11:18:27 +08:00
yunion-ci-robot
a01ca71e05
Merge pull request #3295 from swordqiu/feature/qj-baremetal-iso-support
...
feature: baremetal support iso operation
2019-10-22 21:01:05 +08:00
Qiu Jian
42ed1f7961
feature: baremetal support iso operation
2019-10-21 01:07:49 +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
Zexi Li
d52e7acb78
scheduler: adjust skip network filter condition
2019-10-15 16:20:06 +08:00
Zexi Li
7c2aca5ded
Merge pull request #3141 from zexi/bugfix/scheduler-network-specfied
...
fix: scheduler specfied network no errors
2019-10-09 21:10:05 +08:00
Zexi Li
e327cbd260
fix: scheduler specfied network no errors
2019-10-09 21:08:36 +08:00
Rain
10991015ef
guest persion
2019-10-09 20:43:35 +08:00
Zexi Li
b019ca3fc4
scheduler: fix random network domain not matched
2019-10-07 12:04:03 +08:00
Zexi Li
22a6032f2b
scheduler: set random network filter default scope domain
2019-10-06 10:31:02 +08:00
Zexi Li
8286d318ac
scheduler: refactor network_predicate filter
2019-09-28 18:23:27 +08:00
Zexi Li
3600fa351d
scheduler: fix baremetal disk and storage not match
2019-09-16 20:19:29 +08:00
Zexi Li
9014c65e81
scheduler: fix disk local backend not select matched storage
2019-09-16 11:48:24 +08:00
Zexi
83613793e6
scheduler: fix disk or net specify resource id execute schedtag filter
2019-08-22 21:47:16 +08:00
ioito
6c88755166
fix: private sku sync and delete
2019-08-13 19:39:37 +08:00
Qiu Jian
c00ea1bf2e
fix: bug fixes, add docs
2019-07-24 21:29:56 +08:00
Zexi
c40815f71d
scheduler: schedtag predicate match resources then do filter
2019-07-17 13:18:43 +08:00
Zexi
9bc81fe94c
scheduler: optimize forecast filter info
2019-07-15 09:15:25 +08:00
Zexi
e4c474bdfc
scheduler: fix network schedtag not set capacity
2019-07-02 20:33:22 +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
Zexi Li
439d3fe0d2
Merge pull request #1347 from Zexi/feature/schedule-guestdriver-interface
...
scheduler: add schedule filter interface to guestdriver
2019-06-26 21:25:36 +08:00
wanyaoqi
fa370a7c6d
- live migrate filter cpu model
...
- fix list export keys
2019-06-26 13:01:11 +08:00
ioito
f94460511d
避免镜像第一次上传时未做缓存
2019-06-25 20:48:39 +08:00
yunion-ci-robot
c332634b14
Merge pull request #1287 from yousong/bugfix/yousong-bool-true
...
treewide: 将default:"true"的bool字段改为tristate.TriState
2019-06-22 12:17:49 +08:00
Zexi
fcf600f6b2
scheduler: add schedule filter interface to guestdriver
2019-06-21 17:09:44 +08:00
Zexi Li
afe0d15e24
Merge pull request #1341 from Zexi/hotfix/scheduler-score
...
scheduler: fix prefer avoid score
2019-06-21 14:05:12 +08:00
Zexi
d17fbaf02c
scheduler: fix prefer avoid score
2019-06-21 13:57:13 +08:00
Zexi
4aa4bafd7b
scheduler: add image zone filter
2019-06-20 21:36:38 +08:00
Yousong Zhou
bb1fd0bc59
treewide: 将default:"true"的bool字段改为tristate.TriState
...
使用以下命令进行字段类型更改
ag 'bool .*`.*default:"true"' pkg \
| grep models \
| cut -f1 -d: \
| xargs sed -i -r -e 's/bool (.*)default:"true"/tristate.TriState \1default:"true"/'
2019-06-20 11:03:38 +00:00
Zexi
dc6a9b5237
scheduler: fix shared projects network filtered
2019-06-18 22:14:44 +08:00
yunion-ci-robot
84b41aadf3
Merge pull request #1224 from wanyaoqi/feature/wyq/shared-project
...
feature: shared project resource
2019-06-16 14:30:53 +08:00
wanyaoqi
4523700054
shared project resource
2019-06-16 12:58:18 +08:00
yunion-ci-robot
97a6e3322c
Merge pull request #1196 from ioito/hotfix/qx-cloudprovider-health-status
...
fix balance permission error
2019-06-15 21:19:52 +08:00
yunion-ci-robot
71b3b57912
Merge pull request #1218 from Zexi/hotfix/sched-forcast-net-domain
...
scheduler: fix network filter specify is_public check
2019-06-15 17:26:52 +08:00