Wei Zhou
edf7394919
server: search template name and display text if keyword is passed ( #9215 )
2024-06-11 19:35:43 +05:30
Suresh Kumar Anaparti
2e3f76ec03
Improve error messaging / logs when listing VMs on the remote KVM host (for import) ( #9204 )
2024-06-11 14:48:21 +02:00
Harikrishna
6edcf32c5e
Fix vsphere storage policy when compute offering uses the disk offering attached to it ( #9203 )
2024-06-11 14:49:58 +03:00
Harikrishna
acae5c5b9e
kvm: Update the java doc for the method disconnectPhysicalDiskByPath ( #9210 )
...
This PR addresses the issue #8789
The original issue is disconnectPhysicalDiskByPath() implementation in FibreChannelAdaptor always returns true irrespective of the success of the operation. This was already fixed in the PR #8889 .
Ideally this method has to be called after choosing the right adapter based on the storage pool type of the volume path, but currently it is just called in a loop.
05b9b6e2e7/plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/storage/KVMStoragePoolManager.java (L200-L212)
while trying to fix the case of running into the loop of all adapters by somehow passing the storage pool type to that caller cleanup() method but this is touching all over the code (which I fear it creates other regressions), instead I feel we can keep it the current way only since Fibrechannel adapter has already fixed.
In this PR I've added the java doc explaining the method and situation.
2024-06-11 14:44:46 +05:30
Abhishek Kumar
43ab8a9367
cks,ui: fix npe and check for disable zone ( #9105 )
...
Fixes #8962
2024-06-11 14:36:11 +05:30
Bernardo De Marco Gonçalves
1383625c93
Fix `*.smtp.useAuth`, `quota.usage.smtp.useStartTLS` and `*.smtp.enabledSecurityProtocols` settings definitions ( #9031 )
...
* change configs definitions
* add normalization query
* add ui support
* add labels
* add end of line to SQL script
2024-06-11 10:54:03 +03:00
Abhishek Kumar
4bd0b1c24f
ui: refactor global createmenu ( #9139 )
...
Refactors global create menu code to make it visible only when any menu
is accessible.
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2024-06-11 09:33:37 +02:00
Abhishek Kumar
7aacbcb559
api: listApis should return params based on caller ( #8973 )
2024-06-11 11:28:08 +05:30
Abhishek Kumar
fcca3e8f39
api,server: encryptformat in volume response ( #9106 )
...
Fixes #9014
* api,server: encryptformat in volume response
* Apply suggestions from code review
* remove passphrase db change
2024-06-11 11:20:50 +05:30
Vishesh
3321971adc
UI: Update AddAccountOrUserToProject to show a drop down for account & user ( #9072 )
2024-06-11 11:18:03 +05:30
GaOrtiga
ee39104ec0
fix null host tags while creating zone ( #8976 )
...
Co-authored-by: Gabriel <gabriel.fernandes@scclouds.com.br>
2024-06-10 14:03:42 +03:00
Abhishek Kumar
21d07132ad
engine-schema: make adding/dropping indexes idempotent ( #9171 )
...
* engine-schema: make adding/dropping indexes idempotent
Fixes #9170
* fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
---------
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2024-06-10 16:32:30 +05:30
Rohit Yadav
8d211e75c0
Merge remote-tracking branch 'origin/4.19'
2024-06-10 16:18:41 +05:30
Rohit Yadav
3f2761ec7c
Merge remote-tracking branch 'origin/4.18' into 4.19
2024-06-10 15:26:31 +05:30
Oleg Chuev
0b54fbb539
ui: Updated units names ( #8543 )
...
* Updated units names
* Update ui/public/locales/en.json
* Update ui/public/locales/en.json
---------
Co-authored-by: Rohit Yadav <rohityadav89@gmail.com>
2024-06-10 15:20:52 +05:30
Abhishek Kumar
10f4de0318
kvm: consider provisioning type for local data volumes ( #9141 )
...
Fixes #8644
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2024-06-10 11:38:31 +03:00
Vishesh
cc8dc84f64
server: fix resource reservation leakage ( #9169 )
...
Co-authored-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2024-06-10 12:30:06 +05:30
Abhishek Kumar
be552fdce9
feature: webhooks ( #8674 )
...
* api,server,ui: weebhoks feature
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* changes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* registry of message busses
* test bus
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* refactor
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* test
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix and refactor
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* changes for webhook dispatch history
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* changes, initial ui
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* improvements
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* changes for account webhook cleanup
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix remaining event bus usage
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* changes for testing webhook dispatch
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* wip
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix test
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* make element
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* missing
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* buid fix
* fix lint
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* changes for project delete check
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* add collapse in create
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* ui fix and refactor for eventditributor publish
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* update org.json and add json validation
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* schema fixes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* wordings
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* ui: improve progress button
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* ui improvements
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* remove unrelated change
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* search and count
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* add payloadurl in info
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* positive progress
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix hmac key
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* create webhook form fixes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* refactor, address feedback
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* indentation
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix filters
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* remove test eventbus
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* default scope be Local
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* add lifecycle smoke test
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* add test for webhook deliveries
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* refactor
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix lint
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* refactor - losgs and others
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* unit tests
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix lint
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* build fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* smoke test fix, log refactor
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* get bean from all components
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* ui: missing label
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* address review comments
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* add some more tests
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* lint
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* rename setting
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* upgrade: move 4.19.0->4.20.0 to 4.19.1->4.20.0
* fix test delivery layout
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix webhook secret display
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* add http to payloadurl when no scheme
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* allow removing secretkey for webhook
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix update sslverification
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* disallow same payload url for same account
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix delivery with url w/o scheme
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* api: listApis should return params based on caller
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* wip changes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* Update engine/schema/src/main/resources/META-INF/db/schema-41900to42000.sql
* remove unique constraint for now
Constraint is present in Java code validations
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fixes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* ui: add option to delete multiple deliveries
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* add filter for deliveries, delete api start/endtime support
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* do not throw error when no deliveries removed
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* ui: fix deliveries table column sorting, time filter cancel
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* remove isDebugEnabled wrapping
* merge fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
---------
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Co-authored-by: Daan Hoogland <daan@onecht.net>
Co-authored-by: Wei Zhou <weizhou@apache.org>
2024-06-10 10:40:12 +05:30
Daan Hoogland
2542582c1e
logging migration in merge missing
2024-06-07 11:31:36 +02:00
Henrique Sato
81cdf3cfbf
Fix instance & backup resource table columns ( #9147 )
...
Co-authored-by: Henrique Sato <henrique.sato@scclouds.com.br>
2024-06-07 09:55:54 +02:00
Daan Hoogland
b29391c329
Merge LTS branch '4.19' into main
2024-06-07 09:53:57 +02:00
Daan Hoogland
c779b1c616
Merge branch '4.18' into 4.19
2024-06-06 11:24:09 +02:00
Abhishek Kumar
91c7bc722f
server,cks: check if vm is cks node during vm destroy ( #9057 )
...
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2024-06-06 10:54:02 +02:00
Rene Peinthor
2339412f73
linstor: make getDevicePath more robust ( #9143 )
2024-06-06 09:49:03 +02:00
dahn
0c615312f9
log messages ( #9093 )
...
* log messages
* Apply suggestions from code review
Co-authored-by: João Jandre <48719461+JoaoJandre@users.noreply.github.com>
* Update plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/cluster/actionworkers/KubernetesClusterResourceModifierActionWorker.java
Co-authored-by: Fabricio Duarte <fabricio.duarte.jr@gmail.com>
---------
Co-authored-by: João Jandre <48719461+JoaoJandre@users.noreply.github.com>
Co-authored-by: Fabricio Duarte <fabricio.duarte.jr@gmail.com>
2024-06-06 12:41:11 +05:30
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
João Jandre
631d6ad09b
Do not retrieve VM's stats on normal VM listing ( #8782 )
...
* Do not retrieve VM's stats on normal VM listing
* Add config to control the behavior
* address reviews
2024-06-05 17:45:28 +05:30
Vishesh
68a231aaee
Show site to site VPN connections in UI ( #9066 )
2024-06-04 14:43:41 +02:00
Wei Zhou
875cd14919
server: fix fail to list public ips of shared networks sometimes ( #8624 )
2024-06-04 09:28:39 +02:00
dahn
19f96355ac
Update .asf.yaml
2024-06-04 08:31:45 +02:00
Abhishek Kumar
d77998c2d4
utils,ui: obfuscate sensitive log info, use POST for configureOutOfBandManagement ( #9126 )
...
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2024-06-03 11:57:44 +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