apache / apache/cloudstack

Backup provider improvements

Đang mở
#12,280 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
component:backup type:enhancement
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

Currently, with the backup implementation, I found the following issues/limitations

**Issue 1**

**Allow multiple backup framework providers at zone level**

**Steps to reproduce the issue**

1. Have a CloudStack environment with One zone and multiple clusters ( KVM. VMware)

2. Configure VEEAM for vmare cluster

https://docs.cloudstack.apache.org/en/4.22.0.0/adminguide/veeam_plugin.html

3. Configure NAS for KVM cluster

https://docs.cloudstack.apache.org/en/4.22.0.0/adminguide/nas_plugin.html#nas-backup-and-recovery-plugin

4. Configure the Global setting "backup.framework.provider.plugin" = veeam.nas

Image

5. Navigate to Service offering > Backup offering

Image

```

2025-12-17 07:24:28,644 ERROR [c.c.a.AlertManagerImpl] (CapacityChecker:[ctx-96786e18]) (logid:0203c46c) Exception in CapacityChecker com.cloud.utils.exception.CloudRuntimeException: Failed to find backup provider by the name: veeam,nas
at org.apache.cloudstack.backup.BackupManagerImpl.getBackupProvider(BackupManagerImpl.java:1656)
at org.apache.cloudstack.backup.BackupManagerImpl.getBackupProvider(BackupManagerImpl.java:1648)
at org.apache.cloudstack.backup.BackupManagerImpl.getBackupStorageUsedStats(BackupManagerImpl.java:2262)
at org.apache.cloudstack.backup.BackupManagerImpl.getBackupStorageUsedStats(BackupManagerImpl.java:176)
at jdk.internal.reflect.GeneratedMethodAccessor417.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)

```

**Current behaviour**

Currently, only one Backup framework is allowed per zone, it would be

**Expected behaviour**

It would be great if we could configure the "backup.framework.provider.plugin" at cluster level rather than zone level or support multiple backup providers at zone level

---------------
**Issue 2**

**Associate the backup offerings based on the hypervisor or cluster**

**Steps to reproduce the issue**

1. Have multiple backup offerings one for kvm and one for vmware

Image

2. Navigate to deploy vm form Compute > Select a KVM host or KVM template , all the backup offering are displayed

Similarly, select a VMWare host or vmware template , all the backup offering are displayed

Image

3. Similarly, in the instance view all the backup offerings are displayed

Image

**Expected behaviour**

It would be great if we could display the backup offerings based on the hypervisor or cluster type ( KVM or vmware)

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

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

Hướng nghiên cứu

Bắt đầu với các vị trí của BackupManagerImpl.java được hiển thị trong stack trace và đọc tài liệu được liên kết về các plugin Veeam và NAS. Tái hiện cấu hình zone và kiểm tra các chế độ xem triển khai và instance của Compute được mô tả trong issue. Hoàn thành khi nhiều provider có thể cùng tồn tại như yêu cầu và các dịch vụ backup được lọc theo hypervisor hoặc loại cluster.

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
backend, cloud, infrastructure
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/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.