<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
@font-face
        {font-family:Ubuntu;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
p.mceresizehandle, li.mceresizehandle, div.mceresizehandle
        {mso-style-name:mceresizehandle;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        background:white;
        border:none;
        padding:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Trebuchet MS",sans-serif;
        color:#44546A;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:70.85pt 70.85pt 56.7pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE-CH" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#44546A;mso-fareast-language:EN-US">Hi,
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#44546A;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#44546A;mso-fareast-language:EN-US">In my previous mail I have indicated the link to website of Kashyap that provides the sequence for cold snapshot
 and not live snapshot.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#44546A;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#44546A;mso-fareast-language:EN-US">Could you try the sequence specified in comment ‘</span><span style="font-size:9.0pt;font-family:Ubuntu;color:#333333"><a href="https://launchpad.net/~kashyapc"><span lang="EN-US">Kashyap
 Chamarthy (kashyapc)</span></a></span><span style="font-size:9.0pt;font-family:Ubuntu;color:#333333">
</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#44546A;mso-fareast-language:EN-US">wrote on 2014-06-27’ in [1]</span><span lang="EN-US" style="font-size:9.0pt;font-family:Ubuntu;color:#333333"> ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#44546A;mso-fareast-language:EN-US">Libvirt API equivalent of virsh managedsave is not something that is used in live snapshot according to that (I haven’t
 checked source code myself)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:Ubuntu;color:#333333"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#44546A;mso-fareast-language:EN-US">BR,
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#44546A;mso-fareast-language:EN-US">Konstantin<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Ubuntu;color:#333333">[1]
</span><a href="https://bugs.launchpad.net/nova/+bug/1334398">https://bugs.launchpad.net/nova/+bug/1334398</a><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#44546A;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#44546A;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Michael Stang [mailto:michael.stang@dhbw-mannheim.de]
<br>
<b>Sent:</b> Thursday, August 25, 2016 8:48 AM<br>
<b>To:</b> Volenbovskyi Kostiantyn, INI-ON-FIT-CXD-ELC <Kostiantyn.Volenbovskyi@swisscom.com>; Saverio Proto <zioproto@gmail.com><br>
<b>Cc:</b> openstack-operators@lists.openstack.org<br>
<b>Subject:</b> RE: [Openstack-operators] Mitaka live snapshot of instances not working<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi Konstantin, hi Saverio<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">thank you for your answers.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">I checked the version, these are<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">libvirt 1.3.1-1ubuntu10.1~cloud0<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">qemu  1:2.5+dfsg-5ubuntu10.2~cloud0<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">at our installation, system is Ubuntu 14.04.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">I tried also the following from [2]<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Command:  <o:p></o:p></p>
<p>nova image-create test "snap_of_test" --poll<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt">Result: Server snapshotting... 25% completeERROR (NotFound): Image not found. (HTTP 404)</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Then I started trying step by step as in [2] but failed at the first step already:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Command:  <o:p></o:p></p>
<p>virsh managedsave instance-00000367<o:p></o:p></p>
</div>
<div>
<p>Result:<o:p></o:p></p>
<p>error: Failed to save domain instance-00000367 state<br>
error: internal error: unable to execute QEMU command 'migrate': Migration disabled: failed to allocate shared memory<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>I also checked on the compute nodes the directories:<o:p></o:p></p>
<p>/var/lib/libvirt/qemu/save/<br>
/var/lib/nova/instances/snapshots/<o:p></o:p></p>
<p>there is 257G free space and the instance only has 1GB root disk, so I think its not missing space.<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>So is this maybe a problem with qemu? How can i enable 'migrate' and why is it disabled?<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>Thank you for your help.<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>Kind regards,<br>
Michael<o:p></o:p></p>
<p> <o:p></o:p></p>
<p> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><br>
> <a href="mailto:Kostiantyn.Volenbovskyi@swisscom.com">Kostiantyn.Volenbovskyi@swisscom.com</a> hat am 24. August 2016 um 14:51 geschrieben:<br>
> <br>
> <br>
> Hi,<br>
> extract from [1] ((side note: I couldn't find that in config reference for Mitaka) is:<br>
> "disable_libvirt_livesnapshot = True<br>
> (BoolOpt) When using libvirt 1.2.2 live snapshots fail intermittently under load. This config option provides a mechanism to enable live snapshot while this is resolved.
<span lang="EN-US">See </span><a href="https://bugs.launchpad.net/nova/+bug/1334398"><span lang="EN-US">https://bugs.launchpad.net/nova/+bug/1334398</span></a><span lang="EN-US">"<br>
> <br>
> I am not sure if Nova behaves like that in case you have disable_libvirt_livesnapshot=True (default in Liberty and Mitaka apparently...)<br>
</span>> In case it is not about that, then I would try to do it manually using something like [2] as guideline to see if it succeeds using Libvirt/QEMU without Nova.<br>
<span lang="EN-US">> <br>
> BR, <br>
> Konstantin<br>
> [1] </span><a href="http://docs.openstack.org/liberty/config-reference/content/list-of-compute-config-options.html"><span lang="EN-US">http://docs.openstack.org/liberty/config-reference/content/list-of-compute-config-options.html</span></a><span lang="EN-US"><br>
> [2] </span><a href="https://kashyapc.com/2013/03/11/openstack-nova-image-create-under-the-hood/"><span lang="EN-US">https://kashyapc.com/2013/03/11/openstack-nova-image-create-under-the-hood/</span></a><span lang="EN-US"><br>
> <br>
> <br>
> <br>
> <br>
> <br>
> From: Michael Stang [</span><a href="mailto:michael.stang@dhbw-mannheim.de"><span lang="EN-US">mailto:michael.stang@dhbw-mannheim.de</span></a><span lang="EN-US">]
<br>
> Sent: Wednesday, August 24, 2016 9:55 AM<br>
> To: openstack-operators <</span><a href="mailto:openstack-operators@lists.openstack.org"><span lang="EN-US">openstack-operators@lists.openstack.org</span></a><span lang="EN-US">><br>
> Subject: [Openstack-operators] Mitaka live snapshot of instances not working<br>
> <br>
> Hi all,<br>
>  <br>
> we have a problem in our new mitaka installation, it seems that it is not possible to do a snapshot of a running instance (normal instance without an attached volume).
</span>When with try to do a snapshot we get a success message, but the snapshot is only showed shortly in the imagelist with status deleted. I we shutoff the instance and then do a snapshot it is working without problems.<br>
>  <br>
> When we use a cinder volume as root disk instead an ephermal root disk a volume snapshot could be made without problem in running state of the instance.<br>
>  <br>
> The same behaviour we have on an other installation of mitaka from our colleagues.<br>
>  <br>
> Is this behaviour normal in Mitaka or ist this maybe a bug? Because in Juno we could do snapshots from running instances  without problems.<br>
>  <br>
>  <br>
> Regards, <br>
> Michael<br>
>  <br>
> <br>
> <br>
> Michael Stang<br>
> Laboringenieur, Dipl. Inf. (FH)<br>
> <br>
> Duale Hochschule Baden-Württemberg Mannheim<br>
> Baden-Wuerttemberg Cooperative State University Mannheim<br>
> ZeMath Zentrum für mathematisch-naturwissenschaftliches Basiswissen<br>
> Fachbereich Informatik, Fakultät Technik<br>
> Coblitzallee 1-9<br>
> 68163 Mannheim<br>
> <br>
> <br>
> <a href="mailto:michael.stang@dhbw-mannheim.de">michael.stang@dhbw-mannheim.de</a><br>
> <a href="http://www.dhbw-mannheim.de">http://www.dhbw-mannheim.de</a><br>
> <br>
> <br>
> <br>
> <o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Viele Grüße<br>
<br>
Michael Stang<br>
Laboringenieur, Dipl. Inf. (FH)<br>
<br>
Duale Hochschule Baden-Württemberg Mannheim<br>
Baden-Wuerttemberg Cooperative State University Mannheim<br>
ZeMath Zentrum für mathematisch-naturwissenschaftliches Basiswissen<br>
Fachbereich Informatik, Fakultät Technik<br>
Coblitzallee 1-9<br>
68163 Mannheim<br>
<br>
Tel.: +49 (0)621 4105 - 1367<br>
<a href="mailto:michael.stang@dhbw-mannheim.de">michael.stang@dhbw-mannheim.de</a><br>
<a href="http://www.dhbw-mannheim.de">http://www.dhbw-mannheim.de</a><br>
<br>
<br>
<br>
<img border="0" id="_x0000_i1025" src="http://www.dhbw-mannheim.de/fileadmin/media/mail/signatur/dhbw_logo_mail.jpg"><o:p></o:p></p>
</div>
</div>
</body>
</html>