apache / apache/cloudstack

Add settings retry attempts and interval retry attempts for recurring snapshots

未關閉
#13,454 6 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
component:snapshot
主要語言
Java
星號
3.1k
分支
1.4k
平均合併
7 天 14 小時
30 天內合併 PR
31

描述

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

貢獻指南

開啟貢獻指南

研究方向

Issue 中沒有指定檔案或測試。首先追蹤定期執行的 snapshot job 及其現有的重試與通知路徑,然後找出設定入口;完成標準是具備有上限且可設定的重試次數、重試間隔,以及在重試耗盡後傳送失敗通知。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java
領域
cloud, infrastructure
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。