Commit Graph

181 Commits

Author SHA1 Message Date
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
Jian Qiu
21716cefb5 fix: remove mutual dependency of cloudmux on onecloud (#15621)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-27 01:21:26 +08:00
Zexi Li
15912a9882 fix(scheduler): consider storage backend and mediumType size (#15469) 2022-12-01 01:22:36 +08:00
wanyaoqi
ad3f592747 fix(scheduler): ignore fetch disk image failed (#15361) 2022-11-15 00:49:46 +08:00
wanyaoqi
70755a9a1b feat(region,host): sriov nic support (#15342)
Support sriov nic passthrough to kvm guest.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-11-13 18:17:30 +08:00
Zexi Li
beb2951523 Merge pull request #15348 from swordqiu/hotfix/qj-scheduler-ignore-storage-capacity-constraint-if-migrating
fix: scheduler ignore storage capacity constraint if migrating
2022-11-12 18:40:52 +08:00
Qiu Jian
4fe9dcec16 fix: scheduler ignore storage capacity constraint if migrating 2022-11-11 19:49:57 +08:00
Zexi Li
af0dcee9e3 fix(scheduler): check capacity of disk_schedtag_predicate (#15336)
* only check free_capacity when not migrating or non schared storage

* only check actual_free_capacity when storage is local
2022-11-10 11:42:38 +08:00
Zexi Li
0e2c520ecd feat(misc): use cloudmux package (#15254) 2022-10-28 19:53:03 +08:00
Zexi Li
8d28143a80 fix(scheduler): do free capacity check when storage filter enabled 2022-10-20 14:57:01 +08:00
Zexi Li
053944c265 fix(scheduler): check free capacity of each storage 2022-10-14 12:42:16 +08:00
Zexi Li
9952c9ad8d Merge pull request #15168 from wanyaoqi/fix/hugepages
feat(region,host): hugepage optimize
2022-10-13 09:47:18 +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
Zexi Li
48bd8d72d3 Automated cherry pick of #15120: optimize(scheduler): global cache for schedtag (#15121)
* optimize(scheduler): global cache for schedtag

* feat(scheduler): informer of schedtag
2022-10-08 20:49:38 +08:00
Qiu Jian
1aee43ab03 fix: scheduler options not updated by OptionManager 2022-06-17 23:10:00 +08:00
Zexi Li
d2907bf5bf fix(scheduler): check if chached image supports UEFI 2022-06-08 16:48:41 +08:00
Jian Qiu
fc12bdcf2e fix: add more deetails for sub-snapshot/sub-backup/sub-images (#14197)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-04 23:08:41 +08:00
Jian Qiu
37148224d2 fix: schduler not sync cached image class metadata (#13969)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-12 10:09:34 +08:00
Qiu Jian
24c83d6f9a fix: scheduler add missing context 2022-04-05 11:29:30 +08:00
rainzm
0dc3525091 feat(scheduler): class metadata ignore public system image 2022-03-08 14:49:28 +08:00
rainzm
ff02e8c3ea fix(scheduler): ignore classmetadata check when it is nil 2022-03-02 17:26:49 +08:00
rainzm
42a8eb837b feat: add project with class metadata 2022-02-15 18:22:01 +08:00
rainzm
a97341a42e feat(scheduler): add class_metadata predicate 2022-02-09 15:26:42 +08:00
Zexi Li
c9bdb3a9e6 Merge pull request #13125 from zexi/migrate-kernel-check
fix(region,scheduler): live migrate target host kernel version check
2022-01-11 09:29:28 +08:00
Zexi Li
8777eb2b60 feat(scheduler): baremetal uefi image filter 2022-01-10 10:43:19 +08:00
Zexi Li
7492da80c3 fix(region,scheduler): live migrate target host kernel version check 2022-01-04 18:42:20 +08:00
ioito
9781a06bc3 fix(region): storage add unmount status 2021-12-29 17:30:21 +08:00
Qiu Jian
7a7a4bd5a2 feature: server create with existing disks 2021-12-05 17:48:30 +08:00
Qiu Jian
1d354d8919 1. Remove is_rbac_enable option
2. code changes due to interface change
2021-12-02 10:24:23 +08:00
Zexi Li
d5ef3c1307 fix(scheduler): cpu arch match 2021-09-22 11:13:01 +08:00
Qu Xuan
2a74203508 fix(region): cloudpods network scheduler 2021-09-02 17:21:17 +08:00
Qu Xuan
f664cc25a9 fix(region): return sql error 2021-08-11 19:13:25 +08:00
rainzm
a34e59f21f fix(scheduler): make option EnableQuotaCheck work 2021-08-02 14:25:47 +08:00
Zexi Li
c8facc9489 fix(scheduler): baremetal network free address out of count 2021-06-29 20:24:35 +08:00
Zexi Li
60cc2cbc1e Merge pull request #10970 from rainzm/scheduler/hostnetwork
feat(scheduler): optimize the speed of network predicate
2021-06-25 18:27:19 +08:00
rainzm
cc5b93ea41 feat: add interface INetworkNicCountGetter 2021-06-25 15:54:48 +08:00
rainzm
bf977bb745 feat(scheduler): optimize the speed of network predicate 2021-06-25 15:53:59 +08:00
Qu Xuan
ba25d3910e fix(region): skip server migrate quota check 2021-06-07 10:13:13 +08:00
Zexi Li
e82a3deb7e fix(cloudcommon): unify OS_ARCH constants 2021-04-15 10:52:34 +08:00
Yousong Zhou
5fda85f831 region: attachnetwork: allow attach by network name
isValidNetworkInfo allows names.  Otherwise the code will panic when
a named was passed and nil was returned by the fetch call
2021-03-22 19:31:08 +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
Jian Qiu
3bb48e9371 fix(scheduler): storage medium type should not exact match (#10190)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-08 12:16:28 -03:00
Zexi Li
bdd112e80b fix(scheduler): storage predicate add actualCapacity filter 2020-12-19 19:56:26 +08:00
Zexi Li
c87c2b384b fix(scheduler): sku filter check zone if only prefer region specified 2020-12-14 16:44:10 +08:00
yunion-ci-robot
ba53f41ccd Merge pull request #9335 from zexi/hotfix/baremetal-convert-host
Hotfix/baremetal convert host
2020-12-11 13:35:10 +08:00
Zexi Li
4157d3b225 Merge pull request #9352 from zexi/bugfix/scheduler-sku-net
Bugfix/scheduler SKU net
2020-12-11 09:18:18 +08:00
Zexi Li
a78c565d4f fix(scheduler): sku by region and fill onecloud vpc networks 2020-12-10 21:12:06 +08:00