Commit Graph

58 Commits

Author SHA1 Message Date
Zexi Li
3d778311aa fix(scheduler): storage failed reason isn't showed in forecast result 2023-03-08 13:03:36 +08:00
Zexi Li
407c90ccfb optimized(scheduler): reduce sql query of mysql (#15878) 2023-01-31 19:30:58 +08:00
Zexi Li
076b6e5387 fix(scheduler): do migrate checking when hypervisor is not esxi 2023-01-03 18:14:51 +08:00
Zexi Li
15912a9882 fix(scheduler): consider storage backend and mediumType size (#15469) 2022-12-01 01:22:36 +08:00
Qiu Jian
4fe9dcec16 fix: scheduler ignore storage capacity constraint if migrating 2022-11-11 19:49:57 +08:00
Zexi Li
0e2c520ecd feat(misc): use cloudmux package (#15254) 2022-10-28 19:53:03 +08:00
wanyaoqi
3d0c09195e feat(region,host): hugepage optimize
- host agent will not allocate hugepage on init
- except hugepage, the remaining memory update to reserved memory
- default hugepage size 1024M
- host model add page size field

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-10-12 14:57:13 +08:00
Qiu Jian
24c83d6f9a fix: scheduler add missing context 2022-04-05 11:29:30 +08:00
Zexi Li
7492da80c3 fix(region,scheduler): live migrate target host kernel version check 2022-01-04 18:42:20 +08:00
Qiu Jian
7a7a4bd5a2 feature: server create with existing disks 2021-12-05 17:48:30 +08:00
Zexi Li
d5ef3c1307 fix(scheduler): cpu arch match 2021-09-22 11:13:01 +08:00
Zexi Li
e82a3deb7e fix(cloudcommon): unify OS_ARCH constants 2021-04-15 10:52:34 +08:00
Zexi Li
a757361465 Merge pull request #10202 from swordqiu/feature/qj-live-migration-skip-cpu-check
feature(compute): allow live migration without checking Host CPU modes
2021-02-22 08:59:16 +08:00
tangbin
03d96ca48b change os_arch_arm to os_arch_aarch64 2021-02-18 11:27:33 +08:00
Qiu Jian
3944d9ce07 feature(compute): allow live migration with checking Host CPU modes 2021-02-13 16:30:56 +08:00
Zexi Li
bdd112e80b fix(scheduler): storage predicate add actualCapacity filter 2020-12-19 19:56:26 +08:00
Qu Xuan
7bac9144ef feat(region): optimized public image sync 2020-11-30 17:23:51 +08:00
yunion-ci-robot
128173d320 Merge pull request #7620 from wanyaoqi/feature/wyq/arm-v2
feature: arm support
2020-10-26 15:50:40 +08:00
wanyaoqi
75cd041d79 baremetal colloct isolated devices info (#7357) 2020-08-28 12:10:34 +08:00
wanyaoqi
e510ed1969 add host cpu archs capabilitie 2020-08-27 11:07:50 +08:00
wanyaoqi
7d94c4e46f support create arm virtual machine 2020-08-27 11:05:21 +08:00
Zexi Li
0957fee3d0 scheduler: fix storage filter duplicate error message 2020-07-19 20:23:35 +08:00
Zexi Li
2e93072691 scheduler: filter disabled cloudprovider 2020-05-14 18:09:26 +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
8286d318ac scheduler: refactor network_predicate filter 2019-09-28 18:23:27 +08:00
ioito
6c88755166 fix: private sku sync and delete 2019-08-13 19:39:37 +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
Zexi
fcf600f6b2 scheduler: add schedule filter interface to guestdriver 2019-06-21 17:09:44 +08:00
Zexi
4aa4bafd7b scheduler: add image zone filter 2019-06-20 21:36:38 +08:00
ioito
0e25416215 fix balance permission error 2019-06-14 13:38:13 +08:00
Zexi
06f1303f54 scheduler: add domain filter 2019-06-10 19:41:16 +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 Li
e01c4e590f support network schedtag 2019-04-18 09:48:18 +08:00
Zexi Li
34ddb8ea4b add https://github.com/stretchr/testify to vendor for unit tests (#367) 2019-04-13 10:59:09 +08:00
Zexi Li
886c66bc67 fix: scheduler network predicate not set capability when host filtered (#279) 2019-04-08 22:35:41 +08:00
Qiu Jian
2c515a7edd fix: exclude hosts whose cloud provider's status not in
CLOUD_PROVIDER_VALID_STATUS
2019-04-01 21:02:03 +08:00
Qiu Jian
b659789c62 fix: track balance status of cloud account and avoid unhealth account 2019-04-01 21:02:03 +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
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
5c0b04973a region: support server import 2019-01-08 21:32:57 +08:00
Zexi Li
c0102d0a32 scheduler: host 的 zone status 为 enable 时才能调度 2019-01-05 17:50:53 +08:00
Zexi Li
2c5ed4b360 scheduler: make schedtag prefer and avoid strategy work 2018-12-12 19:56:21 +08:00
Zexi Li
87a5c43ef3 scheduler: 兼容 v2 region 的输入 2018-11-26 13:35:22 +08:00
Zexi Li
0ef732ea81 resolve merge conflict 2018-11-13 14:05:39 +08:00