apache / apache/cloudstack

Unable to delete Secondary Storage

Đang mở
#9,737 8 bình luận 0 reaction 0 người được giao Xem trên GitHub
affects:4.19.1 component:secondary-storage type:improvement
Ngôn ngữ chính
Java
Star
3.1k
Fork
1.4k
Merge trung bình
6 ngày 19 giờ
Pull request đã merge (30 ngày)
32

Mô tả

##### 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

![image](https://github.com/user-attachments/assets/2d65d821-05dd-45ff-b5ba-c410d0913dff)
Templates on this secstore
![image](https://github.com/user-attachments/assets/d8bc2cf3-c987-4a52-8322-c82547312362)
Some of them are downloaded, some are not.
![image](https://github.com/user-attachments/assets/e4a92c10-11fa-4bc3-9800-a7d7a6b3b438)
![image](https://github.com/user-attachments/assets/7911b9a2-7eae-471b-ad40-8808f4938f4a)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Tái hiện lỗi xóa secondary-storage trên CloudStack 4.19.1.0 với Oracle Linux 8, sử dụng một zone chứa các template và image đã sao chép. Theo dõi hành vi xóa và trạng thái storage/template được báo cáo; hoàn tất nghĩa là secondary store có thể được gỡ bỏ mà không cần thay đổi thủ công các bản ghi cơ sở dữ liệu.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
cloud, infrastructure
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
42/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.