Commit Graph

1323 Commits

Author SHA1 Message Date
Pearl Dsilva f84a507224 restrict pre and post migration commands to only kvm hosts where vm has CLVM/CLVM-NG volumes 2026-03-30 15:15:37 -04:00
Pearl Dsilva 93782bb5f1 add tests 2026-03-30 12:00:05 -04:00
Pearl Dsilva 2f0fc971c2 fix EOF and trailing spaces 2026-03-27 16:56:56 -04:00
Pearl Dsilva 0afa603145 fix build failure, add tests 2026-03-27 15:15:46 -04:00
Pearl Dsilva 0fcf12c252 add tests 2026-03-27 14:41:30 -04:00
Pearl Dsilva 058007e7ec fix lockhost on creation of volumes from snap and fix bitmap issue when migrating a vol with incremental snap 2026-03-27 14:08:20 -04:00
Pearl Dsilva 237f074054 Merge branch 'main' of https://github.com/apache/cloudstack into clvm-enhancements 2026-03-26 16:49:05 -04:00
Suresh Kumar Anaparti 1bff543e58
Merge branch '4.22' 2026-03-27 01:25:42 +05:30
Pearl Dsilva 70583a43f9 prevent snapshot backup for incremental clvm_ng snaps, fix build failure, add unit tests 2026-03-26 15:43:50 -04:00
Pearl Dsilva 8ed2a3af52 refactor 2026-03-26 12:22:05 -04:00
Pearl Dsilva 437f77c97e support live vm migration between clvm -> clvm-ng (vice-versa), nfs -> clvm (vice-versa) and nfs->clvm-ng (vice-versa) 2026-03-24 15:07:36 -04:00
Suresh Kumar Anaparti 7c3637a2f5
Fix duplicate dummy templates, and update guest os for dummy template (#12780)
* Fix duplicate dummy template 'kvm-default-vm-import-dummy-template' entries

* Update guest os id of dummy template to 99 (Other Linux (64-bit)) from existing id: 1 (CentOS 4.5 (32-bit))

* update migration path to remove duplicate dummy templates
2026-03-24 18:01:26 +05:30
Pearl Dsilva 7e5e1e70e3 fix creation of volume on destination host during migration to clvm/clvm-ng 2026-03-23 09:33:29 -04:00
Pearl Dsilva 01aa259eff add support to migrate to and from clvm to nfs 2026-03-19 16:09:20 -04:00
Pearl Dsilva c0cf89584b support live migration from clvm_ng to nfs and vice-versa 2026-03-19 12:07:40 -04:00
Pearl Dsilva 798401ec39 Merge branch 'main' of https://github.com/apache/cloudstack into clvm-enhancements 2026-03-17 07:12:21 -04:00
Pearl Dsilva 357e840cff fix test 2026-03-16 17:00:24 -04:00
Pearl Dsilva 572ffeb4bd migrate clvm volumes as full clone and allow migration from clvm to nfs 2026-03-16 16:34:33 -04:00
Pearl Dsilva 4c34200b7a fix test and use physical size + 50% of virtual size for backing file, while virtual size + pe for disk 2026-03-16 13:23:32 -04:00
Klaus de Freitas Dornsbach 74af9b9875
API key pair restructure (#9504)
Co-authored-by: Bernardo De Marco Gonçalves <bernardomg2004@gmail.com>
2026-03-09 14:20:17 +01:00
Pearl Dsilva 81bb667267 add support for new gen clvm with template (qcow2) backing 2026-03-05 13:09:56 -05:00
Suresh Kumar Anaparti 75620309c2
Merge branch '4.22' 2026-03-04 21:13:01 +05:30
Pearl Dsilva d51123de0c Merge branch 'main' of https://github.com/apache/cloudstack into clvm-enhancements 2026-03-02 10:52:14 -05:00
Pearl Dsilva ed7cf122c1 fix failing test and add test 2026-02-26 16:44:24 -05:00
Suresh Kumar Anaparti 9e386a3128
PowerFlex/ScaleIO client initialization, authentication and command execution improvements (#12391)
* PowerFlex/ScaleIO client initialization, authentication and command execution improvements

* Migrate VM with volume not supported yet for PowerFlex/ScaleIO

* review changes
2026-02-26 09:23:41 -03:00
Pearl Dsilva d8890ecacf fix revert snapshot format type and handle revert snapshot functionality for clvm 2026-02-24 19:00:58 -05:00
Pearl Dsilva 82d6edd4bb make setting non-dynamic & fix test 2026-02-23 09:44:32 -05:00
Pearl Dsilva 7a11626c34 make zero fill configurable 2026-02-20 13:19:01 -05:00
Pearl Dsilva 21242ac13a add support to revert snapshot for clvm 2026-02-20 07:51:20 -05:00
Pearl Dsilva 6f2011374f add support to revert snapshot for clvm 2026-02-20 07:50:55 -05:00
Pearl Dsilva 8a7e48ac46 made necessary changes to allow migration of lock and deletion of detached volumes 2026-02-19 20:25:34 -05:00
Suresh Kumar Anaparti 30e6c224bd
Merge branch '4.22' 2026-02-19 13:20:04 +05:30
Suresh Kumar Anaparti 5caf6cd043
Merge branch '4.20' into 4.22 2026-02-19 13:19:14 +05:30
Pearl Dsilva 4984ee5ff4 add support for migrating lvm lock 2026-02-18 15:05:46 -05:00
Suresh Kumar Anaparti 32c0cdbed9
Add volumes in 'Expunging' state to storage cleanup thread and during delete storage pool (#12602) 2026-02-18 20:08:25 +01:00
Pearl Dsilva 43e938455f refactor clvm code 2026-02-17 10:16:19 -05:00
Suresh Kumar Anaparti a5b6bc3be6
Merge branch '4.22' 2026-01-30 21:15:58 +05:30
Suresh Kumar Anaparti 30d306622a
Merge branch '4.20' into 4.22 2026-01-30 21:15:21 +05:30
Suresh Kumar Anaparti d98511dddd
Update physical size for the snapshots of the volumes on ceph primary storage (#12465) 2026-01-30 10:51:38 +01:00
Vishesh a7178ee687
Fix mvn warnings (#10909)
* Replace maven-jgit-buildnumber-plugin with thread safe buildnumber-maven-plugin

* Fix mysql-connector-java warning

* Fix thread safe warning for properties-maven-plugin

* Fix mvn build - marvin warnings

* Update tools/marvin/README.md

* Update tools/marvin/README.md

Co-authored-by: dahn <daan.hoogland@gmail.com>

---------

Co-authored-by: dahn <daan.hoogland@gmail.com>
2026-01-30 14:01:57 +05:30
Suresh Kumar Anaparti a55f85af50
Merge branch '4.22' 2026-01-29 15:55:03 +05:30
Suresh Kumar Anaparti d700e2db64
Merge branch '4.20' into 4.22 2026-01-29 15:51:58 +05:30
Daman Arora 9956d32548
Fix delete snapshot policy expunged volume (#12474)
* use findByIdIncludingRemoved for volume retrieval in snapshot policy validation

* add unit tests

* add cleanup for orphan snapshot policies

* delete snapshot policies when expunging volumes

* update orphan cleanup to remove policies for volumes that are in expunged state or null

---------

Co-authored-by: Daman Arora <daman.arora@shapeblue.com>
2026-01-28 16:11:14 +02:00
Harikrishna 6932cacabc
Allow copy of templates from secondary storages of other zone when adding a new secondary storage (#12296)
* Allow copy of templates from secondary storages of other zone when adding a new secondary storage

* Add API param and UI changes on add secondary storage page

* Make copy template across zones non blocking

* Code fixes

* unused imports

* Add copy template flag in zone wizard and remove NFS checks

* Fix UI

* Label fixes

* code optimizations

* code refactoring

* missing changes

* Combine template copy and download into a single asynchronous operation

* unused import and fixed conflicts

* unused code

* update config message

* Fix configuration setting value on add secondary storage page

* Removed unused code

* Update unit tests
2026-01-28 16:00:30 +05:30
Abhishek Kumar 25cb545325
Merge remote-tracking branch 'apache/4.22' 2026-01-28 11:33:03 +05:30
Abhishek Kumar 276eb8111d
Merge remote-tracking branch 'apache/4.20' into 4.22 2026-01-28 11:32:18 +05:30
Fabricio Duarte 70d4c9d1ba
Consider secondary storage selectors during cold volume migration (#10957)
The secondary storage selectors allow operators to specify, for instance, that volumes should go to a specific secondary storage A. Thus, when uploading a volume, it will always be downloaded to secondary storage A.

The cold volume migration moves volumes to a secondary storage before moving them to the destination primary storage. This process does not consider the secondary storage selectors. However, some companies want to dedicate specific secondary storages for cold migration.

To address this, this PR makes the cold volume migration process consider the secondary storage selectors.
2026-01-28 11:18:31 +05:30
Daan Hoogland cb822feb72 Merge branch '4.22' 2026-01-27 16:21:59 +01:00
Daan Hoogland 75db42bca6 Merge branch '4.20' into 4.22 2026-01-27 15:23:23 +01:00
Fabricio Duarte 0458c5328b
Consider secondary storage selectors during template synchronization (#10956)
* Consider secondary storage selectors during template synchronization

* Fix checkstyle

* Remove unused import
2026-01-27 11:05:09 +02:00