Commit Graph

3960 Commits

Author SHA1 Message Date
Pearl Dsilva be2994db0f Merge branch 'main' of https://github.com/apache/cloudstack into clvm-enhancements 2026-04-13 14:30:51 -04:00
Fabricio Duarte 9f57a4dd19
Unhide setting `js.interpretation.enabled` (#12605)
* Unhide setting 'js.interpretation.enabled'

* Fix grammar mistake
2026-04-10 23:45:07 -03:00
Suresh Kumar Anaparti 11538df710
Merge branch '4.22' 2026-04-10 12:02:40 +05:30
João Jandre 2a60305792
Fix snapshot chaining on Xen (#12597) 2026-04-10 11:05:26 +05:30
Suresh Kumar Anaparti 7b467496cb
Do not include snapshots with Group type in snapshots resource count (#12945) 2026-04-10 10:50:35 +05:30
Abhisar Sinha 4ba4bd33c3
replace GROUP_CONCAT with JSON_ARRAYAGG to avoid errors like Row 19 was cut by GROUP_CONCAT (#12777) 2026-04-10 09:39:03 +05:30
Nicolas Vazquez b5858029bb
Fix listing service offerings with different host tags (#12919) 2026-04-09 10:55:47 +02:00
Suresh Kumar Anaparti c3614098da
Merge branch '4.22' 2026-04-08 18:09:43 +05:30
Suresh Kumar Anaparti abdf926219
Revert "Use lateral join (introduced in MySQL 8.0.14) with subquery on user_statistics table in account_view for netstats (#12631)" (#12965)
This reverts commit 58916eb608.
2026-04-08 09:43:44 +05:30
Pearl Dsilva 4903339aa3 evist lock tracking - use lvs command to get lock host than DB 2026-04-07 12:55:05 -04:00
Suresh Kumar Anaparti e2d18c0748
Merge branch '4.22' 2026-04-02 10:30:18 +05:30
Wei Zhou 470812100e
server: set template type to ROUTING or USER if template type is not specified when upload a template (#12768) 2026-04-02 09:34:28 +05:30
Pearl Dsilva b805766f4b
Fix Host setup when persistent networks exist (#12751) 2026-04-01 07:25:19 -04:00
julien-vaz 4f93ba888c
Refactor Quota Summary API (#10505)
* Refactor Quota Summary API

* Fixes imports

* Fix QuotaServiceImplTest

* Update plugins/database/quota/src/main/java/org/apache/cloudstack/api/command/QuotaSummaryCmd.java

Co-authored-by: Fabricio Duarte <fabricio.duarte.jr@gmail.com>

* Fix QuotaSummaryCmd

* Remove unnecessary imports

* Remove unused createQuotaSummaryResponse declarations

* Remove unnecessary imports

* Update plugins/database/quota/src/main/java/org/apache/cloudstack/api/command/QuotaSummaryCmd.java

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

* Fix QuotaSummaryCmd

* Fix QuotaResponseBuilderImplTest

* Refactor test

* Fix QuotaSummaryCmd

* Fix projectid behavior

* Simplify QuotaSummary and deprecate listall

* Fix createQuotaSummaryResponse

* Remove unused import

* Apply suggestions + some adjustments

* Remove duplicated check

* Fix checkstyle

* Adjust entity owner

* Remove unused method + fix tests

* Add missing @ACL to some parameters

* Adjust how the parameters behave

* Allow domain admins and users to use keyword

* Address reviews

---------

Co-authored-by: Julien Hervot de Mattos Vaz <julien.vaz@scclouds.com.br>
Co-authored-by: Fabricio Duarte <fabricio.duarte.jr@gmail.com>
Co-authored-by: dahn <daan.hoogland@gmail.com>
2026-03-31 20:29:30 -03:00
Pearl Dsilva a29f823f13 Merge branch 'main' of https://github.com/apache/cloudstack into clvm-enhancements 2026-03-31 14:50:37 -04:00
Pearl Dsilva 381dc67ef0 add more tests 2026-03-31 12:50:24 -04:00
Henrique Sato 7eea9ed448
Add API to enable/disable NICs for KVM (#12819) 2026-03-31 10:14:20 +02:00
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
Suresh Kumar Anaparti 68030df10b
VM start error handling improvements and config to expose error to users (#12894)
* VM start error handling improvements, and config to expose error to user

* refactor
2026-03-27 15:35:08 -03: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
owsferraro 131ea9f7ac
Fix PowerFlex 4.x issues with take & revert instance snapshots (#12880)
* fixed database update on snapshot with multiple volumes and an api change

* changed overwritevolumecontent based on powerflex version and removed unnecessary comments

* Update plugins/storage/volume/scaleio/src/main/java/org/apache/cloudstack/storage/datastore/client/ScaleIOGatewayClientImpl.java

Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>

* Update plugins/storage/volume/scaleio/src/main/java/org/apache/cloudstack/storage/datastore/client/ScaleIOGatewayClientImpl.java

Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>

* Update plugins/storage/volume/scaleio/src/main/java/org/apache/cloudstack/storage/datastore/client/ScaleIOGatewayClientImpl.java

Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>

---------

Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>
2026-03-27 07:22:08 -03: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
Nicolas Vazquez 7107d28db8
[VMware to KVM] Add guest OS for importing VM based on the source VM OS (#12802) 2026-03-24 15:06:38 +05:30
Suresh Kumar Anaparti bce55945ec
Mark VMs in error state when expunge fails during destroy operation (#12749)
* Mark VMs in error state when expunge fails during destroy operation

* fetch volume by external id (used by external plugins)

* review comments

* Update reorder hosts log to DEBUG, log line is too verbose to have on as INFO
2026-03-24 00:29:14 -03:00
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 22f9d0e6f1 fix clvm_ng to nfs migration, and handle overhead calc 2026-03-17 19:16:28 -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
Nicolas Vazquez 93239e09f1
Add conserve mode for VPC offerings (#12487) 2026-03-16 09:39:42 +01:00
Pearl Dsilva ecba1b3e34 fix test 2026-03-13 17:56:02 -04:00
Daman Arora 8c579538f9
CKS: Allow affinity group selection during cluster creation (#12386)
Co-authored-by: Daman Arora <daman.arora@shapeblue.com>
2026-03-13 10:58:55 +01:00
Vishesh 3b42fbf3b2
Fixing CI failures (#12789)
* Fixing CI failures

* fixup: test_secondary_storage
2026-03-13 13:33:59 +05:30
Pearl Dsilva 27bce46a8e
Clear System VM IP from NICs for PublicNetworkGuru (#11992) 2026-03-12 13:18:03 +01: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
Suresh Kumar Anaparti 58916eb608
Use lateral join (introduced in MySQL 8.0.14) with subquery on user_statistics table in account_view for netstats (#12631) 2026-03-05 20:18:58 +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