You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by KENT ORTELL JOHNSON <ke...@utah.edu> on 2013/08/14 01:38:43 UTC

SystemVM's keep recycling

Hello all,
My System VM's keep recycling and they won't finish starting up. What could be the problem?

>From management-server.log I see the following error:
2013-08-13 17:04:18,318 DEBUG [cloud.storage.StorageManagerImpl] (secstorage-1:null) Trying to create in Pool[201|NetworkFilesystem]
2013-08-13 17:04:20,567 WARN  [xen.resource.CitrixResourceBase] (DirectAgent-3:null) destoryVDIbyNameLabel failed due to there are 0 VDIs with name cloud-b53bf31e-75cb-423f-8802-ea111c47966c

And a little later:
2013-08-13 17:04:20,569 DEBUG [cloud.template.TemplateManagerImpl] (consoleproxy-1:null) Template 1 download to pool 201 failed due to Catch Exception com.cloud.utils.exception.CloudRuntimeException on host:322ab8aa-0302-49b2-9f32-f068f7f2f8f8 for template: nfs://10.0.2.50/raid0/data/_NAS_NFS_Exports_/csSecondaryStorage/template/tmpl/1/1/ due to com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 4d95693c-7a90-c380-77a5-e5fd97f657cc

Does this mean that my vhd-util is not in the right place?

Kent Johnson
University of Utah
MSIS Student


Re: SystemVM's keep recycling

Posted by Kirk Jantzer <ki...@gmail.com>.
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.1/html/Installation_Guide/management-server-install-flow.html#prepare-system-vm-template


management server

Regards,

Kirk Jantzer
http://about.met/kirkjantzer


On Wed, Aug 14, 2013 at 3:02 PM, Tracy Phillips <tr...@mantoso.com>wrote:

> Kirk,
>
> What do you mean by "- run the command to add it".
>
> Also when you say master server, do you management server, or do you mean
> the xenserver node?
>
>
> On Tue, Aug 13, 2013 at 8:09 PM, Kirk Jantzer <kirk.jantzer@gmail.com
> >wrote:
>
> > In my experience, yes, it has to do with your secondary storage and the
> > system template not being accessible. Try the following:
> > - disable the zone
> > - remove the secondary storage from CS
> > - mount it to your master server
> > - run the command to add it
> > - unmount it
> > - add it back to CS
> > - enable the zone
> >
> > Regards,
> >
> > Kirk Jantzer
> > http://about.met/kirkjantzer
> >
> >
> > On Tue, Aug 13, 2013 at 7:38 PM, KENT ORTELL JOHNSON
> > <ke...@utah.edu>wrote:
> >
> > > Hello all,
> > > My System VM's keep recycling and they won't finish starting up. What
> > > could be the problem?
> > >
> > > From management-server.log I see the following error:
> > > 2013-08-13 17:04:18,318 DEBUG [cloud.storage.StorageManagerImpl]
> > > (secstorage-1:null) Trying to create in Pool[201|NetworkFilesystem]
> > > 2013-08-13 17:04:20,567 WARN  [xen.resource.CitrixResourceBase]
> > > (DirectAgent-3:null) destoryVDIbyNameLabel failed due to there are 0
> VDIs
> > > with name cloud-b53bf31e-75cb-423f-8802-ea111c47966c
> > >
> > > And a little later:
> > > 2013-08-13 17:04:20,569 DEBUG [cloud.template.TemplateManagerImpl]
> > > (consoleproxy-1:null) Template 1 download to pool 201 failed due to
> Catch
> > > Exception com.cloud.utils.exception.CloudRuntimeException on
> > > host:322ab8aa-0302-49b2-9f32-f068f7f2f8f8 for template: nfs://
> > >
> >
> 10.0.2.50/raid0/data/_NAS_NFS_Exports_/csSecondaryStorage/template/tmpl/1/1/duetocom.cloud.utils.exception.CloudRuntimeException: can not create vdi
> > > in sr 4d95693c-7a90-c380-77a5-e5fd97f657cc
> > >
> > > Does this mean that my vhd-util is not in the right place?
> > >
> > > Kent Johnson
> > > University of Utah
> > > MSIS Student
> > >
> > >
> >
>

Re: SystemVM's keep recycling

Posted by Tracy Phillips <tr...@mantoso.com>.
Kirk,

What do you mean by "- run the command to add it".

Also when you say master server, do you management server, or do you mean
the xenserver node?


On Tue, Aug 13, 2013 at 8:09 PM, Kirk Jantzer <ki...@gmail.com>wrote:

> In my experience, yes, it has to do with your secondary storage and the
> system template not being accessible. Try the following:
> - disable the zone
> - remove the secondary storage from CS
> - mount it to your master server
> - run the command to add it
> - unmount it
> - add it back to CS
> - enable the zone
>
> Regards,
>
> Kirk Jantzer
> http://about.met/kirkjantzer
>
>
> On Tue, Aug 13, 2013 at 7:38 PM, KENT ORTELL JOHNSON
> <ke...@utah.edu>wrote:
>
> > Hello all,
> > My System VM's keep recycling and they won't finish starting up. What
> > could be the problem?
> >
> > From management-server.log I see the following error:
> > 2013-08-13 17:04:18,318 DEBUG [cloud.storage.StorageManagerImpl]
> > (secstorage-1:null) Trying to create in Pool[201|NetworkFilesystem]
> > 2013-08-13 17:04:20,567 WARN  [xen.resource.CitrixResourceBase]
> > (DirectAgent-3:null) destoryVDIbyNameLabel failed due to there are 0 VDIs
> > with name cloud-b53bf31e-75cb-423f-8802-ea111c47966c
> >
> > And a little later:
> > 2013-08-13 17:04:20,569 DEBUG [cloud.template.TemplateManagerImpl]
> > (consoleproxy-1:null) Template 1 download to pool 201 failed due to Catch
> > Exception com.cloud.utils.exception.CloudRuntimeException on
> > host:322ab8aa-0302-49b2-9f32-f068f7f2f8f8 for template: nfs://
> >
> 10.0.2.50/raid0/data/_NAS_NFS_Exports_/csSecondaryStorage/template/tmpl/1/1/dueto com.cloud.utils.exception.CloudRuntimeException: can not create vdi
> > in sr 4d95693c-7a90-c380-77a5-e5fd97f657cc
> >
> > Does this mean that my vhd-util is not in the right place?
> >
> > Kent Johnson
> > University of Utah
> > MSIS Student
> >
> >
>

Re: SystemVM's keep recycling

Posted by Kirk Jantzer <ki...@gmail.com>.
In my experience, yes, it has to do with your secondary storage and the
system template not being accessible. Try the following:
- disable the zone
- remove the secondary storage from CS
- mount it to your master server
- run the command to add it
- unmount it
- add it back to CS
- enable the zone

Regards,

Kirk Jantzer
http://about.met/kirkjantzer


On Tue, Aug 13, 2013 at 7:38 PM, KENT ORTELL JOHNSON
<ke...@utah.edu>wrote:

> Hello all,
> My System VM's keep recycling and they won't finish starting up. What
> could be the problem?
>
> From management-server.log I see the following error:
> 2013-08-13 17:04:18,318 DEBUG [cloud.storage.StorageManagerImpl]
> (secstorage-1:null) Trying to create in Pool[201|NetworkFilesystem]
> 2013-08-13 17:04:20,567 WARN  [xen.resource.CitrixResourceBase]
> (DirectAgent-3:null) destoryVDIbyNameLabel failed due to there are 0 VDIs
> with name cloud-b53bf31e-75cb-423f-8802-ea111c47966c
>
> And a little later:
> 2013-08-13 17:04:20,569 DEBUG [cloud.template.TemplateManagerImpl]
> (consoleproxy-1:null) Template 1 download to pool 201 failed due to Catch
> Exception com.cloud.utils.exception.CloudRuntimeException on
> host:322ab8aa-0302-49b2-9f32-f068f7f2f8f8 for template: nfs://
> 10.0.2.50/raid0/data/_NAS_NFS_Exports_/csSecondaryStorage/template/tmpl/1/1/due to com.cloud.utils.exception.CloudRuntimeException: can not create vdi
> in sr 4d95693c-7a90-c380-77a5-e5fd97f657cc
>
> Does this mean that my vhd-util is not in the right place?
>
> Kent Johnson
> University of Utah
> MSIS Student
>
>

