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
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
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 5f73172bcbe975e4ef416e525dc95bad63fa6d3a.
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
Abhishek Kumar
f0df8d7831
ui: fix limit format ( #9060 )
...
An undefined variable `item` was used.
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2024-05-20 14:45:01 +05:30
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
Abhishek Kumar
ea9a0f4adf
ui: fix haenable in edit vm form ( #9049 )
...
Fixes #8150
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2024-05-08 08:22:53 +02:00
Abhishek Kumar
a0f87187da
ui: fix documentation link for VM autoscaling ( #9044 )
...
Existing link directs to an older documentation.
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2024-05-07 16:07:14 +05:30
Vishesh
6b4955affe
Fix message publish in transaction ( #8980 )
...
* Fix message publish in transaction
* Resolve comments
2024-05-07 13:27:31 +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
Vishesh
87e7c57d08
Fixup e2e test_restore_vm ( #9025 )
...
* Fixup e2e test_restore_vm
* Fix template's size attribute
* Resolve comments
2024-05-07 00:02:36 +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
GaOrtiga
ab8197c55e
Add password enabled during ISO register and update ( #8992 )
...
Co-authored-by: Gabriel <gabriel.fernandes@scclouds.com.br>
2024-05-02 09:38:22 +02:00
Rohit Yadav
b91c3879c8
ui: add support to change Account role for admins ( #9012 )
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2024-05-01 14:09:55 +02:00
dahn
e520525fe7
Use parameter dcId as wrapper to prevent NPE ( #8986 )
2024-05-01 09:12:36 +02:00
Rohit Yadav
433956c6ae
Merge remote-tracking branch 'origin/4.19'
2024-05-01 12:06:39 +05:30
Rohit Yadav
aad410ae6c
Merge remote-tracking branch 'origin/4.18' into 4.19
2024-05-01 12:05:52 +05:30
Rohit Yadav
d1ca79b65b
ui: show systemvm agent version in the list and resource view ( #9011 )
...
This adds changes to show the systemvm agent version in the list and
resource view.
Fixes #6831
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2024-04-30 19:13:16 +05:30
Pearl Dsilva
981310c2fe
UI: Fix the Add / Remove Vmware DC button on Zone detail view ( #8781 )
...
* UI: Fix the Add / Remove Vmware DC button on Zone detail view
* hide the button for non vmware envs
2024-04-30 18:50:41 +05:30
Vishesh
5c9d79e3fb
Upgrade org.json:json version ( #8750 )
2024-04-30 18:23:51 +05:30
Daan Hoogland
d5241d319c
Merge release branch 4.19 to main
...
* 4.19:
Fix: Update rootdisksize detail on restore VM (#8981 )
UI: hide Cleanup/Expunge when delete a CloudManaged CKS cluster (#8593 )
2024-04-30 11:35:29 +02:00
John Bampton
db572f4478
Fix spelling, word case, duplicate words in code comments only ( #8987 )
2024-04-30 10:58:26 +02:00
Vishesh
027149487b
Fix: Update rootdisksize detail on restore VM ( #8981 )
...
* Fix: Update rootdisksize detail on restore VM
* minor fixup
2024-04-29 22:15:06 +05:30
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
Wei Zhou
f7b95cd8f0
UI: hide Cleanup/Expunge when delete a CloudManaged CKS cluster ( #8593 )
2024-04-29 10:54:03 +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
Rohit Yadav
b23ceefc7e
utils: cleanup MacAddress and MacAddressTest ( #8988 )
...
* utils: cleanup MacAddress and MacAddressTest
Cleanup old mac address handling code to use JDK11 lib instead of hacks.
Also really strange to see some basic string parsing code was written by
hand, replaced with Long.parseValue(str, 16) to convert hex string to
long.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
* address review comments
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
---------
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2024-04-29 13:42:31 +05:30
dahn
54926c324f
sanatise log in case multiple passwordsa have been passed ( #8891 )
2024-04-29 09:37:36 +02:00
Vishesh
08132acaa2
Fix restore VM with allocated root disk ( #8977 )
...
* Fix restore VM with allocated root disk
* Add e2e test for restore vm
* Add more checks for e2e test
2024-04-29 12:19:05 +05:30
Vishesh
80a8b80a9d
Update volume's passphrase to null if diskOffering doesn't support encryption ( #8904 )
2024-04-29 12:18:09 +05:30
John Bampton
6e823b2cd3
Order the .gitignore file ( #8989 )
2024-04-26 14:43:17 +02:00
Fabricio Duarte
00ee5fd429
Show menu section if user has access to at least one of its pages ( #8978 )
2024-04-26 14:34:06 +02:00
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
John Bampton
b93a86c9da
Clean up .asf.yaml collaborators ( #8982 )
...
Remove `kiranchavala` now a committer
https://github.com/kiranchavala
2024-04-26 11:11:25 +05:30
dahn
eead2710f8
explanatory error message on delete attempt of default system offering ( #8883 )
...
Co-authored-by: Gabriel Pordeus Santos <gabrielpordeus@gmail.com>
2024-04-25 16:45:42 +02:00