Commit Graph

4776 Commits

Author SHA1 Message Date
Pierre Charton 0dfeccbbdc Remove unsed import from test file 2025-01-10 10:34:39 +01:00
PeterBackroll fabd4aeea1
Update plugins/backup/backroll/pom.xml
Co-authored-by: dahn <daan.hoogland@gmail.com>
2024-12-23 11:42:36 +01:00
Pierre Charton 0a4c33ddb3 UT 2024-12-21 00:02:59 +01:00
Pierre Charton 81d9669603 UT + unnessary login remove 2024-12-20 23:44:44 +01:00
Pierre Charton a2dcaf251c Error unused import 2024-12-20 21:33:03 +01:00
Pierre Charton eb46332fe0 UT + refactoring to test 2024-12-20 17:40:06 +01:00
Pierre Charton a4d8809ad6 UT on BackrollBackUpProvider 2024-12-20 12:33:00 +01:00
Pierre Charton 0ea2ce5b52 UT + correction bug 2024-12-20 11:03:33 +01:00
Pierre Charton eb400da8ad Merge branch 'Backroll' into Backroll-dev 2024-12-16 17:02:11 +01:00
Pierre Charton ab25490807 Merge with Backroll + bug backup 2024-12-16 16:55:51 +01:00
Pierre Charton 4b05c8c523 Lint fix 2024-12-16 10:29:09 +01:00
Pierre Charton 31c3be44bc Lint fix 2024-12-16 09:32:28 +01:00
Pierre Charton 78878587e5 Merge branch 'Backroll' into Backroll-dev 2024-12-13 15:58:40 +01:00
Pierre Charton cbe491a37d Unit Test 2024-12-13 15:57:50 +01:00
Pierre Charton abc719197c Merge branch 'Backroll' into Backroll-dev + Test unitaite 2024-12-13 15:57:25 +01:00
Pierre Charton fe180a1bb6 fix license 2024-12-13 10:44:05 +01:00
Pierre Charton 112ea11d61 Fix lint errors and log 2024-12-13 10:35:48 +01:00
Pierre Charton 6ed21e2770 Fix Version Pom 2024-12-13 09:38:45 +01:00
Pierre Charton e05c6f7e6a Merge branch 'Backroll-dev' of https://github.com/DIMSI-IS/cloudstack into Backroll-dev 2024-12-13 09:35:55 +01:00
Pierre Charton 3543554371 Sync Backroll dev before merge backroll 2024-12-13 09:35:37 +01:00
Pierre Charton da787f0a2c Merge branch 'Backroll' of https://github.com/DIMSI-IS/cloudstack into Backroll 2024-12-13 09:34:26 +01:00
Pierre Charton 5729e84dd0 General refactoring 2024-12-13 09:33:48 +01:00
PeterBackroll 61cafe2f9c
Merge branch 'main' into Backroll 2024-12-13 08:37:04 +01:00
Henrique Sato 4ac4d9cf29
API to validate Quota activation rule (#9605)
* API to validate Quota activation rule

* Apply suggestions from code review

Co-authored-by: Bryan Lima <42067040+BryanMLima@users.noreply.github.com>

* Use constants

---------

Co-authored-by: Henrique Sato <henrique.sato@scclouds.com.br>
Co-authored-by: Bryan Lima <42067040+BryanMLima@users.noreply.github.com>
2024-12-03 14:41:25 -03:00
Daan Hoogland 9b6f9b5f7d Merge release branch 4.20 to main
* 4.20:
  UI: Tooltip on the host information card to display the CPU speed in MHz and the memory value in MB (to 3 decimal places) (#9971)
  UI: Allow accounts of the `User` type to add other accounts or users to projects through UI (#9927)
  enable to create VPC portfowarding rules with source cidr (#7081)
  Add new column `last_id` to the table volumes (#9759)
  Allow VMWare import via another host (#9787)
  Linstor: add support for ISO block devices and direct download (#9792)
  get expunged VM data for job result (#9949)
  fix section divider display on auth page (#9966)
2024-12-03 16:33:51 +01:00
Daan Hoogland da54234585 Merge branch '4.19' into 4.20.merge 2024-12-03 16:32:15 +01:00
Wei Zhou da94ae2c1c
Merge remote-tracking branch 'apache/4.20' 2024-12-03 09:44:42 +01:00
Abhisar Sinha d17de834a5
Disable API Key Access for users, accounts and domains (#9741)
* cli changes to update user/account, list by apikeyaccess, domain level setting

* UI changes for updating user/account and searchfilter in listview

* make the api parameters and setting accessible only to root admin

* revert changes to ui/package-lock.json

* minor changes to description strings

* UT for ApiServer and AccountManagerImpl classes

* fix pre-commit failure

* Added a constant for the string System

* UT for searchForUsers and searchForAccounts

* Fix marvin test error

* Update schema to use idempotent add column

* Fix `updateTemplatePermission` when the UI is set to a language other than English (#9766)

* Fix updateTemplatePermission UI in non-english language

* Improve fix

---------

Co-authored-by: Lucas Martins <lucas.martins@scclouds.com.br>

* Added user name uuid to logging

* Add events when api key access is changed via api or config setting

* fix the userid for api key access update event

* Fix ut failure after event logging

* Convert drop down to radio-button in edit user and account

* Add ApiKeyAccess status in User InfoCard for Users if Api key is generated

* Return apiKeyAccess in user and account response only for Root Admin

* fixed noredist build failure

* Show apikeyaccess on the left panel in the user view for root admins as well

* don't show divider if apiKeyAccess is not shown to user

* Fix events generated to set Username, Account and Domain of the caller correctly

* cli changes to update user/account, list by apikeyaccess, domain level setting

* UI changes for updating user/account and searchfilter in listview

* make the api parameters and setting accessible only to root admin

* revert changes to ui/package-lock.json

* minor changes to description strings

* UT for ApiServer and AccountManagerImpl classes

* fix pre-commit failure

* Added a constant for the string System

* UT for searchForUsers and searchForAccounts

* Fix marvin test error

* Update schema to use idempotent add column

* Added user name uuid to logging

* Add events when api key access is changed via api or config setting

* fix the userid for api key access update event

* Fix ut failure after event logging

* Convert drop down to radio-button in edit user and account

* Add ApiKeyAccess status in User InfoCard for Users if Api key is generated

* Return apiKeyAccess in user and account response only for Root Admin

* fixed noredist build failure

* Show apikeyaccess on the left panel in the user view for root admins as well

* don't show divider if apiKeyAccess is not shown to user

* Fix events generated to set Username, Account and Domain of the caller correctly

* Added DB upgrade path from 42000 to 42010

---------

Co-authored-by: Daan Hoogland <daan@onecht.net>
Co-authored-by: Lucas Martins <56271185+lucas-a-martins@users.noreply.github.com>
Co-authored-by: Lucas Martins <lucas.martins@scclouds.com.br>
2024-12-03 12:10:54 +05:30
Rodrigo D. Lopez 4189bac8e0
enable to create VPC portfowarding rules with source cidr (#7081)
Co-authored-by: Lopez <rodrigo@scclouds.com.br>
Co-authored-by: Fabricio Duarte <fabricio.duarte.jr@gmail.com>
2024-11-28 17:53:07 +01:00
Vishesh 37eec06166
Allow VMWare import via another host (#9787)
Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>
2024-11-28 17:50:08 +01:00
Rene Peinthor d54b105a03
Linstor: add support for ISO block devices and direct download (#9792) 2024-11-28 17:47:47 +01:00
João Jandre d9774a8462 Updating pom.xml version numbers for release 4.21.0.0-SNAPSHOT
Signed-off-by: João Jandre <48719461+JoaoJandre@users.noreply.github.com>
2024-11-27 11:47:06 -03:00
João Jandre c63c7ee63e Updating pom.xml version numbers for release 4.20.1.0-SNAPSHOT
Signed-off-by: João Jandre <48719461+JoaoJandre@users.noreply.github.com>
2024-11-27 11:40:45 -03:00
João Jandre 2fe3fcef7c Updating pom.xml version numbers for release 4.20.0.0
Signed-off-by: João Jandre <48719461+JoaoJandre@users.noreply.github.com>
2024-11-19 08:54:07 -03:00
Pierre Charton bd0bc0f39d Don't delete backup when we dissociate backup offering 2024-11-15 11:13:26 +01:00
Daan Hoogland a82a2429f4 Merge branch '4.19' 2024-11-14 15:59:35 +01:00
Daan Hoogland a2690e9864 imports 2024-11-14 15:28:32 +01:00
Daan Hoogland 24c28ad460 Merge branch '4.18' into 4.19 2024-11-14 14:30:06 +01:00
Daan Hoogland 6ef2eaca14 Merge tag '4.18.2.5' into 4.18 2024-11-14 13:59:25 +01:00
dahn b75742da43
enum name changed for logger update reverted (#9922) 2024-11-14 08:38:42 -03:00
João Jandre b38ee63c48 Merge branch '4.19' 2024-11-13 10:47:24 -03:00
Rene Peinthor dfe4a67859
kvm: ref-count secondary storage pool usage (#9498)
If a secondary storage pool is used by e.g.
2 concurrent snapshot->template actions,
if the first action finished it removed the netfs mount
point for the other action.
Now the storage pools are usage ref-counted and will only
deleted if there are no more users.
2024-11-13 10:32:46 -03:00
Pierre Charton 4e0ea82bcb Merge remote-tracking branch 'upstream/main' into Backroll-dev 2024-11-07 18:18:34 +01:00
Pierre Charton 3959fdbe46 Merge branch 'main' of https://github.com/apache/cloudstack into Backroll-dev 2024-11-07 15:03:15 +01:00
Daan Hoogland f7b7339bcf Merge branch '4.19' 2024-11-07 11:33:50 +01:00
Rohit Yadav 5b7c86aa45 Merge remote-tracking branch 'origin/4.18' into 4.19
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2024-11-07 14:51:43 +05:30
Rene Peinthor 371e244375
linstor: fix live migrate on non-hyperconverged setups (#9832)
In non-hyperconverged setups, diskless nodes don't have a connection
to each other, so setting properties there had no effect.
Now it is checked if a connection exists,
between the live migration nodes and if not,
it will set the allow-two-primaries on resource-definition level.
2024-11-07 14:46:32 +05:30
Pierre Charton 655080678d Bug on list of vm on the instances 2024-11-07 10:09:57 +01:00
Wei Zhou 006db90f75
kvm: fix ovs network creation issue (#9869)
This fixes the issue when create a ovs network
```
2024-10-29 16:02:45,089 WARN  [resource.wrapper.LibvirtOvsFetchInterfaceCommandWrapper] (agentRequest-Handler-2:null) (logid:e716722e) Network interface: ''cloudbr1'' not found
```

This is a regression of a previous security release
see "framework/cluster: improve cluster service, integration API server"

since we now use NetworkInterface.getByName to get network interface, we should NOT add single quotes before/after the label.
2024-11-07 14:36:53 +05:30
Pierre Charton 82b503e9f6 Fix deserialization + fix connection stability 2024-11-05 21:09:50 +01:00