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 986F1108E8 for ; Wed, 11 Sep 2013 22:14:03 +0000 (UTC) Received: (qmail 31376 invoked by uid 500); 11 Sep 2013 22:14:03 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 31344 invoked by uid 500); 11 Sep 2013 22:14:03 -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 31336 invoked by uid 99); 11 Sep 2013 22:14:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Sep 2013 22:14:03 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ustcweizhou@gmail.com designates 209.85.219.53 as permitted sender) Received: from [209.85.219.53] (HELO mail-oa0-f53.google.com) (209.85.219.53) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Sep 2013 22:13:56 +0000 Received: by mail-oa0-f53.google.com with SMTP id k18so10184535oag.12 for ; Wed, 11 Sep 2013 15:13:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=xIgi8Q9/Feh6Ax9fWwEFUt4oRiOVyY0Wmy4a5M0FHpY=; b=qx7XQ9jyJDTiZM2xmX044+4CbU9KVngMGYmp6NVPy6OiJbK6GZTo/8y93WFi/uFcj6 m+AOnNkBxCl7eyZW5UNY5v+4KGyfOUn4WZAISVEGnEc+F0h8J+RX97LgfblY+ZtlP98W FH4S7/pHWjWymw9BMaKImkeFgE3NPjuQ16uVUTM/0ofvz3Zct95BQVObzgHqvqVo/sGX P8Ia8Wc3gLj79/AeQ3ySLYDhC5PfNvjCTV+DaUttfXdXQlDLoNrJgG45YzIxEuOtENeQ BRdCJE8BYTiZwN534Kp+mPBKBZIs5T6h+YZ9YnojK618eUBGpR2FGSquQ7AcvArZAM8C 5yng== MIME-Version: 1.0 X-Received: by 10.60.119.33 with SMTP id kr1mr3601095oeb.62.1378937615453; Wed, 11 Sep 2013 15:13:35 -0700 (PDT) Received: by 10.182.64.114 with HTTP; Wed, 11 Sep 2013 15:13:35 -0700 (PDT) In-Reply-To: References: Date: Thu, 12 Sep 2013 00:13:35 +0200 Message-ID: Subject: Re: Java process not running in KVM SSVM From: Wei ZHOU To: "dev@cloudstack.apache.org" Content-Type: multipart/alternative; boundary=047d7b33d08cbc969304e622ee11 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b33d08cbc969304e622ee11 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable It could work if you scp/cp the new systemvm.iso to /usr/share/cloudstack-common/vms/systemvm.iso on KVM host. 2013/9/12 Mike Tutkowski > So, actually, what Marcus brings up is related to one of my earlier > questions about how system VM's work. > > I rebuilt the codebase about an hour ago, but did not re-deploy the .deb > files. > > It sounds like the systemvm.iso file is part of the .deb packaging (I > wasn't sure if it was or if it was later downloaded from the CSMS). > > > On Wed, Sep 11, 2013 at 3:56 PM, Mike Tutkowski < > mike.tutkowski@solidfire.com> wrote: > > > Is it going to be a problem that my KVM host is doubling as my secondar= y > > storage server? > > > > > > On Wed, Sep 11, 2013 at 3:44 PM, Marcus Sorensen >wrote: > > > >> And they've been installed with the agent? Via .deb files or what? You > >> should be able to look at the .deb packages you generated and verify t= he > >> systemvm.iso that is mounted to your ssvm is the same md5sum as the on= e > in > >> the .deb you installed. "virsh dumpxml (vmname)" will give you the VM > >> parameters, you'll see a systemvm.iso path here. > >> On Sep 11, 2013 3:33 PM, "Mike Tutkowski" > > >> wrote: > >> > >> > Looks like there are three that were built a little while ago (aroun= d > >> the > >> > time I was building the codebase). 44,621,824 bytes each. > >> > > >> > > >> > On Wed, Sep 11, 2013 at 3:21 PM, Wei ZHOU > >> wrote: > >> > > >> > > Can you check whether the systemvm*.iso on your host is new or not= ? > >> > > > >> > > > >> > > 2013/9/11 Mike Tutkowski > >> > > > >> > > > In fact, all 26 ERROR messages in the file are the same (minus t= he > >> > > > timestamp being a little different, of course). > >> > > > > >> > > > > >> > > > On Wed, Sep 11, 2013 at 3:14 PM, Mike Tutkowski < > >> > > > mike.tutkowski@solidfire.com> wrote: > >> > > > > >> > > > > Same error message in the log after a rebuild of the code base > >> (using > >> > > mvn > >> > > > > -P developer,systemvm clean install -Dnonoss): > >> > > > > > >> > > > > 2013-09-11 21:10:40,929 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 > >> > > > > > >> > > > > > >> > > > > On Wed, Sep 11, 2013 at 2:58 PM, Mike Tutkowski < > >> > > > > mike.tutkowski@solidfire.com> wrote: > >> > > > > > >> > > > >> I am rebuilding using mvn -P developer,systemvm clean install > >> > -Dnonoss > >> > > > >> right now. > >> > > > >> > >> > > > >> Once this has completed, I can destroy my system VMs and let > >> them be > >> > > > >> re-deployed and see if that fixes the issue. > >> > > > >> > >> > > > >> > >> > > > >> On Wed, Sep 11, 2013 at 2:57 PM, Mike Tutkowski < > >> > > > >> mike.tutkowski@solidfire.com> wrote: > >> > > > >> > >> > > > >>> Typically I build this way: > >> > > > >>> > >> > > > >>> mvn -P developer,systemvm clean install -Dnonoss > >> > > > >>> > >> > > > >>> > >> > > > >>> On Wed, Sep 11, 2013 at 2:54 PM, Wei ZHOU < > >> ustcweizhou@gmail.com> > >> > > > wrote: > >> > > > >>> > >> > > > >>>> I guess something wrong with systemvm.iso > >> > > > >>>> Did you build systemvm when you run "mvn -P > developer,systemvm > >> > > clean > >> > > > >>>> install" ? > >> > > > >>>> > >> > > > >>>> > >> > > > >>>> 2013/9/11 Mike Tutkowski > >> > > > >>>> > >> > > > >>>> > This error is repeated over and over: > >> > > > >>>> > > >> > > > >>>> > 2013-09-11 19:25:57,878 ERROR [cloud.agent.AgentShell] > >> > (main:null) > >> > > > >>>> Unable > >> > > > >>>> > to start agent: Resource class not found: > >> > > > >>>> > com.cloud.storage.resource.PremiumSecondaryStorageResourc= e > >> due > >> > to: > >> > > > >>>> > java.lang.ClassNotFoundException: > >> > > > >>>> > com.cloud.storage.resource.PremiumSecondaryStorageResourc= e > >> > > > >>>> > > >> > > > >>>> > Is this just a bad image? Does someone know where I could > >> > > download a > >> > > > >>>> better > >> > > > >>>> > one? > >> > > > >>>> > > >> > > > >>>> > Thanks! > >> > > > >>>> > > >> > > > >>>> > > >> > > > >>>> > On Wed, Sep 11, 2013 at 2:41 PM, Ahmad Emneina < > >> > > aemneina@gmail.com> > >> > > > >>>> wrote: > >> > > > >>>> > > >> > > > >>>> > > should be in /var/log/cloud or just /var/log and look > for a > >> > file > >> > > > >>>> called > >> > > > >>>> > > cloud.log or cloud.out > >> > > > >>>> > > > >> > > > >>>> > > > >> > > > >>>> > > On Wed, Sep 11, 2013 at 1:38 PM, Mike Tutkowski < > >> > > > >>>> > > mike.tutkowski@solidfire.com> wrote: > >> > > > >>>> > > > >> > > > >>>> > > > Thanks, Alena > >> > > > >>>> > > > > >> > > > >>>> > > > I'm not familiar with debugging SSVM. Can you tell me > >> where > >> > > the > >> > > > >>>> log is > >> > > > >>>> > > > located? > >> > > > >>>> > > > > >> > > > >>>> > > > > >> > > > >>>> > > > On Wed, Sep 11, 2013 at 1:58 PM, Alena Prokharchyk < > >> > > > >>>> > > > Alena.Prokharchyk@citrix.com> wrote: > >> > > > >>>> > > > > >> > > > >>>> > > > > Mike, did you check the log inside the SSVM? It > should > >> > print > >> > > > >>>> out the > >> > > > >>>> > > > > exception stack trace with the reason why java > process > >> > > failed > >> > > > to > >> > > > >>>> > start. > >> > > > >>>> > > > > > >> > > > >>>> > > > > -alena. > >> > > > >>>> > > > > > >> > > > >>>> > > > > From: Mike Tutkowski >> > >> > > > >>>> > > > > mike.tutkowski@solidfire.com>> > >> > > > >>>> > > > > Reply-To: "dev@cloudstack.apache.org >> > > > >>>> > dev@cloudstack.apache.org > >> > > > >>>> > > >" > >> > > > >>>> > > > < > >> > > > >>>> > > > > dev@cloudstack.apache.org >> > dev@cloudstack.apache.org > >> > > >> > >> > > > >>>> > > > > Date: Wednesday, September 11, 2013 12:39 PM > >> > > > >>>> > > > > To: "dev@cloudstack.apache.org >> > > > dev@cloudstack.apache.org>" > >> > > > >>>> < > >> > > > >>>> > > > > dev@cloudstack.apache.org >> > dev@cloudstack.apache.org > >> > > >>, > >> > > > >>>> Marcus > >> > > > >>>> > > > > Sorensen >> shadowsor@gmail.com > >> > >> > >> > > > >>>> > > > > Subject: Java process not running in KVM SSVM > >> > > > >>>> > > > > > >> > > > >>>> > > > > Hi, > >> > > > >>>> > > > > > >> > > > >>>> > > > > I'm having a bit of trouble with the KVM SSVM. > >> > > > >>>> > > > > > >> > > > >>>> > > > > The KVM CPVM reads as VM and Agent states Up; > however, > >> > SSVM > >> > > > has > >> > > > >>>> a > >> > > > >>>> > dash > >> > > > >>>> > > > for > >> > > > >>>> > > > > Agent state (its VM state is Up). > >> > > > >>>> > > > > > >> > > > >>>> > > > > On the SSVM, I ran > >> /usr/local/cloud/systemvm/ssvm-check.sh > >> > > and > >> > > > >>>> got > >> > > > >>>> > back > >> > > > >>>> > > > the > >> > > > >>>> > > > > following message: > >> > > > >>>> > > > > > >> > > > >>>> > > > > ERROR: Java process not running. Try restarting th= e > >> SSVM. > >> > > > >>>> > > > > > >> > > > >>>> > > > > I restarted the VM and re-ran ssvm-check.sh (after > >> still > >> > > > seeing > >> > > > >>>> a > >> > > > >>>> > dash > >> > > > >>>> > > > for > >> > > > >>>> > > > > the Agent state) and received the same error messag= e. > >> > > > >>>> > > > > > >> > > > >>>> > > > > I'm running on master. I installed the KVM system > >> template > >> > > > this > >> > > > >>>> way: > >> > > > >>>> > > > > > >> > > > >>>> > > > > sudo > >> > > > >>>> > > > > > >> > > > >>>> > > > > > >> > > > >>>> > > > > >> > > > >>>> > > > >> > > > >>>> > > >> > > > >>>> > >> > > > > >> > > > >> > > >> > /home/mtutkowski/cloudstack/scripts/storage/secondary/cloud-install-sys-t= mplt > >> > > > >>>> > > > > -m /mnt/secondary -u > >> > > > >>>> > > > > > >> > > > >>>> > > > > > >> > > > >>>> > > > > >> > > > >>>> > > > >> > > > >>>> > > >> > > > >>>> > >> > > > > >> > > > >> > > >> > http://download.cloud.com/templates/4.2/systemvmtemplate-2013-06-12-maste= r-kvm.qcow2.bz2-h > >> > > > >>>> > > > > kvm -F > >> > > > >>>> > > > > > >> > > > >>>> > > > > Any thoughts on this? > >> > > > >>>> > > > > > >> > > > >>>> > > > > Thanks! > >> > > > >>>> > > > > > >> > > > >>>> > > > > -- > >> > > > >>>> > > > > *Mike Tutkowski* > >> > > > >>>> > > > > *Senior CloudStack Developer, SolidFire Inc.* > >> > > > >>>> > > > > e: mike.tutkowski@solidfire.com >> > > > >>>> mike.tutkowski@solidfire.com> > >> > > > >>>> > > > > o: 303.746.7302 > >> > > > >>>> > > > > Advancing the way the world uses the > >> > > > >>>> > > > > cloud< > >> http://solidfire.com/solution/overview/?video=3Dplay> > >> > > > >>>> > > > > *=99* > >> > > > >>>> > > > > > >> > > > >>>> > > > > > >> > > > >>>> > > > > >> > > > >>>> > > > > >> > > > >>>> > > > -- > >> > > > >>>> > > > *Mike Tutkowski* > >> > > > >>>> > > > *Senior CloudStack Developer, SolidFire Inc.* > >> > > > >>>> > > > e: mike.tutkowski@solidfire.com > >> > > > >>>> > > > o: 303.746.7302 > >> > > > >>>> > > > Advancing the way the world uses the > >> > > > >>>> > > > cloud< > http://solidfire.com/solution/overview/?video=3Dplay > >> > > >> > > > >>>> > > > *=99* > >> > > > >>>> > > > > >> > > > >>>> > > > >> > > > >>>> > > >> > > > >>>> > > >> > > > >>>> > > >> > > > >>>> > -- > >> > > > >>>> > *Mike Tutkowski* > >> > > > >>>> > *Senior CloudStack Developer, SolidFire Inc.* > >> > > > >>>> > e: mike.tutkowski@solidfire.com > >> > > > >>>> > o: 303.746.7302 > >> > > > >>>> > Advancing the way the world uses the > >> > > > >>>> > cloud > >> > > > >>>> > *=99* > >> > > > >>>> > > >> > > > >>>> > >> > > > >>> > >> > > > >>> > >> > > > >>> > >> > > > >>> -- > >> > > > >>> *Mike Tutkowski* > >> > > > >>> *Senior CloudStack Developer, SolidFire Inc.* > >> > > > >>> e: mike.tutkowski@solidfire.com > >> > > > >>> o: 303.746.7302 > >> > > > >>> Advancing the way the world uses the cloud< > >> > > > http://solidfire.com/solution/overview/?video=3Dplay> > >> > > > >>> *=99* > >> > > > >>> > >> > > > >> > >> > > > >> > >> > > > >> > >> > > > >> -- > >> > > > >> *Mike Tutkowski* > >> > > > >> *Senior CloudStack Developer, SolidFire Inc.* > >> > > > >> e: mike.tutkowski@solidfire.com > >> > > > >> o: 303.746.7302 > >> > > > >> Advancing the way the world uses the cloud< > >> > > > http://solidfire.com/solution/overview/?video=3Dplay> > >> > > > >> *=99* > >> > > > >> > >> > > > > > >> > > > > > >> > > > > > >> > > > > -- > >> > > > > *Mike Tutkowski* > >> > > > > *Senior CloudStack Developer, SolidFire Inc.* > >> > > > > e: mike.tutkowski@solidfire.com > >> > > > > o: 303.746.7302 > >> > > > > Advancing the way the world uses the cloud< > >> > > > http://solidfire.com/solution/overview/?video=3Dplay> > >> > > > > *=99* > >> > > > > > >> > > > > >> > > > > >> > > > > >> > > > -- > >> > > > *Mike Tutkowski* > >> > > > *Senior CloudStack Developer, SolidFire Inc.* > >> > > > e: mike.tutkowski@solidfire.com > >> > > > o: 303.746.7302 > >> > > > Advancing the way the world uses the > >> > > > cloud > >> > > > *=99* > >> > > > > >> > > > >> > > >> > > >> > > >> > -- > >> > *Mike Tutkowski* > >> > *Senior CloudStack Developer, SolidFire Inc.* > >> > e: mike.tutkowski@solidfire.com > >> > o: 303.746.7302 > >> > Advancing the way the world uses the > >> > cloud > >> > *=99* > >> > > >> > > > > > > > > -- > > *Mike Tutkowski* > > *Senior CloudStack Developer, SolidFire Inc.* > > e: mike.tutkowski@solidfire.com > > o: 303.746.7302 > > Advancing the way the world uses the cloud< > http://solidfire.com/solution/overview/?video=3Dplay> > > *=99* > > > > > > -- > *Mike Tutkowski* > *Senior CloudStack Developer, SolidFire Inc.* > e: mike.tutkowski@solidfire.com > o: 303.746.7302 > Advancing the way the world uses the > cloud > *=99* > --047d7b33d08cbc969304e622ee11--