301 Commits

Author SHA1 Message Date
Jian Qiu 63ef1dad78 fix: unhandled errors (#25383)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-08-20 17:30:29 +08:00
Zexi Li 25bd5f8ed9 fix(baremetal): restore missing brace in ipmitool test helper (#25295) 2026-08-07 18:31:33 +08:00
Bo Xu 1d7ceb3c66 fix(baremetal): add IPMI LAN channel discovery with fallback (#25222)
* fix(baremetal): add AllowFallback guard for OEM profile LAN channel authority

OEM/model profiles are authoritative allowlists; their LanChannels must not be overridden by the fallback 1..11 scan. Add AllowFallback bool to LanConfigSelectionOptions, wrapping the fallback scan in a conditional. When false (default), only preferred and persisted channels are probed.

* fix(baremetal): set AllowFallback on ipmiprobe and manager callers

manager.checkIpmiInfo: AllowFallback=false (profile always present). ipmiprobe.doRawIpmiProbe: AllowFallback=profile==nil (fallback only when no profile exists).

* fix(baremetal): set AllowFallback=false in configIPMISetting, cleanup bm_register

configIPMISetting: AllowFallback=false (profile always present). bm_register.updateIpmiInfo: replace profile-based channel scan with GetLanConfig on the registered channel directly.

---------

Co-authored-by: Zexi Li <zexi.li@icloud.com>
2026-08-07 18:26:09 +08:00
Zexi Li 3270a5dd79 fix(baremetal): tolerate ipmitool exit 1 when lan output is usable (#25291)
Some BMCs return exit status 1 from ipmitool lan print even with valid
LAN config, which caused IPMI probe to fail with no IPMI lan NotFoundError.
2026-08-07 17:22:56 +08:00
Zexi Li 0c04596500 feat(baremetal): support IPMI RMCP+ cipher suite probe and persist (#25239)
Auto-detect working ipmitool -C suites (0/3/17) and store cipher_suite on host IPMI config for subsequent connections.
2026-07-28 10:27:20 +08:00
wanyaoqi 76f035e4e3 feat(region,host,scheduler): isolated device refactor and hami support (#25182) 2026-07-20 14:00:04 +08:00
wanyaoqi d64f7fde42 fix(baremetal-agent): bm register reuse baseprepare updateBmInfo (#24472) 2026-03-18 10:10:13 +08:00
Jian Qiu f50f83feb1 fix: endpoint mode slave (#24016)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-01-06 18:05:41 +08:00
wanyaoqi d4046b6c36 Automated cherry pick of #23725: feat(baremetal-agent): Linux PCIE disk support mdadm soft raid (#23930)
* feat(baremetal-agent): Linux PCIE disk support mdadm soft raid

* fix(baremeta-agent): soft raid support intel imsm

* fix: update baremetal-agent base
2025-12-22 13:29:36 +08:00
wanyaoqi dce09a3117 fix(host,host-deployer): host-deployer add password quality check (#23876) 2025-12-02 17:02:42 +08:00
Zexi Li 7442954db5 fix(baremetal-agent): msdos typo in grub configuration (#23776) 2025-11-20 10:39:26 +08:00
Zexi Li dea5f90e5b fix(baremetal): power status of server is not synced (#23688) 2025-11-10 11:13:05 +08:00
Zexi Li 04de29158a fix(baremetal-agent): chose root disk by pci path (#23683) 2025-11-04 20:09:30 +08:00
Zexi Li 30ca0f530f fix(baremetal): ensure the execution of the BaremetalServerDestroyTask (#23498) 2025-10-09 17:07:59 +08:00
wanyaoqi 6c53ace799 fix(region,baremetal): ipv6 baremetal register support (#23419) 2025-09-29 15:22:14 +08:00
屈轩 eb82b9d9ca fix: upgrade go 1.24 (#23241) 2025-09-05 18:26:33 +08:00
Zexi Li 905cad3f5e fix(baremetal): update the grub auto configuration to fix the aarch64 disk boot (#23131) 2025-08-20 15:11:22 +08:00
Zexi Li cd51076bc6 fix(baremetal-agent): error occurred when removing logical volumes on the arm64 host (#23121) 2025-08-20 12:00:07 +08:00
Jian Qiu 66901a4964 fix: host network ipv6 support (#22963)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-02 12:12:26 +08:00
Jian Qiu 78bf0bcb2f fix: dhcpv6 support phase 3 (#22880)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-12 12:10:18 +08:00
Jian Qiu 96cf60afeb fix: host no default routes due to empty ipv6 addr (#22870)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-10 22:33:59 +08:00
Jian Qiu ec40153b92 fix: dhcpv6 support, phase 2 (#22851)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-09 14:15:03 +08:00
Jian Qiu 36f629e349 fix: dhcpv6 support, initial support (#22820)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-03 14:36:59 +08:00
wanyaoqi 88cd7551e5 fix(host): update host-base to v0.7.0 (#22085)
* fix(host): update host-base to v0.7.0

* fix(cronjob): init timezone, timer set location
2025-02-15 00:02:32 +08:00
Zexi Li 234d40de78 fix(baremetal): panic when save desc (#21867) 2024-12-20 16:18:57 +08:00
wanyaoqi dc88d51d12 fix(region,scheduler,host): container numa aware (#21506)
- optimize host register isolated device update
- container device base try detect numa node
- container alloc numa memory
- calc numa distance before select isolated device

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2024-11-02 07:50:32 +08:00
Guojie0922 186823b595 1、裸金属删除时,GuestUndeployTask会出现无法调用任务完成方法OnGuestUndeployComplete,导致任务卡住的情况 (#21079)
* 1、裸金属删除时,GuestUndeployTask会出现无法调用任务完成方法OnGuestUndeployComplete,导致任务卡住的情况
2、裸金属删除时,回调用baremetal-agent的sync-config接口不止一次,调用时出现请求参数没有传递server_id情况,导致在OnPXEBoot调用getServer时删除了baremetal的server信息,致使后面的DoEraseDisk方法报错

* 1、裸金属删除时,GuestUndeployTask onInit去掉host不为空时的SetStageComplete函数

---------

Co-authored-by: gj <gj@qq.com>
2024-09-13 14:36:47 +08:00
Zexi Li ef2e14c584 optimze(baremetal): dhcp prefix hints (#21074) 2024-08-22 15:27:26 +08:00
Zexi Li b46783f94f fix(baremetal): ignore 0.0.0.0 ipmi address when probing (#21009) 2024-08-13 17:43:39 +08:00
Zexi Li 4f4400bc41 feat(region,baremetal): validate ipmi info (#20787) 2024-07-12 10:17:37 +08:00
Zexi Li b66d955fe9 fix(baremetal): some tasks don't implement IServerBaseDeployTask interface (#20786) 2024-07-10 16:15:46 +08:00
Zexi Li 25a41453cf fix(scheduler,baremetal): match RAID and PCIE storages in range (#20770)
The index of PCIE storages is not reindex when range is provided.
2024-07-09 11:12:27 +08:00
Jian Qiu 44183fb021 feature: support baremetal profile (#20687)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-06-30 22:22:45 +08:00
Zexi Li 83a96ef8f2 feat(region,baremetal,climc): support baremetal root disk matcher (#20480) 2024-06-05 00:17:30 +08:00
屈轩 f0924b413b fix(baremetal-agent): avoid dead lock (#20475) 2024-06-04 18:04:37 +08:00
Jian Qiu 152b00d2d5 fix: support host local network (#20349)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-05-24 12:20:39 +08:00
wanyaoqi ac86aca7c8 feat(host): NewPciDevice add executor 2024-04-15 21:50:34 +08:00
Jian Qiu eee56aba23 fix: fail to detect lv by megacli64 and storecli (#19881)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-04-08 00:27:04 +08:00
Zexi Li 05ad7150b2 fix(baremetal): admin nic is reset when added secondly (#19378) 2024-01-30 16:18:07 +08:00
Zexi Li ab50ed67a1 fix(baremetal): hardcode h3c ipmi lan channel to 1 2024-01-25 11:55:02 +08:00
Jian Qiu 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
Qiu Jian 2d4872cad3 fix: avoid megacli hang on adpallinfo 2023-12-28 21:31:01 +08:00
Jian Qiu 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 5a02dfc7c0 feat(baremetal-agent): support using tftp to download kernel and initrd (#19064) 2023-12-21 00:50:48 +08:00
Zexi Li 30c3016218 fix(baremetal): disable probe access mac by redfish driver (#18847) 2023-12-03 15:33:43 +08:00
Qiu Jian 66f53fa89e fix: extend gpu pci class codes 2023-11-13 16:19:02 +08:00
Zexi Li ed05401e1d Merge pull request #18617 from zexi/automated-cherry-pick-of-#18545-upstream-master
Automated cherry pick of #18545: feat(monitor,region,host,cloudmon): support VictoriaMetrics as TSDB backend
2023-11-10 16:05:51 +08:00
屈轩 f52e78a64d fix(common): support report bug (#18626) 2023-11-10 15:46:07 +08:00
Zexi Li 9a9414452b feat(monitor,region,host,cloudmon): support VictoriaMetrics as TSDB backend 2023-11-10 15:36:02 +08:00
wanyaoqi d5d0c54961 fix(host-deployer): deploy qga conf according hypervisor 2023-10-23 10:42:03 +08:00