apache / apache/cloudstack

Account limit(max.secondary storage) is not honored when upload template/iso/volume from local

未關閉
#7,839 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
component:management-server Severity:Minor status:needs-investigation
主要語言
Java
星號
3.1k
分支
1.4k
平均合併
6 天 19 小時
30 天內合併 PR
32

描述

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
max secondarystorage

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

accountlimit

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

貢獻指南

開啟貢獻指南

研究方向

首先,在帳戶限制為 2 GiB 的情況下重現 CloudStack 4.18 的步驟,遠端註冊一個 1.8 GiB 的 ISO,然後從本機桌面再上傳另一個。將範本、ISO 和磁碟區的本機上傳行為與預期的配額拒絕進行比較;當達到帳戶的最大次要儲存空間後上傳失敗,即表示完成。

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

評估

技術堆疊
java
領域
backend, cloud, infrastructure
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

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

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