apache / apache/cloudstack

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

オープン
#7,839 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
component:management-server Severity:Minor status:needs-investigation
主要言語
Java
スター
3.1k
フォーク
1.4k
平均マージ
6日 19時間
マージ済み PR(30日)
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 をアップロードします。テンプレート、ISO、ボリュームについて、ローカルアップロードの動作を想定されるクォータ拒否と比較します。アカウントの最大セカンダリストレージに達した時点でアップロードが失敗すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
backend, cloud, infrastructure
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。