Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
153 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
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
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
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
b42842c
Merge branch 'fix/ZSTAC-83305' into '5.5.12'
MaJin1996 Mar 19, 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
e2956c7
<fix>[plugin-premium]: GPU/VM page keeps loading when shutting down o…
Dec 17, 2025
107fb32
<fix>[plugin-premium]: GPU/VM page keeps loading when shutting down o…
Jan 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@ envDSLTree
test/zstack-integration-test-result/
premium/test-premium/zstack-api.log
**/bin/
CLAUDE.md
.claude/*
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=12
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
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
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