apache / apache/cloudstack

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

Aperta
#7,839 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
component:management-server Severity:Minor status:needs-investigation
Lingua principale
Java
Stelle
3.1k
Fork
1.4k
Merge medio
6g 19h
PR unite (30g)
32

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia riproducendo i passaggi di CloudStack 4.18 con un limite dell'account di 2 GiB, registra in remoto una ISO da 1,8 GiB, quindi caricane un'altra dal desktop locale. Confronta il comportamento del caricamento locale per template, ISO e volumi con il rifiuto della quota previsto; il lavoro è completato quando il caricamento fallisce una volta raggiunto lo storage secondario massimo dell'account.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
backend, cloud, infrastructure
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.