[
https://issues.apache.org/jira/browse/CLOUDSTACK-9727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15906883#comment-15906883
]
ASF GitHub Bot commented on CLOUDSTACK-9727:
--------------------------------------------
Github user bvbharatk commented on the issue:
https://github.com/apache/cloudstack/pull/1965
@ustcweizhou
Hi we are not saving the password to the router. we are saving the password
in the VM details. When the VM starts we send the password to the router.
Password reset cannot be called when the VM is running.
We save the password in the VM details if one of the routers is not running
in case of rvr network. Even if the master went down and Backup came up at the
time of userVM start, we will serve the correct password as we are saving it.
> Password reset discrepancy in RVR when one of the Router is not in Running
> state.
> ---------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-9727
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9727
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Affects Versions: 4.9.0
> Reporter: Bharat Kumar
> Assignee: Bharat Kumar
> Fix For: 4.9.2.0
>
>
> - Deploy an instance and place " cloud-set-guest-password " script in the
> /etc/init.d location and provide the executable permission.
> - Create a template from the above VM.
> - Create a new network offering with RVR enabled.
> - Deploy a new VM from the above created template and select the above RVR
> offering.
> - Ensure that the password script is sucessfuly running.
> - Put the backup router in stopped state and ensure only master is running.
> - Now stop the VM and and Reset the password.
> - DO not start the VM , Now Stop the current Master and start the Back up.
> - Now the Back Up would be the Master. Now start the VM.
> Observations:
> - The password is saved onto only Master which is in stopped state now or
> either in backup if we start it.
> - The current Master which was back up earlier do not have the new password.
> Hence user cannot now login with the new password.
> - In this scenario there is disperancy in the password stored on both the
> RVR's.
> The only way to sync both the passwords now is , ensure both the RVR are
> running and reset the password on VM.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)