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 0BB8A11CDB for ; Thu, 4 Sep 2014 09:28:15 +0000 (UTC) Received: (qmail 69494 invoked by uid 500); 4 Sep 2014 09:28:11 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 69456 invoked by uid 500); 4 Sep 2014 09:28:11 -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 69438 invoked by uid 99); 4 Sep 2014 09:28:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2014 09:28:11 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of punith.s@cloudbyte.com designates 209.85.220.176 as permitted sender) Received: from [209.85.220.176] (HELO mail-vc0-f176.google.com) (209.85.220.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2014 09:28:07 +0000 Received: by mail-vc0-f176.google.com with SMTP id ik5so10169162vcb.21 for ; Thu, 04 Sep 2014 02:27:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to:cc :content-type; bh=GOCKPB5unB9fwCPbPIjU1Gjgc78wT/5YPvmxwANVlzQ=; b=TqytERAVYZH/W9yBPqgytbMTtIlUGdXN4niwkmmX1SnwquHrNbfOtNj868RJ0+ApQ/ 5M8JUUHiHjD3pbSzoBuw0GaxJBbUCtGVtiLD9meGXEKutppxeydbg4lqoZrkq5UooKlt PF2EM152o9c3LCVe7Pvb5kBb80CivcI2olBXH30BDB4hmiZe9SRifR6CGDb6coCsfQqZ +vYST30uH1lIOr7j5lYiV8rTpAuOg81NPKoq+i5XuL6bXRgEhGnjpFgkaajpTP4BA/YS hLicKT+HWFTZ+oyKUB3AX/AGoQpTJjlo3hiBGtwi8d6QR2lHIUkIgO+e/K7sa7/qm8fl b+ug== X-Gm-Message-State: ALoCoQl7PWPM7lHaveON9NLwqWB5fyq5sMgnj62LSNof4aFbA+gITwB6PYKrigSUfpzMvNfK2Rzx MIME-Version: 1.0 X-Received: by 10.220.112.143 with SMTP id w15mr39532vcp.41.1409822866247; Thu, 04 Sep 2014 02:27:46 -0700 (PDT) Received: by 10.52.62.99 with HTTP; Thu, 4 Sep 2014 02:27:46 -0700 (PDT) Date: Thu, 4 Sep 2014 14:57:46 +0530 Message-ID: Subject: SSVM JAVA PROCESS NOT RUNNING, systemvm didn't get patched with the agent specific code From: Punith S To: cloudstack Cc: Nitin.Mehta@citrix.com Content-Type: multipart/alternative; boundary=047d7b3431ee23b4ab050239f7ca X-Virus-Checked: Checked by ClamAV on apache.org --047d7b3431ee23b4ab050239f7ca Content-Type: text/plain; charset=UTF-8 hi, i have been working on building noredist of master for vmware, since i'm using mvn commands and jetty for deploying cloudstack i'm building the cloudstack using $ mvn clean $ mvn install -Dnoredist deploying using $ mvn -pl :cloud-client-ui jetty:run -Dnoredist also i'm seeding the SSVM template by using as the link suggests https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+CloudStack # mkdir -p /etc/cloudstack/management/ # cp ./client/target/cloud-client-ui-4.5.0-SNAPSHOT/WEB-INF/classes/db.properties /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/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvmtemplate-master-vmware.ova -h vmware -F when i deploy a vmware zone,everything come up fine but the systemvm's agent is not running! when i log into the ssvm,* i see 4.4.SNAPSHOT jars being patched in the /use/local/cloud/ssvm* 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* i'm guessing there was no patch up between agent specific code ! am i missing out something here ? thanks! -- regards, punith s cloudbyte.com --047d7b3431ee23b4ab050239f7ca--