Commit Graph

2063 Commits

Author SHA1 Message Date
wanyaoqi
cc8cb4dbdf fix(mcclient,region): add tasks mod, service app options (#24731) 2026-04-29 23:47:54 +08:00
cwz_eikoh
65e1160c00 Feature/hf-search (#24717)
* llm: add instant-model huggingface query commands

* fix(vllm): use ping instead of health
2026-04-24 10:28:13 +08:00
Jian Qiu
937067d7e3 fix: add version etc. aux handlers to mcp-server (#24685)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-04-17 09:59:52 +08:00
Jian Qiu
430efcc068 feature: support asymmmetric bandwidth limit (#24680)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-04-16 15:16:02 +08:00
Jian Qiu
076866bcd8 fix: climc container related commands improvements 20260414 (#24671)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-04-15 10:05:34 +08:00
屈轩
cb24c2d97e fix(region): disk fail notify (#24673) 2026-04-14 16:27:31 +08:00
屈轩
448bae5037 fix(region): support query public cloud vm modification types (#24653) 2026-04-10 16:53:45 +08:00
Jian Qiu
af9b9e3f3a fix: upgrade coredns to v1.10.1 at master (#24620)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-04-08 16:27:11 +08:00
cwz_eikoh
f73e975920 feat(llm): get available models from base_url (for ollama & openai) (#24605) 2026-04-01 15:44:11 +08:00
Zexi Li
d4ce3799a9 feat(monitor): add batch resource metrics query API (#24598)
Add unifiedmonitor class action `resource-metrics` with client options/CLI command.
Implement host/guest metric drivers to query cpu/mem/disk/net rates and attach alert state.
2026-03-31 17:45:32 +08:00
屈轩
17d3e9f0fb fix(region): allow set disk auto-delete attribute (#24486) 2026-03-19 10:27:47 +08:00
Zexi Li
3dcc91434c feat(llm): add llm_types filters and cleanup dify cli (#24458) 2026-03-16 18:05:05 +08:00
cwz_eikoh
d3ab4af466 feat(llm): init vllm as llm_container (#24338)
* feat(llm): init vllm as llm_container

* feat(vllm): fix save-instant-model for vllm

* feat(llm): support quick-model for vllm

* feat(vllm): support preferred-model in llm

* fix(llm): add ValidateSpec in llm_container_driver

* feat(vllm): auto-set vllm params
2026-03-13 11:07:02 +08:00
Zexi Li
cf2f140c08 feat(llm): add login-info api (#24431) 2026-03-12 07:21:20 +08:00
Zexi Li
6dbc39b04f feat(llm): restart action (#24427) 2026-03-11 19:08:28 +08:00
cwz_eikoh
4d625207bb feat(llm): polymetric dify with llm (#24399)
* feat(llm): polymetric dify with llm

* fix(llm): drop LLMSpecHolder & fix some bugs
2026-03-10 10:23:34 +08:00
cwz_eikoh
a279c4f89f fix: some bugs in mcp-agent & llm (#24355)
* fix(mcp-agent): encoding issue when simulated streaming

* fix(mcp-agent): use chat-stream in phase tool-choose

* fix(mcp-agent): support reasoning model

* fix(llm): add pre-delete detection

* feat(mcp-agent): add default mcp-agent

* feat(mcp-agent): add default-mcp-tools
2026-03-03 16:07:32 +08:00
Jian Qiu
3023c9cadb fix: keep climc network-create backward compatibility (#24341)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-02-25 09:02:59 +08:00
Jian Qiu
cc3a44634b feature: support postpaid traffic metering (#24243)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-02-08 12:57:34 +08:00
wanyaoqi
f76bc53e90 feat(region,host,vpcagent): allow guest network dedicate secgroups (#24263) 2026-02-07 17:32:12 +08:00
屈轩
8fe0f2b171 fix(region): snapshot policy operation (#24247) 2026-02-05 16:40:25 +08:00
屈轩
6c60c9bc43 fix(yunionconf): support tags (#24230) 2026-02-04 17:13:54 +08:00
Zexi Li
7401603981 fix(region,climc): persist netinterface vlan_id to hostnetwork (#24216)
- climc: add VlanId to host-add-netif, host-remove-netif, host-enable-netif,
  host-disable-netif
- region: set bn.VlanId from netif.VlanId when attaching to network
- mcclient: include Vlan_ID in baremetalnetworks list columns
2026-02-04 11:03:41 +08:00
Zexi Li
a43483fd53 feat(monitor): add the registered model manger function (#24195) 2026-02-02 17:51:01 +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
86475595af fix(region): server add set network num queues (#24168) 2026-02-01 20:13:11 +08:00
cwz_eikoh
e254c2ccf5 Fix(llm): fix bugs & apikey encrypt & support history for mcp-agent-chat & delete modelname in llmSku (#24149)
* fix(llm): mcp-agent apiKey encrypt

* fix(llm): error-handle when instant-model import

* feature(llm): add get-available-network for llm

* feature(llm): support history for mcp-agent-chat

* fix(llm): llm create with net instead of networktype & networkid

* fix(llm): delete modelName in llmSku & fix some bugs
2026-01-29 10:50:00 +08:00
屈轩
5f9974b249 fix(glance): support prob iso image (#24128) 2026-01-28 15:28:47 +08:00
Zexi Li
86a47f9e86 fix(llm): add community-registry api (#24131) 2026-01-28 14:30:53 +08:00
Jian Qiu
2b890dff68 fix: notify receiver update precedure recode (#24099)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-01-20 00:16:15 +08:00
cwz_eikoh
1fc8219ee4 feature(llm): adapt frontend (#23906)
* feature(llm): add llm-list details, add autostart for llm-save-instant-model

* fix(llm): adjust some interfaces

* fix: name-dup problem when create llm

* fix: install instant-model by id rather than modelID

* fix(llm): add llm_id for mcp-agent

* feature(llm): move network from sku to instance

* feature(llm): add LLMType for llm-image

* feature(llm): add gpuMemoryRequired & ollama-registry yaml

* feature(llm): add url-get interface

* feature(llm): support mcp in mcp-agent-chat

* fix(llm): abstract ollama registry
2026-01-19 18:06:05 +08:00
Zexi Li
aee8eecb3b fix(telegraf-raid-plugin): working for victoria metrics (#24087) 2026-01-15 17:21:11 +08:00
屈轩
61b2705bd1 fix(region): remove useless mod (#24060) 2026-01-12 14:12:09 +08:00
cwz_eikoh
e9382c9ae7 feature(llm): add mcp-agent (#24025)
* feature(llm): add mcp-agent

* feature(llm): support openai in llm_client

* feature(llm): chat-stream demo
2026-01-12 10:45:53 +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
屈轩
de05b050e4 fix(region): show pretty error (#24020) 2026-01-06 10:29:33 +08:00
屈轩
cfbec98bed fix(region): add billing resource check (#24007) 2025-12-30 18:47:21 +08:00
wanyaoqi
7dfe635b62 fix(region,host,host-deployer): add win11 tpm support (#23952) 2025-12-29 11:18:56 +08:00
wanyaoqi
55ab19d1c3 fix(scheduler,host): sort numa node by numa distance check memsize (#23923) 2025-12-22 11:44:01 +08:00
cwz_eikoh
805b8afe9d feature(llm): add llm-instant-model-import (#23928)
* feature(llm): add llm-instant-model-import

* fix(llm): can't delete llm while deploy faile

* feature(llm): add instant-model-import to instant-model-create
2025-12-17 13:33:57 +08:00
cwz_eikoh
142e540f7f [Feature] llm model 使用 post_overlay 功能实现秒装挂载模型 (#23769)
* feat(llm): add probed-package

* feat(llm): add llm-save-instant-app

* feat(llm): add some llm-instant-app options

* fix(llm): change app to model

* fix(llm): rename origin model to sku

* feat(llm): add llm-quick-models

* fix(llm): saved paths for instant model

* fix(llm): fix quick-install-model

---------

Co-authored-by: Zexi Li <zexi.li@icloud.com>
2025-12-03 16:27:10 +08:00
Zexi Li
0971950307 Automated cherry pick of #23878: feat(monitor): 支持指定过去时间段返回报警资源最多的top5监控策略 (#23880)
* feat(monitor): 支持指定过去时间段返回报警资源最多的top5监控策略

* feat(monitor): 支持指定过去时间段返回报警数量最多的top5资源

* feat(monitor): 支持指定过去时间段某监控策略下各监控指标报警资源最多的top5资源

* feat(monitor): 支持获取过去时间段各项目下报警资源数量
2025-12-02 15:48:01 +08:00
Zexi Li
b1b929ea46 feat(monitor): support threashold range (#23853) 2025-11-27 15:00:08 +08:00
Zexi Li
105d7afb9a feat(climc): support --ouput option for pprof command (#23842) 2025-11-27 14:19:02 +08:00
Jian Qiu
43d9ea5295 fix: export/import disk backup (#23759)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-18 23:49:29 +08:00
wanyaoqi
12b9ffb1e3 feat(region,host): host dmesg collect (#23747) 2025-11-17 15:44:51 +08:00
Jian Qiu
f748fa2899 feature: user expired_at attribute support (#23723)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-14 10:52:58 +08:00
屈轩
1fe87cb8e6 fix(region): filter disks by server list (#23643) 2025-10-30 17:24:35 +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
Jian Qiu
aed979e14e fix: task remote notify (#23630)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-10-29 12:17:41 +08:00