cloudstack/plugins
dahn f18fe5e1da
Snapshot deletion issues (#3969)
* Fixes snapshot deletion

* Remove legacy '@Component', it is not necessary in this bean/class.

* Fix log message missing %d and remove snapshot on DB

* Remove "dummy" boolean return statement

* Manage snapshot deletion for KVM + NFS (primary storage)

* checkstyle trailing spaces

* rename options strings to *_OPTION

* Fix typo on deleteSnapshotOnSecondaryStorage and enhance log message

* Move the snapshotDao.remove(snapshotId); (#4006)

* Fix deletesnapshot worflow to handle both snapshots created in primary storage and snapshots backed up to secondary storage

* Fix extra space

* refactor out separate handling methods for secondary and primary (reducing returns)

* return false on unexpected error or log when expected

* != instead of ==

* secondary instead of backup storage

* init to null

* Handle snapshot deletion on primary storage. When primary store ref not found for snapshot do not fail the operation.

* Fix debug levels on log messages

Co-authored-by: GabrielBrascher <gabriel@apache.org>
Co-authored-by: Andrija Panic <45762285+andrijapanicsb@users.noreply.github.com>
Co-authored-by: Harikrishna Patnala <harikrishna.patnala@gmail.com>
Co-authored-by: nvazquez <nicovazquez90@gmail.com>
2020-04-11 16:40:27 +02:00
..
acl Updating pom.xml version numbers for release 4.13.1.0-SNAPSHOT 2019-09-01 13:36:50 +01:00
affinity-group-processors Updating pom.xml version numbers for release 4.13.1.0-SNAPSHOT 2019-09-01 13:36:50 +01:00
alert-handlers Updating pom.xml version numbers for release 4.13.1.0-SNAPSHOT 2019-09-01 13:36:50 +01:00
api Updating pom.xml version numbers for release 4.13.1.0-SNAPSHOT 2019-09-01 13:36:50 +01:00
ca/root-ca Updating pom.xml version numbers for release 4.13.1.0-SNAPSHOT 2019-09-01 13:36:50 +01:00
database Updating pom.xml version numbers for release 4.13.1.0-SNAPSHOT 2019-09-01 13:36:50 +01:00
dedicated-resources Updating pom.xml version numbers for release 4.13.1.0-SNAPSHOT 2019-09-01 13:36:50 +01:00
deployment-planners Updating pom.xml version numbers for release 4.13.1.0-SNAPSHOT 2019-09-01 13:36:50 +01:00
event-bus Updating pom.xml version numbers for release 4.13.1.0-SNAPSHOT 2019-09-01 13:36:50 +01:00
ha-planners/skip-heurestics Updating pom.xml version numbers for release 4.13.1.0-SNAPSHOT 2019-09-01 13:36:50 +01:00
host-allocators/random Updating pom.xml version numbers for release 4.13.1.0-SNAPSHOT 2019-09-01 13:36:50 +01:00
hypervisors Snapshot deletion issues (#3969) 2020-04-11 16:40:27 +02:00
integrations Updating pom.xml version numbers for release 4.13.1.0-SNAPSHOT 2019-09-01 13:36:50 +01:00
metrics api: Fix count and item issues returned by list APIs (#3894) 2020-02-26 15:14:23 +00:00
network-elements Updating pom.xml version numbers for release 4.13.1.0-SNAPSHOT 2019-09-01 13:36:50 +01:00
outofbandmanagement-drivers Updating pom.xml version numbers for release 4.13.1.0-SNAPSHOT 2019-09-01 13:36:50 +01:00
storage Updating pom.xml version numbers for release 4.13.1.0-SNAPSHOT 2019-09-01 13:36:50 +01:00
storage-allocators/random Updating pom.xml version numbers for release 4.13.1.0-SNAPSHOT 2019-09-01 13:36:50 +01:00
user-authenticators Updating pom.xml version numbers for release 4.13.1.0-SNAPSHOT 2019-09-01 13:36:50 +01:00
pom.xml Updating pom.xml version numbers for release 4.13.1.0-SNAPSHOT 2019-09-01 13:36:50 +01:00