Skip to content

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

@kiranchavala

Description

@kiranchavala

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
  1. Login to the user role account

  2. Register a iso of size (1.8 gb) from a remote webserver

  3. Upload a iso of size (1.8 gb) from Local Desktop

  4. The upload of iso is successful even when the account limit is reached

  5. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    Status

    Todo

    Status

    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions