Re: Password has been reset to undefined

2013-02-14 Thread Min Chen
Filed a JIRA issue for this: https://issues.apache.org/jira/browse/CLOUDSTACK-1277. Fix has been checked into 4.1 (Commit 07ce770e9711ab5ddfc9382129b35c96aadc7846) and ported to master. Thanks -min On 2/14/13 10:48 AM, "Min Chen" wrote: >I found the problem for this. The reason is that in User

Re: Password has been reset to undefined

2013-02-14 Thread Min Chen
I found the problem for this. The reason is that in UserVmVO class, "password" is defined as "transit", so it is not stored in Database. When we use id to find this user vm from user_vm_view, the password set from reset routine internally is lost. I will file a defect on this and provide a fix toda

Re: Password has been reset to undefined

2013-02-14 Thread Sinisa Denic
Sorry I forgot to set cs-dev mailing list in cc in my previous post so other users can see. I will repeat: In order to get password on UI after reset password for virtualmachine in CS4.1.0-SNAPSHOT I had to made this modification: --- a/api/src/org/apache/cloudstack/api/command/user/vm/ResetVM

Re: Password has been reset to undefined

2013-02-14 Thread Rohit Yadav
Hi Sinisa, thanks for reporting this. Please file this issue on JIRA. But AFAIK the response generator is supposed to create the response, the cmd api class should not add the password. I don't remember if it was an issue, let's ask Min as she did a lot of the response generating stuff. Hi Min, ca

Re: "Password has been reset to undefined"

2013-02-06 Thread Sinisa Denic
garding CS4.1.0-Snapshot.. Any clue? Thank you - Original Message - From: "Marcus Sorensen" To: "Sinisa Denic" Cc: cloudstack-dev@incubator.apache.org Sent: Monday, February 4, 2013 11:04:13 PM Subject: Re: "Password has been reset to undefined" It

Re: "Password has been reset to undefined"

2013-02-04 Thread Sinisa Denic
t: Re: "Password has been reset to undefined" It uses http query of the virtual router. But it does it on boot up. Otherwise you have this nasty service polling the router all of the time on the guest, and the last thing we want is to run services on your VM. Even the init script in itsel

Re: "Password has been reset to undefined"

2013-02-04 Thread Marcus Sorensen
It uses http query of the virtual router. But it does it on boot up. Otherwise you have this nasty service polling the router all of the time on the guest, and the last thing we want is to run services on your VM. Even the init script in itself is perhaps going too far for what cloudstack should pr

Re: Password has been reset to undefined

2013-02-03 Thread Marcus Sorensen
I can't comment on the 'undefined' part, but the idea is that cloud-set-guest-password runs when the VM starts. Therefore, you stop the instance, run the password reset, that pushes the new password to the virtual router on that network, then when the VM comes up, cloud-set-guest-password checks wi