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/15 22:10:29 UTC

All systemVMs fail to start

I have been trying to launch Cloudstack 4.15.1.0. I am running the management server virtually on a Ubuntu 20.04 server using KVM for my virtualization for the system VMs.

I have been following the install process listed in the apache docs.

After seeding the System VM templates and registering I started the system, the VM Images are appearing in the images section, but the SSVM, proxyconsole, and virtual router will not start. They get stuck at starting, crash, retry, and repeat. When trying to start the VMs manually, I get an "error 431 cannot find uuid". I do not see anything in the logs that specifies what uuid it is trying to look for. There are two unused uuids in the database that are the seeded system template. It almost looks like it tries to call them, but cannot copy them.
Is there a reason for this?

Here are the logs as best I can get them.
https://gist.github.com/PeterS-gd/b7606fbdc06dcd7a173901bc0af9b1d0

Re: RE: All systemVMs fail to start

Posted by Wei ZHOU <us...@gmail.com>.
Hi Peter,

It looks like the template already exists on ceph/rbd, but cloudstack does
not know.

 2021-09-16 12:57:53,036 DEBUG [utils.script.Script]
(agentRequest-Handler-1:null) (logid:20082d80) qemu-img:
rbd:cloudstack/82f24e9e-b7e6-4830-ab15-c2e7140c71de:mon_host=192.168.204.61:auth_supported=cephx:id=cloudstack:key=AQApuDdhfpp7GRAAWOajg52D4rwuQFXsGuFewg==:rbd_default_format=2:client_mount_timeout=30:
error while converting raw: error rbd create: File exists

Please remove it from ceph/rbd and retry.

-Wei

On Thu, 16 Sept 2021 at 21:00, Peter Stine <pe...@gmail.com> wrote:

> Here's the log from the agent.
>
> https://gist.github.com/PeterS-gd/04a279c5a4d4645ee7f2cd9971238b17
>
> On 2021/09/16 06:52:36, <cr...@istream.today> wrote:
> > Hello,
> >
> >      Can you enable the debug log for KVM cloudstack agent and provide
> the log?
> >
> >
> > Regards,
> > Cristian
> >
> > -----Original Message-----
> > From: Peter Stine <pe...@gmail.com>
> > Sent: Thursday, September 16, 2021 1:10 AM
> > To: users@cloudstack.apache.org
> > Subject: All systemVMs fail to start
> >
> > I have been trying to launch Cloudstack 4.15.1.0. I am running the
> management server virtually on a Ubuntu 20.04 server using KVM for my
> virtualization for the system VMs.
> >
> > I have been following the install process listed in the apache docs.
> >
> > After seeding the System VM templates and registering I started the
> system, the VM Images are appearing in the images section, but the SSVM,
> proxyconsole, and virtual router will not start. They get stuck at
> starting, crash, retry, and repeat. When trying to start the VMs manually,
> I get an "error 431 cannot find uuid". I do not see anything in the logs
> that specifies what uuid it is trying to look for. There are two unused
> uuids in the database that are the seeded system template. It almost looks
> like it tries to call them, but cannot copy them.
> > Is there a reason for this?
> >
> > Here are the logs as best I can get them.
> > https://gist.github.com/PeterS-gd/b7606fbdc06dcd7a173901bc0af9b1d0
> >
> >
>

RE: RE: All systemVMs fail to start

Posted by cr...@istream.today.
Hello,


    Check your network, there is a timeout.

