Commit Graph

38365 Commits

Author SHA1 Message Date
Daman Arora 3bb4d02f67 Refactor cleanup logic 2026-01-22 08:46:29 -05:00
Daman Arora bbeb4e0e8d Add integration tests 2026-01-16 11:52:34 -05:00
Daman Arora fc548975d3 add affinity group support Kubernetes cluster creation 2026-01-13 06:39:00 -05:00
Daman Arora d62b9f3b73 refactor test mocks to use lenient behavior 2026-01-12 09:19:33 -05:00
Daman Arora cd37b81147 implement node affinity group validation method 2026-01-12 09:16:03 -05:00
Daman Arora d27b2f45be update user VM response handling in KubernetesClusterManagerImpl 2026-01-08 14:30:13 -05:00
Daman Arora 8f5ee6dae3 add affinity group details to user VM response 2026-01-08 13:27:48 -05:00
Daman Arora a05581cec3 add unit tests 2026-01-08 11:27:29 -05:00
Daman Arora 96c0705b10 cleanup 2026-01-07 13:24:21 -05:00
Daman Arora 2405249414 add affinty groups to cks list response 2026-01-07 12:29:18 -05:00
Daman Arora 201e5639e9 remove affinity group on cleanup in mcloud managed cks 2026-01-07 09:45:29 -05:00
Daman Arora e0d41831b7 use @component for spring bean 2026-01-07 09:44:54 -05:00
Daman Arora c58dee04d7 remove affinity group mappings when a cluster is deleted 2026-01-07 09:15:46 -05:00
Daman Arora af97ea3911 use DAO query instead of parsing comma-separated UUIDs 2026-01-07 08:45:26 -05:00
Daman Arora 35a7bab9ca use updated getAffinityGroupNodeTypeMap 2026-01-07 08:41:46 -05:00
Daman Arora f625d6ed93 Refactor affinity group mapping 2026-01-07 08:41:17 -05:00
Daman Arora 6e3ede9d78 add new resource KubernetesClusterAffinityGroupMap 2026-01-07 08:39:09 -05:00
Daman Arora a13f360bcd use a new table kubernetes_cluster_affinity_group_map instead of existing kubernetes_cluster 2026-01-07 07:22:02 -05:00
Daman Arora 0706410a3f Add per node type affinity group support for cks 2026-01-06 15:23:30 -05:00
Daman Arora 58799c25ba Refactor affinity group tests in KubernetesServiceHelperImplTest 2026-01-06 12:38:48 -05:00
Daman Arora 4da3bcec83 Update affinity group handling to support multiple IDs in KubernetesServiceHelper and related classes 2026-01-06 12:38:23 -05:00
Daman Arora fe5c0260d6 Refactor affinity group handling in KubernetesCluster and KubernetesClusterVO to support multiple IDs 2026-01-06 12:37:42 -05:00
Daman Arora 4706d0315e Add affinity group handling for worker, control, and etcd nodes in KubernetesClusterManagerImpl 2026-01-06 11:07:43 -05:00
Daman Arora 8bf7a453c9 Add affinity group ID fields and accessors to KubernetesCluster and KubernetesClusterVO 2026-01-06 11:04:48 -05:00
Daman Arora 319c0f6f94 Add affinity group columns to kubernetes_cluster table 2026-01-06 11:04:22 -05:00
Daman Arora 1114f759c2 Refactor KubernetesServiceHelperImplTest to include affinity group handling and enhance node type validation tests 2026-01-06 10:27:03 -05:00
Daman Arora 58804a39a7 Rename kubernetesClusterHelper to kubernetesServiceHelper for consistency 2026-01-06 10:26:51 -05:00
Daman Arora a7e5270336 Implement getAffinityGroupNodeTypeMap in kubernetes service helper 2026-01-06 10:26:41 -05:00
Daman Arora 9f137af735 Merge branch 'main' into implement-cks-node-affinity 2026-01-06 09:05:19 -05:00
Daman Arora fe0a2a3397 Add NODE_TYPE_AFFINITY_GROUP_MAP constant and affinity group mapping to CreateKubernetesClusterCmd 2026-01-06 08:51:43 -05:00
dahn c465caf81e
Adjust close periods (#12376) 2026-01-06 12:47:37 +05:30
Suresh Kumar Anaparti 4628385051
Merge branch '4.22' 2026-01-05 16:17:50 +05:30
Suresh Kumar Anaparti 959c5fff68
Merge branch '4.20' into 4.22 2026-01-05 15:57:26 +05:30
Abhishek Kumar cd55796972
webhook: fixes, filter enhancement (#12023)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2026-01-05 09:12:06 +01:00
Tonitzpp 81b991ae9c
Show volume UUIDs in the backup details page (#12156)
Co-authored-by: toni.zamparetti <toni.zamparetti@scclouds.com.br>
2026-01-05 09:07:19 +01:00
Manoj Kumar ca64406a88
replace momentjs with dayjs and use watch instead of update (#12351) 2026-01-05 08:19:03 +01:00
YoulongChen 77cb0827d3
Refactor XML parsing to use safer document builders in multiple classes (#12129)
Co-authored-by: chenyoulong20g@ict.ac.cn <chenyoulong20g@ict.ac.cn>
2026-01-05 07:58:34 +01:00
Suresh Kumar Anaparti 4f74937855
Event typo fix (#12350) 2026-01-02 14:04:59 +05:30
Rene Peinthor 10dcbd76f0
linstor: Provide /dev/drbd/by-res/ resource paths to CloudStack (#12300) 2025-12-31 10:55:54 +01:00
Pearl Dsilva 7ff76cb2d7
Protect upgrades from failures (#12319) 2025-12-30 21:46:04 +01:00
Pearl Dsilva 7a11bd2f98
CKS: Fix issue with scaling down CKS Nodes when deployed in HA mode (#12302) 2025-12-30 13:08:13 +01:00
Abhishek Kumar 5cb279b6f1
ui: fix test delivery params in create webhook form (#12318)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2025-12-30 11:07:32 +01:00
Tonitzpp 46cb805c90
Removal of internal ID in backup event descriptions (#12197) 2025-12-30 09:37:09 +01:00
Suresh Kumar Anaparti 40d21f093f
Merge branch '4.22' 2025-12-29 13:37:12 +05:30
Suresh Kumar Anaparti 6a2d91ed8a
Merge branch '4.20' into 4.22 2025-12-29 13:21:17 +05:30
Suresh Kumar Anaparti 56a39e6be7
Add 'dataDiskController' VM setting/detail for KVM hypervisor (#12334) 2025-12-28 11:20:45 +01:00
Abhishek Kumar 34b8870f59
systemvm-template: support on-demand download during setup and registration (#11656)
Bundling all hypervisor SystemVM templates in release packages simplifies installs but inflates build time and artifact size. This change enables downloading templates on demand when they’re not found after package installation. The download path is wired into both cloud-setup-management and the existing SystemVM template registration flow.

For connected or mirrored environments, a repository URL prefix can be provided to support air-gapped setups: pass --systemvm-templates-repository <URL-prefix> to cloud-setup-management, or set system.vm.templates.download.repository=<URL-prefix> in server.properties for post-setup registration.

If templates are already present (bundled or preseeded), behavior is unchanged and no download is attempted.

---------

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2025-12-26 11:36:32 +05:30
Abhishek Kumar 432a3065bc
api: fix response annotation for createBackupSchedule (#11950)
Currently, `createBackupSchedule` API documentation wrongly specifies
BackupResponse as the API response.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2025-12-24 16:20:40 +01:00
argusb 5bf869c803
Replace deprecated 'egrep' commands with 'grep -E'. (#12306)
Co-authored-by: Sander Grendelman <sander.grendelman@axians.com>
2025-12-22 14:27:41 +01:00
Manoj Kumar e0c13cc3ec
Cleanup userconcentratedpod_random and userconcentratedpod_firstfit allocation algorithms (#12233)
* Cleanup userconcentratedpod_random and userconcentratedpod_firstfit allocation algorithm

* use firstfit instead of random for userconcentratedpod_firstfit
2025-12-22 14:25:33 +01:00