apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
2.06k stars 1.1k forks source link

Global Configuration to control SSVM capacity scan #7438

Closed rajujith closed 1 year ago

rajujith commented 1 year ago
ISSUE TYPE
COMPONENT NAME
SSVM
CLOUDSTACK VERSION
4.18
CONFIGURATION
OS / ENVIRONMENT
SUMMARY

CloudStack provides a global configuration to control the Console proxy capacity scan interval, the same is expected for Secondary storage VM but it is currently hard coded.

STEPS TO REPRODUCE
EXPECTED RESULTS
A global configuration like 'secstorage.capacityscan.interval' should be present in global configurations/settings. 
The time interval(in millisecond) to scan whether or not system needs more Secondary Storage VM to ensure minimal standby capacity
ACTUAL RESULTS
Global configuration to control the secondary storage VM capacity scan interval is missing in global configurations/settings.
harikrishna-patnala commented 1 year ago

I did not see "secstorage.capacityscan.interval" definition in the git history too, but MS code is looking for this param and setting default value if not present. This could be an old bug and we are living with it. We can add this setting now, since for CPVM it is already there.

rohityadavcloud commented 1 year ago

Fixed by https://github.com/apache/cloudstack/pull/7448