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 ED017D6C0 for ; Wed, 6 Feb 2013 05:59:36 +0000 (UTC) Received: (qmail 390 invoked by uid 500); 6 Feb 2013 05:59:35 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 334 invoked by uid 500); 6 Feb 2013 05:59:35 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 325 invoked by uid 99); 6 Feb 2013 05:59:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Feb 2013 05:59:34 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of shadowsor@gmail.com designates 209.85.220.182 as permitted sender) Received: from [209.85.220.182] (HELO mail-vc0-f182.google.com) (209.85.220.182) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Feb 2013 05:59:28 +0000 Received: by mail-vc0-f182.google.com with SMTP id fl17so620744vcb.13 for ; Tue, 05 Feb 2013 21:59:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=6qFKGWKtZ5/+D+KEiTnyBDDdPOI4fOEV+/amca0UK+A=; b=mADU9JZO/z82H2RR2IeALKqyO38majA+0LR32C9RQH66rBWygpoMxWs5AXQ0hKqPQs OCluwWFNlCgdeRO2gTVXnQ/QEaI5AQEYvwhbY6fXmwHs1SYwhpWy+ZC/rMTEYcfY2YxR hQ2F0eJ9L7eJ1yLAT3AsJChlVaodCjmssHhPYQT1/+lqah18kD4etLIsw9s8f5FlTzeG JJ/ZMNKFILERg01+TESJO8LOvyWqqEDotpCho3KSlBqL3TwtpVpg4NBz0YmGhEH5+wmR +6q3QyWePzG+4Oae6FsWdYUm/Q8ccpHELYQB+4F/t+H/3DLuGVlujLoLs6MZ9KAnfDFw kNMw== MIME-Version: 1.0 X-Received: by 10.58.19.232 with SMTP id i8mr27168606vee.53.1360130347836; Tue, 05 Feb 2013 21:59:07 -0800 (PST) Received: by 10.58.172.34 with HTTP; Tue, 5 Feb 2013 21:59:07 -0800 (PST) In-Reply-To: <4FCA39B99132DA4EA70BE3CE408C193D0119F0C6A54B@BANPMAILBOX01.citrite.net> References: <4FCA39B99132DA4EA70BE3CE408C193D0119F0C6A54B@BANPMAILBOX01.citrite.net> Date: Tue, 5 Feb 2013 22:59:07 -0700 Message-ID: Subject: Re: [ACS41][QA]Issues observed with 4.1 From: Marcus Sorensen To: Sailaja Mada Cc: Kelven Yang , Alex Huang , "cloudstack-dev@incubator.apache.org" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Ok. Mine is CLOUDSTACK-1168. I've marked mine as a duplicate, it's got the link to the patch and an explanation of what's going on. On Tue, Feb 5, 2013 at 10:52 PM, Sailaja Mada wro= te: > Hi Marcus, > > I have opened a ticket for NPE issue while creating firewall yesterday @ = CLOUDSTACK-1163- Failed with NPE while creating firewall rule > > Thanks, > Sailaja.M > > -----Original Message----- > From: Marcus Sorensen [mailto:shadowsor@gmail.com] > Sent: Wednesday, February 06, 2013 11:17 AM > To: Kelven Yang > Cc: Alex Huang; cloudstack-dev@incubator.apache.org > Subject: Re: [ACS41][QA]Issues observed with 4.1 > > I opened a case for #5. I also supplied a patch on reviewboard for it, wh= ich I'll apply if I don't get any feedback. It looks like createFirewallRul= e got split into createIngressFirewallRule and createEgressFirewallRule, an= d they now call a function that has returned null since before 4.0 > > #6 I've got another (which I've also created a case for, but since I thin= k it might be related to spring or a very recent commit I'm bringing it up = here). ConsoleProxy doesn't seem to work, I see this in the cloud log on th= e system vm: > > java -Djavax.net.ssl.trustStore=3D./certs/realhostip.keystore -Xmx512m -c= p ./:./conf:aopalliance-1.0.jar:apache-log4j-extras-1.1.jar:aspectjrt-1.7.1= .jar:aspectjweaver-1.7.1.jar:aws-java-sdk-1.3.21.1.jar:backport-util-concur= rent-3.1.jar:bcprov-jdk16-1.46.jar:cglib-nodep-2.2.2.jar:cloud-agent-4.1.0-= SNAPSHOT.jar:cloud-api-4.1.0-SNAPSHOT.jar:cloud-console-proxy-4.1.0-SNAPSHO= T.jar:cloud-core-4.1.0-SNAPSHOT.jar:cloud-utils-4.1.0-SNAPSHOT.jar:commons-= codec-1.6.jar:commons-collections-3.2.1.jar:commons-configuration-1.8.jar:c= ommons-dbcp-1.4.jar:commons-discovery-0.5.jar:commons-httpclient-3.1.jar:co= mmons-lang-2.6.jar:commons-logging-1.1.1.jar:commons-pool-1.6.jar:dom4j-1.6= .1.jar:ehcache-1.5.0.jar:ejb-api-3.0.jar:gson-1.7.1.jar:guava-14.0-rc1.jar:= httpclient-4.1.jar:httpcore-4.1.jar:jackson-core-asl-1.8.9.jar:jackson-mapp= er-asl-1.8.9.jar:jasypt-1.9.0.jar:java-ipv6-0.8.jar:javassist-3.12.1.GA.jar= :javax.inject-1.jar:javax.persistence-2.0.0.jar:jsch-0.1.42.jar:jsr107cache= -1.0.jar:log4j-1.2.16.jar:reflections-0.9.8.jar:spring-aop-3.1.2.RELEASE.ja= r:spring-asm-3.1.2.RELEASE.jar:spring-beans-3.1.2.RELEASE.jar:spring-contex= t-3.1.2.RELEASE.jar:spring-core-3.1.2.RELEASE.jar:spring-expression-3.1.2.R= ELEASE.jar:spring-web-3.1.2.RELEASE.jar:trilead-ssh2-build213-svnkit-1.3-pa= tch.jar:xml-apis-1.0.b2.jar > com.cloud.agent.AgentShell template=3DdomP type=3Dconsoleproxy > host=3D172.17.10.10 port=3D8250 name=3Dv-10-VM premium=3Dtrue zone=3D1 po= d=3D1 > guid=3DProxy.10 proxy_vm=3D10 disable_rp_filter=3Dtrue > eth2ip=3D192.168.100.106 eth2mask=3D255.255.255.0 gateway=3D192.168.100.1 > eth0ip=3D169.254.0.119 eth0mask=3D255.255.0.0 eth1ip=3D172.17.10.104 > eth1mask=3D255.255.255.0 mgmtcidr=3D192.168.100.0/24 localgw=3D172.17.10.= 1 > internaldns1=3D8.8.4.4 dns1=3D8.8.8.8 > log4j:WARN No appenders could be found for logger (org.apache.commons.htt= pclient.params.DefaultHttpParams). > log4j:WARN Please initialize the log4j system properly. > log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig > for more info. > Unable to start agent: Instantiation excetion when loading resource: > com.cloud.agent.resource.consoleproxy.ConsoleProxyResource due to: > java.lang.InstantiationException > > #7 Also the KVM agent doesn't seem to be logging anymore, probably someth= ing related to the 'No appenders could be found for logger' > > On Tue, Feb 5, 2013 at 10:33 PM, Kelven Yang wro= te: >> Sure. >> >> I tested in my local setup, you can actually use -Xmx512m settings to >> run it. I'll look at the memory footprint issue together with the an >> improvement effort to speed up management server startup time. With >> Spring auto-component-scan turned on in a global scope, in a huge >> system like CloudStack, it is just taking too long to start it up. >> >> Kelven >> >> On 2/5/13 9:19 PM, "Alex Huang" wrote: >> >>>Kelven, >>> >>>This needs to be a priority. Spring with just aop and di shouldn't be >>>that huge. Something is wrong here. >>> >>>--Alex >>> >>>> -----Original Message----- >>>> From: Kelven Yang [mailto:kelven.yang@citrix.com] >>>> Sent: Monday, February 04, 2013 5:57 PM >>>> To: cloudstack-dev@incubator.apache.org >>>> Subject: Re: [ACS41][QA]Issues observed with 4.1 >>>> >>>> Spring jars add up to make it cross the threshold line. I'm not sure >>>>how much it has added, there are some tuning work to find a good >>>>number here. >>>> >>>> Kelven >>>> >>>> >>>> On 2/4/13 5:42 PM, "Chiradeep Vittal" >>>>wrote: >>>> >>>> >Kelven, what is the reason for the huge increase in required memory? >>>> > >>>> >On 2/4/13 5:22 PM, "Kelven Yang" wrote: >>>> > >>>> >>The JVM memory setting I gave after Javelin merge may be too >>>>aggressive >>>> >>if >>>> >>you are running management server inside a VM. >>>> >>-XX:MaxPermSize=3D512m >>>> is >>>> >>for >>>> >>the fact that we have so many java classes (it might work in 256m >>>> >>configuration I think) and -Xmx2g is for the total heap (2G), >>>> >>almost >>>>the >>>> >>maximum for a 32-bit process, if you are running inside a VM and >>>> >>don't have much management server load, you may try out with 1G of >>>> >>heap >>>>size. >>>> >> >>>> >> >>>> >>Kelven >>>> >> >>>> >>On 2/4/13 3:44 PM, "Ryan Dietrich" wrote: >>>> >> >>>> >>>Actually, the build reported success with no errors! I ended up >>>> >>>blowing >>>> >>>away my entire cloudstack vm and started over. Things seem to be >>>> >>>working now. >>>> >>>I actually run the management server ON devcloud itself, so the >>>> >>>new memory requirements required me to up my settings (i.e.: >>>> >>>export MAVEN_OPTS=3D"-XX:MaxPermSize=3D512m -Xmx2g") >>>> >>> >>>> >>>/boot/grub/grub.cfg >>>> >>> >>>> >>>I upped my xen "dom0_mem" so I could get a little more base memory. >>>>I >>>> >>>was swapping quite badly when trying to launch jetty, and got >>>> >>>memory errors along the way. >>>> >>> >>>> >>>-Ryan Dietrich >>>> >>> >>>> >>>On Feb 4, 2013, at 3:00 PM, Kelven Yang >>>>wrote: >>>> >>> >>>> >>>> It looks like your first command was actually failed to execute? >>>> >>>> com.cloud.upgrade.DatabaseCreator is packaged in the artifact >>>> >>>> from >>>> the >>>> >>>> first command. >>>> >>>> >>>> >>>> >>>> >>>> Kelven >>>> >>>> >>>> >>>> >>>> >>>> On 2/4/13 9:20 AM, "Ryan Dietrich" wrote= : >>>> >>>> >>>> >>>>> After a pull on the master branch, I am unable to deploy the >>>> >>>>>database. >>>> >>>>> >>>> >>>>> I ran: >>>> >>>>> mvn -P developer,systemvm clean install >>>> >>>>> Then: >>>> >>>>> mvn -P developer -pl developer,tools/devcloud -Ddeploydb I >>>> >>>>>got: >>>> >>>>> java.lang.ClassNotFoundException: >>>> >>>>>com.cloud.upgrade.DatabaseCreator >>>> >>>>> >>>> >>>>> >>>> >>>>> On Feb 4, 2013, at 9:40 AM, Sailaja Mada >>>> >>>>> >>>> >>>>>wrote: >>>> >>>>> >>>> >>>>>> Hi, >>>> >>>>>> >>>> >>>>>> These are the observations with 4.1 master branch dev >>>> >>>>>>environment today . >>>> >>>>> >>>> >>>> >>>> >>> >>>> >> >>>> > >>> >>