You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Mike Tutkowski <mi...@solidfire.com> on 2013/08/08 21:22:24 UTC

Quick Question about System VM problem

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-<some number>, but the system VM flickers on, then disappears and
I see this exception in the console:

WARN  [xen.resource.CitrixResourceBase] (DirectAgent-500:) Catch 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(CitrixResourceBase.java:1435)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1629)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:553)
at
com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.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.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.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<http://solidfire.com/solution/overview/?video=play>
*™*

Re: Quick Question about System VM problem

Posted by Mike Tutkowski <mi...@solidfire.com>.
Ah, thanks


On Thu, Aug 8, 2013 at 4:25 PM, Donal Lafferty <do...@citrix.com>wrote:

> There's a tag that is applied to you XenServer.  AFAIK, the tag tells the
> management server not to download systemvm.iso
>
> Also, be careful not to overwrite the vhd-utils on a XenServer version 6.x
> and beyond.  The vhd-util mentioned on the build from master page does not
> work with new versions of XenServer.  It should be updated soon.
>
> DL
>
>
> > -----Original Message-----
> > From: Mike Tutkowski [mailto:mike.tutkowski@solidfire.com]
> > Sent: 08 August 2013 22:11
> > 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 work
> > now.
> >
> > However, as a learning experience, Wei, can you tell me how systemvm.iso
> > 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 <us...@gmail.com>
> > 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 <mi...@solidfire.com>
> > >
> > > > 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
> > > > <daan.hoogland@gmail.com
> > > > >wrote:
> > > >
> > > > > are you developing on windows, Mike?
> > > > >
> > > > > On Thu, Aug 8, 2013 at 9:22 PM, Mike Tutkowski
> > > > > <mi...@solidfire.com> 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-<some number>, but the system VM flickers on, then
> > > disappears
> > > > > and
> > > > > > I see this exception in the console:
> > > > > >
> > > > > > WARN  [xen.resource.CitrixResourceBase] (DirectAgent-500:) Catch
> > > > > 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(Ci
> > > trixResourceBase.java:1435)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > > com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixRes
> > > ourceBase.java:1629)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > > com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Ci
> > > 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.java
> > > > > :439)
> > > > > > at
> > > > > > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:30
> > > > > > 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<http://solidfire.com/solution/overview/?video=play>
> > > > > > *(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<http://solidfire.com/solution/overview/?video=play>
> > > > *(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<http://solidfire.com/solution/overview/?video=play>
> > *(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<http://solidfire.com/solution/overview/?video=play>
*™*

RE: Quick Question about System VM problem

Posted by Alex Huang <Al...@citrix.com>.
Yes.  Do not replace the original vhd-util.  

--Alex

> -----Original Message-----
> From: Soheil Eizadi [mailto:seizadi@infoblox.com]
> Sent: Friday, August 9, 2013 10:30 AM
> To: dev@cloudstack.apache.org
> Subject: RE: Quick Question about System VM problem
> 
> I seem to remember that the command line options were different and
> there are calls had explicit hard coded path to /usr/bin/vhd-util that were
> failing if I placed the new vhd-util in that location. When we bring a new
> XenServer online and download to /opt/xensource, I don't think we remove
> the old vhd-util, so I thought this was by design meant to work this way.
> -Soheil
> ________________________________________
> From: Sanjay Tripathi [sanjay.tripathi@citrix.com]
> Sent: Thursday, August 08, 2013 11:36 PM
> To: dev@cloudstack.apache.org
> Subject: RE: Quick Question about System VM problem
> 
> I don't think you need two versions of vhd-util. If you are adding new
> XenServer host, just you need to copy the existing vhd-util from /usr/sbin to
> its correct locations and it works fine.
> 
> Can you share what are the issues you are getting if you use the existing vhd-
> util in XenServer host.
> 
> --Sanjay
> 
> > -----Original Message-----
> > From: Soheil Eizadi [mailto:seizadi@infoblox.com]
> > Sent: Friday, August 09, 2013 11:37 AM
> > To: dev@cloudstack.apache.org
> > Subject: RE: Quick Question about System VM problem
> >
> > My experience was that you had to keep two versions of it on the
> > XenServer, the original one (/usr/sbin/vhd-util) and download a new
> > one that ends up in /opt/xensource/bin/vhd-util -Soheil
> > ________________________________________
> > From: Prasanna Santhanam [tsp@apache.org]
> > Sent: Thursday, August 08, 2013 9:22 PM
> > To: dev@cloudstack.apache.org
> > Subject: Re: Quick Question about System VM problem
> >
> > On Thu, Aug 08, 2013 at 10:25:28PM +0000, Donal Lafferty wrote:
> > > There's a tag that is applied to you XenServer.  AFAIK, the tag
> > > tells the management server not to download systemvm.iso
> > >
> > > Also, be careful not to overwrite the vhd-utils on a XenServer
> > > version 6.x and beyond.  The vhd-util mentioned on the build from
> > > master page does not work with new versions of XenServer.  It should
> > > be updated soon.
> >
> > What is the issue with the vhd-util on download.cloud.com? Can you
> > please file a bug? I've been using the vhd-util on download.cloud.com
> > and haven't faced any issues with my Xen 6.0.2 hosts.
> >
> >
> > --
> > Prasanna.,
> >
> > ------------------------
> > Powered by BigRock.com


RE: Quick Question about System VM problem

Posted by Soheil Eizadi <se...@infoblox.com>.
I seem to remember that the command line options were different and there are calls had explicit hard coded path to /usr/bin/vhd-util that were failing if I placed the new vhd-util in that location. When we bring a new XenServer online and download to /opt/xensource, I don't think we remove the old vhd-util, so I thought this was by design meant to work this way.
-Soheil
________________________________________
From: Sanjay Tripathi [sanjay.tripathi@citrix.com]
Sent: Thursday, August 08, 2013 11:36 PM
To: dev@cloudstack.apache.org
Subject: RE: Quick Question about System VM problem

I don't think you need two versions of vhd-util. If you are adding new XenServer host, just
you need to copy the existing vhd-util from /usr/sbin to its correct locations and it works fine.

Can you share what are the issues you are getting if you use the existing vhd-util in XenServer host.

--Sanjay

> -----Original Message-----
> From: Soheil Eizadi [mailto:seizadi@infoblox.com]
> Sent: Friday, August 09, 2013 11:37 AM
> To: dev@cloudstack.apache.org
> Subject: RE: Quick Question about System VM problem
>
> My experience was that you had to keep two versions of it on the
> XenServer, the original one (/usr/sbin/vhd-util) and download a new one
> that ends up in /opt/xensource/bin/vhd-util -Soheil
> ________________________________________
> From: Prasanna Santhanam [tsp@apache.org]
> Sent: Thursday, August 08, 2013 9:22 PM
> To: dev@cloudstack.apache.org
> Subject: Re: Quick Question about System VM problem
>
> On Thu, Aug 08, 2013 at 10:25:28PM +0000, Donal Lafferty wrote:
> > There's a tag that is applied to you XenServer.  AFAIK, the tag tells
> > the management server not to download systemvm.iso
> >
> > Also, be careful not to overwrite the vhd-utils on a XenServer version
> > 6.x and beyond.  The vhd-util mentioned on the build from master page
> > does not work with new versions of XenServer.  It should be updated
> > soon.
>
> What is the issue with the vhd-util on download.cloud.com? Can you please
> file a bug? I've been using the vhd-util on download.cloud.com and haven't
> faced any issues with my Xen 6.0.2 hosts.
>
>
> --
> Prasanna.,
>
> ------------------------
> Powered by BigRock.com


RE: Quick Question about System VM problem

Posted by Donal Lafferty <do...@citrix.com>.
Issues with existing vhd-util covered in depth under the heading "Example of Using the Logs" at  http://dlafferty.blogspot.co.uk/2013/08/using-cloudstacks-log-files-xenserver.html 


> -----Original Message-----
> From: Sanjay Tripathi [mailto:sanjay.tripathi@citrix.com]
> Sent: 09 August 2013 07:36
> To: dev@cloudstack.apache.org
> Subject: RE: Quick Question about System VM problem
> 
> I don't think you need two versions of vhd-util. If you are adding new
> XenServer host, just you need to copy the existing vhd-util from /usr/sbin to
> its correct locations and it works fine.
> 
> Can you share what are the issues you are getting if you use the existing vhd-
> util in XenServer host.
> 
> --Sanjay
> 
> > -----Original Message-----
> > From: Soheil Eizadi [mailto:seizadi@infoblox.com]
> > Sent: Friday, August 09, 2013 11:37 AM
> > To: dev@cloudstack.apache.org
> > Subject: RE: Quick Question about System VM problem
> >
> > My experience was that you had to keep two versions of it on the
> > XenServer, the original one (/usr/sbin/vhd-util) and download a new
> > one that ends up in /opt/xensource/bin/vhd-util -Soheil
> > ________________________________________
> > From: Prasanna Santhanam [tsp@apache.org]
> > Sent: Thursday, August 08, 2013 9:22 PM
> > To: dev@cloudstack.apache.org
> > Subject: Re: Quick Question about System VM problem
> >
> > On Thu, Aug 08, 2013 at 10:25:28PM +0000, Donal Lafferty wrote:
> > > There's a tag that is applied to you XenServer.  AFAIK, the tag
> > > tells the management server not to download systemvm.iso
> > >
> > > Also, be careful not to overwrite the vhd-utils on a XenServer
> > > version 6.x and beyond.  The vhd-util mentioned on the build from
> > > master page does not work with new versions of XenServer.  It should
> > > be updated soon.
> >
> > What is the issue with the vhd-util on download.cloud.com? Can you
> > please file a bug? I've been using the vhd-util on download.cloud.com
> > and haven't faced any issues with my Xen 6.0.2 hosts.
> >
> >
> > --
> > Prasanna.,
> >
> > ------------------------
> > Powered by BigRock.com


RE: Quick Question about System VM problem

Posted by Sanjay Tripathi <sa...@citrix.com>.
I don't think you need two versions of vhd-util. If you are adding new XenServer host, just
you need to copy the existing vhd-util from /usr/sbin to its correct locations and it works fine.

Can you share what are the issues you are getting if you use the existing vhd-util in XenServer host.

--Sanjay

> -----Original Message-----
> From: Soheil Eizadi [mailto:seizadi@infoblox.com]
> Sent: Friday, August 09, 2013 11:37 AM
> To: dev@cloudstack.apache.org
> Subject: RE: Quick Question about System VM problem
> 
> My experience was that you had to keep two versions of it on the
> XenServer, the original one (/usr/sbin/vhd-util) and download a new one
> that ends up in /opt/xensource/bin/vhd-util -Soheil
> ________________________________________
> From: Prasanna Santhanam [tsp@apache.org]
> Sent: Thursday, August 08, 2013 9:22 PM
> To: dev@cloudstack.apache.org
> Subject: Re: Quick Question about System VM problem
> 
> On Thu, Aug 08, 2013 at 10:25:28PM +0000, Donal Lafferty wrote:
> > There's a tag that is applied to you XenServer.  AFAIK, the tag tells
> > the management server not to download systemvm.iso
> >
> > Also, be careful not to overwrite the vhd-utils on a XenServer version
> > 6.x and beyond.  The vhd-util mentioned on the build from master page
> > does not work with new versions of XenServer.  It should be updated
> > soon.
> 
> What is the issue with the vhd-util on download.cloud.com? Can you please
> file a bug? I've been using the vhd-util on download.cloud.com and haven't
> faced any issues with my Xen 6.0.2 hosts.
> 
> 
> --
> Prasanna.,
> 
> ------------------------
> Powered by BigRock.com


RE: Quick Question about System VM problem

Posted by Soheil Eizadi <se...@infoblox.com>.
My experience was that you had to keep two versions of it on the XenServer, the original one (/usr/sbin/vhd-util) and download a new one that ends up in /opt/xensource/bin/vhd-util
-Soheil
________________________________________
From: Prasanna Santhanam [tsp@apache.org]
Sent: Thursday, August 08, 2013 9:22 PM
To: dev@cloudstack.apache.org
Subject: Re: Quick Question about System VM problem

On Thu, Aug 08, 2013 at 10:25:28PM +0000, Donal Lafferty wrote:
> There's a tag that is applied to you XenServer.  AFAIK, the tag
> tells the management server not to download systemvm.iso
>
> Also, be careful not to overwrite the vhd-utils on a XenServer
> version 6.x and beyond.  The vhd-util mentioned on the build from
> master page does not work with new versions of XenServer.  It should
> be updated soon.

What is the issue with the vhd-util on download.cloud.com? Can you
please file a bug? I've been using the vhd-util on download.cloud.com
and haven't faced any issues with my Xen 6.0.2 hosts.


--
Prasanna.,

------------------------
Powered by BigRock.com


Re: Quick Question about System VM problem

Posted by Prasanna Santhanam <ts...@apache.org>.
On Fri, Aug 09, 2013 at 06:53:55AM +0000, Donal Lafferty wrote:
> https://issues.apache.org/jira/browse/CLOUDSTACK-4082
> 
> Not sure who to assign it to ...  so I chose you :)

I wish vhd-util had versioning in it. But I can't see anywhere within
CloudStack where we invoke the -S (capital) option. Is it possible you
have some local changes to these scripts copy_vhd*?


> 
> > -----Original Message-----
> > From: Prasanna Santhanam [mailto:tsp@apache.org]
> > Sent: 09 August 2013 05:22
> > To: dev@cloudstack.apache.org
> > Subject: Re: Quick Question about System VM problem
> > 
> > On Thu, Aug 08, 2013 at 10:25:28PM +0000, Donal Lafferty wrote:
> > > There's a tag that is applied to you XenServer.  AFAIK, the tag tells
> > > the management server not to download systemvm.iso
> > >
> > > Also, be careful not to overwrite the vhd-utils on a XenServer version
> > > 6.x and beyond.  The vhd-util mentioned on the build from master page
> > > does not work with new versions of XenServer.  It should be updated
> > > soon.
> > 
> > What is the issue with the vhd-util on download.cloud.com? Can you please
> > file a bug? I've been using the vhd-util on download.cloud.com and haven't
> > faced any issues with my Xen 6.0.2 hosts.
> > 
> > 
> > --
> > Prasanna.,
> > 
> > ------------------------
> > Powered by BigRock.com

-- 
Prasanna.,

------------------------
Powered by BigRock.com


RE: Quick Question about System VM problem

Posted by Donal Lafferty <do...@citrix.com>.
https://issues.apache.org/jira/browse/CLOUDSTACK-4082

Not sure who to assign it to ...  so I chose you :)

> -----Original Message-----
> From: Prasanna Santhanam [mailto:tsp@apache.org]
> Sent: 09 August 2013 05:22
> To: dev@cloudstack.apache.org
> Subject: Re: Quick Question about System VM problem
> 
> On Thu, Aug 08, 2013 at 10:25:28PM +0000, Donal Lafferty wrote:
> > There's a tag that is applied to you XenServer.  AFAIK, the tag tells
> > the management server not to download systemvm.iso
> >
> > Also, be careful not to overwrite the vhd-utils on a XenServer version
> > 6.x and beyond.  The vhd-util mentioned on the build from master page
> > does not work with new versions of XenServer.  It should be updated
> > soon.
> 
> What is the issue with the vhd-util on download.cloud.com? Can you please
> file a bug? I've been using the vhd-util on download.cloud.com and haven't
> faced any issues with my Xen 6.0.2 hosts.
> 
> 
> --
> Prasanna.,
> 
> ------------------------
> Powered by BigRock.com


Re: Quick Question about System VM problem

Posted by Prasanna Santhanam <ts...@apache.org>.
On Thu, Aug 08, 2013 at 10:25:28PM +0000, Donal Lafferty wrote:
> There's a tag that is applied to you XenServer.  AFAIK, the tag
> tells the management server not to download systemvm.iso
> 
> Also, be careful not to overwrite the vhd-utils on a XenServer
> version 6.x and beyond.  The vhd-util mentioned on the build from
> master page does not work with new versions of XenServer.  It should
> be updated soon.

What is the issue with the vhd-util on download.cloud.com? Can you
please file a bug? I've been using the vhd-util on download.cloud.com
and haven't faced any issues with my Xen 6.0.2 hosts.


-- 
Prasanna.,

------------------------
Powered by BigRock.com


RE: Quick Question about System VM problem

Posted by Donal Lafferty <do...@citrix.com>.
There's a tag that is applied to you XenServer.  AFAIK, the tag tells the management server not to download systemvm.iso

Also, be careful not to overwrite the vhd-utils on a XenServer version 6.x and beyond.  The vhd-util mentioned on the build from master page does not work with new versions of XenServer.  It should be updated soon.

DL


> -----Original Message-----
> From: Mike Tutkowski [mailto:mike.tutkowski@solidfire.com]
> Sent: 08 August 2013 22:11
> 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 work
> now.
> 
> However, as a learning experience, Wei, can you tell me how systemvm.iso
> 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 <us...@gmail.com>
> 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 <mi...@solidfire.com>
> >
> > > 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
> > > <daan.hoogland@gmail.com
> > > >wrote:
> > >
> > > > are you developing on windows, Mike?
> > > >
> > > > On Thu, Aug 8, 2013 at 9:22 PM, Mike Tutkowski
> > > > <mi...@solidfire.com> 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-<some number>, but the system VM flickers on, then
> > disappears
> > > > and
> > > > > I see this exception in the console:
> > > > >
> > > > > WARN  [xen.resource.CitrixResourceBase] (DirectAgent-500:) Catch
> > > > 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(Ci
> > trixResourceBase.java:1435)
> > > > > at
> > > > >
> > > >
> > >
> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixRes
> > ourceBase.java:1629)
> > > > > at
> > > > >
> > > >
> > >
> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Ci
> > 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.java
> > > > :439)
> > > > > at
> > > > > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:30
> > > > > 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<http://solidfire.com/solution/overview/?video=play>
> > > > > *(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<http://solidfire.com/solution/overview/?video=play>
> > > *(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<http://solidfire.com/solution/overview/?video=play>
> *(tm)*

Re: Quick Question about System VM problem

Posted by Mike Tutkowski <mi...@solidfire.com>.
OK, so, for XenServer, systemvm.iso goes from the CS MS to the hypervisor
host without secondary storage being involved?


On Thu, Aug 8, 2013 at 5:46 PM, Alex Huang <Al...@citrix.com> wrote:

> Yes.  There is a copy on the secondary storage if you're using vmware
> hypervisor but even that copy is deposited there by the management server.
>
> --Alex
>
>
>
> > -----Original Message-----
> > From: Mike Tutkowski [mailto:mike.tutkowski@solidfire.com]
> > Sent: Thursday, August 8, 2013 3:52 PM
> > To: dev@cloudstack.apache.org
> > Subject: Re: Quick Question about System VM problem
> >
> > 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 <Al...@citrix.com>
> wrote:
> >
> > > CloudStack delivers all of the patches and systemvm.iso when it first
> > > connects to a xenserver.  It then retrieves the version string and
> > > deposits 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
> > > > work now.
> > > >
> > > > However, as a learning experience, Wei, can you tell me how
> > > > systemvm.iso 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 <us...@gmail.com>
> > 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 <mi...@solidfire.com>
> > > > >
> > > > > > 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
> > > > > > <daan.hoogland@gmail.com
> > > > > > >wrote:
> > > > > >
> > > > > > > are you developing on windows, Mike?
> > > > > > >
> > > > > > > On Thu, Aug 8, 2013 at 9:22 PM, Mike Tutkowski
> > > > > > > <mi...@solidfire.com> 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-<some number>, but the system VM flickers on, then
> > > > > disappears
> > > > > > > and
> > > > > > > > I see this exception in the console:
> > > > > > > >
> > > > > > > > WARN  [xen.resource.CitrixResourceBase] (DirectAgent-500:)
> > > > > > > > Catch
> > > > > > > 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.createPatchVb
> > > > > d(Ci
> > > > > trixResourceBase.java:1435)
> > > > > > > > at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(Citri
> > > > > xRes
> > > > > ourceBase.java:1629)
> > > > > > > > at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeReques
> > > > > t(Ci
> > > > > trixResourceBase.java:553)
> > > > > > > > at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest
> > > > (
> > > > X
> > > > > enServer56Resource.java:73)
> > > > > > > > at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > com.cloud.hypervisor.xen.resource.XenServer610Resource.executeReques
> > > > t
> > > > (
> > > > > XenServer610Resource.java:104)
> > > > > > > > at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttac
> > > > he
> > > > > .java:186)
> > > > > > > > at
> > > > > > > java.util.concurrent.Executors$RunnableAdapter.call(Executors.
> > > > > > > java
> > > > > > > :439)
> > > > > > > > at
> > > > > > > > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.jav
> > > > > > > > a:30
> > > > > > > > 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$ScheduledFutureTa
> > > > > sk.r
> > > > > un(ScheduledThreadPoolExecutor.java:206)
> > > > > > > > at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExe
> > > > cu
> > > > > 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<http://solidfire.com/solution/overview/?video=play>
> > > > > > > > *(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<http://solidfire.com/solution/overview/?video=play>
> > > > > > *(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<http://solidfire.com/solution/overview/?video=play>
> > > > *(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<http://solidfire.com/solution/overview/?video=play>
> > *(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<http://solidfire.com/solution/overview/?video=play>
*™*

RE: Quick Question about System VM problem

Posted by Alex Huang <Al...@citrix.com>.
Yes.  There is a copy on the secondary storage if you're using vmware hypervisor but even that copy is deposited there by the management server.

--Alex



> -----Original Message-----
> From: Mike Tutkowski [mailto:mike.tutkowski@solidfire.com]
> Sent: Thursday, August 8, 2013 3:52 PM
> To: dev@cloudstack.apache.org
> Subject: Re: Quick Question about System VM problem
> 
> 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 <Al...@citrix.com> wrote:
> 
> > CloudStack delivers all of the patches and systemvm.iso when it first
> > connects to a xenserver.  It then retrieves the version string and
> > deposits 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
> > > work now.
> > >
> > > However, as a learning experience, Wei, can you tell me how
> > > systemvm.iso 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 <us...@gmail.com>
> 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 <mi...@solidfire.com>
> > > >
> > > > > 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
> > > > > <daan.hoogland@gmail.com
> > > > > >wrote:
> > > > >
> > > > > > are you developing on windows, Mike?
> > > > > >
> > > > > > On Thu, Aug 8, 2013 at 9:22 PM, Mike Tutkowski
> > > > > > <mi...@solidfire.com> 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-<some number>, but the system VM flickers on, then
> > > > disappears
> > > > > > and
> > > > > > > I see this exception in the console:
> > > > > > >
> > > > > > > WARN  [xen.resource.CitrixResourceBase] (DirectAgent-500:)
> > > > > > > Catch
> > > > > > 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.createPatchVb
> > > > d(Ci
> > > > trixResourceBase.java:1435)
> > > > > > > at
> > > > > > >
> > > > > >
> > > > >
> > > > com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(Citri
> > > > xRes
> > > > ourceBase.java:1629)
> > > > > > > at
> > > > > > >
> > > > > >
> > > > >
> > > >
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeReques
> > > > t(Ci
> > > > trixResourceBase.java:553)
> > > > > > > at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest
> > > (
> > > X
> > > > enServer56Resource.java:73)
> > > > > > > at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> com.cloud.hypervisor.xen.resource.XenServer610Resource.executeReques
> > > t
> > > (
> > > > XenServer610Resource.java:104)
> > > > > > > at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttac
> > > he
> > > > .java:186)
> > > > > > > at
> > > > > > java.util.concurrent.Executors$RunnableAdapter.call(Executors.
> > > > > > java
> > > > > > :439)
> > > > > > > at
> > > > > > > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.jav
> > > > > > > a:30
> > > > > > > 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$ScheduledFutureTa
> > > > sk.r
> > > > un(ScheduledThreadPoolExecutor.java:206)
> > > > > > > at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExe
> > > cu
> > > > 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<http://solidfire.com/solution/overview/?video=play>
> > > > > > > *(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<http://solidfire.com/solution/overview/?video=play>
> > > > > *(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<http://solidfire.com/solution/overview/?video=play>
> > > *(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<http://solidfire.com/solution/overview/?video=play>
> *(tm)*

Re: Quick Question about System VM problem

Posted by Mike Tutkowski <mi...@solidfire.com>.
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 <Al...@citrix.com> wrote:

> CloudStack delivers all of the patches and systemvm.iso when it first
> connects to a xenserver.  It then retrieves the version string and deposits
> 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 work
> > now.
> >
> > However, as a learning experience, Wei, can you tell me how systemvm.iso
> > 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 <us...@gmail.com> 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 <mi...@solidfire.com>
> > >
> > > > 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
> > > > <daan.hoogland@gmail.com
> > > > >wrote:
> > > >
> > > > > are you developing on windows, Mike?
> > > > >
> > > > > On Thu, Aug 8, 2013 at 9:22 PM, Mike Tutkowski
> > > > > <mi...@solidfire.com> 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-<some number>, but the system VM flickers on, then
> > > disappears
> > > > > and
> > > > > > I see this exception in the console:
> > > > > >
> > > > > > WARN  [xen.resource.CitrixResourceBase] (DirectAgent-500:) Catch
> > > > > 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(Ci
> > > trixResourceBase.java:1435)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > > com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixRes
> > > ourceBase.java:1629)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > > com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Ci
> > > 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.java
> > > > > :439)
> > > > > > at
> > > > > > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:30
> > > > > > 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<http://solidfire.com/solution/overview/?video=play>
> > > > > > *(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<http://solidfire.com/solution/overview/?video=play>
> > > > *(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<http://solidfire.com/solution/overview/?video=play>
> > *(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<http://solidfire.com/solution/overview/?video=play>
*™*

RE: Quick Question about System VM problem

Posted by Alex Huang <Al...@citrix.com>.
CloudStack delivers all of the patches and systemvm.iso when it first connects to a xenserver.  It then retrieves the version string and deposits 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 work
> now.
> 
> However, as a learning experience, Wei, can you tell me how systemvm.iso
> 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 <us...@gmail.com> 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 <mi...@solidfire.com>
> >
> > > 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
> > > <daan.hoogland@gmail.com
> > > >wrote:
> > >
> > > > are you developing on windows, Mike?
> > > >
> > > > On Thu, Aug 8, 2013 at 9:22 PM, Mike Tutkowski
> > > > <mi...@solidfire.com> 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-<some number>, but the system VM flickers on, then
> > disappears
> > > > and
> > > > > I see this exception in the console:
> > > > >
> > > > > WARN  [xen.resource.CitrixResourceBase] (DirectAgent-500:) Catch
> > > > 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(Ci
> > trixResourceBase.java:1435)
> > > > > at
> > > > >
> > > >
> > >
> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixRes
> > ourceBase.java:1629)
> > > > > at
> > > > >
> > > >
> > >
> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Ci
> > 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.java
> > > > :439)
> > > > > at
> > > > > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:30
> > > > > 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<http://solidfire.com/solution/overview/?video=play>
> > > > > *(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<http://solidfire.com/solution/overview/?video=play>
> > > *(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<http://solidfire.com/solution/overview/?video=play>
> *(tm)*

Re: Quick Question about System VM problem

Posted by Mike Tutkowski <mi...@solidfire.com>.
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 work
now.

However, as a learning experience, Wei, can you tell me how systemvm.iso
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 <us...@gmail.com> 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 <mi...@solidfire.com>
>
> > 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 <daan.hoogland@gmail.com
> > >wrote:
> >
> > > are you developing on windows, Mike?
> > >
> > > On Thu, Aug 8, 2013 at 9:22 PM, Mike Tutkowski
> > > <mi...@solidfire.com> 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-<some number>, but the system VM flickers on, then
> disappears
> > > and
> > > > I see this exception in the console:
> > > >
> > > > WARN  [xen.resource.CitrixResourceBase] (DirectAgent-500:) Catch
> > > 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(CitrixResourceBase.java:1435)
> > > > at
> > > >
> > >
> >
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1629)
> > > > at
> > > >
> > >
> >
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:553)
> > > > at
> > > >
> > >
> >
> com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.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.java:439)
> > > > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> > > > at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> > > > at
> > > >
> > >
> >
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
> > > > at
> > > >
> > >
> >
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
> > > > at
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.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<http://solidfire.com/solution/overview/?video=play>
> > > > *™*
> > >
> >
> >
> >
> > --
> > *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=play>
> > *™*
> >
>



-- 
*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=play>
*™*

Re: Quick Question about System VM problem

Posted by Wei ZHOU <us...@gmail.com>.
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 <mi...@solidfire.com>

> 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 <daan.hoogland@gmail.com
> >wrote:
>
> > are you developing on windows, Mike?
> >
> > On Thu, Aug 8, 2013 at 9:22 PM, Mike Tutkowski
> > <mi...@solidfire.com> 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-<some number>, but the system VM flickers on, then disappears
> > and
> > > I see this exception in the console:
> > >
> > > WARN  [xen.resource.CitrixResourceBase] (DirectAgent-500:) Catch
> > 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(CitrixResourceBase.java:1435)
> > > at
> > >
> >
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1629)
> > > at
> > >
> >
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:553)
> > > at
> > >
> >
> com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.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.java:439)
> > > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> > > at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> > > at
> > >
> >
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
> > > at
> > >
> >
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
> > > at
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.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<http://solidfire.com/solution/overview/?video=play>
> > > *™*
> >
>
>
>
> --
> *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=play>
> *™*
>

Re: Quick Question about System VM problem

Posted by Mike Tutkowski <mi...@solidfire.com>.
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 <da...@gmail.com>wrote:

> are you developing on windows, Mike?
>
> On Thu, Aug 8, 2013 at 9:22 PM, Mike Tutkowski
> <mi...@solidfire.com> 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-<some number>, but the system VM flickers on, then disappears
> and
> > I see this exception in the console:
> >
> > WARN  [xen.resource.CitrixResourceBase] (DirectAgent-500:) Catch
> 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(CitrixResourceBase.java:1435)
> > at
> >
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1629)
> > at
> >
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:553)
> > at
> >
> com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.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.java:439)
> > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> > at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> > at
> >
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
> > at
> >
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
> > at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.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<http://solidfire.com/solution/overview/?video=play>
> > *™*
>



-- 
*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=play>
*™*

Re: Quick Question about System VM problem

Posted by Daan Hoogland <da...@gmail.com>.
are you developing on windows, Mike?

On Thu, Aug 8, 2013 at 9:22 PM, Mike Tutkowski
<mi...@solidfire.com> 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-<some number>, but the system VM flickers on, then disappears and
> I see this exception in the console:
>
> WARN  [xen.resource.CitrixResourceBase] (DirectAgent-500:) Catch 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(CitrixResourceBase.java:1435)
> at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1629)
> at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:553)
> at
> com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.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.java:439)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.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<http://solidfire.com/solution/overview/?video=play>
> *™*