Commit Graph
303 Commits
Author SHA1 Message Date
wanyaoqi 092eaf6870 feat(region,host): guest numa allocate (#19496) 2024-02-18 19:35:13 +08:00
Jian QiuandQiu Jian 3c6da1faac Automated cherry pick of #19249: Feature/qj ipv6 support (#19253)
* 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:33:02 +08:00
wanyaoqi abd0409f88 fix(host): host-agent register skip upload vf nics 2024-01-08 23:09:29 +08:00
wanyaoqi bdd9953199 fix(host): host register set isinit false on hostId not null (#19154)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2024-01-02 14:01:19 +08:00
wanyaoqi 9f7f0f7caa feat(region,host,host-deployer): infiniband nic sriov support (#19127) 2023-12-30 16:55:56 +08:00
Jian QiuandQiu Jian b4f6c11538 Automated cherry pick of #19095: Feature/qj support default interface (#19102)
* fix: support default gateway interface

* fix: default gateway 2

---------

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-12-26 15:35:14 +08:00
wanyaoqi 45bec04fde fix(host-deployer,host): mv deploy driver option to common options 2023-12-04 14:22:17 +08:00
Zexi Li 06dc39a591 feat(host): use IsolatedDeviceModels as GPU whitelist (#18780) 2023-11-25 19:40:53 +08:00
Zexi Li 8fb19b87d2 feat(region,host,climc): aggregate server hardware information 2023-11-21 12:00:19 +08:00
Zexi Li c810a3b144 fix(host): setup routes from start to end (#18674) 2023-11-14 17:56:11 +08:00
Zexi Li 9b8094c9a5 Merge pull request #18656 from zexi/automated-cherry-pick-of-#18655-upstream-release-3.11
Automated cherry pick of #18655: fix(host): catch init error
2023-11-13 21:12:38 +08:00
guoguangwu 65d66edbc7 chore: unnecessary use of fmt.Sprintf d
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
2023-11-13 20:42:42 +08:00
Zexi Li b3180bd87a fix(host): catch init error 2023-11-13 20:40:12 +08:00
Zexi Li 4f96f2e5fa feat(monitor,region,host,cloudmon): support VictoriaMetrics as TSDB backend 2023-11-10 15:34:01 +08:00
Zexi Li fc4cc7d0b1 fix(host): ignore error when add bridge ip address route (#18601) 2023-11-08 17:39:45 +08:00
Qiu Jian 634e52142a fix: host fail to migrate interface routes 2023-11-03 23:58:30 +08:00
Qiu Jian 9e2e2d6b8d fix: dhcp hostname not compatible with some os 2023-10-31 12:02:53 +08:00
wanyaoqi 0508225799 fix(host): skip isolated device probe on kvm not support 2023-10-25 23:54:42 +08:00
wanyaoqi 17733cdd80 fix(host): host sysinfo metadata double quota (#18240) 2023-10-09 18:36:40 +08:00
wanyaoqi 9d7a49ebdf fix(host): avoid panic on host record not init 2023-09-21 11:04:39 +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
ioito 7ff1c4c3fd fix(hostman): host and vm metric id 2022-09-20 18:03:01 +08:00
Qiu Jian 6db8d62834 fix: set vfs_cache_pressure to 350 2022-09-13 16:18:24 +08:00