Commit Graph

36820 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
nvazquez 27f7a16a84
Move schema and upgrade for 4.20 2024-06-05 12:11:01 -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 1d6d5d2fa9
CKS: Set default kubernetes cluster node version to the kubernetes cluster version on upgrade
* CKS: Set default kubernetes cluster node version to the kubernetes cluster version on upgrade

* consolidate query

* Fix upgrade logic

---------

Co-authored-by: nvazquez <nicovazquez90@gmail.com>
2024-06-05 11:31:16 -03:00
Pearl Dsilva 2eae6a92c8
CKS: Prevent etcd node start port number to coincide with k8s cluster start port numbers 2024-06-05 11:30:32 -03:00
Nicolas Vazquez 7cf7f1f1b8
UI: Fix CKS cluster creation templates listing for non admins 2024-06-05 11:25:05 -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 5a11451ce3
CKS: Fix port numbers displayed against ETCD nodes 2024-06-05 11:24:11 -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 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
dahn 19f96355ac
Update .asf.yaml 2024-06-04 08:31:45 +02:00
Wei Zhou 9b3c318db6
upgrade: move 4.19.0->4.20.0 to 4.19.1->4.20.0 (#8893)
This PR move upgrade files for 4.19.0->4.20.0 to 4.19.1->4.20.0
2024-06-03 11:42:28 +05:30
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
Daan Hoogland f1c3d2c4be Merge release branch 4.19 to main
* 4.19:
  engine-schema: add removed columne for cloud.user_data, fix delete op (#9120)
  ui: fix create menu item access (#9104)
  server: honor listall param for listiso api (#9064)
  ui: add move to top/bottom for acl rules list (#9119)
  ui: fix columns for exportacls csv (#9118)
  ui: fix create network access in deploy vm wizard (#9117)
  UI: Add search filters (#9068)
2024-05-28 09:44:05 +02:00
Abhishek Kumar c970141e25
engine-schema: add removed columne for cloud.user_data, fix delete op (#9120)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2024-05-28 09:43:14 +02:00
Abhishek Kumar c36a3b8cc3
ui: fix create menu item access (#9104)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2024-05-28 09:27:28 +02:00
Abhishek Kumar 261530c92a
server: honor listall param for listiso api (#9064)
Fixes #8315

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2024-05-28 12:43:43 +05:30
John Bampton 28e8e2d009
pre-commit: add hook to trim trailing whitespace (#8205) 2024-05-28 09:01:30 +02:00
Abhishek Kumar 8bb7bbea88
ui: add move to top/bottom for acl rules list (#9119)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2024-05-28 08:59:54 +02:00
Abhishek Kumar c07953cc93
ui: fix columns for exportacls csv (#9118)
Fixes #8862 

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2024-05-28 12:10:26 +05:30
Abhishek Kumar 283a4853aa
ui: fix create network access in deploy vm wizard (#9117)
Fixes #9115

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2024-05-28 12:07:44 +05:30
John Bampton 40c5d35377
Fix spelling in docs, logs, exception messages etc (#9076) 2024-05-28 07:41:20 +02:00
John Bampton e159a593f1
Add `markdownlint` with `pre-commit` (#9078)
https://github.com/DavidAnson/markdownlint/tree/main?tab=readme-ov-file#rules--aliases

https://github.com/igorshubovych/markdownlint-cli?tab=readme-ov-file#use-with-pre-commit
2024-05-28 07:40:52 +02:00
John Bampton c563fda081
Add two more `pre-commit` hooks (#9077)
https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#detect-aws-credentials

https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#forbid-submodules
2024-05-28 07:40:15 +02:00
Vishesh ad66edf6e6
UI: Add search filters (#9068) 2024-05-28 07:38:59 +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
Abhishek Kumar acce88ff39 Merge remote-tracking branch 'apache/4.19' 2024-05-27 15:14:29 +05:30
Abhishek Kumar 57e67afdf0
api,server: list autoscalevmgroups with keyword (#9046)
Fixes #9042

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2024-05-27 13:47:44 +05:30
Abhishek Kumar 2d4d370be8
ui: support isdynamicallyscalable param for iso (#9092)
Register/List/Update iso APIs already support isdynamicallyscalable
parama. This PR makes them available in the UI.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2024-05-24 17:48:27 +02:00
Hans Rakers e817e04343
Fix typo keyparis -> keypairs in InvalidParameterValueException (#9100) 2024-05-24 17:41:02 +02:00
Abhishek Kumar daf6b9d103
api,ui: vm template format, fix vm info link (#9094) 2024-05-24 17:39:52 +02:00
Abhishek Kumar c6762f1a41
ui: fix projectrolepermissions listing with description (#9091)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2024-05-23 12:34:32 +02:00
Daan Hoogland b38f1364e6 Merge branch '4.19' 2024-05-23 12:34:04 +02: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
Abhishek Kumar 33659fdf06
server,test: fix resourceid for VOLUME.DETROY in restore VM (#9032)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2024-05-22 11:02:14 +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