Suresh Kumar Anaparti
8b02624e61
User data content size validation, and related code improvements ( #8418 )
...
Co-authored-by: João Jandre <48719461+JoaoJandre@users.noreply.github.com>
2024-06-18 20:07:13 +02:00
Daan Hoogland
373f017002
Merge branch '4.19'
2024-06-18 19:58:43 +02:00
Daan Hoogland
050ee44137
Merge branch '4.18' into 4.19
2024-06-18 16:05:45 +02:00
Vishesh
6c7426e3a7
Prevent network disruption on adding a VPC tier for redundant VRs ( #9251 )
2024-06-18 13:47:45 +02:00
dahn
7c5b7ca077
Extra parameter for UpdateImageStore ( #8941 )
...
* Extra parameter for UpdateImageStore
* add name parameter
* ui
* cleanup
* update DB from storage stats results
2024-06-18 12:31:17 +05:30
Daan Hoogland
cb9b3134f7
Merge branch '4.19'
2024-06-14 10:30:10 +02:00
Abhishek Kumar
ce9b2c52f3
cks: fix events ( #9070 )
...
Fixes #8043
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2024-06-14 12:22:39 +05:30
Rohit Yadav
2ca0857bd5
api: listVM API improvement followup, change returning of stats detail ( #9177 )
...
- Changes behaviour of details param handling via global setting:
- listVirtualMachines API: when the details param is not provided, it returns whether stats are returned controlled by a new global setting `list.vm.default.details.stats`
- listVirtualMachinesMetrics API: when the details param is not provided, it uses `all` details including `stats`
- Users who are affected slow performance of the listVirtualMachines API response time can set `list.vm.default.details.stats` to `false`
- Remove ConfigKey vm.stats.increment.metrics.in.memory which was renamed to `vm.stats.increment.metrics` in #5984 and also remove unused/unnecessary global settings via upgrade path
- Changes default value of VM stats accumulation setting `vm.stats.increment.metrics` to false until a better solution emerges. Since #5984 , this is true and during the execution of listVM APIs the stats are clubbed/calculated which can immensely slow down list VM API calls. Any costly operations such as summing of stats shouldn't be done during the course of a synchronous API, such as the list VM API.
- Fix UI that uses listVirtualMachinesMetrics to not call `stats` detail when in list view without metrics selected.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2024-06-14 11:03:14 +05:30
dahn
b3c3f91718
api: add to cpu speed parameter a description of the cgroup2 case ( #9191 )
...
This PR adds to the cpuSpeed parameter of CreateServiceOfferingCmd a description how it will be interpreted in the case cgroups are being used on KVM.
Fixes : #6743
Co-authored-by: Bryan Lima <42067040+BryanMLima@users.noreply.github.com>
---------
Co-authored-by: Bryan Lima <42067040+BryanMLima@users.noreply.github.com>
2024-06-13 12:36:20 +05:30
Vishesh
6fe835e118
Merge branch '4.19'
2024-06-13 11:57:55 +05:30
ahmedali6
66f7f76263
fix createVMSchedule action name ( #9226 )
...
Co-authored-by: Ahmed Awlaqi <ahmed.awlaqi@sue.nl>
2024-06-12 17:56:35 +05:30
Vishesh
c756e4370a
List volumes by service offering id ( #9211 )
...
* Allow listing of volumes by service offering id
* Address comments
2024-06-12 16:13:56 +05:30
dahn
4de975ff25
list by isEncrypted ( #8643 )
...
* list by isEncrypted
* use filter on VO and cleanup
* add encryption type to volume response
* Update api/src/main/java/org/apache/cloudstack/api/command/user/volume/ListVolumesCmd.java
Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>
2024-06-12 15:11:00 +05:30
Abhishek Kumar
ca59720015
vpc,event: fix events for createVpc ( #9055 )
...
Fixes #8496
* vpc,event: fix events for createVpc
2024-06-12 12:56: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
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
b29391c329
Merge LTS branch '4.19' into main
2024-06-07 09:53:57 +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
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
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
daf6b9d103
api,ui: vm template format, fix vm info link ( #9094 )
2024-05-24 17:39:52 +02: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
cfdb33a052
Fixup resource limit checks ( #8935 )
2024-04-25 12:59:35 +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
SadiJr
96ae479000
[Usage] Create network billing ( #7236 )
...
Co-authored-by: Bryan Lima <bryan.lima@hotmail.com>
Co-authored-by: SadiJr <sadi@scclouds.com.br>
Co-authored-by: Bryan Lima <42067040+BryanMLima@users.noreply.github.com>
Co-authored-by: Henrique Sato <henriquesato2003@gmail.com>
2024-04-24 08:52:49 +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
Wei Zhou
7b57480d60
Merge remote-tracking branch 'apache/4.19' into main
2024-04-23 10:06:16 +02:00
SadiJr
49d244f251
[Usage] Create VPC billing ( #7235 )
...
Co-authored-by: SadiJr <sadi@scclouds.com.br>
Co-authored-by: Bryan Lima <bryan.lima@hotmail.com>
2024-04-22 09:42:24 +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
Vishesh
63a0797b18
Introduce scheduled executor wrapper with dynamic interval ( #8916 )
...
* Introduce scheduled executor wrapper with dynamic interval
* Add validation for configkey
2024-04-17 15:15:37 +05:30
Henrique Sato
090c1e38a6
Improve vm.allocation.algorithm global setting description ( #8823 )
...
Co-authored-by: Henrique Sato <henrique.sato@scclouds.com.br>
2024-04-16 16:55:20 +02:00
Wei Zhou
45daa1ce59
Merge remote-tracking branch 'apache/4.19'
2024-04-12 16:40:07 +02:00
Vishesh
b998e7dbb6
Allow overriding root disk offering & size, and expunge old root disk while restoring a VM ( #8800 )
...
* Allow overriding root diskoffering id & size while restoring VM
* UI changes
* Allow expunging of old disk while restoring a VM
* Resolve comments
* Address comments
* Duplicate volume's details while duplicating volume
* Allow setting IOPS for the new volume
* minor cleanup
* fixup
* Add checks for template size
* Replace strings for IOPS with constants
* Fix saveVolumeDetails method
* Fixup
* Fixup UI styling
2024-04-12 17:47:52 +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
Vishesh
a44f28bb31
Merge branch '4.19'
2024-04-10 17:30:37 +05:30
Vishesh
c24c1a5c00
Fix VM import & VM delete with custom offering ( #8813 )
2024-04-10 11:29:29 +02:00
Abhishek Kumar
55b28d645f
Merge remote-tracking branch 'apache/4.19'
2024-04-04 17:54:42 +05:30
Abhishek Kumar
02305fbc5f
Merge remote-tracking branch 'apache/4.19'
2024-04-04 17:36:05 +05:30
Vishesh
c25264bada
UI Fixes: allow filtering on alertype in UI & add events tab ( #8630 )
2024-04-04 13:51:56 +02:00
Vishesh
b8f8321f0f
Allow listing of inactive offerings ( #8821 )
2024-04-04 13:46:44 +02:00
Vishesh
38f028613f
Fix getRepair method in checkVolume command ( #8840 )
...
* Fix getRepair method in checkVolume command
* Add License
2024-04-02 17:37:58 +05:30
Vishesh
93f31828f5
Hypervisor as class ( #8798 )
...
* HypervisorType as a class
* Fixup
* fixup
* Add missing annotation
* Resolve comments
* Handle parallels typo
* Add missing @Convert annotation
2024-04-02 17:36:15 +05:30
Wei Zhou
08d9d06d45
api,server,ui: add project ID and name to UserDataResponse ( #8656 )
...
* api,server,ui: add project ID and name to UserDataResponse
* Update: add since
2024-03-25 19:15:34 +05:30
Wei Zhou
12f65fbcc0
build/packaging: build nsx only if noredist is passed ( #8772 )
2024-03-21 17:00:31 +01:00
Vishesh
33dc7465c2
Merge remote-tracking branch 'origin/4.19'
2024-03-19 15:18:02 +05:30