Commit Graph
305 Commits
Author SHA1 Message Date
Zexi Li ba46ca0219 feat(region,host,climc): simulating /sys/devices/system/cpu directory 2024-04-02 17:35:21 +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
wanyaoqi e87a0b6cc3 feat(region,host): guest numa allocate (#19498) 2024-02-18 19:35:23 +08:00
Jian QiuandQiu Jian c7d79f5d48 Feature/qj ipv6 support (#19249)
* feature: ipv6 support

* fix: ipv6 support more

* fix: update vendor for ipv6 support

* fix: allow enable ipv6 on existing guestnetwork

---------

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-01-15 13:32:52 +08:00
wanyaoqi a4c0b4100c fix(host): host-agent register skip upload vf nics 2024-01-08 23:20:39 +08:00
wanyaoqi 30c3ecff61 fix(host): host register set isinit false on hostId not null (#19155)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2024-01-02 14:01:03 +08:00
wanyaoqi d70dd2f541 feat(region,host,host-deployer): infiniband nic sriov support (#19128) 2023-12-30 16:56:11 +08:00
Jian QiuandQiu Jian 5de57897c2 Feature/qj support default interface (#19095)
* fix: support default gateway interface

* fix: default gateway 2

---------

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-12-26 15:35:04 +08:00
Zexi Li a270a0652c feat(host): use IsolatedDeviceModels as GPU whitelist 2023-12-04 15:23:08 +08:00
wanyaoqi 3553fc983e fix(host-deployer,host): mv deploy driver option to common options 2023-12-04 14:23:18 +08:00
Zexi Li 46a1061d7c feat(region,host,climc): aggregate server hardware information 2023-11-21 12:10:17 +08:00
Zexi Li d0e8ec1d7e fix(host): setup routes from start to end (#18675) 2023-11-14 17:56:20 +08:00
Zexi Li 71b8f5b93e Merge pull request #18657 from zexi/automated-cherry-pick-of-#18655-upstream-master
Automated cherry pick of #18655: fix(host): catch init error
2023-11-13 21:12:51 +08:00
Zexi Li 22b2eabdc1 fix(host): catch init error 2023-11-13 20:40:39 +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
Zexi Li 9a9414452b feat(monitor,region,host,cloudmon): support VictoriaMetrics as TSDB backend 2023-11-10 15:36:02 +08:00
Zexi Li 478e1844c9 fix(host): ignore error when add bridge ip address route (#18600) 2023-11-08 17:39:54 +08:00
Qiu Jian fde1982505 fix: host fail to migrate interface routes 2023-11-03 23:58:01 +08:00
Qiu Jian dec9b9cb2f fix: dhcp hostname not compatible with some os 2023-10-31 11:59:29 +08:00
wanyaoqi 1431accd84 fix(host): skip isolated device probe on kvm not support 2023-10-25 23:56:06 +08:00
wanyaoqi 9718572053 fix(host): host sysinfo metadata double quota (#18239) 2023-10-09 18:36:32 +08:00
wanyaoqi 40e2f60a26 fix(host): avoid panic on host record not init 2023-09-21 11:03:38 +08:00
Qiu Jian 5f65cc49bc fix: some kernel params tune by default 2023-09-07 23:58:31 +08:00
wanyaoqi 4484a96c8d feat(region,host): vgpu support, refector host registor (#17879)
* feat(region,host): refactor host register

* feat(region,host): vgpu support

add nvidia/amd vgpu support.
nvidia vgpu need manaul configure vgpu instance before add in host.conf

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

---------

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-09-01 15:42:22 +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
wanyaoqi dd51418e45 fix(host): gpu probe miss 3d type gpu (#17805) 2023-08-21 12:32:17 +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
ioito 849900f3ce fix(host): log storage offline reason 2023-06-29 17:46:02 +08:00
Zexi Li 8206e651ce fix(host): add some logs for dhcp relay (#17387) 2023-06-27 23:50:52 +08:00
wanyaoqi 52d1cf26ab feat(region,host): support lvm disk as guest sys disk 2023-06-05 16:06:58 +08:00
wanyaoqi 9d12a39598 feat(region,host): custom pci device type 2023-05-17 17:23:34 +08:00
wanyaoqi d394d9bb55 feat(region,host): nvme device passthrough 2023-04-24 17:55:39 +08:00
wanyaoqi 7ec7b22fcc fix(host): recover page size on hugepage disabled 2023-04-08 13:01:59 +08:00
wanyaoqi a6705c4452 fix(region,host): host health misc fix
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-13 09:41:27 +08:00
Qiu Jian 9433fc14a8 fix: add disable_local_vpc option and auto config ovn for lbagent and
host
2023-02-22 14:35:43 +08:00
Jian QiuandQiu Jian a1350b1e60 fix: hostman setup tuned-adm profile virtual-host (#15918)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-02-18 08:53:44 +08:00
wanyaoqi 693257697e feat(region,host): support ovs offload. (#15915)
Cloudpods Ovs offload implemention base on SR-IOV support.
IsolatedDevices add field `OvsOffloadInterface`.

Host config add `ovs_offload_nics` to specify which nic enable ovs
offload, and removed flag `disable_sriov_nics` add flag `sriov_nics` to
configure sriov nics.

Tested Hardware: Mellanox ConnectX-5 NICs
2023-02-18 08:48:07 +08:00
Qiu Jian d34a04f896 fix: lbagent containerize issues 2023-02-08 10:49:05 +08:00
wanyaoqi e34afc1abb feat(host): kvm vcpus bind cpuset on numa nodes and cpu dies (#15732)
- alloc cpuset on guest startup, try to alloc on one numa or cpu die
- fix guest startup task not clean
- fix cgrup tasks not clean
2023-01-08 09:29:12 +08:00
wanyaoqi e42c91e5ea fix(host): detect qemu caps
ingnore pmemclean output on qemu version 2.12.1

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-12-30 11:50:09 +08:00
wanyaoqi d6721519ce fix(host): don't set ovs interface external id on migrating (#15497)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-12-08 14:42:46 +08:00
wanyaoqi 32a9f1840a fix(host): update host wire with mac addr (#15500) 2022-12-07 02:15:05 +08:00
Qiu Jian e5adbfc19a fix: host disable gso for specific nics 2022-12-04 00:56:17 +08:00
Qiu Jian 1d0f715843 fix: automatically set disk is_ssd according to storage medium_type 2022-11-15 00:14:33 +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
Jian QiuandQiu Jian 5d9d253328 fix: mcclient code cleanup 20221106 (#15310)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-07 02:19:24 +08:00
wanyaoqi 47fcc088bb feat(host): add hyperv cpu features for kernel 5.4 (#15221)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-10-24 05:44:35 +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
wanyaoqi e83b167e43 feat(host): qemu kvm cpu caps 2022-10-11 18:34:38 +08:00