c2e7140c71de:mon_host=192.168.204.61:auth_supported=cephx:id=cloudstack:key=AQApuDdhfpp7GRAAWOajg52D4rwuQFXsGuFewg==:rbd_default_format=2:client_mount_timeout=30: error while converting raw: error rbd create: File exists
2021-09-16 12:57:55,197 ERROR [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-3:null) (logid:9fbe695c) Failed to convert from /mnt/665b111e-49d0-357e-9d7a-63c5dd8d603d/82f24e9e-b7e6-4830-ab15-c2e7140c71de.qcow2 to rbd:cloudstack/82f24e9e-b7e6-4830-ab15-c2e7140c71de:mon_host=192.168.204.61:auth_supported=cephx:id=cloudstack:key=AQApuDdhfpp7GRAAWOajg52D4rwuQFXsGuFewg==:rbd_default_format=2:client_mount_timeout=30 the error was: qemu-img: rbd:cloudstack/82f24e9e-b7e6-4830-ab15-c2e7140c71de:mon_host=192.168.204.61:auth_supported=cephx:id=cloudstack:key=AQApuDdhfpp7GRAAWOajg52D4rwuQFXsGuFewg==:rbd_default_format=2:client_mount_timeout=30: error while converting raw: error rbd create: File exists
2021-09-16 12:57:55,197 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-3:null) (logid:9fbe695c) Attempting to remove storage pool 665b111e-49d0-357e-9d7a-63c5dd8d603d from libvirt
2021-09-16 12:57:55,197 DEBUG [kvm.resource.LibvirtConnection] (agentRequest-Handler-3:null) (logid:9fbe695c) Looking for libvirtd connection at: qemu:///system
2021-09-16 12:57:55,201 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-3:null) (logid:9fbe695c) Storage pool 665b111e-49d0-357e-9d7a-63c5dd8d603d has no corresponding secret. Not removing any secret.
2021-09-16 12:57:55,268 INFO  [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-3:null) (logid:9fbe695c) Storage pool 665b111e-49d0-357e-9d7a-63c5dd8d603d was succesfully removed from libvirt.
2021-09-16 12:57:55,270 DEBUG [cloud.agent.Agent] (agentRequest-Handler-3:null) (logid:9fbe695c) Seq 3-8924445611588059147:  { Ans: , MgmtId: 90520741394843, via: 3, Ver: v1, Flags: 110, [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":"false","details":"com.cloud.utils.exception.CloudRuntimeException: Failed to copy /mnt/665b111e-49d0-357e-9d7a-63c5dd8d603d/82f24e9e-b7e6-4830-ab15-c2e7140c71de.qcow2 to 82f24e9e-b7e6-4830-ab15-c2e7140c71de","wait":"0","bypassHostMaintenance":"false"}}] }
2021-09-16 12:57:57,310 DEBUG [resource.wrapper.LibvirtStopCommandWrapper] (agentRequest-Handler-2:null) (logid:20082d80) Failed to backup cmdline file due to There was a problem while connecting to 169.254.204.209:3922


Regards,
Cristian


-----Original Message-----
From: Peter Stine <pe...@gmail.com> 
Sent: Thursday, September 16, 2021 8:02 PM
To: users@cloudstack.apache.org
Subject: Re: RE: All systemVMs fail to start

Here's the log from the agent.

https://gist.github.com/PeterS-gd/04a279c5a4d4645ee7f2cd9971238b17

On 2021/09/16 06:52:36, <cr...@istream.today> wrote: 
> Hello,
> 
>      Can you enable the debug log for KVM cloudstack agent and provide the log?
> 
> 
> Regards,
> Cristian
> 
> -----Original Message-----
> From: Peter Stine <pe...@gmail.com> 
> Sent: Thursday, September 16, 2021 1:10 AM
> To: users@cloudstack.apache.org
> Subject: All systemVMs fail to start
> 
> I have been trying to launch Cloudstack 4.15.1.0. I am running the management server virtually on a Ubuntu 20.04 server using KVM for my virtualization for the system VMs.
> 
> I have been following the install process listed in the apache docs.
> 
> After seeding the System VM templates and registering I started the system, the VM Images are appearing in the images section, but the SSVM, proxyconsole, and virtual router will not start. They get stuck at starting, crash, retry, and repeat. When trying to start the VMs manually, I get an "error 431 cannot find uuid". I do not see anything in the logs that specifies what uuid it is trying to look for. There are two unused uuids in the database that are the seeded system template. It almost looks like it tries to call them, but cannot copy them.
> Is there a reason for this?
> 
> Here are the logs as best I can get them.
> https://gist.github.com/PeterS-gd/b7606fbdc06dcd7a173901bc0af9b1d0
> 
> 


Re: RE: All systemVMs fail to start

Posted by Peter Stine <pe...@gmail.com>.
Here's the log from the agent.

https://gist.github.com/PeterS-gd/04a279c5a4d4645ee7f2cd9971238b17

On 2021/09/16 06:52:36, <cr...@istream.today> wrote: 
> Hello,
> 
>      Can you enable the debug log for KVM cloudstack agent and provide the log?
> 
> 
> Regards,
> Cristian
> 
> -----Original Message-----
> From: Peter Stine <pe...@gmail.com> 
> Sent: Thursday, September 16, 2021 1:10 AM
> To: users@cloudstack.apache.org
> Subject: All systemVMs fail to start
> 
> I have been trying to launch Cloudstack 4.15.1.0. I am running the management server virtually on a Ubuntu 20.04 server using KVM for my virtualization for the system VMs.
> 
> I have been following the install process listed in the apache docs.
> 
> After seeding the System VM templates and registering I started the system, the VM Images are appearing in the images section, but the SSVM, proxyconsole, and virtual router will not start. They get stuck at starting, crash, retry, and repeat. When trying to start the VMs manually, I get an "error 431 cannot find uuid". I do not see anything in the logs that specifies what uuid it is trying to look for. There are two unused uuids in the database that are the seeded system template. It almost looks like it tries to call them, but cannot copy them.
> Is there a reason for this?
> 
> Here are the logs as best I can get them.
> https://gist.github.com/PeterS-gd/b7606fbdc06dcd7a173901bc0af9b1d0
> 
> 

RE: All systemVMs fail to start

Posted by cr...@istream.today.
Hello,

     Can you enable the debug log for KVM cloudstack agent and provide the log?


Regards,
Cristian

-----Original Message-----
From: Peter Stine <pe...@gmail.com> 
Sent: Thursday, September 16, 2021 1:10 AM
To: users@cloudstack.apache.org
Subject: All systemVMs fail to start

I have been trying to launch Cloudstack 4.15.1.0. I am running the management server virtually on a Ubuntu 20.04 server using KVM for my virtualization for the system VMs.

I have been following the install process listed in the apache docs.

After seeding the System VM templates and registering I started the system, the VM Images are appearing in the images section, but the SSVM, proxyconsole, and virtual router will not start. They get stuck at starting, crash, retry, and repeat. When trying to start the VMs manually, I get an "error 431 cannot find uuid". I do not see anything in the logs that specifies what uuid it is trying to look for. There are two unused uuids in the database that are the seeded system template. It almost looks like it tries to call them, but cannot copy them.
Is there a reason for this?

Here are the logs as best I can get them.
https://gist.github.com/PeterS-gd/b7606fbdc06dcd7a173901bc0af9b1d0