Skip to content

Commit e17a62e

Browse files
zstackzstack
authored andcommitted
<fix>[conf]: update detach timeout error regex to match dynamic timeout values
Match \d+ seconds instead of hardcoded 5, so it works with the new 30s timeout. Resolves: ZSTAC-77160
1 parent f516edd commit e17a62e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

conf/errorElaborations/Elaboration.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@
803803
"category": "PS",
804804
"code": "1000",
805805
"method": "distance",
806-
"regex": "failed to detach data volume[uuid:%s, installPath:%s] from vm[uuid:%s, name:%s] on kvm host[uuid:%s, ip:%s], because unable to detach the volume from the vm;it's still attached after 5 seconds",
806+
"regex": "failed to detach data volume[uuid:%s, installPath:%s] from vm[uuid:%s, name:%s] on kvm host[uuid:%s, ip:%s], because unable to detach the volume from the vm;it's still attached after \\d+ seconds",
807807
"message_cn": "由于云主机操作系统限制可能会导致卸载云盘失败,请尝试对云主机关机后再次卸载。",
808808
"message_en": "Detaching volume may fail due to limitations of the VM operating system. Please try again after VM shutdown."
809809
},

0 commit comments

Comments
 (0)