apache / apache/cloudstack

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

Offen
#7,839 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
component:management-server Severity:Minor status:needs-investigation
Vorherrschende Sprache
Java
Sterne
3.1k
Forks
1.4k
Ø Merge
6 T. 19 Std.
Gemergte PRs (30 T.)
32

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginnen Sie damit, die Schritte für CloudStack 4.18 mit einem Kontolimit von 2 GiB zu reproduzieren, registrieren Sie dann remote ein 1,8-GiB-ISO und laden Sie anschließend ein weiteres vom lokalen Desktop hoch. Vergleichen Sie das Verhalten des lokalen Uploads für Templates, ISOs und Volumes mit der erwarteten Ablehnung aufgrund des Kontingents; abgeschlossen ist die Aufgabe, wenn der Upload fehlschlägt, sobald der maximale sekundäre Speicher des Kontos erreicht ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java
Bereich
backend, cloud, infrastructure
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.