ravening commented on pull request #4422: URL: https://github.com/apache/cloudstack/pull/4422#issuecomment-810979421
> > > Verified behaviour - LGTM. > > > One question though @ravening - when we enable the GS `resource.count.running.routers` does it automatically consider the existing routers' resource count and add it to the domain's resource count or it considers the domain routers stats only when the next VM is deployed? Based on my tests it is the latter case, just wanted to confirm. > > > > > > @Pearl1594 the resources are counted only if the VR is running else it wont be counted > > Thanks @ravening, what I mean is, say I have a VR running and at this point `resource.count.running.routers` is false and we then go and enable the global setting. So, does it update the stats with the routers cpu/mem stats if we attempt to refresh / update resource count? @Pearl1594 once you change the setting `resource.count.running.routers` to true then it updates the resource count depending on the setting `resource.count.running.routers.type` you select. By default vr has 1core and 256mb. so thats not counted under `delta` but if you select it as `all` then even that will be counted -- 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: [email protected]
