Created attachment 790432 [details] engine.log Description of problem: When template disk is copied to different quota, then quotas storage resources are set incorrectly. Version-Release number of selected component (if applicable): is11 How reproducible: always Steps to Reproduce: 0. Have at least two SD. 1. Set DC to enforce mode. 2. Create quota1[sd limit 10GB] and quota2[sd limit 10GB]. 3. Create template with 1GB disk on sd1 with quota1. 4. Copy template disk to sd2 with quota2. Actual results: DC->Quota resources show correct values: Storage consumtion of quota1: Free 9/10GB Storage consumtion of quota2: Free 9/10GB but values in database are incorrect. engine=# select storage_size_gb_usage from quota_global_view; storage_size_gb_usage ----------------------- 2 0 Expected results: Both quotas should consume 1GB. engine=# select storage_size_gb_usage from quota_global_view; storage_size_gb_usage ----------------------- 1 1 Additional info:
Created attachment 825732 [details] Screenshot of GUI Checked on is23 Still data in gui and database different: From screenshot, we can see that storage consumption for quota_1 is 20%(2Gb) and query from database return: engine=> SELECT storage_size_gb_usage FROM quota_global_view WHERE quota_name='quota_1'; storage_size_gb_usage ----------------------- 1 And for quota_2 consumption must be 2Gb, but query return: engine=> SELECT storage_size_gb_usage FROM quota_global_view WHERE quota_name='quota_2'; storage_size_gb_usage ----------------------- 2
doron, on what basis did you moved this bug to ON_QA? i don't see it in is23, but i do see it in the build, it will be in IS24. build was done at nov 12: org.ovirt.engine-root-3.3.0-33 dcaroest 2013-11-12 12:38:29 patch was merged at nov 13.
Updating based on comment 2
Verified on is24.1
Closing - RHEV 3.3 Released