Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
240 commits
Select commit Hold shift + click to select a range
3547791
<fix>[migration]: fix failed to start vm after ceph to ceph offline m…
Dec 22, 2025
6b4521b
<fix>[vm]: use max of virtual and actual size for root disk when no d…
AlanJager Feb 12, 2026
3b5bda3
<fix>[zbs]: enable tryNext and 30s timeout for getActiveClients MDS call
AlanJager Feb 12, 2026
80df074
<fix>[vm]: add Destroying->Stopped state transition
AlanJager Feb 12, 2026
a84a36e
<fix>[ceph]: apply over-provisioning ratio when releasing snapshot ca…
AlanJager Feb 12, 2026
f19223a
<fix>[loadBalancer]: block SLB deletion during grayscale upgrade
AlanJager Feb 13, 2026
24d4f3b
<fix>[i18n]: improve snapshot error message for unattached volume
AlanJager Feb 13, 2026
f563992
<fix>[compute]: add null check for VmNicVO in afterDelIpAddress and a…
AlanJager Feb 13, 2026
6545350
<fix>[network]: filter reserved IPs from GetFreeIp API results
AlanJager Feb 13, 2026
76490a5
Merge branch 'fix/ZSTAC-80620' into '5.5.12'
Feb 16, 2026
461e8a2
Merge branch 'fix/ZSTAC-82153' into '5.5.12'
Feb 16, 2026
32e1e94
Merge branch 'fix/ZSTAC-80595' into '5.5.12'
Feb 16, 2026
addec8c
Merge branch 'fix/ZSTAC-74683' into '5.5.12'
Feb 16, 2026
26b8b1a
<fix>[mn]: synchronize hash ring operations to prevent dual-MN task s…
AlanJager Feb 12, 2026
be53c72
Merge branch 'fix/ZSTAC-81182' into '5.5.12'
Feb 16, 2026
e1dee9f
Merge branch 'fix/ZSTAC-79709' into '5.5.12'
Feb 16, 2026
3bd062b
Merge branch 'fix/ZSTAC-81741' into '5.5.12'
Feb 16, 2026
aaeaf39
<fix>[storage]: desensitize mdsUrls in ExternalPrimaryStorageInventory
AlanJager Feb 13, 2026
f41558d
<fix>[volumebackup]: add backup cancel timeout error code
AlanJager Feb 16, 2026
673be94
Merge branch 'fix/ZSTAC-77711' into '5.5.12'
Feb 16, 2026
7f53f5a
<fix>[thread]: guard Context.current() with telemetry check
PandaWuu Feb 16, 2026
72ce6ef
Merge branch 'bugfix/ZSTAC-82275' into '5.5.12'
PandaWuu Feb 16, 2026
a9a3994
<fix>[volumebackup]: add backup cancel timeout error code
AlanJager Feb 16, 2026
34bceb1
Merge branch 'fix/ZSTAC-78989' into '5.5.12'
Feb 16, 2026
3e02188
Merge branch 'fix/ZSTAC-82195' into '5.5.12'
Feb 17, 2026
799a84f
Merge branch 'fix/ZSTAC-80664' into '5.5.12'
Feb 17, 2026
8c8ed73
<fix>[ha]: defer skip-trace list cleanup on MN departure to prevent s…
AlanJager Feb 12, 2026
7a6d5d7
<fix>[kvm]: use CAS remove to fix TOCTOU race in orphaned skip VM cle…
AlanJager Feb 12, 2026
62e3db5
<fix>[zbs]: sync MDS node statuses to DB when reconnect fails
AlanJager Feb 17, 2026
bec4623
<fix>[kvm]: configurable orphan skip timeout
AlanJager Feb 16, 2026
ce0a020
<fix>[pciDevice]: add error code ORG_ZSTACK_PCIDEVICE_10077 for SR-IO…
AlanJager Feb 19, 2026
a648c38
<fix>[utils]: add ORG_ZSTACK_AI_10134 error code for GPU count valida…
AlanJager Feb 19, 2026
800d01d
<fix>[tag]: add resourceType field to TagPatternVO
AlanJager Feb 19, 2026
16f5890
<fix>[compute]: respect vm.migrationQuantity during host maintenance
AlanJager Feb 19, 2026
96db963
<fix>[multi]: batch guard NPE quality issues
AlanJager Feb 20, 2026
beccef9
<fix>[multi]: batch fix CRE quality issues
AlanJager Feb 20, 2026
8af5cd8
Merge branch 'fix/ZSTAC-81163@@2' into '5.5.12'
Feb 20, 2026
68791ea
<fix>[ai]: add error codes for AI and PCI
AlanJager Feb 20, 2026
107905d
Merge branch 'fix/ZSTAC-72783' into '5.5.12'
Feb 20, 2026
8176aa9
Merge branch 'fix/cre-batch-quality-issues@@2' into '5.5.12'
Feb 20, 2026
bf1d8ea
Merge branch 'fix/ZSTAC-82195@@2' into '5.5.12'
Feb 24, 2026
2a4e85a
<fix>[gpu]: add normalizedModelName migration SQL
AlanJager Feb 24, 2026
f55f04a
Merge branch 'fix/ZSTAC-81354' into '5.5.12'
Feb 24, 2026
fd02d47
<fix>[multi]: fix review findings: dryRun completion, initializeHostA…
AlanJager Feb 24, 2026
34a77bc
<fix>[telemetry]: fix Sentry transaction loss and add debug logging
AlanJager Feb 24, 2026
6014606
Merge branch 'fix/ZSTAC-80821@@2' into '5.5.12'
Feb 24, 2026
0566614
<fix>[telemetry]: consolidate semconv to 1.28.0-alpha
AlanJager Feb 24, 2026
6804eca
<fix>[tag]: complete resourceType scoping for TagPatternVO
AlanJager Feb 24, 2026
36fcfb5
Merge branch 'fix/npe-batch-quality-issues@@2' into '5.5.12'
Feb 24, 2026
4449936
Merge branch 'fix/ZSTAC-61988' into '5.5.12'
Feb 24, 2026
9516f11
Merge branch 'fix/ZSTAC-75319-migration' into '5.5.12'
Feb 24, 2026
8f4ac96
Merge branch 'fix/ZSTAC-77544' into '5.5.12'
Feb 25, 2026
5217d8f
<fix>[storage]: improve i18n error messages for PS UUID conflicts
PandaWuu Feb 24, 2026
687d42f
<fix>[sdk]: add exportPath to SDK inventory
AlanJager Feb 25, 2026
7e34564
<chore>[sdk]: Update sdk
AlanJager Feb 25, 2026
a1b38d2
Merge branch 'bugfix/ZSTAC-72656' into '5.5.12'
Feb 25, 2026
59b836e
<feature>[gosdk]: add GoTestTemplate for auto-gen tests
AlanJager Feb 24, 2026
4905bc3
Merge branch 'feat/go-test-template' into '5.5.12'
Feb 25, 2026
c5e4f49
Merge branch 'fix/ZSTAC-77454@@2' into '5.5.12'
Feb 25, 2026
7952931
<fix>[ai]: add shareMode field to AddModelAction SDK
AlanJager Feb 25, 2026
709bbc5
<fix>[expon]: fix vhost installPath overwrite and test cleanup
PandaWuu Feb 25, 2026
2442f28
Merge branch 'fix/ZSTAC-79023@@2' into '5.5.12'
Feb 26, 2026
b6b8f88
Merge branch 'ZSTAC-82153@@2' into '5.5.12'
Feb 26, 2026
89f989a
<fix>[storage]: fix wrong BS selected in mixed VCenter env
PandaWuu Feb 25, 2026
8455f36
<feature>[errorcode]: global error code i18n
Feb 27, 2026
96f7326
Merge branch 'bugfix/ZSTAC-71706' into '5.5.12'
Feb 28, 2026
e734c2f
Merge branch 'ZSTAC-81675' into '5.5.12'
Mar 1, 2026
944c7a8
<fix>[storage]: honor force flag to clean image cache for existing im…
AlanJager Mar 1, 2026
35a1e97
<fix>[ansible]: support python3 ansible install
MaJin1996 Mar 27, 2025
04d705f
Merge branch 'feature-py3@@2' into '5.5.12'
MaJin1996 Mar 2, 2026
14a46c9
<fix>[ai]: add i18n for AI_MESSAGE_10003
AlanJager Mar 3, 2026
29e6c83
<fix>[conf]: support Python 2 to Python 3.11 venv upgrade for cli/ctl…
MaJin1996 Mar 3, 2026
009b170
Merge branch 'feature-py-556-fix-cli-install' into '5.5.12'
MaJin1996 Mar 3, 2026
e835b3a
<feature>[ai]: add eval task sort columns for ZQL
Mar 4, 2026
3bed7d6
<fix>[ai]: add totalScore and endTime fields to SDK inventory
Mar 4, 2026
536cbc3
<fix>[ai]: use TIMESTAMP with default 1970 to fix MySQL 5.5 compatibi…
Mar 4, 2026
c05b8f7
<fix>[ai]: use Json_getKeyValue for MySQL 5.5 compat
Mar 4, 2026
95b0ad5
<fix>[core]: redesign StringSimilarity to match fmt template first
Mar 4, 2026
9826a0e
Merge branch 'fix/ZSTAC-72079@@2' into '5.5.12'
Mar 5, 2026
a5906f0
<fix>[accesskey]: support AccessKey type distinction
liang-hanyu Mar 5, 2026
317a86f
<refactor>[core]: add hibernate.default_batch_fetch_size=50 to reduce…
Minrit Mar 6, 2026
37d3709
<fix>[compute]: add quota check for VM CPU/memory upgrade operations
AlanJager Mar 6, 2026
37f952e
Merge branch 'fix/ZSTAC-79217@@2' into '5.5.12'
Mar 7, 2026
62e1626
<fix>[vm]: handle NoState + Expunging safety net
AlanJager Mar 5, 2026
7718835
Merge branch 'fix/ZSTAC-80898' into '5.5.12'
Mar 7, 2026
eaffb32
<fix>[utils]: fix similarity search concurrency and performance
AlanJager Mar 7, 2026
0765359
Merge branch 'fix/ZSTAC-51417' into '5.5.12'
Mar 7, 2026
4b69224
Merge branch 'fix/ZSTAC-72079-similarity-perf' into '5.5.12'
Mar 7, 2026
b00e763
Merge branch 'fix/ZSTAC-82084@@2' into '5.5.12'
Mar 8, 2026
931d8d9
<fix>[securityGroup]: relax priority constraints in SG rule API
AlanJager Mar 8, 2026
3a6ad0f
Merge branch 'fix-82022@@2' into '5.5.12'
Mar 9, 2026
1bba30b
<fix>[db]: change VARCHAR(4096) to MEDIUMTEXT in Json_getKeyValue fun…
AlanJager Mar 9, 2026
16db51f
<feature>[core]: support configure external service
littleya Jan 18, 2026
241090b
<feature>[longjob]: standardize LongJob progress detail format
AlanJager Mar 10, 2026
12a4db3
<fix>[lb]: intercept httpCompressAlgos::disable tag
AlanJager Mar 8, 2026
d2020c5
Merge branch 'fix/ZSTAC-79628' into '5.5.12'
Mar 10, 2026
4d3faa3
Merge branch 'feature-external-service-configuration@@2' into '5.5.12'
Mar 10, 2026
a83ae8b
Merge branch 'fix-ZSTAC-80468@@2' into '5.5.12'
Mar 11, 2026
708fc5e
<feature>[errorcode]: fix i18n gaps in copy ctor and SDK
AlanJager Mar 10, 2026
7b302df
<fix>[sharedblock]: convert memory snapshot install path from absolut…
Nov 11, 2025
1912469
Merge branch 'fix/ZSTAC-82980' into '5.5.12'
Mar 11, 2026
f94eff0
<fix>[core]: handle malformed Accept-Language header in LocaleUtils
AlanJager Mar 11, 2026
bc4090b
Merge branch 'fix-ZSTAC-79756@@2' into '5.5.12'
Mar 11, 2026
8117a99
Merge branch 'feature/errorcode-localized-message' into '5.5.12'
Mar 11, 2026
0bfbf45
<fix>[zwatch]: VPC Router CPU alarm use external monitoring
Feb 4, 2026
2e7d673
<fix>[pciDevice]: add Kunlunxin to SDK GpuVendor enum
AlanJager Mar 11, 2026
c7e7de8
<fix>[test]: fix SG test cases: relax priority consecutive constraint…
AlanJager Mar 11, 2026
7e2fe2e
Merge branch 'fix/ZSTAC-80991@@2' into '5.5.12'
Mar 11, 2026
b8d643d
Merge branch 'ZSTAC-79949@@2' into '5.5.12'
Mar 12, 2026
67acc0a
<feature>[core]: support resnotify webhook infrastructure
PandaWuu Mar 12, 2026
681a301
Merge branch 'fix/ZSTAC-82350@@2' into '5.5.12'
Mar 12, 2026
d30e086
<fix>[i18n]: fix error code 10049/10050 translations
PandaWuu Mar 12, 2026
648fc77
<feature>[sdk]: add Kunlunxin to GpuVendor enum for P800 GPU support
AlanJager Mar 10, 2026
855acac
Merge branch 'bugfix/ZSTAC-72656' into '5.5.12'
Mar 12, 2026
f5459df
<feature>[core]: add resnotify webhook SDK and test support
PandaWuu Mar 12, 2026
7acb58e
Merge branch 'fix/ZSTAC-81706' into '5.5.12'
Mar 13, 2026
c3ed9d0
Merge branch 'fix/ZSTAC-82259-gpu-vendor@@2' into '5.5.12'
Mar 13, 2026
44c191f
Merge branch 'feature/ZSTAC-80472@@2' into '5.5.12'
Mar 13, 2026
cb554df
<fix>[sdk]: update SDK files for LongJobProgressDetail
AlanJager Mar 11, 2026
2318947
<feature>[dpu-bm2]: support dpu baremetal2 instance
Jan 13, 2026
ecc93eb
<fix>[iscsi]: use platform compact hostId instead of storage bdc id f…
AlanJager Mar 5, 2026
c1f6673
Merge branch 'fix/ZSTAC-79067@@2' into '5.5.12'
Mar 13, 2026
26df079
Merge branch 'fix/ZSTAC-82318' into '5.5.12'
Mar 13, 2026
e00e19c
Merge branch 'feature-dpu-baremetal@@2' into '5.5.12'
Mar 14, 2026
62cd882
<fix>[conf]: bump version to 5.5.12
liang-hanyu Mar 16, 2026
0f4c337
Merge branch 'bump-version-5.5.12' into '5.5.12'
Mar 16, 2026
aaf4e34
<feature>[errorcode]: simplify i18n — guarantee message is never null
AlanJager Mar 16, 2026
1d8a059
<fix>[ai]: add targetQueueKey column for eval task queuing
AlanJager Mar 9, 2026
34366a1
<fix>[conf]: use absolute path for ansible version check during upgrade
MaJin1996 Mar 16, 2026
327b1cc
Merge branch 'fix/ZSTAC-82619' into '5.5.12'
MaJin1996 Mar 16, 2026
39a9a84
<feature>[longjob]: standardize progress detail fields to be unit-agn…
AlanJager Mar 16, 2026
dc67d72
<fix>[header]: fix __example__ method names for LongJobProgressDetail
AlanJager Mar 16, 2026
ed8c99b
<fix>[conf]: retry rm -rf virtualenv to avoid race with zstack_servic…
MaJin1996 Mar 16, 2026
d27439a
<fix>[vmScheduling]: change GET scheduling APIs from POST to GET meth…
AlanJager Mar 16, 2026
b154bc1
Merge branch 'fix/ZSTAC-82318-phase2' into '5.5.12'
Mar 16, 2026
3b4d09e
Merge branch 'fix/ZSTAC-68709-eval-queue@@2' into '5.5.12'
Mar 17, 2026
1dc68d2
<fix>[errorcode]: revert sendReplyResponse to use JSONObjectUtil seri…
AlanJager Mar 17, 2026
5ffa56e
<fix>[network]: set nic ip out of l3 cidr scope
ruansteve Feb 5, 2026
44aec19
<fix>[l2network]: validate physicalInterface for LinuxBridge
ruansteve Mar 17, 2026
262e92a
Merge branch 'fix/ZSTAC-81797@@2' into '5.5.12'
Mar 17, 2026
80b93d6
Merge branch 'fix/ZSTAC-82619' into '5.5.12'
Mar 17, 2026
d993609
Merge branch 'shixin-ZSTAC-83150@@2' into '5.5.12'
Mar 17, 2026
76044ca
<fix>[docs]: move to zstack/docs
ruansteve Mar 17, 2026
f32fb96
<fix>[errorcode]: address review — null-safe message fallback and avo…
AlanJager Mar 17, 2026
8f31252
Merge branch 'fix/ZSTAC-71075@@2' into '5.5.12'
Mar 17, 2026
d0ccc44
Merge branch 'feature/errorcode-i18n-simplify' into '5.5.12'
Mar 18, 2026
3feb9e9
<feature>[kvm]: add libvirt TLS config
huhu0316 Mar 11, 2026
69ae62a
Merge branch 'shixin-ZSTAC-81969' into '5.5.12'
Mar 18, 2026
e0a8246
Merge branch 'shixin-ZSTAC-83300' into '5.5.12'
Mar 18, 2026
f15be32
Merge branch 'ZSTAC-81343@@2' into '5.5.12'
PandaWuu Mar 18, 2026
7b6ceea
<fix>[core,kvm]: fix SSH session leak in CallBackNetworkChecker and K…
MaJin1996 Mar 19, 2026
9349cab
<fix>[compute]: cancel backup longjobs before migration
AlanJager Mar 19, 2026
b42842c
Merge branch 'fix/ZSTAC-83305' into '5.5.12'
MaJin1996 Mar 19, 2026
ec18635
<feature>[zwatch]: add OVN instance default alarms
Mar 16, 2026
046d023
<fix>[compute]: fix user define param error
ruansteve Mar 18, 2026
2b7d21c
Merge branch 'shixin-ZSTAC-83321' into '5.5.12'
Mar 20, 2026
5fb0b34
Merge branch 'ZSTAC-73154-2@@2' into '5.5.12'
Mar 20, 2026
831fdf4
<fix>[test]: fix TagPatternResourceTypeCase CI failure
AlanJager Mar 23, 2026
d9f0d4d
<fix>[storage]: return defensive copy from getPreferBackupStorageTypes
MaJin1996 Mar 24, 2026
98da047
Merge branch 'fix/ZSTAC-74908@@2' into '5.5.12'
Mar 24, 2026
6d177d4
<fix>[schema]: move TagPatternVO.resourceType migration to V5.5.12
AlanJager Mar 24, 2026
06621e2
Merge branch 'fix/ZSTAC-74908@@3' into '5.5.12'
AlanJager Mar 24, 2026
8f58fad
Merge branch 'fix/ZSTAC-80789' into '5.5.12'
MaJin1996 Mar 24, 2026
48e5b3e
<fix>[sdk]: add force field to SetIAM2ProjectContainerClusterAction
Mar 26, 2026
c4c23a6
Merge branch 'fix/ZSTAC-82195-migrate-cancel-backup@@2' into '5.5.12'
Mar 27, 2026
fd33719
Merge branch 'fix-ZSTAC-80406-lost-project@@2' into '5.5.12'
Mar 30, 2026
993afb1
<feature>[dpu-bm2]: support dpu bm2 instance
Mar 23, 2026
fa71055
<fix>[conf]: MySQL timeout is not defined
qiuqiuqiuyu Mar 30, 2026
226b20b
Merge branch 'feature-dpu-baremetal@@2' into '5.5.12'
Mar 30, 2026
78389bb
<fix>[compute]: handle empty string dstHostUuid in host allocator
PandaWuu Mar 30, 2026
47efb85
Merge branch 'bugfix/ZSTAC-83733@@2' into '5.5.12'
Mar 31, 2026
ee3f541
<fix>[plugin-premium]: Reparing GPU/VM page keeps loading when shutti…
Dec 17, 2025
3c8bc53
<feature>[pci-device]: add SDK for UpdateVmInstancePciDeviceSpecRef API
AlanJager Mar 31, 2026
ee4b6be
<fix>[compute]: fix VM clone quota check fail
Mar 27, 2026
1f6e0b3
Merge branch 'ZSTAC-83499' into '5.5.12'
Mar 31, 2026
62e8c17
Merge branch 'fix-ZSTAC-80202-zaku-loading@@2' into '5.5.12'
Apr 1, 2026
7ea5aad
<fix>[kvm]: pass guestOsType to kvmagent for SMBIOS auto-configuration
gladtoseeu Apr 1, 2026
4f895c3
<fix>[testlib]: make Python SDK template compatible with Python 3
MaJin1996 Apr 2, 2026
3bcfed2
Merge branch 'fix/pysdk-python3-compat' into '5.5.12'
MaJin1996 Apr 2, 2026
61174c8
fix(kvm): disable PMU on aarch64 for Kunpeng-920 panic
gladtoseeu Mar 30, 2026
12e7494
<fix>[pci-device]: update SDK for UpdateVmInstancePciDeviceSpecRef API
AlanJager Apr 2, 2026
d2941ba
Merge branch 'fix/ZSTAC-71156@@2' into '5.5.12'
Apr 2, 2026
7bf9cdf
Merge branch 'fix/5.5.12/ZSTAC-76375@@3' into '5.5.12'
Apr 3, 2026
17a0ec8
<fix>[testlib]: fix multiple bugs in Python SDK template
MaJin1996 Apr 2, 2026
87171ab
<fix>[identity]: restrict APIQueryAccountMsg to admin-only in RBAC
gladtoseeu Apr 3, 2026
067496b
Merge branch 'fix/ZSTAC-83960' into '5.5.12'
Apr 3, 2026
e2e0f8f
Merge branch 'fix/ZSTAC-81735@@2' into '5.5.12'
Apr 3, 2026
39bd705
<fix>[testlib]: add updateVmInstancePciDeviceSpecRef to ApiHelper
AlanJager Apr 3, 2026
933931f
Merge branch 'huangtian-ZSTAC-83646@@2' into '5.5.12'
Apr 7, 2026
8070464
<feature>[dpu-bm2]: support attaching novlan and vxlan network to bar…
Mar 23, 2026
61f5657
<feature>[build]: auto-detect worktree .m2
MaJin1996 Apr 7, 2026
179dfbf
<fix>[kvm]: prevent metadata deletion when DVD returns empty
PandaWuu Mar 31, 2026
1469927
Merge branch 'fix/runMavenProfile-m2-isolation' into '5.5.12'
Apr 7, 2026
73ca9d8
Merge branch 'fix/ZSTAC-71156@@2' into '5.5.12'
Apr 8, 2026
4cad7ec
Merge branch 'fix/pysdk-poll-url-rewrite' into '5.5.12'
MaJin1996 Apr 9, 2026
8472bf2
<feature>[sdk]: add requestCpu and add errCode
Mar 9, 2026
c85fab3
<fix>[kvm]: update TLS certs via kvmagent on host reconnect
huhu0316 Apr 7, 2026
218124f
Merge branch 'ZSTAC-83696@@2' into '5.5.12'
Apr 10, 2026
2b60783
Merge branch 'feat/ZSTAC-80103@@2' into '5.5.12'
Apr 10, 2026
eebc543
<feature>[build]: add .m2 to gitignore
MaJin1996 Apr 10, 2026
ce1ed60
Merge branch 'fix/runMavenProfile-m2-isolation' into '5.5.12'
MaJin1996 Apr 10, 2026
a04cd58
<feature>[vpc]: support snat log with LogServer
bustezero Feb 3, 2026
bb1df03
Merge branch 'bugfix/ZSTAC-83682@@2' into '5.5.12'
Apr 13, 2026
fc3df1f
<feature>[sdk]: support dgpu
Apr 3, 2026
8ca173f
Revert "Merge branch 'fix/ZSTAC-79709' into '5.5.12'"
PandaWuu Apr 13, 2026
31c9680
<feature>[thread]: support coalesce queue for batch dhcp
MaJin1996 Apr 13, 2026
291e145
Merge branch 'fix/ZSTAC-83039' into '5.5.12'
MaJin1996 Apr 13, 2026
cc67dc0
Merge branch 'revert-e1dee9ff' into '5.5.12'
PandaWuu Apr 14, 2026
659c296
<fix>[kvm]: use SSH cert check + ansible deploy instead of kvmagent H…
huhu0316 Apr 13, 2026
fd5cea1
Merge branch 'feature-snat-log-5.5.12-final@@2' into '5.5.12'
ruansteve Apr 14, 2026
bcb77ba
<fix>[kvm]: normalize osVersion when matching DVD metadata
PandaWuu Apr 14, 2026
a76c54d
Merge branch '5.5.16@@2' into '5.5.12'
Apr 14, 2026
41d127f
Merge branch 'ZSTAC-83696@@2' into '5.5.12'
Apr 14, 2026
22f714f
<fix>[thread]: remove redundant try-catch in CoalesceQueue and fix nu…
MaJin1996 Apr 14, 2026
19b3546
<fix>[sdk]: add shareType field to GPU query APIs
Mar 20, 2026
99ae62e
<fix>[conf]: bump version to 5.5.16
liang-hanyu Apr 15, 2026
241c626
Merge branch 'fix-84259' into '5.5.16'
Apr 15, 2026
d9efb52
Merge branch 'fix/ZSTAC-83039' into '5.5.16'
MaJin1996 Apr 15, 2026
10bae7a
Merge branch 'fix/ZSTAC-82599@@2' into '5.5.16'
Apr 15, 2026
2042399
Merge branch 'bugfix/ZSTAC-83682-reopen@@2' into '5.5.16'
Apr 16, 2026
1f69b47
<feature>[kvm]: user vm mount model
Mar 26, 2026
d913f84
<fix>[conf]: add errorcode and sql
Mar 29, 2026
80ddd20
<fix>[aios]: add i18n mapping for fatal image pull error
Apr 20, 2026
3936530
<fix>[conf]: Add ORG_ZSTACK_AI_10158 error code"
Mar 31, 2026
b217181
Merge branch 'fix/ZSTAC-83881@@2' into '5.5.16'
Apr 21, 2026
38fc186
<fix>[flatNetworkProvider]: keep userdata immutable
AlanJager Apr 21, 2026
3696498
<fix>[sdk,db]: add PodInventory request fields
Apr 21, 2026
a26f6ee
Merge branch 'feature-dpu-baremetal@@2' into '5.5.16'
Apr 21, 2026
c8d25fd
Merge branch 'fix/5.5.16-revert-userdata' into '5.5.16'
Apr 22, 2026
2697ef2
<fix>[kvm]: unify TLS cert IP collection to avoid reconnect-triggered…
huhu0316 Apr 21, 2026
c096635
Merge branch 'fix/ZSTAC-84446' into '5.5.16'
Apr 23, 2026
16950d3
<fix>[sdk]: sync OSPF neighbor adjacency fields
ruansteve Apr 27, 2026
52b4749
Merge branch 'fix/ZSTAC-84175-TIPS-@@2' into '5.5.16'
AlanJager Apr 27, 2026
e6cdf84
Merge branch 'fixbug/ZSTAC-80103@@2' into '5.5.16'
AlanJager Apr 27, 2026
51086ae
<fix>[conf]: fix ai error-code 10138-10144 collisions and add 10159-1…
Abortbeen Apr 24, 2026
e693653
Merge branch 'shixin.ruan-ZSTAC-84571@@2' into '5.5.16'
Apr 27, 2026
ad8a4c5
<fix>[kvm]: decouple TLS cert detection from libvirtd restart toggle
huhu0316 Apr 27, 2026
ce7b222
Merge branch 'fix/ZSTAC-84677@@2' into '5.5.16'
Apr 27, 2026
1bc1ded
Merge branch 'fix/ZSTAC-84446-reopen' into '5.5.16'
Apr 28, 2026
f8e039a
<fix>[primaryStorage]: validate ExternalPrimaryStorage config JSON at…
MaJin1996 Apr 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ envDSLTree
test/zstack-integration-test-result/
premium/test-premium/zstack-api.log
**/bin/
CLAUDE.md
.claude/*
.m2/
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
MAJOR=5
MINOR=5
UPDATE=6
UPDATE=16
4 changes: 2 additions & 2 deletions build/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -731,9 +731,9 @@
<groupId>io.sentry</groupId>
<artifactId>sentry-opentelemetry-bootstrap</artifactId>
</dependency>
<!-- Legacy semconv 1.23.1-alpha for top-level SemanticAttributes (sentry-opentelemetry-bootstrap) -->
<!-- Semconv 1.28.0-alpha: both legacy SemanticAttributes and new split classes for Sentry OTel -->
<dependency>
<groupId>io.opentelemetry</groupId>
<groupId>io.opentelemetry.semconv</groupId>
<artifactId>opentelemetry-semconv</artifactId>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.zstack.compute.allocator;

import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowire;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Configurable;
Expand Down Expand Up @@ -81,30 +82,44 @@ public void allocate() {
List<String> clusterUuids = (List<String>) spec.getExtraData().get(HostAllocatorConstant.LocationSelector.cluster);
String hostUuid = (String) spec.getExtraData().get(HostAllocatorConstant.LocationSelector.host);

if (zoneUuid == null && CollectionUtils.isEmpty(clusterUuids) && hostUuid == null && spec.getHypervisorType() == null) {
String hypervisorType = spec.getHypervisorType();

// normalize empty strings to null — treat empty string as "not specified"
zoneUuid = StringUtils.isEmpty(zoneUuid) ? null : zoneUuid;
hostUuid = StringUtils.isEmpty(hostUuid) ? null : hostUuid;
hypervisorType = StringUtils.isEmpty(hypervisorType) ? null : hypervisorType;
if (!CollectionUtils.isEmpty(clusterUuids)) {
clusterUuids = new ArrayList<>(clusterUuids);
clusterUuids.removeIf(s -> s == null || s.isEmpty());
if (clusterUuids.isEmpty()) {
clusterUuids = null;
}
}

if (zoneUuid == null && CollectionUtils.isEmpty(clusterUuids) && hostUuid == null && hypervisorType == null) {
next(candidates);
return;
}

if (amITheFirstFlow()) {
candidates = allocate(zoneUuid, clusterUuids, hostUuid, spec.getHypervisorType());
candidates = allocate(zoneUuid, clusterUuids, hostUuid, hypervisorType);
} else {
candidates = allocate(candidates, zoneUuid, clusterUuids, hostUuid, spec.getHypervisorType());
candidates = allocate(candidates, zoneUuid, clusterUuids, hostUuid, hypervisorType);
}

if (candidates.isEmpty()) {
StringBuilder args = new StringBuilder();
if (zoneUuid != null) {
args.append(String.format("zoneUuid=%s", zoneUuid)).append(" ");
}
if (!clusterUuids.isEmpty()) {
if (!CollectionUtils.isEmpty(clusterUuids)) {
args.append(String.format("clusterUuid in %s", clusterUuids)).append(" ");
}
if (hostUuid != null) {
args.append(String.format("hostUuid=%s", hostUuid)).append(" ");
}
if (spec.getHypervisorType() != null) {
args.append(String.format("hypervisorType=%s", spec.getHypervisorType())).append(" ");
if (hypervisorType != null) {
args.append(String.format("hypervisorType=%s", hypervisorType)).append(" ");
}
fail(Platform.operr(ORG_ZSTACK_COMPUTE_ALLOCATOR_10036, "No host with %s found", args));
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,14 @@ private void runFlow(AbstractHostAllocatorFlow flow) {
}
} catch (Throwable t) {
logger.warn("unhandled throwable", t);
completion.fail(inerr(ORG_ZSTACK_COMPUTE_ALLOCATOR_10019, t.toString()));
String errMsg = t != null ? t.toString() : "unknown error";
if (isDryRun) {
if (dryRunCompletion != null) {
dryRunCompletion.fail(inerr(ORG_ZSTACK_COMPUTE_ALLOCATOR_10019, errMsg));
}
} else if (completion != null) {
completion.fail(inerr(ORG_ZSTACK_COMPUTE_ALLOCATOR_10019, errMsg));
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -851,17 +851,15 @@ public HostCapacityVO call(HostCapacityVO cap) {
long deltaMemory = ratioMgr.calculateMemoryByRatio(hostUuid, memory);
long availMemory = cap.getAvailableMemory() + deltaMemory;
if (availMemory > cap.getTotalMemory()) {
throw new CloudRuntimeException(
String.format("invalid memory capacity of host[uuid:%s]," +
" available memory[%s] is greater than total memory[%s]." +
" Available Memory before is [%s], Delta Memory is [%s].",
hostUuid,
new DecimalFormat(",###").format(availMemory),
new DecimalFormat(",###").format(cap.getTotalMemory()),
new DecimalFormat(",###").format(cap.getAvailableMemory()),
new DecimalFormat(",###").format(deltaMemory)
)
);
logger.warn(String.format("memory capacity overflow on host[uuid:%s]," +
" available memory[%s] > total memory[%s], clamping to total." +
" Available Memory before is [%s], Delta Memory is [%s].",
hostUuid,
new DecimalFormat(",###").format(availMemory),
new DecimalFormat(",###").format(cap.getTotalMemory()),
new DecimalFormat(",###").format(cap.getAvailableMemory()),
new DecimalFormat(",###").format(deltaMemory)));
availMemory = cap.getTotalMemory();
}

cap.setAvailableMemory(availMemory);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import org.springframework.beans.factory.annotation.Configurable;
import org.zstack.compute.vm.VmQuotaOperator;
import org.zstack.header.allocator.AbstractHostAllocatorFlow;
import org.zstack.header.errorcode.ErrorCode;
import org.zstack.header.errorcode.OperationFailureException;
import org.zstack.header.identity.AccountConstant;
import org.zstack.identity.Account;
import org.zstack.identity.QuotaUtil;
Expand Down Expand Up @@ -51,6 +53,12 @@ public void allocate() {
}

throwExceptionIfIAmTheFirstFlow();
// skip checkquota if the operator is admin
String currentAccountUuid = spec.getAccountUuid();
if (currentAccountUuid != null && AccountConstant.isAdminPermission(currentAccountUuid)) {
next(candidates);
return;
}

final String vmInstanceUuid = spec.getVmInstance().getUuid();
final String accountUuid = Account.getAccountUuidOfResource(vmInstanceUuid);
Expand All @@ -60,21 +68,27 @@ public void allocate() {
}

if (!spec.isFullAllocate()) {
new VmQuotaOperator().checkVmCupAndMemoryCapacity(accountUuid,
ErrorCode error = new VmQuotaOperator().checkVmCupAndMemoryCapacityWithResult(accountUuid,
accountUuid,
spec.getCpuCapacity(),
spec.getMemoryCapacity(),
new QuotaUtil().makeQuotaPairs(accountUuid));
if (error != null) {
throw new OperationFailureException(error);
}

next(candidates);
return;
}

new VmQuotaOperator().checkVmInstanceQuota(
ErrorCode error = new VmQuotaOperator().checkVmInstanceQuotaWithResult(
accountUuid,
accountUuid,
vmInstanceUuid,
new QuotaUtil().makeQuotaPairs(accountUuid));
if (error != null) {
throw new OperationFailureException(error);
}
next(candidates);
}
}
7 changes: 3 additions & 4 deletions compute/src/main/java/org/zstack/compute/host/HostBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -411,9 +411,8 @@ public void run(final FlowTrigger trigger, Map data) {
if (ordered != null) {
vmUuids = ordered;

logger.debug(String.format("%s ordered VMs for host maintenance, to keep the order, we will migrate VMs one by one",
ext.getClass()));
migrateQuantity = 1;
logger.debug(String.format("%s ordered VMs for host maintenance, migrate quantity: %d",
ext.getClass(), migrateQuantity));
}
}

Expand Down Expand Up @@ -1443,7 +1442,7 @@ public String getName() {

@Override
protected String getDeduplicateString() {
return String.format("connect-host-%s", self.getUuid());
return String.format("connect-host-%s", self == null ? "unknown" : self.getUuid());
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ public class HostManagerImpl extends AbstractService implements HostManager, Man
private Future reportHostCapacityTask;
private Future refreshHostPowerStatusTask;

private static final List<String> SKIP_ARCH_CHECK_HYPERVISOR_TYPES = Arrays.asList("baremetal2", "baremetal2Dpu");

static {
allowedMessageAfterSoftDeletion.add(HostDeletionMsg.class);
}
Expand Down Expand Up @@ -472,7 +474,7 @@ public void run(MessageReply reply) {
@Override
public boolean skip(Map data) {
// no need to check baremetal2 gateway architecture with the cluster architecture
return vo.getHypervisorType().equals("baremetal2");
return SKIP_ARCH_CHECK_HYPERVISOR_TYPES.contains(cluster.getHypervisorType());
}

@Override
Expand Down
Loading