Commit Graph

38654 Commits

Author SHA1 Message Date
Wei Zhou ca4112e7d0 api/server: create dummy KVM VM without volume and network is optional 2026-04-09 10:17:56 +05:30
Abhisar Sinha c36cd2c26c Backup of stopped VMs 2026-04-09 10:14:22 +05:30
Abhisar Sinha 91a081beec Patch (zero, data) + Flush support in image_server.py 2026-04-09 10:14:22 +05:30
Abhisar Sinha 4173947aa3 extents(zero/dirty) and capabilities - working
todo: patch (needed?)
2026-04-09 10:14:21 +05:30
abh1sar da62e9a3ed Support multiple disks and checkpoints 2026-04-09 10:14:21 +05:30
Abhishek Kumar b926c7474d server changes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2026-04-09 10:14:21 +05:30
Abhishek Kumar 3460a5de99 veeam control changes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2026-04-09 10:14:21 +05:30
Abhishek Kumar 2bc3114120 fix precommit, license
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2026-04-09 10:14:21 +05:30
Abhisar Sinha f83fd00d93 add license to image_server.py 2026-04-09 10:14:21 +05:30
Abhisar Sinha 9ee97483eb get Options to return capabilities for upload 2026-04-09 10:14:21 +05:30
Abhisar Sinha 2350661ee3 Added progress to upload Image Transfers 2026-04-09 10:14:19 +05:30
Abhishek Kumar 7b45d2e118 wip: changes for imagetransfer handling
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2026-04-09 10:13:26 +05:30
Abhisar Sinha 10f65b67d7 image upload working 2026-04-09 10:13:26 +05:30
Abhisar Sinha aae158b2af upload fix-1 2026-04-09 10:13:26 +05:30
Abhisar Sinha 5389fe60aa Image server with disk upload 2026-04-09 10:13:24 +05:30
Abhisar Sinha 23ecb1f5ce Image server basic working version in SSVM. 2026-04-09 10:12:15 +05:30
abh1sar 73df3cbef7 Create volume on the given storage pool 2026-04-09 10:12:15 +05:30
Abhisar Sinha f396c5cc74 Basic working version-1 2026-04-09 10:12:11 +05:30
Abhishek Kumar 81c3b5ba0b changes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2026-04-09 10:10:57 +05:30
Abhishek Kumar 27844684c5 changes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2026-04-09 10:10:57 +05:30
Abhishek Kumar f52b114c8d changes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2026-04-09 10:10:57 +05:30
Abhishek Kumar a30eb280e5 changes for discovery
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2026-04-09 10:10:57 +05:30
Abhishek Kumar 065ec85589 wip
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2026-04-09 10:10:53 +05:30
Abhishek Kumar 7c23b2610a [WIP] plugins: veeam control service
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2026-04-09 09:38:11 +05:30
Suresh Kumar Anaparti c3614098da
Merge branch '4.22' 2026-04-08 18:09:43 +05:30
Abhisar Sinha 03de62bf38
Support Linstor Primary Storage for NAS BnR (#12796) 2026-04-08 15:14:20 +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
Daniil Zhyliaiev 30dd234b00
fix: NsxResource.executeRequest DeleteNsxNatRuleCommand comparison bug (#12833)
Fixes an issue in NsxResource.executeRequest where Network.Service
comparison failed when DeleteNsxNatRuleCommand was executed in a
different process. Due to serialization/deserialization, the
deserialized Network.Service instance was not equal to the static
instances Network.Service.StaticNat and Network.Service.PortForwarding,
causing the comparison to always return false.

Co-authored-by: Andrey Volchkov <avolchkov@playtika.com>
2026-04-06 15:50:17 -03: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
Suresh Kumar Anaparti e10c066cc1
Fix NPE during VM setup for pvlan (#12781)
* Fix NPE during VM setup for pvlan

* review comments
2026-04-01 16:29:44 +02:00
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
John Bampton 5d61ba3538
[CI] Create `.codespellrc`; upgrade codespell hook; fix typos (#12824) 2026-03-31 15:04:05 +02:00
John Bampton 5d95bdd0eb
pre-commit trailing whitespace auto clean up (#12841) 2026-03-31 15:02:39 +02:00
Henrique Sato 7eea9ed448
Add API to enable/disable NICs for KVM (#12819) 2026-03-31 10:14:20 +02:00
Pearl Dsilva 18075ae4a9
Add support for Headlamp dashboard for kubernetes; deprecate legacy kubernetes dashboard (#12776) 2026-03-30 16:04:45 +02:00
John Bampton cf9bda2050
[CI] Add github-actions ecosystem to Dependabot (#12823) 2026-03-30 15:49:22 +02:00
John Bampton 6bcbb008b4
Bump `actions/checkout` to `v6` (#12164) 2026-03-30 15:48:47 +02:00
Suresh Kumar Anaparti 59b6c32b60
[UI] Fix create backup notification (#12903) 2026-03-30 12:19:35 +02:00
Manoj Kumar 4ebe3349b7
add user-agent header to template downloader request (#12791) 2026-03-30 12:02:12 +02:00
Suresh Kumar Anaparti 71bd26ff7c
PowerFlex/ScaleIO storage - the MDMs validation improvements (#12893) 2026-03-27 15:37:30 -03: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
James Peru Mmbono 6ca6aa1c3f
Fix NPE in NASBackupProvider when no running KVM host is available (#12805)
* Fix NPE in NASBackupProvider when no running KVM host is available

ResourceManager.findOneRandomRunningHostByHypervisor() can return null
when no KVM host in the zone has status=Up (e.g. during management
server startup, brief agent disconnections, or host state transitions).

NASBackupProvider.syncBackupStorageStats() and deleteBackup() call
host.getId() without a null check, causing a NullPointerException that
crashes the entire BackupSyncTask background job every sync interval.

This adds null checks in both methods:
- syncBackupStorageStats: log a warning and return early
- deleteBackup: throw CloudRuntimeException with a descriptive message
2026-03-27 21:32:13 +05:30
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
Suresh Kumar Anaparti 1bff543e58
Merge branch '4.22' 2026-03-27 01:25:42 +05:30
Nicolas Vazquez c1af36f8fc
[4.22] Prevent unmanaging or reinstalling a VM if it is part of a CKS cluster (#12800) 2026-03-26 18:17:49 +05:30
Suresh Kumar Anaparti 84676afd5c
Check for null host before proceeding with VM volume operations in managed storage while restoring VM (#12879) 2026-03-26 07:58:52 -03:00
Suresh Kumar Anaparti d6c39772b2
Set management server id from cookies after saml login (#12858) 2026-03-25 20:52:44 +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