Github user ustcweizhou commented on the issue: https://github.com/apache/cloudstack/pull/1965 @bvbharatk Yes, you might know only the vm has sshkey attached will have the password in vm details. If the vm does not have ssh keypair, then the vm password will not saved into user_vm_details. Actually the vm password should be synced between master and backup. Saving to only one of them or saving to both of them are not working fine. for example, if we save password in master, but not save it in backup. Once the master is down, then vm cannot get password from backup vr. another example is, if we save password on both of master and backup, if vm get the password from master and reset it, once the master is down (or master->backup switch) and we reboot vm later, the vm will get the old password from backup again.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---