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 摘要。