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 A1CEC10889 for ; Thu, 8 Aug 2013 22:52:24 +0000 (UTC) Received: (qmail 32047 invoked by uid 500); 8 Aug 2013 22:52:24 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 31991 invoked by uid 500); 8 Aug 2013 22:52:24 -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 31983 invoked by uid 99); 8 Aug 2013 22:52:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Aug 2013 22:52:24 +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 (nike.apache.org: domain of mike.tutkowski@solidfire.com designates 209.85.214.179 as permitted sender) Received: from [209.85.214.179] (HELO mail-ob0-f179.google.com) (209.85.214.179) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Aug 2013 22:52:17 +0000 Received: by mail-ob0-f179.google.com with SMTP id fb19so5625002obc.24 for ; Thu, 08 Aug 2013 15:51:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=Vxps9UTbPeUOMkJ/rHyK9lO2pYbyP7sOnW0qvRKQn1A=; b=ljPaIXNorJl16rIHYyb8ktuLXBlZi3WqX2AYTzB0u0WAWAkynPWfowMpfXVfmHjirP wLX6hjR3Vp9B/wRxDrOlutjjALRqcIEqqDtaM6ieqHdZCFG5ifv9kfhrwK5ihHuDlw6K kt+zOF+zCGijHPodC/kec6H6qfvttXmZfxsbz0AbD+I1iHxh1sLfQG6td6juAFhSbnJ/ 8lecP9zkFuX6Ba3MlrylCSNhQ1dRJJMp7cIOYZYqX22qoGlLbkkvkYduzfHKGCdpWq1A rONc0+hh31RbgbNhCLXCGA43jJ91QjFwM+f9xjG6y5xNx/rXkNacCBuDr0DZjcMQEgSZ bX1w== X-Gm-Message-State: ALoCoQlfIlGq7MnsQOczNHp5wLrqgkywE2yJiLoq64s98JOYhoYi6ki270OF7Z//7graWgPFfjLE MIME-Version: 1.0 X-Received: by 10.60.132.113 with SMTP id ot17mr5972529oeb.104.1376002316533; Thu, 08 Aug 2013 15:51:56 -0700 (PDT) Received: by 10.182.118.168 with HTTP; Thu, 8 Aug 2013 15:51:56 -0700 (PDT) In-Reply-To: <20CF38CB4385CE4D9D1558D52A0FC0580A445A@SJCPEX01CL03.citrite.net> References: <20CF38CB4385CE4D9D1558D52A0FC0580A445A@SJCPEX01CL03.citrite.net> Date: Thu, 8 Aug 2013 16:51:56 -0600 Message-ID: Subject: Re: Quick Question about System VM problem From: Mike Tutkowski To: "dev@cloudstack.apache.org" Content-Type: multipart/alternative; boundary=047d7b47275249950704e37781c2 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b47275249950704e37781c2 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable I see. Thanks for that info, Alex. So, the systemvm.iso and patches reside with the CS MS? They are not placed on secondary storage? On Thu, Aug 8, 2013 at 4:44 PM, Alex Huang wrote: > CloudStack delivers all of the patches and systemvm.iso when it first > connects to a xenserver. It then retrieves the version string and deposi= ts > that as a tag on the host. On all subsequent connects, cloudstack checks > the tags and compares it with the version string. If they are different, > it redeliver all of the files, overwriting the previous files. > > So one thing you often have to be aware of during development is that if > you are modifying scripts or the systemvm.iso during a build, it won't be > delivered to the xenserver because the version string did not change and > therefore still matches to the version tag on the host. This stems from = a > change in maven build because, cloudstack's version number used to have > four parts. The last part was an incremental build number, so everytime > you do a build, the build number changes and therefore script changes are > delivered. Now, it only has three parts. It works fine for production > upgrade but for developers, you have to remove the version tag on the > xenserver host in order for any script changes to be delivered. > > --Alex > > > -----Original Message----- > > From: Mike Tutkowski [mailto:mike.tutkowski@solidfire.com] > > Sent: Thursday, August 8, 2013 2:11 PM > > To: dev@cloudstack.apache.org > > Subject: Re: Quick Question about System VM problem > > > > Thanks, guys > > > > I ended up starting over from scratch (wiped out my CS environment, > > restored my XenServer hosts from snapshots, etc.) and it appears to wor= k > > now. > > > > However, as a learning experience, Wei, can you tell me how systemvm.is= o > > gets to the XenServer host normally? Is it part of what is seeded to > > secondary storage? When I look at my secondary storage folders, I don't > see > > such a file (maybe it's under a different name or something?). > > > > Thanks! > > > > > > On Thu, Aug 8, 2013 at 3:06 PM, Wei ZHOU wrote: > > > > > systemvm.iso is missing on your xenserver host. > > > try again after copying ./console-proxy/dist/systemvm.iso to > > > /usr/share/xcp/packages*/iso/ on host* > > > > > > > > > 2013/8/8 Mike Tutkowski > > > > > > > The CS MS is on Mac OS X. > > > > > > > > My secondary storage share is on Ubuntu 12.04. > > > > > > > > Thanks! > > > > > > > > > > > > On Thu, Aug 8, 2013 at 1:44 PM, Daan Hoogland > > > > > > > >wrote: > > > > > > > > > are you developing on windows, Mike? > > > > > > > > > > On Thu, Aug 8, 2013 at 9:22 PM, Mike Tutkowski > > > > > wrote: > > > > > > Hi, > > > > > > > > > > > > I must be missing something easy here. :) I've set up this > > > > > > config > > > many > > > > > > times before and it's worked just fine (this is in 4.2): > > > > > > > > > > > > Two XenServer 6.1 hosts in a cluster. > > > > > > Local storage is enabled in CS. > > > > > > My secondary storage has the system template for XenServer. > > > > > > Template routing-1 shows up under the local SR of one of my > > > > > > hosts > > > along > > > > > > with ROOT-, but the system VM flickers on, then > > > disappears > > > > > and > > > > > > I see this exception in the console: > > > > > > > > > > > > WARN [xen.resource.CitrixResourceBase] (DirectAgent-500:) Catc= h > > > > > Exception: > > > > > > class com.cloud.utils.exception.CloudRuntimeException due to > > > > > > com.cloud.utils.exception.CloudRuntimeException: can not find > > > > systemvmiso > > > > > > com.cloud.utils.exception.CloudRuntimeException: can not find > > > > systemvmiso > > > > > > at > > > > > > > > > > > > > > > > > > com.cloud.hypervisor.xen.resource.CitrixResourceBase.createPatchVbd(C= i > > > trixResourceBase.java:1435) > > > > > > at > > > > > > > > > > > > > > > > > > com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixRe= s > > > ourceBase.java:1629) > > > > > > at > > > > > > > > > > > > > > > > > > com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(C= i > > > trixResourceBase.java:553) > > > > > > at > > > > > > > > > > > > > > > > > > > > com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest( > > X > > > enServer56Resource.java:73) > > > > > > at > > > > > > > > > > > > > > > > > > > > com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest > > ( > > > XenServer610Resource.java:104) > > > > > > at > > > > > > > > > > > > > > > > > > > > com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache > > > .java:186) > > > > > > at > > > > > java.util.concurrent.Executors$RunnableAdapter.call(Executors.jav= a > > > > > :439) > > > > > > at > > > > > > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:3= 0 > > > > > > 3) at java.util.concurrent.FutureTask.run(FutureTask.java:138) > > > > > > at > > > > > > > > > > > > > > > > > > > > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.a > > > ccess$301(ScheduledThreadPoolExecutor.java:98) > > > > > > at > > > > > > > > > > > > > > > > > > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.= r > > > un(ScheduledThreadPoolExecutor.java:206) > > > > > > at > > > > > > > > > > > > > > > > > > > > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecu > > > tor.java:895) > > > > > > at > > > > > > > > > > > > > > > > > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor= . > > > java:918) > > > > > > at java.lang.Thread.run(Thread.java:680) > > > > > > > > > > > > Thoughts on this? > > > > > > > > > > > > Thanks! > > > > > > > > > > > > -- > > > > > > *Mike Tutkowski* > > > > > > *Senior CloudStack Developer, SolidFire Inc.* > > > > > > e: mike.tutkowski@solidfire.com > > > > > > o: 303.746.7302 > > > > > > Advancing the way the world uses the > > > > > > cloud > > > > > > *(tm)* > > > > > > > > > > > > > > > > > > > > > -- > > > > *Mike Tutkowski* > > > > *Senior CloudStack Developer, SolidFire Inc.* > > > > e: mike.tutkowski@solidfire.com > > > > o: 303.746.7302 > > > > Advancing the way the world uses the > > > > cloud > > > > *(tm)* > > > > > > > > > > > > > > > -- > > *Mike Tutkowski* > > *Senior CloudStack Developer, SolidFire Inc.* > > e: mike.tutkowski@solidfire.com > > o: 303.746.7302 > > Advancing the way the world uses the > > cloud > > *(tm)* > --=20 *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* --047d7b47275249950704e37781c2--