Commit Graph

470 Commits

Author SHA1 Message Date
屈轩
2a9be258f9 fix(mcp-server): mcp use climc struct (#25174) 2026-07-20 17:17: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
d5f113d64c fix(region): disk change driver support change aio_mode and cache_mode (#25095) 2026-07-20 11:39:13 +08:00
wanyaoqi
75cc892bf7 fix(region,host): kvm guest change disk driver reset uefi vars (#25069) 2026-06-26 10:20:37 +08:00
wanyaoqi
f36d39848c fix(region): guest detach isolated devices add is_force options (#25019) 2026-06-15 09:54:29 +08:00
wanyaoqi
44f7c6e688 fix(region): host model add api stats (#24956) 2026-06-09 23:02:04 +08:00
屈轩
e9a6034705 fix(region): sku price (#25001) 2026-06-09 15:58:13 +08:00
屈轩
e0584f12e3 fix(region): support rockbasecloud (#24978) 2026-06-05 19:28:19 +08:00
屈轩
69d3a2d894 fix(region): filter zone region by read only (#24950) 2026-06-02 11:15:20 +08:00
wanyaoqi
cc8cb4dbdf fix(mcclient,region): add tasks mod, service app options (#24731) 2026-04-29 23:47:54 +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
屈轩
448bae5037 fix(region): support query public cloud vm modification types (#24653) 2026-04-10 16:53:45 +08:00
屈轩
17d3e9f0fb fix(region): allow set disk auto-delete attribute (#24486) 2026-03-19 10:27:47 +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
wanyaoqi
86475595af fix(region): server add set network num queues (#24168) 2026-02-01 20:13:11 +08:00
屈轩
61b2705bd1 fix(region): remove useless mod (#24060) 2026-01-12 14:12:09 +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
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
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
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
屈轩
9e0c524263 fix(region): support change storage type (#23529) 2025-10-14 16:59:13 +08:00
wanyaoqi
cdc3814f2f Automated cherry pick of #23377: Automated cherry pick of #23374: fix(region,host): guest add vnc screen dump support (#23378)
* fix(host): update nic confs inside vm on qga delete nics

Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>

* fix(region,host): guest add vnc screen dump support

---------

Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2025-09-27 12:06:33 +08:00
屈轩
4a2aa7eb5d fix(region): support cnware (#23388) 2025-09-26 14:44:37 +08:00
wanyaoqi
10d881b3f7 fix(region): virtual isolated device balance on guest start (#23046) 2025-09-15 11:58:11 +08:00
屈轩
d14cf0d802 fix(region): add storage filter for snapshot (#23106) 2025-08-18 14:57:43 +08:00
wanyaoqi
f0e76d18fd fix(host): persistent ceph config for qemu connection (#23088) 2025-08-16 14:46:50 +08:00
屈轩
c6de8a9479 fix(region): server snapshot policy (#23066) 2025-08-14 10:42:30 +08:00
屈轩
4e2c7bf353 fix(region): support lb health check sync status (#23028) 2025-08-06 17:37:37 +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
屈轩
fd35536bd7 fix(region): support lb health check (#23008) 2025-08-01 18:38:29 +08:00
屈轩
16f7c98393 fix(region): ssl certificate create (#22885) 2025-07-14 16:06:11 +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
屈轩
bc232d54e2 fix(region): add ai gateway (#22783) 2025-06-27 22:34:16 +08:00
屈轩
e5acc545b5 fix(region): vendor update for cdn attribute (#22777) 2025-06-24 17:42:58 +08:00
wanyaoqi
a6c9fddc2c fix(region,host): add auto merge snapshots options, preallocation options (#22715) 2025-06-13 15:20:28 +08:00
屈轩
de0f6d6f39 fix(region): waf rule enable disable (#22687) 2025-06-06 14:53:20 +08:00
wanyaoqi
4349347246 feat(region,host): qga deploy network config on attach nics (#22549) 2025-05-30 10:30:09 +08:00
Jian Qiu
2943344b48 feature: monitor bucket formance and resource status (#22552)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-05-19 22:28:20 +08:00
Jian Qiu
fe55972aed fix: host files not initialized when host reboot (#22550)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-05-19 01:58:12 +08:00