Commit Graph
358 Commits
Author SHA1 Message Date
wanyaoqi 3f9398dbe7 fix(region,scheduler): sub pending usage on select cpu numa pin (#20946)
- reset guest cpu numa pin before start guest
- sub pending usage on select cpu numa pin
- hypervisor pod record pending usage
- add core:threads pair allocate, use same core threads first

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2024-08-02 10:22:40 +08:00
wanyaoqi 111b8ed678 feat(region,host,scheduler): scheduler support allocate cpu numa pin (#20932) 2024-07-30 19:10:38 +08:00
屈轩 10656d1a6c fix(scheduler): 修复cloudpods宿主机网络调度问题 (#20750) 2024-07-08 10:51:52 +08:00
wanyaoqi dd49b1e5a6 fix(scheduler): optimize get guests by hosts ids (#20702) 2024-07-02 00:17:39 +08:00
wanyaoqi cf48918ca3 feat(region,host,scheduler): container ascend npu isolated device (#20411) 2024-05-31 00:11:16 +08:00
Jian QiuandQiu Jian 152b00d2d5 fix: support host local network (#20349)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-05-24 12:20:39 +08:00
屈轩 c64bea6a0e fix(scheduler): cloudprovider predicate (#20312) 2024-05-20 11:52:47 +08:00
Zexi Li db7d59bdac fix(scheduler): container vpc network (#20230) 2024-05-10 14:38:45 +08:00
屈轩 d4900e7d45 fix(region): cloudpods baremetal (#20133) 2024-05-07 18:18:43 +08:00
wanyaoqi 5fc42614c3 feat(region,host): container mps support (#20138)
* feat(region,host): container mps support

* fix: gencopyright
2024-04-30 17:39:40 +08:00
Qiu Jian 74f4bc85e8 fix: host nic index should be unique 2024-04-10 01:33:25 +08:00
Zexi Li 366340e74c feat(region,scheduler,host): container lifecycle and cgroup devices permissions 2024-03-21 19:42:08 +08:00
Zexi Liandwanyaoqi 6313ce87a3 Support pod container (#19706)
* feat(region,scheduler,host): support pod and container

* feat(region,host): container nvidia gpu support

* fix(region,host): function parameters

---------

Co-authored-by: wanyaoqi <d3lx.yq@gmail.com>
2024-03-12 18:47:44 +08:00
屈轩 4185ce95f9 fix(scheduler): skip network exit check (#19664) 2024-03-06 19:10:38 +08:00
Zexi Li 7199877ebe fix(scheduler): unsued key 2024-02-28 10:26:31 +08:00
Jian QiuandQiu Jian 81a12d1f16 feature: allow manager to preapre query context (#19451)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-05 20:06:40 +08:00
Zexi Li cb8359abd8 optimized(scheduler): remove fillResidentTenants function loading data from db 2024-01-25 17:06:39 +08:00
Zexi Li 793a73c544 fix(scheduler): reload cloudprovider's hosts when syncing finished 2023-12-15 20:20:46 +08:00
guoguangwu e4b396e870 chore: unnecessary use of fmt.Sprintf d
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
2023-11-12 21:08:23 +08:00
Qiu Jian 03f3226360 fix: scheduler ping/pong response mime 2023-10-30 13:12:59 +08:00
Zexi Li 80ff0dcf3f fix(scheduler): fetch host storages directly 2023-10-24 14:28:15 +08:00
Zexi Li d7b355d3f4 fix(scheduler): improve scheduler prefer and avoid tags strategy (#18372) 2023-10-20 20:46:01 +08:00
Jian QiuandQiu Jian f4d8afef46 fix: allow vmware network associate with multiple wires (#18318)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-19 09:15:30 +08:00
屈轩 71644db668 fix: docgengo (#18350) 2023-10-18 06:18:53 -05:00
wanyaoqi 8d0875f99a fix(scheduler): isolated device predicate miss sriov nic 2023-10-16 16:21:00 +08:00
Zexi Li b30d21b110 fix(scheduler): some joint resources are not synced 2023-09-27 16:54:49 +08:00
Jian QiuandQiu Jian c5dd7939fc fix: vmware host wire recode (#17818)
* fix: vmware host wire recode

* update vendor

* update vendor

---------

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-24 16:36:55 +08:00
Jian QiuandQiu Jian b7b2a630f5 fix: remove hostwire to cleanup host-wire codes (#17670)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-04 23:40:54 +08:00
Zexi Li 57751a20bf fix(scheduler): auto allocation network selection is not working 2023-07-27 12:20:23 +08:00
Zexi Li 22c764246a Merge pull request #17509 from wanyaoqi/feat/ovs-offload-vpc-support
fix(region,scheduler): ovs offload support vpc network
2023-07-13 21:45:07 +08:00
wanyaoqi 9e6b8ed538 fix(region,scheduler): ovs offload support vpc network 2023-07-13 14:37:59 +08:00
吴典秋 6e06d6eea2 fix fillStorage get storage cause scheduler panic 2023-07-13 08:34:24 +08:00
Zexi Li e0c47dd5df feat(apimap): fetch vpcagent net topo info from DB (#17038) 2023-05-15 14:48:24 +08:00
Zexi Li 55fa9ef1d0 Merge pull request #16845 from wanyaoqi/feat/lvm-disk
feat(region,host): storage backend lvm and nvme
2023-04-27 21:07:32 +08:00
Zexi Li b667a4ccc3 fix(scheduler): skip load esxi network free-port cache 2023-04-27 09:27:26 +08:00
wanyaoqi d394d9bb55 feat(region,host): nvme device passthrough 2023-04-24 17:55:39 +08:00
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
Qiu Jian 1d5a43d66d fix: init shceduler schedinfo project and domain 2023-01-05 15:26:33 +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 b4c08e23f7 fix(scheduler): reduce calculation of storage's free_capacity 2022-12-30 12:40:54 +08:00
Jian QiuandQiu Jian 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 2643c8916e optimize(scheduler): reduce calculation of network free address (#15595)
- only calculate non-emulated host's network on building
- calculate emulated host's network on scheduling
2022-12-20 20:54:16 +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