Commit Graph

4566 Commits

Author SHA1 Message Date
nvazquez 94bcc3f230
Merge branch 'main' into cks-enhancements-upstream 2024-06-05 12:23:27 -03:00
nvazquez 54037571d8
Fix logger 2024-06-05 12:20:04 -03:00
Nicolas Vazquez 8ca90135d6
Fix CKS cluster with etcd nodes on VPC 2024-06-05 11:33:35 -03:00
Pearl Dsilva 006c5cb026
CKS: Fix etcd port numbers being skipped 2024-06-05 11:33:05 -03:00
Nicolas Vazquez a50108294f
Fix CKS cluster version upgrade 2024-06-05 11:31:41 -03:00
Pearl Dsilva 97aa35a705
Add node version details to every node of k8s cluster - as we now support manual upgrade
* Add node version details to every node of k8s cluster - as we now support manual upgrade

* update column name

* CKS: Exclude etcd nodes when calculating port numbers

* update param name

* update param
2024-06-05 11:24:37 -03:00
Pearl Dsilva 7483da21f2
Fix CKS scaling when external node(s) present in the cluster 2024-06-05 11:23:34 -03:00
Nicolas Vazquez 00a98ea944
Externalize retries and inverval for NSX segment deletion 2024-06-05 11:23:07 -03:00
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 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
Wei Zhou 5433e775e5
New feature: Implicit host tags (#8929)
* Merge two HostTagVO and HostTagDaoImpl

* Implicit host tags

* PR8929: add since

* Update variable names

* Update 8929: add unit test in LibvirtComputingResourceTest

* Update 8929: add explicithosttags in response

* Update 8929 UI: Update explicit host tags

* Update 8929: remove host tags and change labels on UI

* Update 8929: update host_view to use explicit_host_tags.is_tag_a_rule

* Update: ui polish for host tags

* Update 8929: fix UI error if no host tags
2024-05-30 17:21:13 +05:30
John Bampton 28e8e2d009
pre-commit: add hook to trim trailing whitespace (#8205) 2024-05-28 09:01:30 +02:00
Fabricio Duarte 371ce12abe
Normalize dates in Usage and Quota APIs (#8243)
* Normalize dates in Usage and Quota APIs

* Apply Daan's sugestions

Co-authored-by: dahn <daan.hoogland@gmail.com>

* Restore removed sinces

* Add missing space

* Change param descriptions for quotaBalance and quotaStatement

* Apply Daniel's suggestions

Co-authored-by: Daniel Augusto Veronezi Salvador <38945620+GutoVeronezi@users.noreply.github.com>

---------

Co-authored-by: dahn <daan.hoogland@gmail.com>
Co-authored-by: Daniel Augusto Veronezi Salvador <38945620+GutoVeronezi@users.noreply.github.com>
2024-05-27 12:06:52 -03:00
nvazquez c9097eedcc
Fix logger 2024-05-22 19:14:49 -03: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 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 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
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
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
Rohit Yadav 3de1f8b4ba Merge remote-tracking branch 'origin/4.18' into 4.19
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2024-04-29 13:44:34 +05:30
Rene Peinthor 9d5d4e5564
linstor: cleanup diskless nodes on disconnect (#8790) 2024-04-26 14:25:07 +02:00
Rohit Yadav 380385d045
plugin: fix nsx build failure with mvn 3.9 (#8974)
This excludes indirect dependencies of vapi-authentication to allow
build to work.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2024-04-26 17:24:24 +05:30
João Jandre cec6ade257
change live migration API used on kvm (#8952) 2024-04-25 09:35:25 +02:00
Marcus Sorensen 27124c1031
Add ability to set cpu.threadspercore similar to existing cpu.corespersocket (#8850)
* Add ability to set cpu.threadspercore similar to existing cpu.corespersocket

* add cpu.threadspercore to VM and template detail options

* Update plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java

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

* add vm detail for KVM

---------

Co-authored-by: Marcus Sorensen <mls@apple.com>
Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>
2024-04-24 18:01:21 +05:30
Daan Hoogland 0af923e618 Merge branch '4.19' 2024-04-24 14:01:02 +02:00
Daan Hoogland 0514caedd6 Merge release branch 4.18 to 4.19
* 4.18:
  packaging: move contrail network plugin to noredist (#8932)
2024-04-24 11:10:00 +02:00
Wei Zhou 5f6acca049
packaging: move contrail network plugin to noredist (#8932) 2024-04-24 10:28:59 +02:00