Uh oh!
There was an error while loading. Please reload this page.
Address assignVm regression - #10875
Conversation
winterhazel
commented
May 15, 2025
@Pearl1594 while testing this, I found that there are some problems with the network creation/deletion events in this process. For example, when an isolated network is automatically created by ACS during VM assignment, no creation event is published. However, we can address this issue separately. |
winterhazel
commented
May 15, 2025
@blueorangutan package |
blueorangutan
commented
May 15, 2025
@winterhazel a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@## 4.20 #10875 +/- ##
=========================================
Coverage 16.13% 16.14% - Complexity 13239 13241 +2
=========================================
Files 5656 5656 Lines 497579 497615 +36 Branches 60333 60339 +6 =========================================
+ Hits 80297 80316 +19 - Misses 408333 408348 +15 - Partials 8949 8951 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
blueorangutan
commented
May 15, 2025
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 13401 |
shwstppr
commented
May 15, 2025
@blueorangutan test |
blueorangutan
commented
May 15, 2025
@shwstppr a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
Uh oh!
There was an error while loading. Please reload this page.
blueorangutan
commented
May 16, 2025
[SF] Trillian test result (tid-13325)
|
weizhouapache
left a comment
There was a problem hiding this comment.
code lgtm
All CI tests assed 👍
Co-authored-by: Wei Zhou <weizhou@apache.org>
winterhazel
commented
May 16, 2025
@blueorangutan package |
blueorangutan
commented
May 16, 2025
@winterhazel a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
May 16, 2025
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 13421 |
weizhouapache
commented
May 16, 2025
@blueorangutan test |
blueorangutan
commented
May 16, 2025
@weizhouapache a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
blueorangutan
commented
May 18, 2025
[SF] Trillian test result (tid-13334)
|
Pearl1594
commented
May 18, 2025
@blueorangutan test |
blueorangutan
commented
May 18, 2025
@Pearl1594 a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
blueorangutan
commented
May 18, 2025
[SF] Trillian Build Failed (tid-13338) |
weizhouapache
commented
May 18, 2025
@blueorangutan test |
blueorangutan
commented
May 18, 2025
@weizhouapache a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
weizhouapache
commented
May 19, 2025
@blueorangutan package |
weizhouapache
commented
May 19, 2025
@blueorangutan package |
blueorangutan
commented
May 19, 2025
@weizhouapache a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
May 19, 2025
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 13451 |
yadvr
commented
May 20, 2025
@blueorangutan test |
blueorangutan
commented
May 20, 2025
@rohityadavcloud a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
blueorangutan
commented
May 20, 2025
[SF] Trillian test result (tid-13354)
|
weizhouapache
commented
May 20, 2025
verified ok |
blueorangutan
commented
May 20, 2025
[SF] Trillian test result (tid-13355)
|
blueorangutan
commented
May 21, 2025
[SF] Trillian test result (tid-13364)
|
* Address assignVm regression
Description
This PR fixes#10825 by moving the creation of the network to outside the transaction, right before the updates start happening. This way, if an error happens while creating the network, nothing will have been updated yet. And, if an error happens while updating the virtual machine, the changes will be rolledback.
Also closes#10854.
Types of changes
Feature/Enhancement Scale or Bug Severity
Bug Severity
How Has This Been Tested?
I verified that the issue does not happen anymore:
Also, I simulated errors during the VM assignment to verify what would happen:
And verified the behavior for some other situations: