JoaoJandre commented on PR #7441: URL: https://github.com/apache/cloudstack/pull/7441#issuecomment-1672013977
> @JoaoJandre @weizhouapache @DaanHoogland > > Under the following scenario, the account limits are not honored > > Steps > > 1. Create a user role account > > 2. Set the Max. secondary storage (GiB) to 2 gb at the account level > > > <img alt="Screenshot 2023-08-01 at 2 40 09 PM" width="1153" src="https://user-images.githubusercontent.com/1401014/257464889-317daeee-b281-483e-865b-aa846a456937.png"> > > 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 > > 7. The account limit after the upload is > > > <img alt="Screenshot 2023-08-01 at 2 39 35 PM" width="1143" src="https://user-images.githubusercontent.com/1401014/257465085-af407684-557a-4767-b039-67ac8bcc1edc.png"> > > **Ideally the upload of the iso should fail as the account limit reached** > > Normal upload of iso is failing if the account limit is reached and its the expected behavior > > 1. Uploaded a ISOs of 1GiB, > > 2. Upload a second iso of another 1gb > > 3. Upload of third iso and it fails > > > <img alt="Screenshot 2023-08-01 at 2 18 41 PM" width="420" src="https://user-images.githubusercontent.com/1401014/257466366-198ac369-e178-45db-bcf6-ff3cce378000.png"> --- This PR deals only with upload from local. Therefore problems with registering ISOs are out of scope for this PR. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