RE: SystemVM's keep recycling

Posted by Donal Lafferty <do...@citrix.com>.
BTW, here is an explanation of how to use the log files to identify CloudStack + XenServer issues:

http://dlafferty.blogspot.co.uk/2013/08/using-cloudstacks-log-files-xenserver.html 

Sorry for the late reply,


DL


> -----Original Message-----
> From: Kent Johnson [mailto:kent.johnson@utah.edu]
> Sent: 14 August 2013 23:43
> Cc: users@cloudstack.apache.org
> Subject: RE: SystemVM's keep recycling
> 
> Thank you, the solution to my System VM problems was putting vhd-util in
> /usr/bin and /opt/xensource/bin.
> After putting vhd-util in both places AND setting permissions with chmod +x
> then my system vm's showed up in my Infrastructure tab.
> 
> Thanks!
> 
> Kent Johnson
> University of Utah
> MSIS Graduate Student
> 
> From: Ahmad Emneina [mailto:aemneina@gmail.com]
> Sent: Tuesday, August 13, 2013 6:21 PM
> To: KENT ORTELL JOHNSON
> Cc: users@cloudstack.apache.org
> Subject: Re: SystemVM's keep recycling
> 
> did you install the vdi-util outlined in one of the install guides. I know the one
> that ships with xenserver is incompatible with cloudstack. You'll need to
> update it in two places (I believe), on the management server and on the
> xenserver hosts.
> 
> On Tue, Aug 13, 2013 at 4:38 PM, KENT ORTELL JOHNSON
> <ke...@utah.edu>> wrote:
> Hello all,
> My System VM's keep recycling and they won't finish starting up. What could
> be the problem?
> 
> From management-server.log I see the following error:
> 2013-08-13 17:04:18,318 DEBUG [cloud.storage.StorageManagerImpl]
> (secstorage-1:null) Trying to create in Pool[201|NetworkFilesystem]
> 2013-08-13 17:04:20,567 WARN  [xen.resource.CitrixResourceBase]
> (DirectAgent-3:null) destoryVDIbyNameLabel failed due to there are 0 VDIs
> with name cloud-b53bf31e-75cb-423f-8802-ea111c47966c
> 
> And a little later:
> 2013-08-13 17:04:20,569 DEBUG [cloud.template.TemplateManagerImpl]
> (consoleproxy-1:null) Template 1 download to pool 201 failed due to Catch
> Exception com.cloud.utils.exception.CloudRuntimeException on
> host:322ab8aa-0302-49b2-9f32-f068f7f2f8f8 for template:
> nfs://10.0.2.50/raid0/data/_NAS_NFS_Exports_/csSecondaryStorage/templa
> te/tmpl/1/1/<http://10.0.2.50/raid0/data/_NAS_NFS_Exports_/csSecondary
> Storage/template/tmpl/1/1/> due to
> com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr
> 4d95693c-7a90-c380-77a5-e5fd97f657cc
> 
> Does this mean that my vhd-util is not in the right place?
> 
> Kent Johnson
> University of Utah
> MSIS Student


RE: SystemVM's keep recycling

Posted by Kent Johnson <ke...@utah.edu>.
Thank you, the solution to my System VM problems was putting vhd-util in /usr/bin and /opt/xensource/bin.
After putting vhd-util in both places AND setting permissions with chmod +x then my system vm's showed up in my Infrastructure tab.

