alsko-icom opened a new issue, #10382:
URL: https://github.com/apache/cloudstack/issues/10382

   ### 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 stoprage offerings
   3. create instance for a tenant based on specific 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.


-- 
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]

Reply via email to