[Libguestfs] [PATCH] v2v: docs: VDSM location of virt-v2v log file.

Tomáš Golembiovský tgolembi at redhat.com
Fri Jul 7 12:43:01 UTC 2017


Hi,

On Fri,  7 Jul 2017 13:00:22 +0100
"Richard W.M. Jones" <rjones at redhat.com> wrote:

> See this bug for background information:
> https://bugzilla.redhat.com/show_bug.cgi?id=1350465
> ---
>  v2v/virt-v2v.pod | 39 +++++++++++++++++++++++++++------------
>  1 file changed, 27 insertions(+), 12 deletions(-)
> 
> diff --git a/v2v/virt-v2v.pod b/v2v/virt-v2v.pod
> index e68d75cf8..93d1a9ecd 100644
> --- a/v2v/virt-v2v.pod
> +++ b/v2v/virt-v2v.pod
> @@ -1909,18 +1909,33 @@ that guest through the RHV-M UI, you may encounter an import failure.
>  Diagnosing these failures is infuriatingly difficult as the UI
>  generally hides the true reason for the failure.
>  
> -There are two log files of interest.  The first is stored on the
> -RHV-M server itself, and is called
> -F</var/log/ovirt-engine/engine.log>
> -
> -The second file, which is the most useful, is found on the SPM host
> -(SPM stands for "Storage Pool Manager").  This is a RHV node that is
> -elected to do all metadata modifications in the data center, such as
> -image or snapshot creation.  You can find out which host is the
> -current SPM from the "Hosts" tab "Spm Status" column.  Once you have
> -located the SPM, log into it and grab the file
> -F</var/log/vdsm/vdsm.log> which will contain detailed error messages
> -from low-level commands.
> +There are three log files of interest:
> +
> +=over 4
> +
> +=item F</var/log/vdsm/import/>
> +
> +In oVirt E<ge> 4.1.0, vdsm preserves the virt-v2v log file for
> +30 days in this directory.
> +
> +This directory is found on the SPM host (SPM stands for "Storage Pool
> +Manager").  This is a RHV node that is elected to do all metadata
> +modifications in the data center, such as image or snapshot creation.
> +You can find out which host is the current SPM from the "Hosts" tab
> +"Spm Status" column.

This is not correct. The logs are stored on the host performing the
conversion. This is completely unrelated to the SPM role and which host
it is can be even specified by the user in the import dialog. Maybe the
default host (unless changed by the user) is the same as the SPM host,
but that would have to be checked and even than I would refrain from
mentioning it in the docs. Which host is performing the conversion can
be checked under 'Events' tab in the oVirt administration.


> +=item F</var/log/vdsm/vdsm.log>
> +
> +As above, this file is present on the SPM host.  It contains detailed
> +error messages from low-level operations executed by VDSM, and is
> +useful if the error was not caused by virt-v2v, but by VDSM or the

Same as above. These two logs are on the same machine.

Actually it can get little bit complex and two VDSM hosts can be
involved. But I don't think we should complicate the matters here.


> +oVirt GUI.

These errors would be in the engine.log mentioned below.

    Tomas

> +
> +=item F</var/log/ovirt-engine/engine.log>
> +
> +This log file is stored on the RHV-M server.
> +
> +=back
>  
>  =head1 MINIMAL XML FOR -i libvirtxml OPTION
>  
> -- 
> 2.13.2
> 
> _______________________________________________
> Libguestfs mailing list
> Libguestfs at redhat.com
> https://www.redhat.com/mailman/listinfo/libguestfs


-- 
Tomáš Golembiovský <tgolembi at redhat.com>




More information about the Libguestfs mailing list