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
api,server,ui: snapshot copy, multi-zone replica #7873
Conversation
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
@blueorangutan package |
@shwstppr a [SF] 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]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 6972 |
@blueorangutan package |
@shwstppr a [SF] 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
@@ Coverage Diff @@
## main #7873 +/- ##
=============================================
+ Coverage 19.07% 29.17% +10.10%
- Complexity 18250 30616 +12366
=============================================
Files 4967 5111 +144
Lines 336878 360624 +23746
Branches 48395 52697 +4302
=============================================
+ Hits 64246 105222 +40976
+ Misses 263345 240946 -22399
- Partials 9287 14456 +5169
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 1638 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 6974 |
@blueorangutan package |
@shwstppr a [SF] 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]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 7395 |
@blueorangutan test matrix |
@shwstppr a [SF] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
[SF] Trillian test result (tid-7986)
|
[SF] Trillian test result (tid-7984)
|
[SF] Trillian test result (tid-7985)
|
@DaanHoogland, I have to run a few more tests with the latest changes |
@blueorangutan test rocky8 vmware-70u3 |
@DaanHoogland a [LL] Trillian-Jenkins test job (rocky8 mgmt + vmware-70u3) has been kicked to run smoke tests |
[LL]Trillian test result (tid-6861)
|
ok, we have an interest in putting this in 4.19. Can you give an E.T.A. on these, @slavkap ? |
@blueorangutan package |
@shwstppr 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]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 7456 |
@blueorangutan test matrix |
@shwstppr a [SL] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
[SF] Trillian test result (tid-8046)
|
[SF] Trillian test result (tid-8045)
|
@blueorangutan test centos7 xs71 |
@shwstppr [SL] unsupported parameters provided. Supported mgmt server os are: |
@blueorangutan test centos7 xenserver-71 |
@shwstppr a [SL] Trillian-Jenkins test job (centos7 mgmt + xenserver-71) has been kicked to run smoke tests |
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, tested with StorPool and NFS primary storage
[SF] Trillian test result (tid-8051)
|
Merging based on approvals, QA testing. great work @shwstppr ! |
Description
This PR adds new functionality to copy snapshots across zones and take snapshots for multiple zones.
Copy functionality is similar to template copy. The source zone acts as the web server from where the destination zone(s) can download the snapshot files. For this purpose, a new API -
copySnapshot
has been added. The response for copySnapshot will be returning zone and download details from the first destination zone of the request. This behaviour is similar to thecopyTemplate
API.In a similar manner, multiple zones can be selected while taking the snapshots or creating snapshot policies. For this snapshot will be taken in the base zone(in which volume is present) and then copied to the additional zones. A new parameter -
zoneids
has been added tocreateSnapshot
andcreateSnapshotPolicy
APIs.As snapshots can be present on multiple zones (secondary stores), a new parameter
zoneid
has been added to delete the snapshot copy on a specific zone.listSnapshots
API has been updated to allow listing snapshot entries for different zones/datastores. New parameters -showUnique
,locationType
have been added.Events generated during snapshot operations will now be linked to the snapshot itself rather than the volume of the snapshot.
listSnapshotPolicies
andcreateSnapshotPolicy
APIs will return zone details of the zones in which backup will be scheduled for the policy.New API added
copySnapshot
Request and response params updated for APIs
UI updated for
Doc PR: apache/cloudstack-documentation#344
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Manual snapshot operations in a multi-zone environment
Smoke test added: