<div dir="ltr"><div><div><div>Hello,<br><br></div>what is the size of the RAM for the flavor of the instance you are trying to snapshotting ?<br><br></div>thank you<br><br></div>Saverio<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-08-25 8:48 GMT+02:00 Michael Stang <span dir="ltr"><<a href="mailto:michael.stang@dhbw-mannheim.de" target="_blank">michael.stang@dhbw-mannheim.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>

    
<div><div>Hi Konstantin, hi Saverio</div>
<div> </div>
<div>thank you for your answers.</div>
<div> </div>
<div>I checked the version, these are</div>
<div> </div>
<div>libvirt 1.3.1-1ubuntu10.1~<wbr>cloud0</div>
<div>qemu  1:2.5+dfsg-5ubuntu10.2~<wbr>cloud0</div>
<div> </div>
<div>at our installation, system is Ubuntu 14.04.</div>
<div> </div>
<div> </div>
<div>I tried also the following from [2]</div>
<div> </div>
<div>Command: 
<p style="display:inline!important">nova image-create test "snap_of_test" --poll</p>
</div>
<div><span style="font-size:9pt">Result: </span><span style="font-size:9pt">Server snapshotting... 25% completeERROR (NotFound): Image not found. (HTTP 404)</span></div>
<div> </div>
<div> </div>
<div>Then I started trying step by step as in [2] but failed at the first step already:</div>
<div> </div>
<div>Command: 
<p style="display:inline!important">virsh managedsave instance-00000367</p>
</div>
<div>
<p>Result:</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</p>
<p> </p>
<p>I also checked on the compute nodes the directories:</p>
<p><span>/var/lib/libvirt/qemu/save/</span><br><span>/var/lib/nova/instances/<wbr>snapshots/</span></p>
<p>there is 257G free space and the instance only has 1GB root disk, so I think its not missing space.</p>
<p> </p>
<p>So is this maybe a problem with qemu? How can i enable 'migrate' and why is it disabled?</p>
<p> </p>
<p>Thank you for your help.</p>
<p> </p>
<p>Kind regards,<br>Michael</p>
<p> </p>
<p> </p>
</div>
<div> </div>
<div> </div>
<div><br>> <a href="mailto:Kostiantyn.Volenbovskyi@swisscom.com" target="_blank">Kostiantyn.Volenbovskyi@<wbr>swisscom.com</a> hat am 24. August 2016 um 14:51 geschrieben:<div><div class="h5"><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. See <a href="https://bugs.launchpad.net/nova/+bug/1334398" target="_blank">https://bugs.launchpad.net/<wbr>nova/+bug/1334398</a>"<br>> <br>> I am not sure if Nova behaves like that in case you have disable_libvirt_livesnapshot=<wbr>True (default in Liberty and Mitaka apparently...)<br>> 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>> <br>> BR, <br>> Konstantin<br>> [1] <a href="http://docs.openstack.org/liberty/config-reference/content/list-of-compute-config-options.html" target="_blank">http://docs.openstack.org/<wbr>liberty/config-reference/<wbr>content/list-of-compute-<wbr>config-options.html</a><br>> [2] <a href="https://kashyapc.com/2013/03/11/openstack-nova-image-create-under-the-hood/" target="_blank">https://kashyapc.com/2013/03/<wbr>11/openstack-nova-image-<wbr>create-under-the-hood/</a><br>> <br>> <br>> <br>> <br>> <br>> From: Michael Stang [mailto:<a href="mailto:michael.stang@dhbw-mannheim.de" target="_blank">michael.stang@dhbw-<wbr>mannheim.de</a>] <br>> Sent: Wednesday, August 24, 2016 9:55 AM<br>> To: openstack-operators <<a href="mailto:openstack-operators@lists.openstack.org" target="_blank">openstack-operators@lists.<wbr>openstack.org</a>><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). 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-<wbr>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" target="_blank">michael.stang@dhbw-mannheim.de</a><br>> <a href="http://www.dhbw-mannheim.de" target="_blank">http://www.dhbw-mannheim.de</a><br>> <br>> <br>> <br>> </div></div></div>
Viele Grüße<span class=""><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-<wbr>naturwissenschaftliches Basiswissen<br>Fachbereich Informatik, Fakultät Technik<br>Coblitzallee 1-9<br>68163 Mannheim<br><br></span>Tel.: <a href="tel:%2B49%20%280%29621%204105%20-%201367" value="+4962141051367" target="_blank">+49 (0)621 4105 - 1367</a><br><a href="mailto:michael.stang@dhbw-mannheim.de" target="_blank">michael.stang@dhbw-mannheim.de</a><br><a href="http://www.dhbw-mannheim.de" target="_blank">http://www.dhbw-mannheim.de</a><br><br><br><br><img src="http://www.dhbw-mannheim.de/fileadmin/media/mail/signatur/dhbw_logo_mail.jpg" border="0"><br><br></div>
 </blockquote></div><br></div>