apache / apache/cloudstack

Add settings retry attempts and interval retry attempts for recurring snapshots

オープン
#13,454 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る
component:snapshot
主要言語
Java
スター
3.1k
フォーク
1.4k
平均マージ
6日 19時間
マージ済み PR(30日)
32

説明

### 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 と、既存の retry および通知の経路を追跡し、次に設定のエントリーポイントを特定してください。retry 回数に上限があり設定可能であること、retry 間隔があること、retry を使い切った後に失敗通知が行われることを満たせば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
cloud, infrastructure
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。