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
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
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
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
Vishesh
87b55af197
Fixup response code on incorrect credentials ( #8671 )
2024-05-30 08:48:53 +02:00
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
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
Daan Hoogland
a358c9a410
Merge release branch 4.19 to main
...
* 4.19:
New feature: Import/Unamange DATA volume from storage pool (#8808 )
2024-04-23 16:13:16 +02:00
Wei Zhou
0b857def68
New feature: Import/Unamange DATA volume from storage pool ( #8808 )
2024-04-23 16:05:59 +02:00
Daan Hoogland
66c10bf42f
logger issues
2024-04-23 12:55:17 +02:00
John Bampton
2ca3be41f7
Fix spelling in code comments ( #8866 )
2024-04-23 12:11:56 +02:00
Rohit Yadav
93d4816ee8
Merge remote-tracking branch 'origin/4.19'
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Conflicts:
plugins/storage/volume/linstor/src/main/java/com/cloud/hypervisor/kvm/storage/LinstorStorageAdaptor.java
2024-04-23 15:24:19 +05:30
Rohit Yadav
0fa71f5696
Merge remote-tracking branch 'origin/4.18' into 4.19
2024-04-23 15:21:44 +05:30
Rene Peinthor
405aac38bc
linstor: Only set allow-two-primaries if resource is already in use ( #8802 )
...
For live migrate we need the allow-two-primaries option,
but we don't know exactly if we are called for a migration operation.
Now also check if at least any of the resources is in use somewhere and
only then set the option.
2024-04-22 10:04:05 +02:00
Rohit Yadav
5a52ca78ae
kvm: export sysinfo for arm64 domains for cloud-init to work ( #8940 )
...
This fixes a limitation for arm64/aarch64 KVM hosts to correctly export
the product name via sysconfig attribute. Without this `cloud-init`
doesn't function correctly on arm64 platforms.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2024-04-19 21:23:49 +02:00
Daan Hoogland
3cabe69cd5
Merge release branch 4.19 to main
...
* 4.19:
protect against null-path (#8915 )
UI: Fix missing locale strings for Status widget (#8792 )
Add a shutdownhook to remove jobs owned by the process (#8896 )
2024-04-19 12:45:30 +02:00
Daan Hoogland
78e07cff62
Merge release branch 4.18 to 4.19
...
* 4.18:
protect against null-path (#8915 )
UI: Fix missing locale strings for Status widget (#8792 )
Add a shutdownhook to remove jobs owned by the process (#8896 )
2024-04-19 12:43:34 +02:00
dahn
7affbb1dac
protect against null-path ( #8915 )
...
Co-authored-by: Vladimir Dombrovski <vladimir.dombrovski@bso.co>
Co-authored-by: Vishesh <vishesh92@gmail.com>
Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>
2024-04-19 12:23:31 +02:00
Suresh Kumar Anaparti
dfd5158d67
Allow kvm storage plugin to customize diskdef, add geometry ( #8839 )
...
* Allow kvm storage plugin to customize diskdef, add geometry
* formatting update
---------
Co-authored-by: Marcus Sorensen <mls@apple.com>
2024-04-18 18:21:17 +05:30
Daan Hoogland
7de8a6d082
Merge LTS branch '4.19' into main
2024-04-18 08:54:58 +02:00
Wei Zhou
38ca11f99a
build: fix build failure after merge-forward
2024-04-17 16:40:31 +02:00
João Jandre
8a101fbbc1
Updating pom.xml version numbers for release 4.18.3.0-SNAPSHOT
...
Signed-off-by: João Jandre <48719461+JoaoJandre@users.noreply.github.com>
2024-04-17 11:11:57 -03:00
GaOrtiga
31f28f6516
Limit infrastructure details revealed to the end user after a failed migration on KVM ( #8680 )
...
* remove details when error occurs
* Update plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtMigrateCommandWrapper.java
Co-authored-by: dahn <daan.hoogland@gmail.com>
---------
Co-authored-by: Gabriel <gabriel.fernandes@scclouds.com.br>
Co-authored-by: dahn <daan.hoogland@gmail.com>
2024-04-16 09:58:35 -03:00
Rohit Yadav
a55ba96a08
Merge remote-tracking branch 'origin/4.18' into 4.19
2024-04-16 16:10:33 +05:30
João Jandre
154566f914
Updating pom.xml version numbers for release 4.18.2.0
...
Signed-off-by: João Jandre <48719461+JoaoJandre@users.noreply.github.com>
2024-04-12 08:25:04 -03:00
Rene Peinthor
6cd5c6a1d0
linstor: Do not pretend handling disconnect paths that are non Linstor ( #8897 )
2024-04-12 08:23:15 -03:00
Vishesh
19f79b1d94
Merge branch '4.19'
2024-04-12 16:31:40 +05:30
Suresh Kumar Anaparti
d3e020a545
Mark libvirt events experimental, add properties flag ( #8825 )
...
* Mark libvirt events experimental, add properties flag
* unit test fixes
---------
Co-authored-by: Marcus Sorensen <mls@apple.com>
2024-04-11 17:06:33 +05:30