vishesh92 commented on issue #8515: URL: https://github.com/apache/cloudstack/issues/8515#issuecomment-1934372608
To implement this, we will have to fetch the current user's account and check it's limits. We will have to make an additional request every time we want to launch or scale an instance or scale. It's also possible that the domain has lower limits than the account, in which case the request might fail again. And when we get the domain's limits, it doesn't check parent domain's limit which can be lower than the current domain's limit. Another edge case I can think of is that the instance is being deployed in another account. In which case, we will need to fetch limits for that account. This is doable but there might be some other edge cases that we might miss. This needs more discussion and figuring out all the edge cases before we implement this. Otherwise we might break existing behavior for a user. We are already checking for offering's max and min values. IMO, this is not worth the effort and the hassle.  -- 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]
