-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Create new Instance from VM backup #10140
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
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #10140 +/- ##
============================================
+ Coverage 16.30% 16.45% +0.14%
- Complexity 13447 13608 +161
============================================
Files 5675 5688 +13
Lines 499249 501615 +2366
Branches 60377 60780 +403
============================================
+ Hits 81415 82548 +1133
- Misses 408761 409824 +1063
- Partials 9073 9243 +170
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:
|
Yes, we need this ! |
@blueorangutan package |
@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. |
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11996 |
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
engine/schema/src/main/resources/META-INF/db/schema-42010to42100.sql
Outdated
Show resolved
Hide resolved
@blueorangutan package |
@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. |
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 13013 |
@blueorangutan package |
@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. |
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 13040 |
@blueorangutan test |
@abh1sar a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
[SF] Trillian test result (tid-12978)
|
overall lgtm note about the
is |
Thanks @weizhouapache
I tested this. The root volume is being assigned deviceId 0 for both template and iso.
deviceIds are set here
Please let me know if this sounds ok. |
thanks @abh1sar About the deviceId of datadiskoffering
should it be 0 if the vm is created from ISO ? |
@weizhouapache For VM from ISOs createVirtualMachineFromScratch is called where deviceId remains null in rootDiskOfferingInfo and in allocateRawVolume the deviceId for volume is set to 0L.
|
@blueorangutan package |
@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 package |
@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. |
Packaging result [SF]: ✔️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 13151 |
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 13152 |
Doc PR: apache/cloudstack-documentation#474
Description
This PR adds the ability to create a new Instance from a VM backup for Dummy, NAS and Veeam backup Providers.
This will still work if the original Instance used to create the backup was expunged.
New API
UI
DB changes
Other Changes
Map datadisksdetails
to deployVirtualMachine api to create multiple data volumes at the time of instance creation.Plugins related changes
Other Miscellaneous changes
Backup Storage (used and available) is shown on the Capacity dashboard and tracks the alerts if supported by the plugin
(Currently only NAS BnR plugin supports it)
Object Storage (allocated and available) is shown on the Capacity dashboard and tracked for alerts.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?