disable_libvirt_livesnapshot conf option

As being seen in the gate, libvirt 1.2.2 doesn't appear to actually
handle live snapshotting under any appreciable load (possibly
related to parallel operations). It isn't a 100% failure, but it's
currently being hit in a large number of runs.

Add the disable_libvirt_livesnapshot option ([workarounds] section,
nova.conf) to disable live snapshotting rather than
hack MIN_LIBVIRT_LIVESNAPSHOT_VERSION.

This commit adds the info to the Admin Cloud Guide,
the Troubleshoot Compute section.

Closes-bug: 1419147

Change-Id: I27aa2566f38631e12c3ca92a87eb59f9fd6dda48
This commit is contained in:
OlgaGusarenko 2015-03-05 13:57:53 +02:00
parent be1f7b6c79
commit 9a89d1e0cb

View File

@ -243,4 +243,22 @@ inject_partition = -2</programlisting>
disable injection.</para>
</note>
</section>
<section xml:id="live-snapshotting-fail">
<title>Disable live snapshotting</title>
<para>If you use libvirt version <literal>1.2.2</literal>,
you may experience problems with live snapshots creation.
Occasionally, libvirt of the specified version
fails to perform the live snapshotting under load
that presupposes a concurrent creation of
multiple snapshots.</para>
<para>To effectively disable the libvirt live snapshotting, until the problem
is resolved, configure the <option>disable_libvirt_livesnapshot</option>
option. You can turn off the live snapshotting mechanism by setting
up its value to <literal>True</literal> in the
<literal>[workarounds]</literal> section
of the <filename>nova.conf</filename> configuration file:</para>
<programlisting language="ini">[workarounds]
disable_libvirt_livesnapshot = True</programlisting>
</section>
</section>