Manoj Kumar
5f627aa70a
changes in this commit:
...
1. stop and start vm operations wont trigger dns sync
2. ip update for nic will refresh dns records
2026-04-24 12:32:58 +05:30
Manoj Kumar
172ac67732
rename dnsrecordurl -> nicdnsname, DnsNicJoinView -> nicDnsJoinVo
2026-04-20 14:26:07 +05:30
Manoj Kumar
001a197689
rename apikey to dnsapikey, refactor ui and add dig verification in integration test
2026-04-17 06:57:12 +05:30
Manoj Kumar
30566d1cbd
merge main changes
2026-04-15 19:24:51 +05:30
Manoj Kumar
9d0884a0a6
add marvin test for powerdns
2026-04-15 18:57:46 +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
Manoj Kumar
6466362552
unit tests
2026-04-14 12:12:01 +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
Manoj Kumar
a036281cd9
split cleanup of old dns urls and new record registration
2026-04-13 18:31:50 +05:30
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
Manoj Kumar
3ae9834325
fix normalizing dns record values for mx, srv and other type
2026-04-11 17:36:07 +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
Manoj Kumar
883dc32abf
changes:
...
1. handle vm hostname change for dns registration
2. generate event for dns name collision
3. remove dns record lifecycle subscriber
2026-04-10 12:35:48 +05:30
Suresh Kumar Anaparti
11538df710
Merge branch '4.22'
2026-04-10 12:02:40 +05:30
Manoj Kumar
356781972e
fix automatic dns record registration based on vm and nic lifecycle
2026-04-09 19:06:53 +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
Manoj Kumar
8d10ae1094
Following changes are done:
...
1. new messageSubscriber to handle dns record create/delete event
2. instance dns record registration uses hostname, prepend random 3 char if conflict
2026-04-06 17:59:58 +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
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
Manoj Kumar
9d4e141ef5
unit tests
2026-04-01 12:13:54 +05:30
Manoj Kumar
f524bbe0e2
resolve conflict with main
2026-04-01 09:59:16 +05:30
Manoj Kumar
f1dcd00a9d
add unit tests
2026-04-01 09:44:36 +05:30
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
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
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
Manoj Kumar
c6abed1702
Following changes are part of this commit:
...
1. Remove usage of in-memory eventBus for VM lifecycle events
2. Publish event for VM, NIC and DNS record delete events into messageBus
3. Introducer subscribers for above topics
2026-03-25 17:38:13 +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
Manoj Kumar
5682a5a997
modify delete flow for dns zone and server, ask to key in name
2026-03-23 18:21:50 +05:30
Manoj Kumar
bde9fd9062
improve cleanup logic for DNS zone and server
2026-03-23 15:00:52 +05:30
Manoj Kumar
af7ce8ebdd
fix addDnsRecord and deleteDnsRecord flow for automatic registration and ownership issue for associate/disassociate dnsZoneToNetwork
2026-03-20 13:10:59 +05:30
Manoj Kumar
981bb64b86
add associate and disassociate dns zone to network ui screens, network response changes
2026-03-19 16:42:17 +05:30
Manoj Kumar
a1eca74de1
work on updateDnsServer ui screen, fixed acl issue for dns server and zone and cleanup methods for dns server and zone
2026-03-18 18:45:03 +05:30
Fabricio Duarte
8608b4edd0
Fix snapshot copy resource limit concurrency
...
Co-authored-by: Abhisar Sinha <63767682+abh1sar@users.noreply.github.com>
2026-03-18 01:52:36 -03:00
Fabricio Duarte
f333134456
Address merge issues
2026-03-17 19:28:16 -03:00
Daniel Augusto Veronezi Salvador
e8d57d1b0d
Implement/fix limit validation for secondary storage
2026-03-17 18:56:28 +01:00