You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Tanner Danzey <ar...@gmail.com> on 2014/02/10 02:57:16 UTC

KVM Snapshot issues

Hello all, me again. After fixing some issues, I've narrowed my KVM
snapshot issues down to some more specific errors. Here is a log of both
the management server and the agent log from the hypervisor the snapshot is
supposed to run on.

http://pastebin.com/raw.php?i=Lu0VBPn2

Not captured by those logs: I try taking a snapshot by using the snapshot
button in the instance. Whether the instance is running or not, it tells me
that KVM snapshots aren't enabled. The snapshots are enabled, I checked and
double checked in global settings.

After that, I went to Storage and selected the root volume for the
instance. From there, I can click the snapshot volume button and the
snapshot *does in fact* begin, however, after an unknown amount of time
(takes too long for me to actually know how long) it fails with an internal
error (3). I have several snapshots of the process and result, but I feel
like there shouldn't be attachments to list messages, so if you want them I
can send them to you. The logs coincide with the screenshots. After
failing, the snapshot is stuck with the status of "CreatedOnPrimary" and
can only be deleted.

My question is, what am I doing wrong? Are there any steps that I have
missed? How do other users have KVM snapshots set up?

Thanks in advance!
-- 
*Tanner Danzey*
Systems Engineer
Northstar Technology Group
arkaniad@gmail.com / tanner.danzey@northstar-tg.com
(701) 237-9096 x7122

Re: KVM Snapshot issues

Posted by Tanner Danzey <ar...@gmail.com>.
Alright, will do. Thank you very much!

Tanner Danzey
Systems Engineer
Northstar Technology Group
tanner.danzey@northstar-tg.com
arkaniad@gmail.com
(701) 237-9096 x7222
On Feb 9, 2014 8:59 PM, "Dave Hoffman" <da...@appcore.com> wrote:

> First thing I'm seeing at the top of the error log is that a system vm
> cannot communicate over port 8250 to 10.100.0.10 which looks to be a host.
>  If the secondary storage vm cannot communicate with the host, it cannot
> copy the snapshot from the host and move it to secondary storage.  That
> would explain why the vm starts to perform a snapshot and then fail when it
> attempts to move it to the secondary storage.
>
> I would investigate that networking issue first.
>
> Ports used by Cloudstack: https://cwiki.apache.org/
> confluence/display/CLOUDSTACK/Ports+used+by+CloudStack
>
>
>
>
> On 02/09/2014 07:57 PM, Tanner Danzey wrote:
>
>> Hello all, me again. After fixing some issues, I've narrowed my KVM
>> snapshot issues down to some more specific errors. Here is a log of both
>> the management server and the agent log from the hypervisor the snapshot
>> is
>> supposed to run on.
>>
>> http://pastebin.com/raw.php?i=Lu0VBPn2
>>
>> Not captured by those logs: I try taking a snapshot by using the snapshot
>> button in the instance. Whether the instance is running or not, it tells
>> me
>> that KVM snapshots aren't enabled. The snapshots are enabled, I checked
>> and
>> double checked in global settings.
>>
>> After that, I went to Storage and selected the root volume for the
>> instance. From there, I can click the snapshot volume button and the
>> snapshot *does in fact* begin, however, after an unknown amount of time
>> (takes too long for me to actually know how long) it fails with an
>> internal
>> error (3). I have several snapshots of the process and result, but I feel
>> like there shouldn't be attachments to list messages, so if you want them
>> I
>> can send them to you. The logs coincide with the screenshots. After
>> failing, the snapshot is stuck with the status of "CreatedOnPrimary" and
>> can only be deleted.
>>
>> My question is, what am I doing wrong? Are there any steps that I have
>> missed? How do other users have KVM snapshots set up?
>>
>> Thanks in advance!
>>
>
> --
> Thanks,
> *Dave Hoffman*
> System Administrator | Appcore - the business of cloud computing®
>
> Office +1.800.735.7104 | Fax +1.515.612.7878
> Direct +1.515.612.7808 | Mobile +1.515.966.4633
> dave.hoffman@appcore.com <ma...@appcore.com> |
> www.appcore.com <http://www.appcore.com>
> ----------------------------------------------------------------------
> The information in this message is intended for the named recipients only.
> It may contain information that is privileged, confidential or otherwise
> protected from disclosure. If you are not the intended recipient, you are
> hereby notified that any disclosure, copying, distribution, or the taking
> of any action in reliance on the contents of this message is strictly
> prohibited. If you have received this e-mail in error, do not print it or
> disseminate it or its contents. In such event, please notify the sender by
> return e-mail and delete the e-mail file immediately thereafter. Thank you.
>

Re: KVM Snapshot issues

Posted by Dave Hoffman <da...@appcore.com>.
First thing I'm seeing at the top of the error log is that a system vm 
cannot communicate over port 8250 to 10.100.0.10 which looks to be a 
host.  If the secondary storage vm cannot communicate with the host, it 
cannot copy the snapshot from the host and move it to secondary 
storage.  That would explain why the vm starts to perform a snapshot and 
then fail when it attempts to move it to the secondary storage.

I would investigate that networking issue first.

Ports used by Cloudstack: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Ports+used+by+CloudStack




On 02/09/2014 07:57 PM, Tanner Danzey wrote:
> Hello all, me again. After fixing some issues, I've narrowed my KVM
> snapshot issues down to some more specific errors. Here is a log of both
> the management server and the agent log from the hypervisor the snapshot is
> supposed to run on.
>
> http://pastebin.com/raw.php?i=Lu0VBPn2
>
> Not captured by those logs: I try taking a snapshot by using the snapshot
> button in the instance. Whether the instance is running or not, it tells me
> that KVM snapshots aren't enabled. The snapshots are enabled, I checked and
> double checked in global settings.
>
> After that, I went to Storage and selected the root volume for the
> instance. From there, I can click the snapshot volume button and the
> snapshot *does in fact* begin, however, after an unknown amount of time
> (takes too long for me to actually know how long) it fails with an internal
> error (3). I have several snapshots of the process and result, but I feel
> like there shouldn't be attachments to list messages, so if you want them I
> can send them to you. The logs coincide with the screenshots. After
> failing, the snapshot is stuck with the status of "CreatedOnPrimary" and
> can only be deleted.
>
> My question is, what am I doing wrong? Are there any steps that I have
> missed? How do other users have KVM snapshots set up?
>
> Thanks in advance!

-- 
Thanks,
*Dave Hoffman*
System Administrator | Appcore - the business of cloud computing®

Office +1.800.735.7104 | Fax +1.515.612.7878
Direct +1.515.612.7808 | Mobile +1.515.966.4633
dave.hoffman@appcore.com <ma...@appcore.com> | 
www.appcore.com <http://www.appcore.com>
----------------------------------------------------------------------
The information in this message is intended for the named recipients 
only. It may contain information that is privileged, confidential or 
otherwise protected from disclosure. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, 
distribution, or the taking of any action in reliance on the contents of 
this message is strictly prohibited. If you have received this e-mail in 
error, do not print it or disseminate it or its contents. In such event, 
please notify the sender by return e-mail and delete the e-mail file 
immediately thereafter. Thank you.