-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Preserve VM settings on Instance Snapshot revert for Custom Service Offering #12555
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
Conversation
... for custom service offerings
abh1sar
commented
Jan 30, 2026
@blueorangutan package
blueorangutan
commented
Jan 30, 2026
@abh1sar 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 Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@ ## 4.20 #12555 +/- ## ============================================ + Coverage 16.23% 16.26% +0.02% - Complexity 13378 13427 +49 ============================================ Files 5657 5660 +3 Lines 498866 499921 +1055 Branches 60545 60699 +154 ============================================ + Hits 81011 81322 +311 - Misses 408821 409526 +705 - Partials 9034 9073 +39
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
Jan 30, 2026
Packaging result [SF]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 16648
abh1sar
commented
Jan 30, 2026
@blueorangutan package
blueorangutan
commented
Jan 30, 2026
@abh1sar 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
Jan 30, 2026
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 16651
@sureshanaparti
sureshanaparti
left a comment
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.
clgtm
sureshanaparti
commented
Jan 30, 2026
@blueorangutan test
blueorangutan
commented
Jan 30, 2026
@sureshanaparti a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests
blueorangutan
commented
Jan 30, 2026
[SF] Trillian Build Failed (tid-15344)
DaanHoogland
commented
Feb 1, 2026
@blueorangutan test
blueorangutan
commented
Feb 1, 2026
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests
blueorangutan
commented
Feb 2, 2026
|
[SF] Trillian test result (tid-15349)
|
@weizhouapache
weizhouapache
left a comment
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.
lgtm
@RosiKyu
RosiKyu
left a comment
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.
LGTM
- Created a custom service offering
- Create an instance with the custom service offering
- Started the Instance and created Instance snapshot (with memory)
- Stopped the Instance and Reverted to Snapshot
- Started the Instance
- Verified that none of the VM settings were lost
Description
This PR fixes #11272
On revert to an instance snapshot, VM instance details were fully replaced with only the snapshot-stored details (CPU_NUMBER, CPU_SPEED, MEMORY) for dynamic service offerings, so any other details (e.g. boot/UEFI, keyboard, or other custom settings) were lost. This change updates revert to only restore those three service-offering details via addDetail, leaving all other VM instance details unchanged.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
Before fix:
Initial settings
Screenshot 2026年01月30日 at 2 44 53 PM
Settings after snapshot revert
Screenshot 2026年01月30日 at 2 45 12 PM
How Has This Been Tested?
How did you try to break this feature and the system with this change?