Commit Graph
16041 Commits
Author SHA1 Message Date
Jian QiuandQiu Jian 43d9ea5295 fix: export/import disk backup (#23759)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-18 23:49:29 +08:00
Zexi Li 692729443f fix(host): use directory of single file as post_overlay lower (#23757) 2025-11-18 16:34:56 +08:00
Zexi Li c416b7efcb feat(monitor): set alert_channel to metata (#23755) 2025-11-18 12:52:44 +08:00
屈轩 728a889823 fix(region): esxi vm folder (#23753) 2025-11-17 18:14:07 +08:00
屈轩 5415d1dde2 fix(region): server sku create status (#23748) 2025-11-17 17:01:12 +08:00
wanyaoqi 12b9ffb1e3 feat(region,host): host dmesg collect (#23747) 2025-11-17 15:44:51 +08:00
Jian QiuandQiu Jian 09125bc316 fix: filter schedtags by zones (#23742)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-15 11:00:51 +08:00
Jian QiuandQiu Jian f748fa2899 feature: user expired_at attribute support (#23723)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-14 10:52:58 +08:00
Zexi Li 94c531cbc2 feat(cloudcommon): add ExtraHook steps to joint model (#23740) 2025-11-14 10:50:47 +08:00
wanyaoqi 1d63c75f0d fix(host): thrown errors on disk fromatfs (#23728) 2025-11-14 10:40:41 +08:00
Zexi Li 8d4afe5e56 fix(host): SHostPingTask was stuck by calling docker command (#23733) 2025-11-13 20:19:13 +08:00
屈轩 c0b9dad64c fix(region): scope resource (#23735) 2025-11-13 14:43:37 +08:00
cwz_eikoh 19db6df2fd fix(region): add kvm_delete_task (#23697) 2025-11-11 16:32:24 +08:00
wanyaoqi 47ac45dfe9 fix(region,scheduler): check is BIOS boot request on uefi predicate (#23719) 2025-11-11 13:45:28 +08:00
Zexi Li dea5f90e5b fix(baremetal): power status of server is not synced (#23688) 2025-11-10 11:13:05 +08:00
Jian QiuandQiu Jian 77d5813bbf fix: log change bandwidth event (#23712)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-10 09:48:32 +08:00
Jian QiuandQiu Jian 85a570f7c2 fix: vm nic charge type support (#23702)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-07 10:52:51 +08:00
cwz_eikoh a82f436d2b fix(region): add finish for DependencyTopoGraph (#23707) 2025-11-07 10:20:22 +08:00
cwz_eikoh c414ef4eda fix(llm): don't rely on polling (#23708) 2025-11-07 10:19:30 +08:00
Zexi Li 77db769c8b fix(host): clear previous usage metrics when any container stopped of pod (#23706) 2025-11-06 20:56:30 +08:00
屈轩 eb44cdd26f fix(region): allow delete server sku (#23693) 2025-11-05 18:19:48 +08:00
屈轩 c6967964dc fix(region): add device for disk (#23690) 2025-11-05 15:57:22 +08:00
屈轩 ae8697132b fix(scheduler): sku predicate with empty zone id (#23684) 2025-11-04 20:56:20 +08:00
Zexi Li 04de29158a fix(baremetal-agent): chose root disk by pci path (#23683) 2025-11-04 20:09:30 +08:00
Jian QiuandQiu Jian f2f15dee51 fix: rename check when change project (#23680)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-04 16:08:40 +08:00
cwz_eikoh c2fe4baf58 feat(region): pod containers start in dependency order (#23668) 2025-11-04 10:38:17 +08:00
屈轩 bce77902bc fix(region): optimized aws server sku sync (#23673) 2025-11-03 22:32:13 +08:00
屈轩 7d3681a735 fix(region): metadata filter by value (#23670) 2025-11-03 19:24:27 +08:00
Zexi Li 9dcd044e83 fix(host): upload container status when not created (#23667) 2025-11-03 15:53:56 +08:00
屈轩 2c622fe4d4 fix(region): optimzed server sku sync (#23662) 2025-11-03 15:13:38 +08:00
屈轩 4a2d41afbe fix(region): disk filter by server (#23658) 2025-11-01 13:32:21 +08:00
屈轩 1d9e418df8 fix(region): optimized filter sku by zone (#23655) 2025-11-01 13:04:41 +08:00
cwz_eikoh f1f502cac4 feat(llm): add network id and network type for llm-model (#23620)
* feat(llm): add network id and network type for llm-model

* fix(llm):portmapping of model network only works when network mode is hostlocal
2025-10-31 10:21:41 +08:00
Zexi Li a931d2cc4c Automated cherry pick of #23642: fix(scheduler): enable profiling (#23646)
* fix(scheduler): enable profiling

* feat(scheduler): cache NetworkAdditionalWire
2025-10-31 10:19:37 +08:00
屈轩 d1510f2f5e fix(region): sku cpu mem sync (#23648) 2025-10-30 22:33:15 +08:00
屈轩 1fe87cb8e6 fix(region): filter disks by server list (#23643) 2025-10-30 17:24:35 +08:00
happy-gameandwanyaoqi 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
Zexi Li 9ac1a3f992 fix(host): move the hostInstance.Init() step after InitAuth (#23623) 2025-10-29 14:00:24 +08:00
Jian QiuandQiu Jian aed979e14e fix: task remote notify (#23630)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-10-29 12:17:41 +08:00
屈轩 282e1499e1 fix(region): set ksyun tag (#23610) 2025-10-24 22:54:04 +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
屈轩 1d361bb4d3 fix(keystone): fetch domain user count (#23590) 2025-10-22 16:25:40 +08:00
wanyaoqi 8abcde01e8 fix(region,host,scheduler): add check kvm cpu max on cpu predicate (#23537) 2025-10-22 15:07:00 +08:00
Zexi Li 4d0c18d224 feat(region,host): support nvidia GPU CDI configuration (#23568) 2025-10-22 15:04:35 +08:00
cwz_eikoh 22ad881b3d feat(container): container-restart (#23584) 2025-10-22 14:59:43 +08:00
屈轩 9b1b60c65f fix(region): support ocean base (#23586) 2025-10-22 14:40:55 +08:00
屈轩 9951c7bcb5 fix(region): disable cloudprovider when sync lost (#23581) 2025-10-22 11:30:17 +08:00
Zexi Li 098e8d49fc feat(region): allow containers to be created with auto_start param (#23573) 2025-10-21 17:20:59 +08:00
屈轩 96687005e8 fix(region): adjust the ip_addr character length (#23562) 2025-10-21 10:45:01 +08:00
Jian QiuandQiu Jian f4975415d6 fix: container memory.high ratio support (#23559)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-10-21 09:33:07 +08:00