Commit Graph

12705 Commits

Author SHA1 Message Date
Abhishek Kumar fb82ca3c91 config: fix ManagementServer scope
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2026-04-15 13:15:00 +05:30
Abhisar Sinha c40b30bc4a Remove ImagetransferProgress Command 2026-04-14 23:33:00 +05:30
Abhisar Sinha 07bca60fc4 Merge remote-tracking branch 'upstream/main' into fork/shapeblue/integration-veeam-kvm 2026-04-14 23:30:58 +05:30
Daan Hoogland 82bfa9fb3f Merge branch '4.22' 2026-04-14 14:50:44 +02:00
Daan Hoogland 1085da4ef8 Merge commit '19b4ef106931aa1d6a8fed06984009d86760e4de' into 4.22 2026-04-14 13:15:05 +02:00
Suresh Kumar Anaparti 38abe2df0b
Allow list async jobs by resource type alone (#13011) 2026-04-14 15:20:13 +05:30
Suresh Kumar Anaparti feb6076930
Remove unused config consoleproxy.cmd.port (#12807)
* Remove unused config 'consoleproxy.cmd.port'

* Remove the config key

---------

Co-authored-by: dahn <daan@onecht.net>
2026-04-14 13:40:00 +05:30
Henrique Sato ed575cc0a1
New config.json variable to set the ACS default language (#12863)
* New config.json variable to set the ACS default language

* Address review
2026-04-13 14:37:45 -03:00
Jtolelo ae455ee193 VPC restart cleanup for Public networks with multi-CIDR data (#12622)
* Fix VPC restart with multi-CIDR networks: handle comma-separated CIDR in NetworkVO.equals()

When a network has multiple CIDRs (e.g. '192.168.2.0/24,160.0.0.0/24'),
NetworkVO.equals() passes the raw comma-separated string to
NetUtils.isNetworkAWithinNetworkB() which expects a single CIDR,
causing 'cidr is not formatted correctly' error during VPC restart
with cleanup=true.

Extract only the first CIDR value before passing to NetUtils.

* Fix root cause: skip CIDR/gateway updates for Public traffic type networks

addCidrAndGatewayForIpv4/Ipv6 (introduced by PR #11249) was called for all
network types without checking if the network is Public. This caused
comma-separated CIDRs to be stored on Public networks, which then triggered
'cidr is not formatted correctly' errors during VPC restart.

Add TrafficType.Public guard in both the VLAN creation (addCidr) and
VLAN deletion (removeCidr) paths in ConfigurationManagerImpl.

* Sanitize legacy network-level addressing fields for Public networks

---------

Co-authored-by: dahn <daan@onecht.net>
2026-04-13 15:40:26 +02:00
Suresh Kumar Anaparti 47c5bb8ee7 Support list/query async jobs by resource (#12983)
* Add resource filtering to async job query commands

* Fix logical condition in AsyncJobDaoImpl and ResourceIdSupport

* resource type case-insensitive validation

* fix resource type and id search

---------

Co-authored-by: mprokopchuk <mprokopchuk@gmail.com>
Co-authored-by: mprokopchuk <mprokopchuk@apple.com>
2026-04-13 15:39:49 +02:00
Abhishek Kumar 19b4ef1069 server: reserve backup, bucket resource limits during operations
Changes to check resource limits with reservations for the following
resource types:
- backup
- backup_storage
- bnucket
- object_storage

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2026-04-13 11:21:41 +02:00
Abhisar Sinha a9fb479805 Use executor service for pollImageTransferProgress 2026-04-13 09:41:15 +05:30
Abhisar Sinha 9af2c941ae rename image_transfer disk_id to volume_id 2026-04-13 09:41:14 +05:30
Abhisar Sinha ff12afb8a4 don't allow image transfer creation if image transfer entry is already there. 2026-04-13 09:41:12 +05:30
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
Manoj Kumar b196e97cc3
Prevent deletion of account and domain if either of them has deleted protected instance (#12901) 2026-04-10 15:51:22 +02:00
Abhisar Sinha df7ff97271
Create volume on a specified storage pool (#12966) 2026-04-10 14:27:39 +02:00
Bernardo De Marco Gonçalves 27e4d979f1
Clean up backup references to their schedules when the schedules are deleted (#12401)
* clean up backup schedule references after their deletion

* drop unused column

* address reviews
2026-04-10 14:51:52 +05:30
Suresh Kumar Anaparti 11538df710
Merge branch '4.22' 2026-04-10 12:02:40 +05:30
Abhishek Kumar 40cadd0369 merge fixes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2026-04-09 23:52:05 +05:30
Abhishek Kumar 2f673568aa cleanup; return tags with specific key only
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2026-04-09 18:27:53 +05:30
Abhishek Kumar d804b7597b address orphan trnasfers
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2026-04-09 18:27:43 +05:30
Nicolas Vazquez b5858029bb
Fix listing service offerings with different host tags (#12919) 2026-04-09 10:55:47 +02:00
Daman Arora 7ba5240b31
Block backup deletion while create-VM-from-backup or restore jobs are in progress (#12792)
* Block backup deletion while create-VM-from-backup or restore jobs are in progress

* Add tests

* Fix exception message

* Update test

Co-authored-by: Abhisar Sinha <63767682+abh1sar@users.noreply.github.com>
2026-04-09 11:09:01 +05:30
Abhishek Kumar 1ddccaa767 fix storagedomain retrieval
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2026-04-09 10:30:56 +05:30
Abhishek Kumar 10782021e4 addressed with finalizing transfers before backup
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2026-04-09 10:30:56 +05:30
Abhishek Kumar 800faa4a6f add log
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2026-04-09 10:30:56 +05:30
Abhishek Kumar 1669c0d496 fix db list issue
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2026-04-09 10:30:56 +05:30
Abhishek Kumar c588e67d6c changes for adding syncqueueitem for backup to block other operations on
vm

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2026-04-09 10:30:56 +05:30
Abhisar Sinha 6e420fecd2 fix config export to test backup apis 2026-04-09 10:30:56 +05:30
Abhisar Sinha dc480e07d3 Implement backend for delete vm checkpoint 2026-04-09 10:30:56 +05:30
Abhisar Sinha b84ff6b99a move checkpoint to vm details 2026-04-09 10:30:54 +05:30
Abhisar Sinha d6055c9ae2 create volume on storage refactor 2026-04-09 10:30:11 +05:30
Abhishek Kumar b52daa2be5 changes for access checks
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2026-04-09 10:30:11 +05:30
Abhisar Sinha 6f4758d062 expiry timeouts for idle image transfers 2026-04-09 10:30:11 +05:30
Abhisar Sinha 2d2f74078f Support local storage and shared mount point 2026-04-09 10:30:10 +05:30
Abhishek Kumar bad164c991 fixes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2026-04-09 10:30:10 +05:30
Abhisar Sinha e32a6ab7d9 Make veeam-kvm exclusive with other providers
finalize all pending image transfers when finalize backup is called
2026-04-09 10:30:10 +05:30
Abhisar Sinha ca0ad93d61 Remove dependency on backup offering. Make backup export service exclusive to other backup providers. 2026-04-09 10:30:08 +05:30
abh1sar b6d480cfb1 hide kvm backup export service apis behind a global config 2026-04-09 10:29:11 +05:30
abh1sar 8d42d5f186 change name from IncrementalBackupService to KVMBackupExportService 2026-04-09 10:29:11 +05:30
Abhishek Kumar 5b71847813 fix network listing
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2026-04-09 10:29:11 +05:30
Abhishek Kumar 38c8b70cf3 server,engine-schema: allow retrieving volume stats for stopped vms
Earlier, we were finding only those instance which have host_id equal to
the given host. Changed code now also returns those VMs which have host_id as NULL and last_host_id as the given host.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2026-04-09 10:29:08 +05:30
Abhishek Kumar 3bce25db2b fix check for blank instance
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2026-04-09 10:26:32 +05:30
Abhishek Kumar 1f72a2284c changes for restore with template; refactor
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2026-04-09 10:26:29 +05:30
Abhisar Sinha 10ad7967cd bug fixes 2026-04-09 10:25:09 +05:30
Abhishek Kumar 05a5b03d95 changes for user assignement; refactor
- make service account configurable
- allow assigning vm, volume to network account

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2026-04-09 10:25:07 +05:30
Abhishek Kumar a0be1fb772 temp fix for orphan image transfer listing and backup removal
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2026-04-09 10:23:37 +05:30
Abhisar Sinha b68e541b31 remove hostIpaddress from startNbdCommand 2026-04-09 10:23:37 +05:30
Abhishek Kumar 0dadbadb52 fix start nbd server
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2026-04-09 10:23:37 +05:30