Account limit(max.secondary storage) is not honored when upload template/iso/volume from local
- 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ả
ISSUE TYPE
* Bug report
COMPONENT NAME
Component: Management server
CLOUDSTACK VERSION
Cloudstack 4.18
SUMMARY
The account limit(max.secondary storage) is not honored.
This issue was observed during the testing of PR #7441
Steps to reproduce the issue
1. Create a user role account
2. Set the Max. secondary storage (GiB) to 2 gb at the account level
3. Login to the user role account
4. Register a iso of size (1.8 gb) from a remote webserver
5. Upload a iso of size (1.8 gb) from Local Desktop
6. The upload of iso is successful even when the account limit is reached
7. The account limit after the upload is
Expected Results
The upload of iso should fail as the account limit(max.secondarystorage) was reached
Actual Results
The upload of iso is not failing even if the account limit((max.secondarystorage) was reached
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện các bước của CloudStack 4.18 với giới hạn tài khoản là 2 GiB, đăng ký từ xa một ISO 1,8 GiB, sau đó tải lên một ISO khác từ desktop cục bộ. So sánh hành vi tải lên cục bộ đối với template, ISO và volume với việc từ chối quota theo dự kiến; hoàn tất khi thao tác tải lên thất bại ngay sau khi đạt đến dung lượng lưu trữ phụ tối đa của tài khoản.
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
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100