forked from zstackio/zstack
-
Notifications
You must be signed in to change notification settings - Fork 0
<doc>[sdnController]: integraion zns into cloud #3711
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
MatheMatrix
wants to merge
18
commits into
5.5.12
Choose a base branch
from
sync/shixin.ruan/shixin.ruan-zcf-2047@@2
base: 5.5.12
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
1621891
<doc>[sdnController]: integraion zns into cloud
ruansteve b49fe64
<fix>[network]: ussu
ruansteve e56d574
<test>[testlib]: ususu
ruansteve 1416f61
<fix>[utils]: ususu<description>
ruansteve c466e34
Merge branch 'shixin-ZCF-1365' into 'feature-5.5.12-zns'
ruansteve 42584b7
<fix>[sdnController]: fix code review commemt
ruansteve fe9035b
Merge branch 'shixin-ZCF-1365@@2' into 'feature-5.5.12-zns'
ruansteve 4b30043
<fix>[rest]: fix bug<description>
ruansteve d261b05
Merge branch 'shixin-ZCF-1365@@2' into 'feature-5.5.12-zns'
ruansteve 6db0908
<fix>[rest]: improve markdown validation error reporting
ruansteve 2338f5f
Merge branch 'shixin-ZCF-1365' into 'feature-5.5.12-zns'
ruansteve 96b8ed2
<fix>[zns]: add ZNS error code ORG_ZSTACK_NETWORK_ZNS_10011
ruansteve 17d06ab
Merge branch 'shixin.ruan-zcf-2063@@2' into 'feature-5.5.12-zns'
ruansteve f1e0ef4
<fix>[l2]: skip ZNS L2 in attach interceptors
ruansteve 4add333
Merge branch 'shixin.ruan-zcf-2073@@2' into 'feature-5.5.12-zns'
ruansteve f3ed00b
<fix>[network]: normalize ZNS L2 change target type handling
ruansteve d00e9d7
Merge branch 'shixin.ruan-zcf-2074@@2' into 'feature-5.5.12-zns'
ruansteve c34e420
<fix>[compute]: release sdn nics first
ruansteve File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
在扩展失败时清理已落库的
VmNicVO。Line 123 已经持久化了
VmNicVO,但只有 Line 132 成功分支才把这张 NIC 放进后续集合;Line 141-144 失败时只是记错并结束。当前回滚逻辑会遍历spec.getDestNics(),它看不到这张尚未加入集合的 NIC,因此这里会遗留孤儿VmNicVO/ResourceVO。🛠️ 一个直接的修复方向
callBeforeAllocateVmNicExtensions(nic, spec, new Completion(wcomp) { `@Override` public void success() { new SQLBatch() { @@ `@Override` public void fail(ErrorCode errorCode) { + vnicFactory.releaseVmNic(nic); errs.add(errorCode); wcomp.allDone(); } });🤖 Prompt for AI Agents