cloudstack/plugins
Harikrishna c462be1412
New API "checkVolume" to check and repair any leaks or issues reported by qemu-img check (#8577)
* Introduced a new API checkVolumeAndRepair that allows users or admins to check and repair if any leaks observed.
Currently this is supported only for KVM

* some fixes

* Added unit tests

* addressed review comments

* add repair volume while granting access

* Changed repair parameter to accept both leaks/all

* Introduced new global setting volume.check.and.repair.before.use to do volume check and repair before VM start or volume attach operations

* Added volume check and repair changes only during VM start and volume attach operations

* Refactored the names to look similar across the code

* Some code fixes

* remove unused code

* Renamed repair values

* Fixed unit tests

* changed version

* Address review comments

* Code refactored

* used volume name in logs

* Changed the API to Async and the setting scope to storage pool

* Fixed exit value handling with check volume command

* Fixed storage scope to the setting

* Fix volume format issues

* Refactored the log messages

* Fix formatting
2024-02-29 14:41:49 +05:30
..
acl Updating pom.xml version numbers for release 4.19.1.0-SNAPSHOT 2024-02-02 18:06:04 +05:30
affinity-group-processors Updating pom.xml version numbers for release 4.19.1.0-SNAPSHOT 2024-02-02 18:06:04 +05:30
alert-handlers Updating pom.xml version numbers for release 4.19.1.0-SNAPSHOT 2024-02-02 18:06:04 +05:30
api Updating pom.xml version numbers for release 4.19.1.0-SNAPSHOT 2024-02-02 18:06:04 +05:30
backup Veeam: fix incompatible types: String cannot be converted to Date 2024-02-05 10:50:16 +01:00
ca/root-ca Updating pom.xml version numbers for release 4.19.1.0-SNAPSHOT 2024-02-02 18:06:04 +05:30
database Updating pom.xml version numbers for release 4.19.1.0-SNAPSHOT 2024-02-02 18:06:04 +05:30
dedicated-resources Updating pom.xml version numbers for release 4.19.1.0-SNAPSHOT 2024-02-02 18:06:04 +05:30
deployment-planners Updating pom.xml version numbers for release 4.19.1.0-SNAPSHOT 2024-02-02 18:06:04 +05:30
drs/cluster Add advance settings to fine tune DRS imbalance calculation (#8521) 2024-02-13 11:18:53 +05:30
event-bus Updating pom.xml version numbers for release 4.19.1.0-SNAPSHOT 2024-02-02 18:06:04 +05:30
ha-planners/skip-heurestics Updating pom.xml version numbers for release 4.19.1.0-SNAPSHOT 2024-02-02 18:06:04 +05:30
host-allocators/random Updating pom.xml version numbers for release 4.19.1.0-SNAPSHOT 2024-02-02 18:06:04 +05:30
hypervisors New API "checkVolume" to check and repair any leaks or issues reported by qemu-img check (#8577) 2024-02-29 14:41:49 +05:30
integrations Merge release branch 4.18 to 4.19 2024-02-26 15:53:11 +01:00
metrics Add advance settings to fine tune DRS imbalance calculation (#8521) 2024-02-13 11:18:53 +05:30
network-elements Updating pom.xml version numbers for release 4.19.1.0-SNAPSHOT 2024-02-02 18:06:04 +05:30
outofbandmanagement-drivers Updating pom.xml version numbers for release 4.19.1.0-SNAPSHOT 2024-02-02 18:06:04 +05:30
shutdown Updating pom.xml version numbers for release 4.19.1.0-SNAPSHOT 2024-02-02 18:06:04 +05:30
storage Merge release branch 4.18 to 4.19 2024-02-26 15:53:11 +01:00
storage-allocators/random fix_filter_and_pagination (#8306) 2024-02-16 11:15:55 +01:00
user-authenticators Updating pom.xml version numbers for release 4.19.1.0-SNAPSHOT 2024-02-02 18:06:04 +05:30
user-two-factor-authenticators Updating pom.xml version numbers for release 4.19.1.0-SNAPSHOT 2024-02-02 18:06:04 +05:30
pom.xml Updating pom.xml version numbers for release 4.19.1.0-SNAPSHOT 2024-02-02 18:06:04 +05:30