GitHub user alsko-icom closed a discussion: No method to apply quota on storage 
tags

### problem

A domain admin can add a data disk to their instance depending on quota but not 
on tags. If I am tagging a primary storage as "sas 10k iops" and another as 
"sata 1k iops" and I am offerign a different price for each, the quota offered 
to the tenant has no way to understand which of the two tags (or storage 
classifications) it should use. It only knows it is primary storage. Is there 
any way to tackle this already in place that I am missing?

### versions

Cloudstack management 4.20, KVM hosts based on redhat 8.

### The steps to reproduce the bug

1. add tags to primary storages based on performance
2. set the tags to new storage offerings
3. create instance for a tenant based on specific storage tag
4. assign the VM to the tenant and add additional storage quota so he can add 
data disk
5. customer adds data disk based on any of the available offerings, even more 
expensive than the one originally purchased


### What to do about it?

Incorporate TAGS in quota. Alternatively I was thinking maybe I can set the 
disk offering to not be "public" or choose specific domain for a disk offering. 
This way we will create too many offerings to assign wherever needed and we 
still will have no way to limit how many gigs are used per TAG. Only which 
domain has access to whichever offering for quota based on primary or 
secondary, not tag.

GitHub link: https://github.com/apache/cloudstack/discussions/10434

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org

Reply via email to