You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Peter Stine <pe...@gmail.com> on 2021/09/14 19:19:13 UTC

SSVM not starting

I am trying to start Cloudstack 4.15.1.0 but cannot get the SSVM to launch or even recognize that there is storage. (I'm running Ubuntu Server 20.04, the management server is on a virtual machine and the primary storage is on a ceph cluster (which seems to be working)) libvirt is running.

I can add the secondary storage as an NFS, but the seeded VM template does not appear. This is the relevant part in the log.

2021-09-14 14:43:44,584 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-00afa557) (logid:3775b849) There is no secondary storage VM for secondary storage host Cloudstack_Secondary
2021-09-14 14:43:44,595 DEBUG [c.c.h.o.r.Ovm3HypervisorGuru] (StatsCollector-5:ctx-00afa557) (logid:3775b849) getCommandHostDelegation: class com.cloud.agent.api.GetStorageStatsCommand
2021-09-14 14:43:44,596 DEBUG [c.c.h.XenServerGuru] (StatsCollector-5:ctx-00afa557) (logid:3775b849) We are returning the default host to execute commands because the command is not of Copy type.
2021-09-14 14:43:44,736 DEBUG [c.c.a.t.Request] (StatsCollector-5:ctx-00afa557) (logid:3775b849) Seq 3-2352849330324373554: Received:  { Ans: , MgmtId: 90520741394843, via: 3(gd-cs01-clst01-host-01), Ver: v1, Flags: 10, { GetStorageStatsAnswer } }


My colleague and I tried to have the script that extracts the template echo when it modifies the sql database, but it doesn't give output, so it's not clear what it is doing. There is, however, no addition to the database after we run the script.

I have been following the install in the latest documentation on the Apache docs.

Re: SSVM not starting

Posted by Peter Stine <pe...@gmail.com>.
Ok. I reseeded the SystemVMs and reinitialized the management server using cloudstack-setup-management. I noticed the zone was not enabled. Enabling this allowed the system to attempt create SystemVMs.

On 2021/09/15 07:52:50, Daan Hoogland <da...@gmail.com> wrote: 
> Peter,
> those log lines seem not relevant in that they don't say anything about the
> root cause.
> as you say you run ubuntu i think you mean (implied) that you use KVM as
> hypervisor, do you?
> was the system template registered before starting the system? given this
> information it seems most likely that you missed that step.
> 
> On Tue, Sep 14, 2021 at 10:02 PM Peter Stine <pe...@gmail.com> wrote:
> 
> > I am trying to start Cloudstack 4.15.1.0 but cannot get the SSVM to launch
> > or even recognize that there is storage. (I'm running Ubuntu Server 20.04,
> > the management server is on a virtual machine and the primary storage is on
> > a ceph cluster (which seems to be working)) libvirt is running.
> >
> > I can add the secondary storage as an NFS, but the seeded VM template does
> > not appear. This is the relevant part in the log.
> >
> > 2021-09-14 14:43:44,584 DEBUG [c.c.s.StatsCollector]
> > (StatsCollector-5:ctx-00afa557) (logid:3775b849) There is no secondary
> > storage VM for secondary storage host Cloudstack_Secondary
> > 2021-09-14 14:43:44,595 DEBUG [c.c.h.o.r.Ovm3HypervisorGuru]
> > (StatsCollector-5:ctx-00afa557) (logid:3775b849) getCommandHostDelegation:
> > class com.cloud.agent.api.GetStorageStatsCommand
> > 2021-09-14 14:43:44,596 DEBUG [c.c.h.XenServerGuru]
> > (StatsCollector-5:ctx-00afa557) (logid:3775b849) We are returning the
> > default host to execute commands because the command is not of Copy type.
> > 2021-09-14 14:43:44,736 DEBUG [c.c.a.t.Request]
> > (StatsCollector-5:ctx-00afa557) (logid:3775b849) Seq 3-2352849330324373554:
> > Received:  { Ans: , MgmtId: 90520741394843, via: 3(gd-cs01-clst01-host-01),
> > Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
> >
> >
> > My colleague and I tried to have the script that extracts the template
> > echo when it modifies the sql database, but it doesn't give output, so it's
> > not clear what it is doing. There is, however, no addition to the database
> > after we run the script.
> >
> > I have been following the install in the latest documentation on the
> > Apache docs.
> >
> 
> 
> -- 
> Daan
> 

Re: SSVM not starting

Posted by Daan Hoogland <da...@gmail.com>.
Peter,
those log lines seem not relevant in that they don't say anything about the
root cause.
as you say you run ubuntu i think you mean (implied) that you use KVM as
hypervisor, do you?
was the system template registered before starting the system? given this
information it seems most likely that you missed that step.

On Tue, Sep 14, 2021 at 10:02 PM Peter Stine <pe...@gmail.com> wrote:

> I am trying to start Cloudstack 4.15.1.0 but cannot get the SSVM to launch
> or even recognize that there is storage. (I'm running Ubuntu Server 20.04,
> the management server is on a virtual machine and the primary storage is on
> a ceph cluster (which seems to be working)) libvirt is running.
>
> I can add the secondary storage as an NFS, but the seeded VM template does
> not appear. This is the relevant part in the log.
>
> 2021-09-14 14:43:44,584 DEBUG [c.c.s.StatsCollector]
> (StatsCollector-5:ctx-00afa557) (logid:3775b849) There is no secondary
> storage VM for secondary storage host Cloudstack_Secondary
> 2021-09-14 14:43:44,595 DEBUG [c.c.h.o.r.Ovm3HypervisorGuru]
> (StatsCollector-5:ctx-00afa557) (logid:3775b849) getCommandHostDelegation:
> class com.cloud.agent.api.GetStorageStatsCommand
> 2021-09-14 14:43:44,596 DEBUG [c.c.h.XenServerGuru]
> (StatsCollector-5:ctx-00afa557) (logid:3775b849) We are returning the
> default host to execute commands because the command is not of Copy type.
> 2021-09-14 14:43:44,736 DEBUG [c.c.a.t.Request]
> (StatsCollector-5:ctx-00afa557) (logid:3775b849) Seq 3-2352849330324373554:
> Received:  { Ans: , MgmtId: 90520741394843, via: 3(gd-cs01-clst01-host-01),
> Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
>
>
> My colleague and I tried to have the script that extracts the template
> echo when it modifies the sql database, but it doesn't give output, so it's
> not clear what it is doing. There is, however, no addition to the database
> after we run the script.
>
> I have been following the install in the latest documentation on the
> Apache docs.
>


-- 
Daan