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 ED80AD683 for ; Tue, 5 Mar 2013 01:23:47 +0000 (UTC) Received: (qmail 57429 invoked by uid 500); 5 Mar 2013 01:23:47 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 57394 invoked by uid 500); 5 Mar 2013 01:23:47 -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 Received: (qmail 57386 invoked by uid 99); 5 Mar 2013 01:23:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 01:23:47 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Alex.Huang@citrix.com designates 66.165.176.63 as permitted sender) Received: from [66.165.176.63] (HELO SMTP02.CITRIX.COM) (66.165.176.63) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 01:23:41 +0000 X-IronPort-AV: E=Sophos;i="4.84,784,1355097600"; d="scan'208";a="10547160" Received: from sjcpmailmx02.citrite.net ([10.216.14.75]) by FTLPIPO02.CITRIX.COM with ESMTP/TLS/RC4-MD5; 05 Mar 2013 01:23:19 +0000 Received: from SJCPMAILBOX01.citrite.net ([10.216.4.72]) by SJCPMAILMX02.citrite.net ([10.216.14.75]) with mapi; Mon, 4 Mar 2013 17:23:19 -0800 From: Alex Huang To: "cloudstack-dev@incubator.apache.org" Date: Mon, 4 Mar 2013 17:23:22 -0800 Subject: RE: issue with 4.1 Thread-Topic: issue with 4.1 Thread-Index: Ac4ZJTOl7r3jcu0qTU698WxSOW/N6gAAaBnQAAZHFMA= Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org +1. Will be changed in 4.2. Didn't make it into 4.1 to disable to autoupg= rade. --Alex > -----Original Message----- > From: Edison Su [mailto:Edison.su@citrix.com] > Sent: Monday, March 4, 2013 2:24 PM > To: cloudstack-dev@incubator.apache.org > Subject: RE: issue with 4.1 >=20 > I even think db upgrade should be separated from mgt server. >=20 > > -----Original Message----- > > From: Chiradeep Vittal [mailto:Chiradeep.Vittal@citrix.com] > > Sent: Monday, March 04, 2013 2:11 PM > > To: cloudstack-dev@incubator.apache.org > > Subject: Re: issue with 4.1 > > > > +1 (again) > > > > On 3/4/13 1:06 PM, "Alex Huang" wrote: > > > > >+1. It does not belong to the management server. > > > > > >--Alex > > > > > >> -----Original Message----- > > >> From: John Burwell [mailto:jburwell@basho.com] > > >> Sent: Monday, March 4, 2013 8:13 AM > > >> To: cloudstack-dev@incubator.apache.org > > >> Subject: Re: issue with 4.1 > > >> > > >> Chip, > > >> > > >> My recommendation in the ticket is to extract the script from the > > >>management server to a external script provided as a connivence to > > >>end users. If we encounter a situation where a certificate is not > > >>present, provide a meaningful error message in the logs and exit. > > >>If a user needs help generating an SSL certificate, they can use > > >>execute the script with the appropriate parameters. Otherwise, > > >>they will generate/procure one through external means. > > >> > > >> Thanks, > > >> -John > > >> > > >> On Mar 4, 2013, at 10:59 AM, Chip Childers > > >> > > >> wrote: > > >> > > >> > On Mon, Mar 04, 2013 at 08:51:03AM -0700, Marcus Sorensen wrote: > > >> >> There's a bug for this, I think it's related to passwordless > > >> >> sudo for cloud user on management server. > > >> > > > >> > Is this the one? > > >> > > > >> > https://issues.apache.org/jira/browse/CLOUDSTACK-1389 > > >> > > > >> >> > > >> >> On Mon, Mar 4, 2013 at 6:52 AM, Sebastien Goasguen > > >> wrote: > > >> >>> Hi I am trying to test the latest 4.1 (and 4.1l10n branch). > > >> >>> > > >> >>> I am on OSX 10.8.2, I had to update to JDK 1.7 to get things goi= ng. > > >> >>> > > >> >>> and after a 'clean install' I get stuck with: > > >> >>> > > >> >>> Password:WARN [utils.script.Script] (Script-1:) Interrupting > > >>script. > > >> >>> WARN [utils.script.Script] (Timer-2:) Timed out: sudo keytool > > >>-genkey - > > >> keystore /Users/sebastiengoasguen/Documents/incubator- > > >> cloudstack/client/target/cloud-client-ui-4.1.0-SNAPSHOT/WEB- > > >> INF/classes/cloud.keystore -storepass vmops.com -keypass vmops.com > > >>- keyalg RSA -validity 3650 -dname cn=3D"Cloudstack > > >>User",ou=3D"168.1.20",o=3D"168.1.20",c=3D"Unknown" . Output is: > > >> >>> WARN [cloud.server.ConfigurationServerImpl] (Timer-2:) Would > > >> >>> use > > >> fail-safe keystore to continue. > > >> >>> java.io.IOException: Fail to generate certificate!: timeout > > >> >>> at > > >> > > com.cloud.server.ConfigurationServerImpl.generateDefaultKeystore(Conf > > >> ig > > >> urationServerImpl.java:491) > > >> >>> at > > >> > > com.cloud.server.ConfigurationServerImpl.updateSSLKeystore(Configurat > > >> io > > >> nServerImpl.java:512) > > >> >>> at > > >> > > >>com.cloud.server.ConfigurationServerImpl.persistDefaultValues(Config > > >>ur > > >>ati > > >> onServerImpl.java:269) > > >> >>> at > > >> com.cloud.server.ConfigurationServerImpl.configure(ConfigurationSer > > >> ve > > >> rIm > > >> pl.java:143) > > >> >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > >>Method) > > >> >>> at > > >> > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > > >> j > > >> ava:57) > > >> >>> at > > >> > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > > >> sorImpl.java:43) > > >> >>> at java.lang.reflect.Method.invoke(Method.java:601) > > >> >>> at > > >> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflec > > >> ti > > >> on( > > >> AopUtils.java:319) > > >> >>> at > > >> > > > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo > > >> i > > >> npoint(ReflectiveMethodInvocation.java:183) > > >> >>> at > > >> > > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( > > >> ReflectiveMethodInvocation.java:150) > > >> >>> at > > >> > > org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.p > > >> r > > >> oceed(MethodInvocationProceedingJoinPoint.java:80) > > >> >>> at > > >> > > com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(Transact > > >> io > > >> nContextBuilder.java:37) > > >> >>> at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown > > >> Source) > > >> >>> at > > >> > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > > >> sorImpl.java:43) > > >> >>> at java.lang.reflect.Method.invoke(Method.java:601) > > >> >>> at > > >> > > org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMet > > >> h > > >> odWithGivenArgs(AbstractAspectJAdvice.java:621) > > >> >>> at > > >> > > org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMet > > >> h > > >> od(AbstractAspectJAdvice.java:610) > > >> >>> at > > >> > > > org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAro > > >> u > > >> ndAdvice.java:65) > > >> >>> at > > >> > > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( > > >> ReflectiveMethodInvocation.java:172) > > >> >>> at > > >> org.springframework.aop.interceptor.ExposeInvocationInterceptor.inv > > >> ok > > >> e(E > > >> xposeInvocationInterceptor.java:90) > > >> >>> at > > >> > > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( > > >> ReflectiveMethodInvocation.java:172) > > >> >>> at > > >> > > > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDyna > > >> micAopProxy.java:202) > > >> >>> at $Proxy388.configure(Unknown Source) > > >> >>> at > > >> > > > com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(Co > > >> mponentContext.java:110) > > >> >>> at > > >> com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java= : > > >> 50) > > >> >>> at java.util.TimerThread.mainLoop(Timer.java:555) > > >> >>> at java.util.TimerThread.run(Timer.java:505) > > >> >>> INFO [cloud.server.ConfigurationServerImpl] (Timer-2:) > > >> >>> Processing updateKeyPairs INFO > > >> >>> [cloud.server.ConfigurationServerImpl] > > >> >>> (Timer-2:) Keypairs already in database INFO > > >> >>> [cloud.server.ConfigurationServerImpl] (Timer-2:) Keypairs > > >> >>> already in database, skip updating local copy (not running as > > >> >>> cloud user) INFO [cloud.server.ConfigurationServerImpl] > > >> >>> (Timer-2:) Going to update systemvm iso with generated keypairs > > >> >>> if needed > > >> >>> Password: > > >> >>> > > >> >>> ? > > >> >>> > > >> >>> -sebastien > > >> >> > > >