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 C835ED6A8 for ; Wed, 6 Feb 2013 05:52:46 +0000 (UTC) Received: (qmail 82917 invoked by uid 500); 6 Feb 2013 05:52:46 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 82699 invoked by uid 500); 6 Feb 2013 05:52:45 -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 82670 invoked by uid 99); 6 Feb 2013 05:52:44 -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:52:44 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sailaja.mada@citrix.com designates 203.166.19.134 as permitted sender) Received: from [203.166.19.134] (HELO SMTP.CITRIX.COM.AU) (203.166.19.134) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Feb 2013 05:52:38 +0000 X-IronPort-AV: E=Sophos;i="4.84,613,1355097600"; d="scan'208";a="711045" Received: from banpmailmx02.citrite.net ([10.103.128.74]) by SYDPIPO01.CITRIX.COM.AU with ESMTP/TLS/RC4-MD5; 06 Feb 2013 05:52:11 +0000 Received: from BANPMAILBOX01.citrite.net ([10.103.128.71]) by BANPMAILMX02.citrite.net ([10.103.128.74]) with mapi; Wed, 6 Feb 2013 11:22:09 +0530 From: Sailaja Mada To: Marcus Sorensen , Kelven Yang CC: Alex Huang , "cloudstack-dev@incubator.apache.org" Date: Wed, 6 Feb 2013 11:22:08 +0530 Subject: RE: [ACS41][QA]Issues observed with 4.1 Thread-Topic: [ACS41][QA]Issues observed with 4.1 Thread-Index: Ac4ELXYlHpMdo7X3R5iv/ZzpJUKbAwAAHqAQ Message-ID: <4FCA39B99132DA4EA70BE3CE408C193D0119F0C6A54B@BANPMAILBOX01.citrite.net> 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 Hi Marcus, I have opened a ticket for NPE issue while creating firewall yesterday @ CL= OUDSTACK-1163- Failed with NPE while creating firewall rule Thanks, Sailaja.M -----Original Message----- From: Marcus Sorensen [mailto:shadowsor@gmail.com]=20 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, whic= h I'll apply if I don't get any feedback. It looks like createFirewallRule = got split into createIngressFirewallRule and createEgressFirewallRule, and = 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 think = it might be related to spring or a very recent commit I'm bringing it up he= re). ConsoleProxy doesn't seem to work, I see this in the cloud log on the = system vm: java -Djavax.net.ssl.trustStore=3D./certs/realhostip.keystore -Xmx512m -cp = ./:./conf:aopalliance-1.0.jar:apache-log4j-extras-1.1.jar:aspectjrt-1.7.1.j= ar:aspectjweaver-1.7.1.jar:aws-java-sdk-1.3.21.1.jar:backport-util-concurre= nt-3.1.jar:bcprov-jdk16-1.46.jar:cglib-nodep-2.2.2.jar:cloud-agent-4.1.0-SN= APSHOT.jar:cloud-api-4.1.0-SNAPSHOT.jar:cloud-console-proxy-4.1.0-SNAPSHOT.= jar:cloud-core-4.1.0-SNAPSHOT.jar:cloud-utils-4.1.0-SNAPSHOT.jar:commons-co= dec-1.6.jar:commons-collections-3.2.1.jar:commons-configuration-1.8.jar:com= mons-dbcp-1.4.jar:commons-discovery-0.5.jar:commons-httpclient-3.1.jar:comm= ons-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:ht= tpclient-4.1.jar:httpcore-4.1.jar:jackson-core-asl-1.8.9.jar:jackson-mapper= -asl-1.8.9.jar:jasypt-1.9.0.jar:java-ipv6-0.8.jar:javassist-3.12.1.GA.jar:j= avax.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.jar:= spring-asm-3.1.2.RELEASE.jar:spring-beans-3.1.2.RELEASE.jar:spring-context-= 3.1.2.RELEASE.jar:spring-core-3.1.2.RELEASE.jar:spring-expression-3.1.2.REL= EASE.jar:spring-web-3.1.2.RELEASE.jar:trilead-ssh2-build213-svnkit-1.3-patc= h.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 pod= =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.httpc= lient.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 somethin= g related to the 'No appenders could be found for logger' On Tue, Feb 5, 2013 at 10:33 PM, Kelven Yang wrote= : > Sure. > > I tested in my local setup, you can actually use -Xmx512m settings to=20 > run it. I'll look at the memory footprint issue together with the an=20 > improvement effort to speed up management server startup time. With=20 > Spring auto-component-scan turned on in a global scope, in a huge=20 > 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=20 >>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=20 >>>how much it has added, there are some tuning work to find a good=20 >>>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.=20 >>> >>-XX:MaxPermSize=3D512m >>> is >>> >>for >>> >>the fact that we have so many java classes (it might work in 256m=20 >>> >>configuration I think) and -Xmx2g is for the total heap (2G),=20 >>> >>almost >>>the >>> >>maximum for a 32-bit process, if you are running inside a VM and=20 >>> >>don't have much management server load, you may try out with 1G of=20 >>> >>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=20 >>> >>>new memory requirements required me to up my settings (i.e.:=20 >>> >>>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=20 >>> >>>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=20 >>> >>>> 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=20 >>> >>>>>database. >>> >>>>> >>> >>>>> I ran: >>> >>>>> mvn -P developer,systemvm clean install >>> >>>>> Then: >>> >>>>> mvn -P developer -pl developer,tools/devcloud -Ddeploydb I=20 >>> >>>>>got: >>> >>>>> java.lang.ClassNotFoundException: >>> >>>>>com.cloud.upgrade.DatabaseCreator >>> >>>>> >>> >>>>> >>> >>>>> On Feb 4, 2013, at 9:40 AM, Sailaja Mada=20 >>> >>>>> >>> >>>>>wrote: >>> >>>>> >>> >>>>>> Hi, >>> >>>>>> >>> >>>>>> These are the observations with 4.1 master branch dev=20 >>> >>>>>>environment today . >>> >>>>> >>> >>>> >>> >>> >>> >> >>> > >> >