Thanks!

Kent Johnson
University of Utah
MSIS Graduate Student

From: Ahmad Emneina [mailto:aemneina@gmail.com]
Sent: Tuesday, August 13, 2013 6:21 PM
To: KENT ORTELL JOHNSON
Cc: users@cloudstack.apache.org
Subject: Re: SystemVM's keep recycling

did you install the vdi-util outlined in one of the install guides. I know the one that ships with xenserver is incompatible with cloudstack. You'll need to update it in two places (I believe), on the management server and on the xenserver hosts.

On Tue, Aug 13, 2013 at 4:38 PM, KENT ORTELL JOHNSON <ke...@utah.edu>> wrote:
Hello all,
My System VM's keep recycling and they won't finish starting up. What could be the problem?

>From management-server.log I see the following error:
2013-08-13 17:04:18,318 DEBUG [cloud.storage.StorageManagerImpl] (secstorage-1:null) Trying to create in Pool[201|NetworkFilesystem]
2013-08-13 17:04:20,567 WARN  [xen.resource.CitrixResourceBase] (DirectAgent-3:null) destoryVDIbyNameLabel failed due to there are 0 VDIs with name cloud-b53bf31e-75cb-423f-8802-ea111c47966c

And a little later:
2013-08-13 17:04:20,569 DEBUG [cloud.template.TemplateManagerImpl] (consoleproxy-1:null) Template 1 download to pool 201 failed due to Catch Exception com.cloud.utils.exception.CloudRuntimeException on host:322ab8aa-0302-49b2-9f32-f068f7f2f8f8 for template: nfs://10.0.2.50/raid0/data/_NAS_NFS_Exports_/csSecondaryStorage/template/tmpl/1/1/<http://10.0.2.50/raid0/data/_NAS_NFS_Exports_/csSecondaryStorage/template/tmpl/1/1/> due to com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 4d95693c-7a90-c380-77a5-e5fd97f657cc

Does this mean that my vhd-util is not in the right place?

Kent Johnson
University of Utah
MSIS Student


Re: SystemVM's keep recycling

Posted by Ahmad Emneina <ae...@gmail.com>.
did you install the vdi-util outlined in one of the install guides. I know
the one that ships with xenserver is incompatible with cloudstack. You'll
need to update it in two places (I believe), on the management server and
on the xenserver hosts.


On Tue, Aug 13, 2013 at 4:38 PM, KENT ORTELL JOHNSON
<ke...@utah.edu>wrote:

> Hello all,
> My System VM's keep recycling and they won't finish starting up. What
> could be the problem?
>
> From management-server.log I see the following error:
> 2013-08-13 17:04:18,318 DEBUG [cloud.storage.StorageManagerImpl]
> (secstorage-1:null) Trying to create in Pool[201|NetworkFilesystem]
> 2013-08-13 17:04:20,567 WARN  [xen.resource.CitrixResourceBase]
> (DirectAgent-3:null) destoryVDIbyNameLabel failed due to there are 0 VDIs
> with name cloud-b53bf31e-75cb-423f-8802-ea111c47966c
>
> And a little later:
> 2013-08-13 17:04:20,569 DEBUG [cloud.template.TemplateManagerImpl]
> (consoleproxy-1:null) Template 1 download to pool 201 failed due to Catch
> Exception com.cloud.utils.exception.CloudRuntimeException on
> host:322ab8aa-0302-49b2-9f32-f068f7f2f8f8 for template: nfs://
> 10.0.2.50/raid0/data/_NAS_NFS_Exports_/csSecondaryStorage/template/tmpl/1/1/due to com.cloud.utils.exception.CloudRuntimeException: can not create vdi
> in sr 4d95693c-7a90-c380-77a5-e5fd97f657cc
>
> Does this mean that my vhd-util is not in the right place?
>
> Kent Johnson
> University of Utah
> MSIS Student
>
>