Commit Graph

5098 Commits

Author SHA1 Message Date
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 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 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
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
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 7a11bd2f98
CKS: Fix issue with scaling down CKS Nodes when deployed in HA mode (#12302) 2025-12-30 13:08:13 +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
Daan Hoogland 22da57f922 Merge branch '4.22' 2025-12-22 14:13:50 +01:00
Daan Hoogland 55ab7c5589 Merge branch '4.20' into 4.22 2025-12-22 13:23:37 +01:00
vladimirpetrov b394b5ba74
Fix terms, typos and grammar mistakes in the API, error messages, events, etc. (#7857)
This PR aligns the use of terminology, renaming VM / virtual machine references to 'Instance' and also capitalising the terms Templates, Network, Snapshot, User, Account in CloudStack APIs, error and log messages, events, tooltips, etc. Many typos, grammar and spelling mistakes were fixed, also terms like IPv4, VPN, VPC, etc. were properly capitalised. Some error messages were cleaned for better readability. The test cases, expecting some exception strings were adjusted accordingly.

Here is the wiki page, describing the changes in details:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Object+Naming+and+Title+Case+Convention

---------

Co-authored-by: Manoj Kumar <manojkr.itbhu@gmail.com>
Co-authored-by: Harikrishna <harikrishna.patnala@gmail.com>
2025-12-22 15:18:58 +05:30
Daan Hoogland e2d3773362 Merge release branch 4.22 to main
* 4.22:
  Update templateConfig.sh to not break with directorys with space on t… (#10898)
  Fix VM and volume metrics listing regressions (#12284)
  packaging: use latest cmk release link directly (#11429)
  api:rename RegisterCmd.java => RegisterUserKeyCmd.java (#12259)
  Prioritize copying templates from other secondary storages instead of downloading them (#10363)
  Show time correctly in the backup schedule UI  (#12012)
  kvm: use preallocation option for fat disk resize (#11986)
  Python exception processing static routes fixed (#11967)
  KVM memballooning requires free page reporting and autodeflate (#11932)
  api: create/register/upload template with empty template tag (#12234)
2025-12-22 10:29:24 +01:00
Daan Hoogland cee330e7c8 Merge branch '4.20' into 4.22 2025-12-22 10:27:57 +01:00
Fabricio Duarte 061ce9b39b
Fix VM and volume metrics listing regressions (#12284) 2025-12-20 10:40:26 +01:00
K Viddya 558232e8e6
Feature s390x multiarch support (#12214)
Signed-off-by: Niyam Siwach <niyam@ibm.com>
Signed-off-by: Viddya K <viddya.k@ibm.com>
Co-authored-by: root <root@c32379v1.fyre.ibm.com>
2025-12-19 10:06:58 +01:00
Wei Zhou 8936e4c535
api:rename RegisterCmd.java => RegisterUserKeyCmd.java (#12259) 2025-12-18 11:53:00 +01:00
dahn 91376c7994
cleanup LDAP code according to warnings (#11436)
Co-authored-by: Daan Hoogland <dahn@apache.org>
Co-authored-by: Pearl Dsilva <pearl1594@gmail.com>
2025-12-18 11:09:09 +01:00
dahn 124fcde59c
unlink an ldap domain (#11962)
Co-authored-by: Daan Hoogland <dahn@apache.org>
Co-authored-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>
2025-12-17 13:04:06 +01:00
Abhishek Kumar e08e66d66d
kvm: use preallocation option for fat disk resize (#11986)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2025-12-17 13:03:39 +01:00
Brad House d5165183ea
KVM memballooning requires free page reporting and autodeflate (#11932) 2025-12-16 16:58:32 +01:00
Daan Hoogland f06ac512fa merge forward 4.22 to main 2025-12-16 11:50:58 +01:00
Daan Hoogland 7aba434dc4 merge forward 4.20 to 4.22 LTS 2025-12-16 11:19:04 +01:00
Pearl Dsilva 0a13fb27f5
Prevent scaling of cluster if count / resources exceed account resource limits (#12167) 2025-12-12 13:57:15 +01:00
John Bampton 78f9e6584b
UI(vue) + extras: fix bugs/spelling and standardize (#12073) 2025-12-11 16:41:50 +01:00
Vishesh 4348386970
Optimize drs plan generation (#12014) 2025-12-10 13:24:39 +01:00