apache / apache/cloudstack

Add settings retry attempts and interval retry attempts for recurring snapshots

Đang mở
#13,454 6 bình luận 0 reaction 0 người được giao Xem trên GitHub
component:snapshot
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ả

### The required feature described as a wish

We are facing a problem with recurring snapshots for volumes. When a recurring snapshot job fails, ACS keeps making endless retry attempts.

The user does not receive any notifications when a recurring snapshot job fails. Only repeated retry attempts to create the snapshot are observed.

Image

Image

In our test case, we reproduced the issue with an error:
```
Error while creating entity for allocating snapshot
```

It would be good to have the ability to configure:
- the of retry attempts
- the interval between retries

To avoid an infinite snapshot creation loop that ends with an error. After the maximum number of retries is exhausted, a notification should be sent informing that the job has failed.

Related discussion: [Recurring snapshots: How to limit retry attempts or configure interval in global settings? #13439 ](https://github.com/apache/cloudstack/discussions/13439)

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

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

Hướng nghiên cứu

Issue không xác định tệp hoặc bài kiểm thử nào. Hãy bắt đầu bằng cách truy vết job snapshot định kỳ cùng các luồng retry và thông báo hiện có của nó, sau đó xác định các điểm truy cập cấu hình; được xem là hoàn tất khi có số lần retry bị giới hạn và có thể cấu hình, khoảng thời gian giữa các retry, cùng một thông báo lỗi sau khi đã dùng hết retry.

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
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
48/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.