GutoVeronezi opened a new pull request #4790: URL: https://github.com/apache/cloudstack/pull/4790
### Description On StatsCollector, it limits secondary storages capacity to 90%; therefore, operators do not have option to choose which threshold they want/need. This PR intends to externalize the secondary storage capacity threshold configuration on StatsCollector (`secondary.storage.capacity.threshold`), validating if it is between 0 and 100% (0.00 and 1.00). ### Types of changes - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] New feature (non-breaking change which adds functionality) - [ ] Bug fix (non-breaking change which fixes an issue) - [x] Enhancement (improves an existing feature and functioanlity) - [ ] Cleanup (Code refactoring and cleanup, that may add test cases) ### Feature/Enhancement Scale or Bug Severity #### Feature/Enhancement Scale - [x] Major - [ ] Minor ### How Has This Been Tested? It has been tested locally on a test lab. 1. I enabled a zone; 2. I created a template and observed the log. It will log messages according to the configuration set. ---------------------------------------------------------------- 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]
