305 Commits

Author SHA1 Message Date
屈轩 499989c27e fix: update telegraf version (#25322) 2026-08-14 14:53:14 +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
屈轩 7c7353cf7b feat(aiproxy): add aiproxy (#24916) 2026-06-09 18:54:42 +08:00
Zexi Li 45c0cc4636 fix(monitor): dedupe alert trigger condition in notify templates (#24779) 2026-05-07 15:52:29 +08:00
屈轩 000f066e8c fix(esxi-agent): pve agent (#24768) 2026-05-06 17:15:37 +08:00
wanyaoqi 48bdf5e230 chore(host-deployer): update host-deployer-base to 1.5.9 (#24721) 2026-04-26 23:02:45 +08:00
屈轩 265b4d66b4 fix(host-image): update script for riscv64 host-image (#24533) 2026-03-24 11:37:26 +08:00
Zexi Li 860a8f764a fix(monitor): align multi-metric alert conditions in notifications (#24470) 2026-03-17 15:57:51 +08:00
屈轩 3a9d04254e fix(ansibleserver): update telegraf (#24358) 2026-02-27 14:06:33 +08:00
wanyaoqi aaa314feca Automated cherry pick of #24301: fix(host-deployer): online resize loop dev (#24303)
* fix(host-deployer): online resize loop dev

* fix(host-deployer): update host-deployer-base
2026-02-10 17:08:09 +08:00
Zexi Li f308bf746f Automated cherry pick of #24290: feat(monitor): support alert reason notification (#24296)
* feat(monitor): support alert reason notification

* fix(climc): commonalert list options
2026-02-10 09:06:51 +08:00
wanyaoqi 3d5bff680d feat(region,host): riscv64 cpu arch support (#24126)
* feat(region,host): riscv64 cpu arch support

* fix(region,host): compatible riscv64

* fix(host): add qemu v10.0.7 support
2026-02-01 20:28:45 +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
屈轩 201a1e33f1 fix: update host-deploy base image (#23870) 2025-12-01 11:41:08 +08:00
Zexi Li bb8b08b091 fix(monitor): title of notification by language context (#23799) 2025-11-20 20:11:54 +08:00
Jian Qiu 65fdbd20bf fix: support build rpm/deb of riscv64 (#23768)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-19 17:39:40 +08:00
屈轩 ccd731874c fix: support risc-v (#23699) 2025-11-19 17:13:57 +08:00
JinyuZhao 07d1cecf99 feat: Cloudpods basic service image RISC-V support (#23446)
This patch enables cloudpos basic service image to be built on RISC-V
platforms and support build script to work on RISC-V platforms.

Signed-off-by: Jinyu Zhao <1813479822@qq.com>
2025-10-31 19:04:15 +08:00
happy-game 0bed60eae7 [OSPP]feature:Automated installation using kickstart (#23094)
* feat(region, climc): Add kickstart parameters and metadata

- Add kickstart parameters and metadata support
- Add kickstart CLI options and management commands
- Set kickstart metadata in PostCreate
- Add related kickstart metadata fields

* feat(host): Implement automated VM installation

- Mounts the installation ISO to a unique temp path, reusing existing mounts.
- Extracts kernel (`vmlinuz`, `initrd`) to configure QEMU boot.
- Injects kernel parameters to trigger the autoinstall.
- Add kickstart configuration validation.

Modified `guestLauncher` script to handle kernel parameters with spaces
that were previously truncated by the Python script.

* feat(host): Implement Kickstart monitoring

- Automatically updates the VM status upon
receiving `KICKSTART_SUCCESS` or `KICKSTART_FAILED` signals.
- On success, cleans up temporary mount points
and restarts the server via the Region API.

* feat(region): add kickstart type metadata

Adds the `VM_METADATA_KICKSTART_TYPE` to distinguish between
kickstart configurations passed by URL or by direct content.

* feat(host): Handle kickstart installing and timeout

- Set status to 'installing' upon successful kickstart boot
- Handle KICKSTART_INSTALLING serial message for status updates
- Add timeout handling for kickstart status monitoring

* feat(host): provide Kickstart config via content

Embed the provided config content as a file in a
labeled ISO (mkisofs), then mount the ISO during
the Kickstart installation to supply the config.

* refactor(host): Enhance the kickstart installation

- Integrates kickstart status directly into the VM status, replacing metadata.
- Unifies locations for kickstart logs and temporary files.
- Uses regex for more robust status matching.
- Moves helper functions to `kickstart_helper.go`.
- Fixes an incorrect kickstart configuration filename.
- Adjusts kickstart logging.

* feat(region, host): add kickstart support for openEuler

* refactor(host): extract kickstart cleanup function

* feat(region, climc): add kickstart-complete cli

Add this command to manually update the kickstart status and
reboot VM if needed. This is mainly used by users to manually
update the kickstart status when kickstart status detection is abnormal.

* refactor(region): reduce code duplication in Kickstart validation

- unify two validateKickstartConfig functions
- extract determineKickstartType function for type determination

* fix(region, host): fix kickstart auto-reboot

- Adjusted the timing of setting the status to
`kickstart_pending` to avoid incorrect reboot checks
- Skip setting kickstart if the status is already
`kickstart_completed` to prevent unnecessary reboots
- Added cleanup of kickstart files upon VM deletion

* fix: kickstart misc fix

* feat(host): download kickstart config from URL

- download content when passing config via URL
- unified boot parameters

* feat(host): copy kickstart kernel files

* feat(host): ensure kickstart completion signal in config

---------

Co-authored-by: wanyaoqi <d3lx.yq@gmail.com>
2025-10-29 14:54:00 +08:00
屈轩 ff404302cb fix(mcp): add dockerfile for mcp server (#23618) 2025-10-28 15:23:11 +08:00
cwz_eikoh 897a6fc61f [OSPP]feature: Auto deploy llm and dify (#23282)
* feat(llm): add llm-create

* fix(llm): fix llm-create, add llm-list & llm-show

* fix(llm): format file names

* fear(llm): add exec stream

* fear(llm): init llm model cache

* fix(llm): move llm model cache to LocalImageCache

* feat(llm): auto clean model cache

* fix(llm): auto clean tmp model cache

* feat(dify): init dify-create

* fix(dify): change dify default registry

* feat: support create model with gguf file

* feat(llm): support more modelfile option for gguf file

* feat(dify): init user customize dify parameters

* feat: update llm as a service in climc

* fix: delete llm from region service

* feat: init llm service (with error)

* fix: resolve errors (task cant callback yet)

* feat: add PerformRequestHostActionByOtherService for container

* fix: make llm service usable

* feat: delete llm and dify after guest deleted

* feat(llm): add llm-image

* feat(llm): add llm-model

* feat: mv old llm to ollama

* feat(llm): init llm-batch-create(can not run)

* fix(llm): make llm-create usable

* fix(llm): add pull-model step

* feat(llm): add list and delete

* fix(llm): ollama pull official model don't rely on host & region's code any more

* feat(llm): add dify-model

* fix: remove llm's code in host & compute

* fix: remove remain code in compute

* feat(llm): Abstract out and reuse the llm_model logic

* feat(llm): abstract llm_base from llm

* fix(llm): make dify usable

* feat(llm): add sync_dify_images.sh

* fix(llm): format import

* feat(llm): support start & stop for llm and dify

* feat(llm): add model-update

* fix(llm): gendocgo
2025-10-24 13:29:31 +08:00
Jian Qiu fa67fdef77 fix: rpm/deb support postinst/preinst/prerm/postrm hooks (#23594)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-10-23 01:03:42 +08:00
Jian Qiu 9e2beac625 fix: suport bulding multi-arch rpm deb (#23569)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-10-22 23:52:58 +08:00
wanyaoqi 87c5ba8734 fix(host-deployer): update host-deployer-base to 1.4.11 (#23414) 2025-09-28 17:26:12 +08:00
屈轩 eb82b9d9ca fix: upgrade go 1.24 (#23241) 2025-09-05 18:26:33 +08:00
wanyaoqi bc5582ca84 feat(region,host,host-deployer): support set uefi boot order (#22527) 2025-05-30 10:30:53 +08:00
屈轩 6606f94ba2 fix: update file repo docker script (#22388) 2025-04-09 17:26:58 +08:00
屈轩 a034fd3d5b fix(ansbileserver): update docker file (#22381) 2025-04-09 10:54:21 +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 1ff08ad0c8 fix(monitor): not split resource when notifying (#22072) 2025-02-10 19:50:00 +08:00
wanyaoqi 3f3d7e5d0b fix(host,host-image): use nbd export images (#21738) 2025-02-10 14:16:05 +08:00
Zexi Li 4af0a0f231 fix(monitor): add metric content for email template (#21567) 2024-11-11 16:09:28 +08:00
wanyaoqi 151c1783bc fix(host-deployer): update host-deployer-base to 1.4.9 (#21404) 2024-10-12 14:14:18 +08:00
Zexi Li d07594faa4 feat(region,host): commit container to image repository (#21284) 2024-09-24 10:02:44 +08:00
Jian Qiu 7491bbbab0 fix: host build image use go 1.21 (#21263)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-09-19 03:20:01 +08:00
Zexi Li 4d8ecb6e12 optimized(apigateway): use ssh for climc pod cloud shell (#21186) 2024-09-09 16:03:18 +08:00
wanyaoqi ac9e28d02e fix(host-deployer): update host-deployer-docker base (#21178) 2024-09-06 11:25:56 +08:00
wanyaoqi e569326b83 feat(regin,host,host-deployer): qga deploy and fsdriver (#20864)
- host-deployer add deploy qga support
- host add qga partition fsdriver
- qga set network use fsdriver
- hostpinger sync qga status
2024-07-25 11:50:05 +08:00
Zexi Li c6b655ab3f fix(climc,webconsole): use OS_AUTH_TOKEN for cloud shell running inside compose environment (#20650) 2024-06-26 12:12:22 +08:00
Jian Qiu f3b9f25607 feature: support adb shell (#20245)
* feature: support adb shell

* fix(build): add kubectl into Dockerfile.kubectl

---------

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Zexi Li <zexi.li@icloud.com>
2024-05-14 20:23:30 +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
Zexi Li 861de291b8 feat(monitor): support multiple metrics alert (#20157) 2024-04-28 11:35:47 +08:00
屈轩 c4e5075405 fix(cloudid): add volcengine sp metadata (#20073) 2024-04-18 18:02:43 +08:00
wanyaoqi 8908ac38b3 fix(ansibleserver): update file repo (#19772) 2024-03-26 09:48:17 +08:00
wanyaoqi 710d5ac2cc fix(region,host): rescue mode update initramfs, vnc login no passwd (#19478) 2024-02-10 16:29:05 +08:00
Zexi Li a24d76232d feat(dhcprelay): add Dockerfile (#19376) 2024-01-31 15:22:55 +08:00
wanyaoqi b78db4e029 fix(host-deployer): add growpart resize partitions (#19252) 2024-01-15 12:14:51 +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
Zhang Dongliang d4ecbd8774 fix(docker): update dockerfile for ansible-base 2023-12-19 13:08:27 +08:00
wanyaoqi 8293f86901 fix(host-deployer): udpate yunionos, reduce yunionos memsize 2023-12-15 11:41:41 +08:00