mirror of https://github.com/apache/cloudstack.git
- do not keep passwords in databag (/etc/cloudstack/vmpasswd.json) - process only the password we get in (vm_password.json) from mgt server - lookup the correct passwd server instead of adding passwd to all of them Example: - 4 tiers and 199 VMs running - Start vm 200 would cause new passwd from vm_password.json (1) to be merged with /etc/cloudstack/vmpasswd.json (199) - A curl command was exected foreach password (200) foreach tier (4) resulting in 800 calls - In fact, since passwds are never cleaned it could very well be even more as the ip address was the key in the json file so until the ip address was reused the original password would remain and be sent to passwd server every time another vm starts. - This took ~40 seconds Now we just figure out the right tier and only process the new password resulting in a single curl call. - takes 0,03 seconds! |
||
|---|---|---|
| .. | ||
| bindir | ||
| certs | ||
| conf | ||
| conf.dom0 | ||
| css | ||
| distro | ||
| images | ||
| js | ||
| libexec | ||
| patches/debian | ||
| scripts | ||
| test/python | ||
| ui | ||
| vm-script | ||
| pom.xml | ||
| systemvm-descriptor.xml | ||