Commit Graph

4475 Commits

Author SHA1 Message Date
Pearl Dsilva 3a6f68b56a Merge branch 'nsx-integration' of https://github.com/apache/cloudstack into nsx-cks-support 2023-12-05 14:01:15 -05:00
Pearl Dsilva 66f923272c add LB for CKS on VPC 2023-12-05 09:51:01 -05:00
nvazquez edd66c31a3
Merge branch 'main' into nsx-integration 2023-12-05 08:14:00 -03:00
Peinthor Rene a15b706fbe
Linstor: Allow snapshot backup also to work on non hyperconverged setups (#8271)
On no access to the storage nodes, we now create a temporary resource from the snapshot and copy that data into the secondary storage. Revert works the same, just that we now also look additionally for any Linstor agent node.

Also enables now backup snapshot by default.

This whole BackupSnapshot functionality was introduced in 4.19,
so I would be happy if this still could be merged.
2023-12-05 12:59:52 +05:30
nvazquez cb2e2da0b9
Merge branch 'main' into nsx-integration 2023-12-03 15:37:36 -03:00
kishankavala 5651eab49c
ObjectStore Framework with MinIO and Simulator plugins (#7752)
This PR adds Object Storage feature to CloudStack.

FS: https://cwiki.apache.org/confluence/display/CLOUDSTACK/%5BDRAFT%5D+CloudStack+Object+Store
2023-12-01 17:51:00 +05:30
nvazquez 33b494aebf
Merge branch 'main' into nsx-integration 2023-11-30 22:58:43 -03:00
Nicolas Vazquez 8a87eaaec9
[NSX] Add ACL types support (#8224)
* NSX: Create segment group on segment creation

* Add unit tests

* Remove group for segment before removing segment

* Create Distributed Firewall rules

* Remove distributed firewall policy on segment deletion

* Fix policy rule ID and add more unit tests

* Fix DROP action rules and transform tests

* Add new ACL rules

* Fixes

* associate security policies with groups and not to DFW and add deletion of rules

* Fix name convention

---------

Co-authored-by: Pearl Dsilva <pearl1594@gmail.com>
2023-11-30 20:32:48 -03:00
Pearl Dsilva 55ae22a34f CKS support changed - MTU updated, etc 2023-11-30 09:37:33 -05:00
João Jandre 26b01f6f3b
Flexible tags for hosts and storage pools (#7489)
Co-authored-by: João Jandre <joao@scclouds.com.br>
2023-11-30 09:36:47 +01:00
Pearl Dsilva 87491fed6f Merge branch 'nsx-isolated-source-nat' of https://github.com/apache/cloudstack into nsx-cks-support 2023-11-28 14:47:59 -05:00
Pearl Dsilva d3c97a9f54 fix filter for getting transport zones 2023-11-28 08:59:29 -05:00
Daan Hoogland 98d643efe6 Merge release branch 4.18 to main
* 4.18:
  Fixed spelling and added missing states to response (#8248)
  Let Prometheus exporter plugin support utf8 characters (#8228)
2023-11-18 18:41:31 +01:00
Pearl Dsilva bfa98b1050 update order of ports in PF & FW rules 2023-11-16 21:21:38 -05:00
DK101010 6001772335
multi local storage handling for kvm (#6699)
Co-authored-by: DK101010 <dirk.klahre@itelligence.de>
Co-authored-by: João Jandre <48719461+JoaoJandre@users.noreply.github.com>
2023-11-16 16:43:42 +01:00
Stephan Krug 267a457efc
Externalize KVM HA heartbeat frequency (#6892)
Co-authored-by: Stephan Krug <stephan.krug@scclouds.com.br>
Co-authored-by: GaOrtiga <49285692+GaOrtiga@users.noreply.github.com>
Co-authored-by: dahn <daan.hoogland@gmail.com>
2023-11-16 09:17:17 +01:00
Pearl Dsilva 8c1154c625 add license 2023-11-15 15:41:15 -05:00
Pearl Dsilva 7077d6a9cf update nsx cks offering 2023-11-15 15:31:01 -05:00
Pearl Dsilva b1dcb9a111 Add support to delete firewall rules 2023-11-15 10:56:13 -05:00
GaOrtiga be4a648f5a
Create global configuration to allow changing the default nic adapter for user VMs in VMware (#7954)
Co-authored-by: Gabriel <gabriel.fernandes@scclouds.com.br>
2023-11-15 11:18:26 +01:00
dahn 1a2dbebe48
Let Prometheus exporter plugin support utf8 characters (#8228) 2023-11-15 09:48:11 +01:00
Pearl Dsilva cd503725b1 fix npes 2023-11-14 23:42:03 -05:00
Pearl Dsilva 6fcdf2092f build failure - fix unit test 2023-11-14 22:43:25 -05:00
Pearl Dsilva b0257dfaba Add Firewall rules 2023-11-14 22:24:44 -05:00
Pearl Dsilva 96de7e3fcc Add support for routed NSX Isolated networks \n and non RFC 1918 compliant IPs 2023-11-14 11:02:52 -05:00
Pearl Dsilva 770a96ae40 Add support for routed NSX Isolated networks \n and non RFC 1918 compliant IPs 2023-11-14 10:39:31 -05:00
Pearl Dsilva e7f5c59b27 Merge branch 'nsx-acl-types' of https://github.com/shapeblue/cloudstack into nsx-cks-support 2023-11-14 10:08:14 -05:00
rRajivramachandran 96b07d797b
Fix flaky tungsten test using comparator (#8232) 2023-11-14 10:17:32 +01:00
nvazquez d72829c602
Fix policy rule ID and add more unit tests 2023-11-13 22:59:21 -03:00
nvazquez 1a24ba6949
Remove distributed firewall policy on segment deletion 2023-11-13 16:44:22 -03:00
nvazquez c6acd8fb61
Create Distributed Firewall rules 2023-11-13 16:20:57 -03:00
Daan Hoogland 05b9b6e2e7 Merge branch '4.18' into main 2023-11-13 11:36:51 +01:00
nvazquez bd9be1239c
Remove group for segment before removing segment 2023-11-12 22:55:17 -03:00
nvazquez 28b4fee6c2
Add unit tests 2023-11-12 22:33:01 -03:00
nvazquez e5965a152f
NSX: Create segment group on segment creation 2023-11-12 21:07:51 -03:00
nvazquez 053521077c
Merge branch 'main' into nsx-integration 2023-11-10 13:50:26 -03:00
Abhishek Kumar d0f3233fda
edge-zone,kvm,iso,cks: allow k8s deployment with direct-download iso (#8142)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2023-11-10 13:56:05 +01:00
Peinthor Rene 68e504aff9
Linstor backup snaphots (#8067)
This PR adds an config option for the Linstor primary storage driver, that allows you to automatically backup
volume snapshots to the secondary storage.
Additionally it will not mangle the need java-linstor dependency into the client.jar, but instead just copy
the java-linstor.jar into lib.

Config option is called: lin.backup.snapshots and is default false

The scope of this change should be limited, as it only touches the Linstor driver and a part of copyAsync
was implemented with 2 new Linstor specific commands.
2023-11-09 09:38:10 +05:30
Wei Zhou 861107fa5b
CKS: make clustertype optional to keep backwards compatibility (#8180)
This PR fixes the issue that 4.18 cmk/api to create CKS cluster does not work in 4.19
2023-11-08 00:31:38 +05:30
Pearl Dsilva 88a07f479f
NSX - add LB route Advertizement (#8192) 2023-11-07 11:05:02 -03:00
Pearl Dsilva daea80d12b Merge branch 'nsx-add-lb-route-adv' of https://github.com/apache/cloudstack into nsx-cks-support 2023-11-07 08:43:29 -05:00
Pearl Dsilva c70abf00d3 NSX: Cks Support 2023-11-06 16:04:34 -05:00
nvazquez ab994dbfcf
Merge branch 'main' into nsx-integration 2023-11-06 08:15:33 -03:00
Nicolas Vazquez ecd32d5632
[NSX] Fix update source NAT IP (#8176)
* [NSX] Fix update source NAT IP

* Fix startup

* Fix API result
2023-11-06 08:15:00 -03:00
rRajivramachandran e9b24b6c32
Make authentication request parameter order to be deterministic (#8185) 2023-11-06 09:53:49 +01:00
slavkap 2bb182c3e1
KVM Host HA enhancement for StorPool storage (#8045)
Extending the current functionality of KVM Host HA for the StorPool storage plugin and the option for easy integration for the rest of the storage plugins to support Host HA

This extension works like the current NFS storage implementation. It allows it to be used simultaneously with NFS and StorPool storage or only with StorPool primary storage.

If it is used with different primary storages like NFS and StorPool, and one of the health checks fails for storage, there is an option to report the failure to the management with the global config kvm.ha.fence.on.storage.heartbeat.failure. By default this option is disabled when enabled the Host HA service will continue with the checks on the host and eventually will fence the host
2023-11-04 12:35:37 +05:30
Pearl Dsilva b89085ef11 NSX: Support Source NAT on NSX Isolated networks 2023-11-03 14:10:47 -04:00
nvazquez 42300aa80e
Merge branch 'main' into nsx-integration 2023-11-03 12:08:39 -03:00
Pearl Dsilva 7c72aa1285 Merge branch 'main' of https://github.com/apache/cloudstack into nsx-integration 2023-11-03 09:56:33 -04:00
Codegass b2938c0528
Refactor testCRUDAcl into Separate Test Cases (#7705)
- Extracted shared ACL setup logic into a private helper method, setupAcl().
- Split original testCRUDAcl into two separate tests: testCRUDAclReadAll and testCRUDAclReadOne.
- Each test case now represents a unique scenario for better readability and maintainability.
- Replaced assertTrue(false) with fail() in catch blocks for better test failure indication.

These changes aim to enhance the clarity and maintainability of the test suite, and ensure each test case checks only one scenario.
2023-11-03 18:08:15 +05:30