Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 222A6200B9F for ; Tue, 11 Oct 2016 17:34:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 20E52160AE6; Tue, 11 Oct 2016 15:34:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 40A23160AC3 for ; Tue, 11 Oct 2016 17:34:08 +0200 (CEST) Received: (qmail 4621 invoked by uid 500); 11 Oct 2016 15:34:02 -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 4606 invoked by uid 99); 11 Oct 2016 15:34:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Oct 2016 15:34:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 9F6151A02EF for ; Tue, 11 Oct 2016 15:34:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.299 X-Spam-Level: * X-Spam-Status: No, score=1.299 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=nuagenetworks-net.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id RGpSOtL71Rb0 for ; Tue, 11 Oct 2016 15:33:58 +0000 (UTC) Received: from mail-qk0-f175.google.com (mail-qk0-f175.google.com [209.85.220.175]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 48A9F5FAFA for ; Tue, 11 Oct 2016 15:33:58 +0000 (UTC) Received: by mail-qk0-f175.google.com with SMTP id o68so40706031qkf.3 for ; Tue, 11 Oct 2016 08:33:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuagenetworks-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=DYsTG9Txc0ImeQ1oqChF5OfILLIasOz53DpBdrZOXLY=; b=Hqxdk7DM3rRFBJcawTKuLVpXaFd1jBXRYjxMCPPfgFeoZNGiYhdA3ckgRMiARRa/Jw p3fU6H+fStgMoybppJ/lOh+496Uz5GA7ZyAIiFaO74jcJpJqls91Yc6cWUhhC7eqeXRs bO2IvUMJG+Ijkv1ghYk2tmlgl+rFAG8+pG6Ydfn12hCto56AncnAeSkqe3OiVW0iX6FM /o94cSThxytEp58s+3pHlo989gg4AXGKE928tHtGvrZa4X8xsiT6a4brCAX1qfaOL/Lp S4NwQaZVv/lMlfpyuihRHFDd+THBTwVGLJJR6tQj4MKxt2ftqOq0iR4uOpbjUCdCe6F2 SH6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=DYsTG9Txc0ImeQ1oqChF5OfILLIasOz53DpBdrZOXLY=; b=lGSrQFgJY0DDojOCuvbNZOuHKt3L3qHTLxKzpMcSVjPx+et5f1DkGPm+OvjfuYpIVG xFOlPJ2UuBROXAIa+8Xmseh9rjV+NFAfVzPLNcpVajQ1p2wtVZ8C14x1tWam4d0/NuAo 1Yuy5aXGJdrVRGpenhmEROdG7uhj3j3tGmv0yL7YBXB6XZxxgpvGAwkJ+WgdznMYDzyq twFPfxycJRajChR/ADJzU1Til9OexcyOGYZfMyqN4fN5q8OoYXdobuJO1iiusJUqN/ek nBwvgQ+v6AdIlFb+PBn9+/WHSycH9sRVKFSmBnkT6ZpnuSy95GvDjKPFoCu3TCgNX1sK vW3Q== X-Gm-Message-State: AA6/9RnZecSqKU34HpLhI8adKwRL4NqOcJD/eJqdYRjX0NOz6VuqfHGjE3kRg2sHJbT34N8CGDM/t1JT7hOhTKDj X-Received: by 10.194.240.67 with SMTP id vy3mr5880071wjc.136.1476200031028; Tue, 11 Oct 2016 08:33:51 -0700 (PDT) MIME-Version: 1.0 References: <1471475028624.86393@netapp.com> <1471475078185.20251@netapp.com> <1471528482619.30416@netapp.com> <1471529856571.76608@netapp.com> <1471530458271.63978@netapp.com> <4C145152-96AF-465F-9427-41A4F62D09A6@netapp.com> <1767C118-84BB-4BC2-A94E-A9D59333C121@netapp.com> In-Reply-To: From: Frank Maximus Date: Tue, 11 Oct 2016 15:33:40 +0000 Message-ID: Subject: Re: Issue with SSVM on KVM on master To: "dev@cloudstack.apache.org" Content-Type: multipart/alternative; boundary=001a11c1b76e77a335053e989a59 archived-at: Tue, 11 Oct 2016 15:34:09 -0000 --001a11c1b76e77a335053e989a59 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Make sure that the VMware plug-ins are not in the war on the management server, when using kvm. If they are, other options get send to the ssvm, and then it will fail. All has to do with a property premium=3Dtrue being s= et when spring loads the VMware plug-in. Regards, Frank On Tue, 11 Oct 2016 16:14 Tutkowski, Mike, wrote: As a little correction to what I said, I meant to ask if there is a way in 4.10 to run system VMs without using noredist for the build as I only have KVM hosts in this particular environment. This does seem to work fine in 4.5, so it appears something has changed since that release in this regard. > On Oct 11, 2016, at 12:15 AM, Tutkowski, Mike wrote: > > Hi Rajani, > > I actually ended up getting diverted to other work and am just coming back to this now. =E2=98=BA > > Do you know if there=E2=80=99s a way in 4.10 to run the KVM agent without= needing the noredist option? In this environment, I only have KVM hosts. > > I recently tried this in 4.5 and it worked fine without having to do anything special. It seems something has changed since 4.5 here. > > Thanks! > Mike > > On 8/22/16, 12:43 AM, "Tutkowski, Mike" wrote= : > > I can try that. Thanks, Rajani! > >> On Aug 22, 2016, at 12:17 AM, Rajani Karuturi wrote: >> >> Did you build and run it with noredist option? >> >> I see this CNF error when I forget to run jetty with noredist >> option. >> >> ~ Rajani >> http://cloudplatform.accelerite.com/ >> >> On August 18, 2016 at 7:57 PM, Tutkowski, Mike >> (Mike.Tutkowski@netapp.com) wrote: >> Based on the error message of not being able to find the >> PremiumSecondaryStorageResource class, this seems to be the >> following error (#9 on this >> page: https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Sec= ondary+storage+troubleshooting ): >> >> SSVM agent not running - You see error something like below. Most >> probably your systemvm didnt get patched with the agent specific >> code. This patching happens through the ISO - something >> like systemvm***.iso. Check the size and location of the iso and >> whether you are not using the old version iso. For XS its on the >> host so grep for it and for vmware its on secondary storage. Do >> also check that if its vmware that you built your ssvm using >> noredist flag for mvn command. For more information check >> SystemVm.iso >> 2013-12-20 13:35:12,954 DEBUG [cloud.utils.ProcessUtil] >> (main:null) Execution is successful. >> 2013-12-20 13:35:12,960 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 do see the ISO, though, on secondary storage here: >> >> cloudstack@cloudstack-virtual-machine:/export/secondary/systemvm$ >> ls -l >> total 83420 >> -rw-rw-r-- 1 cloudstack cloudstack 85420032 Aug 15 16:10 >> systemvm-4.10.0-SNAPSHOT.iso >> ________________________________________ >> From: Tutkowski, Mike >> Sent: Thursday, August 18, 2016 8:17 AM >> To: dev@cloudstack.apache.org >> Subject: Re: Issue with SSVM on KVM on master >> >> In /var/log/cloud/cloud.out, I see the following repeated over >> and over again (below). >> >> I'm running version 4.10.0 of the management server (but the >> implementation version of the agent looks to be 4.9.0). I do have >> systemvm-4.10.0-SNAPSHOT.iso accessible at >> /export/secondary/systemvm (/export/secondary is my one and only >> secondary storage at the time being). >> >> 2016-08-18 14:03:43,633 INFO [cloud.agent.AgentShell] >> (main:null) Agent started >> 2016-08-18 14:03:43,637 INFO [cloud.agent.AgentShell] >> (main:null) Implementation Version is 4.9.0 >> 2016-08-18 14:03:43,637 INFO [cloud.agent.AgentShell] >> (main:null) agent.properties found at >> /usr/local/cloud/systemvm/conf/agent.properties >> 2016-08-18 14:03:43,643 DEBUG [cloud.agent.AgentShell] >> (main:null) Found property: instance >> 2016-08-18 14:03:43,643 DEBUG [cloud.agent.AgentShell] >> (main:null) Found property: resource >> 2016-08-18 14:03:43,643 INFO [cloud.agent.AgentShell] >> (main:null) Defaulting to using properties file for storage >> 2016-08-18 14:03:43,645 INFO [cloud.agent.AgentShell] >> (main:null) Defaulting to the constant time backoff algorithm >> 2016-08-18 14:03:43,666 INFO [cloud.utils.LogUtils] (main:null) >> log4j configuration found at >> /usr/local/cloud/systemvm/conf/log4j-cloud.xml >> 2016-08-18 14:03:43,686 INFO [cloud.agent.AgentShell] >> (main:null) Using default Java settings for IPv6 preference for >> agent connection >> 2016-08-18 14:03:43,687 DEBUG [cloud.agent.AgentShell] >> (main:null) Checking to see if agent.SecStorage.pid exists. >> 2016-08-18 14:03:43,694 DEBUG [cloud.utils.ProcessUtil] >> (main:null) environment.properties could not be opened >> 2016-08-18 14:03:43,703 DEBUG [cloud.utils.ProcessUtil] >> (main:null) Executing: bash -c echo $PPID >> 2016-08-18 14:03:43,711 DEBUG [cloud.utils.ProcessUtil] >> (main:null) Execution is successful. >> 2016-08-18 14:03:43,726 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 >> >> ________________________________________ >> From: Tutkowski, Mike >> Sent: Thursday, August 18, 2016 7:54 AM >> To: dev@cloudstack.apache.org >> Subject: Re: Issue with SSVM on KVM on master >> >> Thanks for the comments, Simon. >> >> I went ahead and tried to telnet into 8250 on my management >> server (first from the SSVM and then from another machine). In >> both cases, this was the result: >> >> telnet 192.168.129.50 8250 >> Trying 192.168.129.50... >> Connected to 192.168.129.50. >> Escape character is '^]'. >> Connection closed by foreign host. >> >> It looks like a connection was established, but then shortly >> after closed. Is this what you were expecting might happen? >> ________________________________________ >> From: Simon Weller >> Sent: Thursday, August 18, 2016 6:39 AM >> To: dev@cloudstack.apache.org >> Subject: Re: Issue with SSVM on KVM on master >> >> Mike, >> >> I wonder whether this could be related to the NIO connection >> improvements. We saw this type of problem quite a bit when we >> were testing it (with all types of agents). Typically you'll see >> the agent logs indicating they can't connect to the management >> server if this is the case. Try telnetting to 8250 on your mgmt >> server and see if suddenly your agent starts to work. >> >> - Si >> >> ________________________________ >> From: Tutkowski, Mike >> Sent: Wednesday, August 17, 2016 6:04 PM >> To: dev@cloudstack.apache.org >> Subject: Re: Issue with SSVM on KVM on master >> >> I should have pointed out that this is a Basic Zone. Also, there >> is only one KVM host in my one cluster. >> ________________________________________ >> From: Tutkowski, Mike >> Sent: Wednesday, August 17, 2016 5:03 PM >> To: dev@cloudstack.apache.org >> Subject: Issue with SSVM on KVM on master >> >> Hi, >> >> I am trying to build a cloud making use of KVM system VMs. >> >> My SSVM VM comes up, but its agent doesn't seem to: >> >> http://imgur.com/a/Fo2ax >> [http://i.imgur.com/xdP9alM.jpg?fb]> ( http://i.imgur.com/xdP9alM.jpg?fb%5D >> >> Imgur: The most awesome images on the >> Internet >> imgur.com >> Imgur: The most awesome images on the Internet. >> >> Thoughts on what might be going on here? >> >> Thanks! >> >> Mike > > --001a11c1b76e77a335053e989a59--