Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4DAF811E07 for ; Thu, 4 Sep 2014 10:02:40 +0000 (UTC) Received: (qmail 52052 invoked by uid 500); 4 Sep 2014 10:02:39 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 52004 invoked by uid 500); 4 Sep 2014 10:02:39 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 51987 invoked by uid 99); 4 Sep 2014 10:02:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2014 10:02:39 +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 trippie@gmail.com designates 74.125.82.171 as permitted sender) Received: from [74.125.82.171] (HELO mail-we0-f171.google.com) (74.125.82.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2014 10:02:13 +0000 Received: by mail-we0-f171.google.com with SMTP id u56so10033930wes.2 for ; Thu, 04 Sep 2014 03:02:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:content-type:mime-version:subject:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ReC+jVXSc14cpUJ4StCKtxYQc2s+H9WKOJkWT1DtBv4=; b=lWgslmuoIcpHrUucrFBiYnMh2ZLLWyq3n+GfQRvFx1f95yXQJQD7K1YPDiZTjy6UJp Szp1VYeq4QCjSsG95ZJm/d2PjMQEfm7QcNP6GR1vIqMYbO+hPSzsPdM16+QGHjRxnbGX MNKBV+2Bfyx9UdRbQK4aRpRbiwp2xKwEToDe8hDIICA2d5C95EKKuPOZ7uG7efTpi+GQ 4syc+4F8/NHcWAFBGOHzDkmY5YiX6QHyCCy5HfXBpWn7LGAGXliD4XoHnXc+YQYRL5ae OENxnf6Asid8h85mYoHaL1tgHBkCniAvOHsnABuSuxOZNyDZO22+et1LZdn6zcDus0v2 1wcw== X-Received: by 10.194.90.233 with SMTP id bz9mr4758140wjb.94.1409824932578; Thu, 04 Sep 2014 03:02:12 -0700 (PDT) Received: from [10.10.1.190] ([95.142.96.53]) by mx.google.com with ESMTPSA id t9sm18805778wjf.41.2014.09.04.03.02.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 04 Sep 2014 03:02:11 -0700 (PDT) Sender: Trippie From: Hugo Trippaers X-Google-Original-From: Hugo Trippaers Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: SSVM JAVA PROCESS NOT RUNNING, systemvm didn't get patched with the agent specific code In-Reply-To: Date: Thu, 4 Sep 2014 12:02:08 +0200 Cc: Nitin.Mehta@citrix.com Content-Transfer-Encoding: quoted-printable Message-Id: <3B3E7923-920F-41DF-B12E-5CBA45050D8C@GMAIL.com> References: To: dev@cloudstack.apache.org X-Mailer: Apple Mail (2.1878.6) X-Virus-Checked: Checked by ClamAV on apache.org Punith, You need to enable the systemvm flag in cloudstack to make sure a new = systemvm.iso is build. mvn -Dnoredist -Psystemvm clean install Cheers, Hugo On 4 sep. 2014, at 11:27, Punith S wrote: > hi, >=20 > i have been working on building noredist of master for vmware, >=20 > since i'm using mvn commands and jetty for deploying cloudstack >=20 > i'm building the cloudstack using > $ mvn clean > $ mvn install -Dnoredist >=20 > deploying using $ mvn -pl :cloud-client-ui jetty:run -Dnoredist >=20 > also i'm seeding the SSVM template by using > as the link suggests > = https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+CloudS= tack >=20 > # mkdir -p /etc/cloudstack/management/ > # cp = ./client/target/cloud-client-ui-4.5.0-SNAPSHOT/WEB-INF/classes/db.properti= es > /etc/cloudstack/management/ > # > = ./client/target/generated-webapp/WEB-INF/classes/scripts/storage/secondary= /cloud-install-sys-tmplt > -m /mnt/secondary -u http:// > = jenkins.buildacloud.org/view/master/job/build-systemvm-master/lastSuccessf= ulBuild/artifact/tools/appliance/dist/systemvmtemplate-master-vmware.ova > -h vmware -F >=20 > when i deploy a vmware zone,everything come up fine but the systemvm's > agent is not running! >=20 > when i log into the ssvm,* i see 4.4.SNAPSHOT jars being patched in = the > /use/local/cloud/ssvm* >=20 > hence the java process is not running > logs show > 2014-09-04 09:20:24,760 INFO [cloud.agent.AgentShell] (main:null) = Agent > started > 2014-09-04 09:20:24,764 INFO [cloud.agent.AgentShell] (main:null) > Implementation Version is 4.4.0-SNAPSHOT > 2014-09-04 09:20:24,765 INFO [cloud.agent.AgentShell] (main:null) > agent.properties found at = /usr/local/cloud/systemvm/conf/agent.properties > 2014-09-04 09:20:24,772 DEBUG [cloud.agent.AgentShell] (main:null) = Found > property: instance > 2014-09-04 09:20:24,774 DEBUG [cloud.agent.AgentShell] (main:null) = Found > property: resource > 2014-09-04 09:20:24,774 INFO [cloud.agent.AgentShell] (main:null) > Defaulting to using properties file for storage > 2014-09-04 09:20:24,781 INFO [cloud.agent.AgentShell] (main:null) > Defaulting to the constant time backoff algorithm > 2014-09-04 09:20:24,801 INFO [cloud.utils.LogUtils] (main:null) log4j > configuration found at /usr/local/cloud/systemvm/conf/log4j-cloud.xml > 2014-09-04 09:20:24,825 DEBUG [cloud.agent.AgentShell] (main:null) = Checking > to see if agent.SecStorage.pid exists. > 2014-09-04 09:20:24,828 DEBUG [cloud.utils.ProcessUtil] (main:null) > environment.properties could not be opened > 2014-09-04 09:20:24,836 DEBUG [cloud.utils.ProcessUtil] (main:null) > Executing: bash -c echo $PPID > 2014-09-04 09:20:24,844 DEBUG [cloud.utils.ProcessUtil] (main:null) > Execution is successful. > *2014-09-04 09:20:24,853 ERROR [cloud.agent.AgentShell] (main:null) = Unable > to start agent: Resource class not found: > com.cloud.storage.resource.PremiumSecondaryStorageResource due to: > java.lang.ClassNotFoundException: > com.cloud.storage.resource.PremiumSecondaryStorageResource* >=20 > i'm guessing there was no patch up between agent specific code ! > am i missing out something here ? >=20 > thanks! > --=20 > regards, >=20 > punith s > cloudbyte.com