weizhouapache commented on issue #3759: server: fix resource count error when 
upgrade a vm
URL: https://github.com/apache/cloudstack/pull/3759#issuecomment-577613263
 
 
   > @ustcweizhou I tried to recreate the bug with current master in a 
testenvironment. Are the any Domains, Projects or something else involved?
   > 
   > Just creating another user with an vm and increasing the VM ressources 
with admin did not show the bug.
   > I checked the resourcecount via api with
   > `update resourcecount domainid=xxxxx account=testuser`
   > and it showed the right counts.
   > 
   > If I can recreate the bug I can review your PR.
   
   @DennisKonrad thanks for testing.
   update resource count will recalculate the resource count and update 
database if count is not same so the value in response is always correct.
   
   However the count is not correct if we use listDomains or listAccounts 
before updateresourcecount.
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to