Unable to delete Secondary Storage
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 1.4k
- Avg merge
- 6d 19h
- Merged PRs (30d)
- 32
Description
##### ISSUE TYPE
* Bug Report
##### CLOUDSTACK VERSION
~~~
4.19.1.0
~~~
##### OS / ENVIRONMENT
Oracle Linux 8
##### SUMMARY
I added second secstore to one zone, and some images and templates were copied to it automatically. Now I want to delete it and an error occurs. There is no any mechanism in Cloudstack for removing templates from specific secstore or forcibly deleting a secstore.
Of course I can modify some records in DB like in https://github.com/apache/cloudstack/issues/8540 https://github.com/apache/cloudstack/issues/7347 but it's not a solution

Templates on this secstore

Some of them are downloaded, some are not.


Contributor guide
Research direction
Reproduce the secondary-storage deletion failure on CloudStack 4.19.1.0 with Oracle Linux 8, using a zone containing copied templates and images. Trace the deletion behavior and the reported storage/template state; done means the secondary store can be removed without manually changing database records.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100