Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B66F3D8E6 for ; Thu, 14 Feb 2013 12:03:05 +0000 (UTC) Received: (qmail 72345 invoked by uid 500); 14 Feb 2013 12:03:05 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 72306 invoked by uid 500); 14 Feb 2013 12:03:05 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Delivered-To: moderator for cloudstack-dev@incubator.apache.org Received: (qmail 45222 invoked by uid 99); 14 Feb 2013 10:08:43 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sdenic@peacebellservers.com designates 46.22.146.98 as permitted sender) X-Virus-Scanned: amavisd-new at peacebellservers.com Date: Thu, 14 Feb 2013 11:06:50 +0100 (CET) From: Sinisa Denic To: shadowsor@gmail.com, bhaisaab@apache.org Cc: cloudstack-dev@incubator.apache.org Message-ID: <22428221.38.1360836485764.JavaMail.Sinisa@T61> In-Reply-To: <30208173.37.1360796767644.JavaMail.Sinisa@T61> Subject: Re: Password has been reset to undefined MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [178.222.114.91] X-Mailer: Zimbra 7.2.0_GA_2669 (Zimbra Desktop/7.2.1_11637_Windows) X-Virus-Checked: Checked by ClamAV on apache.org 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/ResetVMPasswordCmd.java +++ b/api/src/org/apache/cloudstack/api/command/user/vm/ResetVMPasswordCmd.java @@ -114,6 +114,7 @@ public class ResetVMPasswordCmd extends BaseAsyncCmd { if (result != null){ UserVmResponse response = _responseGenerator.createUserVmResponse("virtualmachine", result).get(0); response.setResponseName(getCommandName()); + response.setPassword(password); this.setResponseObject(response); } else { throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to reset vm password"); Do you maybe know where the problem could reside,as I spent a few days on it :(?