Commit Graph

36779 Commits

Author SHA1 Message Date
Nicolas Vazquez 90db24f289
Fix network cleanup in case of CKS cluster failure 2024-06-05 11:20:35 -03:00
Pearl Dsilva bac0a2e64e
CKS: Exclude etcd nodes when calculating port numbers 2024-06-05 11:09:51 -03:00
Nicolas Vazquez 589adae770
UI: Fix etcd template was not honoured
* UI: Fix etcd template was not honoured

* Refactor
2024-06-05 10:46:15 -03:00
Nicolas Vazquez aca606e510
Improve network rules cleanup on failure adding external nodes to CKS cluster 2024-06-05 10:43:34 -03:00
Pearl Dsilva 4b4a675788
CKS delete fails when external nodes are present
* CKS delete fails when external nodes are present

* address comment
2024-06-05 10:43:03 -03:00
Pearl Dsilva 4be1d33abe
Modify hypervisor param description in the create CKS cluster API 2024-06-05 10:42:35 -03:00
nvazquez c9097eedcc
Fix logger 2024-05-22 19:14:49 -03:00
nvazquez 83a9fcdb51
Merge branch 'main' into cks-enhancements-upstream 2024-05-22 12:30:19 -03:00
Rohit Yadav 2a63483b4c
framework/config: make logic in ::value() defensive (#9108)
This adds a NPE check on the s_depot.global() which can cause NPE in
case of unit tests, where s_depot is not null but the underlying config
dao is null (not mocked or initialised) via `s_depot.global()` becomes
null.

This reverts commit 5f73172bcb.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2024-05-22 20:20:15 +05:30
Wei Zhou 5f73172bcb
Fix failure test with ConfigKeyScheduledExecutionWrapperTest (#9103) 2024-05-22 14:11:51 +02:00
nvazquez a490dbbca7
Fix build 2024-05-21 22:46:15 -03:00
Nicolas Vazquez 98389a116d
Add hypervisor type to CKS cluster creation to fix CKS cluster creation when External hosts added 2024-05-21 22:18:03 -03:00
Pearl Dsilva 44991773b9
Update UDP active monitor to ICMP 2024-05-21 22:17:35 -03:00
Pearl Dsilva b09c11f447
Fix DNS resolver issue 2024-05-21 22:17:15 -03:00
Pearl Dsilva fe81ae0af3
Reuse k8s cluster public IP for etcd nodes and rename etcd nodes 2024-05-21 22:16:35 -03:00
Nicolas Vazquez 8cfa6e6273
Fix CKS cluster scaling and minor UI improvement 2024-05-21 22:16:04 -03:00
Pearl Dsilva 1e40aed085
Support unstacked ETCD
---------

Co-authored-by: nvazquez <nicovazquez90@gmail.com>
2024-05-21 22:15:38 -03:00
Nicolas Vazquez b72a7cd020
Add support to deploy CKS cluster nodes on hosts dedicated to a domain
---------

Co-authored-by: Pearl Dsilva <pearl1594@gmail.com>
2024-05-21 22:15:38 -03:00
Nicolas Vazquez f103c43f09
CKS Mark Nodes for Manual Upgrade and Filter Nodes to add to CKS cluster from the same network 2024-05-21 22:15:10 -03:00
nvazquez 469c08d1c2
Add missing headers and fix end of line on files 2024-05-21 21:59:11 -03:00
nvazquez 033a636360
Fix logger 2024-05-21 19:59:17 -03:00
Pearl Dsilva 535219897d
CKS: Externalize control and worker node setup wait time and installation attempts 2024-05-21 16:52:42 -03:00
Pearl Dsilva 67c75e13c7
Phase2: Fix Port - Node mapping when cluster is scaled in the presence of external node(s) 2024-05-21 13:01:06 -03:00
Pearl Dsilva 9d0e79d5bd
CKS: Fix ISO attach logic
* CKS: Fix ISO attach logic

* address comment
2024-05-21 13:00:47 -03:00
Pearl Dsilva 2d0981100b
CKS/NSX : Missing variables in worker nodes 2024-05-21 13:00:17 -03:00
Pearl Dsilva d4500eae8c
Update remove node timeout global setting 2024-05-21 12:59:48 -03:00
Pearl Dsilva 20c40298e6
CKS Enhancements - Phase 2: Add and Remove external nodes to and from a kubernetes cluster
---------

Co-authored-by: nvazquez <nicovazquez90@gmail.com>
2024-05-21 12:57:48 -03:00
Nicolas Vazquez 4982b1b059
CKS Enhancements - Phase 1
* Ability to specify different compute or service offerings for different types of CKS cluster nodes – worker, master or etcd

* Ability to use CKS ready custom templates for CKS cluster nodes

---------

Co-authored-by: Pearl Dsilva <pearl1594@gmail.com>
2024-05-21 12:40:58 -03:00
Vishesh 21af134087
Fix exceeding of resource limits with powerflex (#9008)
* Fix exceeding of resource limits with powerflex

* Add e2e tests

* Update server/src/main/java/com/cloud/vm/UserVmManagerImpl.java

Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>

* fixup

---------

Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>
2024-05-08 20:55:19 +05:30
Vishesh e9ff2707bb
Merge branch '4.19' 2024-05-07 12:47:48 +05:30
Henrique Sato 0d1bc7dfd0
Limit `listRoles` API visibility (#8639)
Co-authored-by: Henrique Sato <henrique.sato@scclouds.com.br>
2024-05-07 09:12:49 +02:00
Vishesh 87e7c57d08
Fixup e2e test_restore_vm (#9025)
* Fixup e2e test_restore_vm

* Fix template's size attribute

* Resolve comments
2024-05-07 00:02:36 +02:00
Rene Peinthor f80d205284
linstor: Fix volume format and make resource available on copy target (#8811)
Linstor primary storage forgot to make sure
the volume download/copy target has a Linstor resource available.
2024-05-06 11:00:22 +02:00
Daan Hoogland 0d8f7d4003 Merge release branch 4.19 to main
* 4.19:
  linstor: disconnect-disk also search for resource name in Linstor (#9035)
  ui: add support to change Account role for admins (#9012)
  Use parameter dcId as wrapper to prevent NPE (#8986)
2024-05-06 10:36:06 +02:00
Daan Hoogland 92ba476593 Merge release branch 4.18 to 4.19
* 4.18:
  linstor: disconnect-disk also search for resource name in Linstor (#9035)
2024-05-06 10:35:27 +02:00
Rene Peinthor ea11128cb3
linstor: disconnect-disk also search for resource name in Linstor (#9035)
disconnectPhysicalDisk(String, KVMStoragePool) seems to calls the plugin
with the resource name instead of the device path, so we also have
to search for resource names, while cleaning up.
2024-05-06 09:05:31 +02:00
GaOrtiga ab8197c55e
Add password enabled during ISO register and update (#8992)
Co-authored-by: Gabriel <gabriel.fernandes@scclouds.com.br>
2024-05-02 09:38:22 +02:00
Rohit Yadav b91c3879c8
ui: add support to change Account role for admins (#9012)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2024-05-01 14:09:55 +02:00
dahn e520525fe7
Use parameter dcId as wrapper to prevent NPE (#8986) 2024-05-01 09:12:36 +02:00
Rohit Yadav 433956c6ae Merge remote-tracking branch 'origin/4.19' 2024-05-01 12:06:39 +05:30
Rohit Yadav aad410ae6c Merge remote-tracking branch 'origin/4.18' into 4.19 2024-05-01 12:05:52 +05:30
Rohit Yadav d1ca79b65b
ui: show systemvm agent version in the list and resource view (#9011)
This adds changes to show the systemvm agent version in the list and
resource view.

Fixes #6831

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2024-04-30 19:13:16 +05:30
Pearl Dsilva 981310c2fe
UI: Fix the Add / Remove Vmware DC button on Zone detail view (#8781)
* UI: Fix the Add / Remove Vmware DC button on Zone detail view

* hide the button for non vmware envs
2024-04-30 18:50:41 +05:30
Vishesh 5c9d79e3fb
Upgrade org.json:json version (#8750) 2024-04-30 18:23:51 +05:30
Daan Hoogland d5241d319c Merge release branch 4.19 to main
* 4.19:
  Fix: Update rootdisksize detail on restore VM (#8981)
  UI: hide Cleanup/Expunge when delete a CloudManaged CKS cluster (#8593)
2024-04-30 11:35:29 +02:00
John Bampton db572f4478
Fix spelling, word case, duplicate words in code comments only (#8987) 2024-04-30 10:58:26 +02:00
Vishesh 027149487b
Fix: Update rootdisksize detail on restore VM (#8981)
* Fix: Update rootdisksize detail on restore VM

* minor fixup
2024-04-29 22:15:06 +05:30
Wei Zhou f41c934c94
Fix build error with MigrateKVMAsync 2024-04-29 12:33:23 +02:00
Daan Hoogland e61f3bae4d Merge branch '4.19' 2024-04-29 11:37:40 +02:00
Wei Zhou f7b95cd8f0
UI: hide Cleanup/Expunge when delete a CloudManaged CKS cluster (#8593) 2024-04-29 10:54:03 +02:00