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
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
Henrique Sato
7eea9ed448
Add API to enable/disable NICs for KVM ( #12819 )
2026-03-31 10:14:20 +02:00
Suresh Kumar Anaparti
1bff543e58
Merge branch '4.22'
2026-03-27 01:25:42 +05:30
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
Nicolas Vazquez
93239e09f1
Add conserve mode for VPC offerings ( #12487 )
2026-03-16 09:39:42 +01: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
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
Suresh Kumar Anaparti
75620309c2
Merge branch '4.22'
2026-03-04 21:13:01 +05:30
Vishesh
6516f7f1aa
Fix query execution in countVgpuVMs ( #12713 )
2026-02-27 18:23:25 +05:30
Suresh Kumar Anaparti
a8bd02f8ba
Merge branch '4.22'
2026-02-26 11:12:20 +05:30
Suresh Kumar Anaparti
b74f21b967
Merge branch '4.20' into 4.22
2026-02-26 11:11:41 +05:30
dahn
da7ac80dc4
prevent user.uuid from being regenerated on each operation by reading it from the DB ( #12632 )
2026-02-23 11:12:13 +01: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
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
Daan Hoogland
a7dc5efad5
Merge release branch 4.22 to main
...
* 4.22:
Fix issue when restoring backup after migration of volume (#12549 )
Usage: Heartbeat should not schedule usage job when a job is already running (#12616 )
Allow limit queries without random ordering (#12598 )
engine/schema: fix cluster/zone settings with encrypted values (#12626 )
Fix injection of preset variables into the JS interpreter (#12515 )
Fix issue with multiple KVM Host entries in host table (#12589 )
Add a Prometheus metric to track host certificate expiry (#12613 )
ssvm: delete temp directory while deleting entity download url (#12562 )
2026-02-17 11:55:04 +01:00
Daan Hoogland
11df71e55c
Merge branch '4.20' into '4.22'
2026-02-17 11:53:08 +01:00
Manoj Kumar
c79b33c1fb
Allow enforcing password change for a user after reset by admin (root/domain) ( #12294 )
...
* API modifications for passwordchangerequired
* ui login flow for passwordchangerequired
* add passwordchangerequired in listUsers API response, it will be used in UI to render reset password form
* cleanup redundant LOGIN_SOURCE and limiting apis for first time login
* address copilot comments
* allow enforcing password change for all role types and update reset pwd flow for passwordchangerequired
* address review comments
* add unit tests
* cleanup ispasswordchangerequired from user_view
* address review comments
* 1. Allow enforcing password change while creating user
2. Admin can enforce password change on next login with out resetting password
* address review comment, add unit test
* improve code coverage
* fix pre-commit license issue
* 1. allow enter key to submit change password form
2. hide force password reset for disabled/locked user in ui
* 1. throw exception when force reset password is done for locked/disabled user/account
2. ui validation on current and new password being same
3. allow enforce change password for add user until saml is not enabled
* allow oauth login to skip force password change
2026-02-16 16:01:42 +05:30
Suresh Kumar Anaparti
e22f842ed8
Allow limit queries without random ordering ( #12598 )
2026-02-13 09:30:55 +01:00
Wei Zhou
18d66595b3
engine/schema: fix cluster/zone settings with encrypted values ( #12626 )
2026-02-12 12:52:23 +01:00
Daan Hoogland
e929f2024a
Merge branch '4.22'
2026-02-05 16:07:46 +01:00
Daan Hoogland
cd6a8f61ca
Merge branch '4.20' into 4.22
2026-02-05 15:32:36 +01:00
Suresh Kumar Anaparti
ce42ce54c2
Fix template details deletion while updating template from UI ( #12559 )
...
* Fix template details deletion while updating template from UI
* update the latest template details before submit
2026-02-03 14:21:43 +05:30
Suresh Kumar Anaparti
a5b6bc3be6
Merge branch '4.22'
2026-01-30 21:15:58 +05:30
Abhishek Kumar
18972caf5f
api,server: allow cleaning up vm extraconfig ( #11974 )
2026-01-30 13:54:01 +05:30
Wei Zhou
81f16b6261
engine/schema: prepend algorithm to checksum during systemvm template registration ( #12165 )
...
* engine/schema: prepend algorithm to checksum during systemvm template registration
* Update utils/src/main/java/org/apache/cloudstack/utils/security/DigestHelper.java
2026-01-30 09:01:50 +02:00
Suresh Kumar Anaparti
ffb8b91ff5
Merge branch '4.22'
2026-01-29 19:42:07 +05:30
Suresh Kumar Anaparti
f5778eaa32
Merge branch '4.20' into 4.22
2026-01-29 19:41:29 +05:30
Daniel Augusto Veronezi Salvador
8c2a030816
Fix query filter and units tests ( #12184 )
2026-01-29 14:51:22 +02:00
Wei Zhou
aef3df7577
server: pass network label of physical network when plug nic for private gateway on hypervisor ( #11846 )
2026-01-29 14:47:08 +02:00
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
Nicolas Vazquez
664f76c7e4
Fix KvmSshToAgentEnabled setting description and make it dynamic ( #12533 )
2026-01-29 09:24:58 +01:00
Fabricio Duarte
b7fc7179fc
Add batch deletion support to `removeRawUsageRecords` ( #12522 )
...
* Add batch deletion support to `removeRawUsageRecords`
* Remove ORDER BY from batch expunge
2026-01-29 08:14:05 +02:00
Suresh Kumar Anaparti
059debf212
Add the procedure files for insert extensions and update guest os category ( #12482 )
...
* Add the procedure files for insert extensions and update guestos category
* fixed indentation
* Apply suggestions from code review
Co-authored-by: Vishesh <8760112+vishesh92@users.noreply.github.com>
---------
Co-authored-by: Vishesh <8760112+vishesh92@users.noreply.github.com>
2026-01-28 16:09:37 +02:00
Abhisar Sinha
95de88a8ff
Usage server should takeover immediately if the other Usage server has been stopped gracefully ( #12507 )
2026-01-28 16:08:25 +02:00
Abhishek Kumar
69c69dc537
server,engine-schema: make config - use.https.to.upload zone scoped ( #11539 )
2026-01-28 13:23:39 +01:00
Suresh Kumar Anaparti
83ce0067b8
Update the snapshot physical size for the primary storage resource after snapshot creation and during resource count recalculation ( #12481 )
...
* Update snapshot size for the primary storage resource after snapshot creation and during resource count recalculation
* Update snapshot physical size
* review
* review
2026-01-28 13:07:57 +02:00
Suresh Kumar Anaparti
ff7ec0cd22
Update alert id for VR public and private interface ( #12527 )
2026-01-28 11:45:48 +01:00
Daan Hoogland
e3999923a7
Merge release branch 4.22 to main
...
* 4.22:
fix install path for systemvm templates when introducing new sec storage (#11605 )
fix Sensitive Data Exposure Through Exception Logging in OVM Hypervis… (#12032 )
Fix snapshot physical size after migration (#12166 )
ConfigDrive: use file absolute path instead of canonical path to create ISO (#11623 )
Add log for null templateVO (#12406 )
snapshot: fix listSnapshots for volume which got delete and whose storage pool got deleted (#12433 )
Notify user if template upgrade is not required (#12483 )
Fix: proper permissions for systemvm template registrations on hardened systems (#12098 )
Allow modification of user vm details if user.vm.readonly.details is empty (#10456 )
NPE fix while deleting storage pool when pool has detached volumes (#12451 )
2026-01-26 13:32:56 +01:00
Daan Hoogland
edb62b490c
Merge branch '4.20' into 4.22
2026-01-26 13:30:26 +01:00