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
平均合并
6 天 19 小时
30 天内合并 PR
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 及其现有的重试和通知路径,然后确定配置入口;完成标准是具备有上限且可配置的重试次数、重试间隔,以及在重试耗尽后发送失败通知。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
cloud, infrastructure
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。