vCenter

 View Only
Expand all | Collapse all

Errors trying to covert VM?

  • 1.  Errors trying to covert VM?

    Posted Oct 27, 2016 12:51 AM

    I'm trying to use Vmware Converter Standalone 6.0.0 build 2716716 to convert a VM on an ESX6 server.  it worked perfectly fine in the past.  All of a sudden I'm getting an error at the very end of the conversion:

    FAILED: An error occurred during the conversion:

    'The session does not have the required permissions'

    and in the log highlights:

    Error: Unable to clone disk [DATASTORENAME] path/vmname.vmdk on the virtual machine 'Vm Name'.

    Any idea?  I did recently install Veeam backup & replication on the same client machine Converter is running on.  Veeam runs fine.

    Thanks for any help.



  • 2.  RE: Errors trying to covert VM?

    Posted Oct 27, 2016 01:00 AM

    You may run into this error if the Disk is a RAW LUN. You need to detach the RAW LUN before the conversion and add it back after you done.



  • 3.  RE: Errors trying to covert VM?

    Posted Oct 27, 2016 03:10 AM

    But I've never added a RAW LUN?  Where did this come from?  Did Veeam do it?   Do I detach this RAW LUN like is covered here:
    Switching a raw data mapping between physical and virtual compatibility modes in ESX/ESXi (1006599) | VMware KB ?

    And when I do this command:

    find /vmfs/volumes/ -type f -name '*.vmdk' -size -1024k -exec grep -l '^createType=.*RawDeviceMap' {} \;

    found here: Identifying virtual disks pointing to Raw Device Mappings (RDMs) (1005937) | VMware KB

    it shows I have no Raw Devices Mappings?

    [root@local:/vmfs/volumes] find /vmfs/volumes/ -type f -name '*.vmdk' -size -1024k -exec grep -l '^createType=.*RawDeviceMap' {} \;

    [root@local:/vmfs/volumes]

    So this means I my disks are not raw lun's correct?  So it can't be the problem..



  • 4.  RE: Errors trying to covert VM?

    Posted Oct 27, 2016 04:24 PM

    Yes, you're right. And if you go to summary of the VM, look for RAW LUN - as show below in the image.



  • 5.  RE: Errors trying to covert VM?

    Posted Oct 27, 2016 08:53 PM

    Yes, I only have  one Hard disk 1 = Virtual disk, no Mapped Raw LUN.

    But this still leaves me confused, why can't Converter back it up?  Why my error?



  • 6.  RE: Errors trying to covert VM?

    Posted Oct 27, 2016 08:57 PM

    Based on your error report, I can say try to resolve this issue, ensure that the destination datastore is formatted with a block size that is large enough to support the VMDK file of the source machine.

    Refere this KB: Cloning or migrating virtual machine files fail with the error: Error caused by file (2009097) | VMware KB



  • 7.  RE: Errors trying to covert VM?

    Posted Oct 27, 2016 08:59 PM

    Also, best practice for Veeam Backup server SSO is to keep it on a different server.



  • 8.  RE: Errors trying to covert VM?

    Posted Oct 28, 2016 07:32 AM

    Can you upload the log bundle?

    It may be something relate to vSphere permissions. The required permissions for conversion are not immediately obvious; you may have a look in the user guide, p.26.

    Regards,

    Plamen



  • 9.  RE: Errors trying to covert VM?

    Posted Oct 28, 2016 06:49 PM

    I temporarily made the log files available here:

    http://sites.extremehosting.ca/temp/ConverterDiagnostics20161028144919.zip

    If you can find something wrong please let me know, I'm lost.  I was trying to convert the VM called "Mail Crescent - mailserver1", thats what fails.  actually all my VMs fail, but thats what fails in these logs.



  • 10.  RE: Errors trying to covert VM?

    Posted Oct 28, 2016 07:11 PM

    I'm assuming you downloaded the latest version of converter?  What OS is mailserver1?  Did you try running converter from the server?



  • 11.  RE: Errors trying to covert VM?

    Posted Oct 31, 2016 08:26 AM

    These are the GUI logs.

    Click in the failed task and select "export logs"



  • 12.  RE: Errors trying to covert VM?

    Posted Oct 28, 2016 07:13 PM

    Hi,

    Can you check with the block size of the destination datastore might be does not support a VMDK as large as the source.


    OR

    When you try to convert a VM with Paravirtual SCSI Controller, VMware Converter throws you a nice error and the task fails with Status: FAILED: An error occurred during the conversion

    Try doing this:

    – Change all Paravirtual controllers to LSI Logic (VM MUST be powered off)

    – Do NOT poweron the VM from now on

    – Perform the Convert, make sure VM is not powered on automatically after convert

    – Change SCSI controller back to Paravirtual

    – Power on VM


    To change a SCSI controller, open Edit Settings… from the VM and select the SCSI Controller.  Click the Change Type… button and modify the SCSI Controller Type.



  • 13.  RE: Errors trying to covert VM?

    Posted Oct 29, 2016 01:31 AM

    I'm running Converter 6 locally on a Windows 8 machine.  Destination is not to a datastore but to the local Win8 NTFS filesystem.   I see theres a converter 6.1 which I'm trying now.  When I try to convert the source VM is a powered off Linux VM.  I'll report back soon, thanks for the help.



  • 14.  RE: Errors trying to covert VM?

    Posted Oct 29, 2016 01:50 AM

    I updated Vmware Convert to 6.1.1.  Exact same problem.  Log highlights say "Error: Unable to clone disk [MyDataStoreName]".   Source VM is only 4.6GB in size.  So thats not the problem.  SCSI Controller Type is BusLogic which has been fine for like 10 years.  All of a sudden I have this problem, which has surfaced right after I installed Veeam Backup & Replication.

    When I try to Convert a local Vmware workstation machine on the Win8 machine up to the ESX server it also fails but with a different error:

    FAILED: An error occurred during the conversion:

    'The operation experienced a network error'

    Always right at the end at 99% done.



  • 15.  RE: Errors trying to covert VM?

    Posted Oct 29, 2016 03:24 AM

    How much free space should a datastore have to do snapshots?  I have a backup job with Veeam that is working and it says in the logs as it works "Creating snapshot".  The VM size is 14GB and the free space on the datastore is 28GB.  Sounds ok.

    I have another VM that fails on the same datastore but the size of that VM is 130GB, do I need more free space to make it work then?



  • 16.  RE: Errors trying to covert VM?

    Posted Oct 31, 2016 08:35 AM

    It is possible that Veeam interferes with the conversion. If you can stop it and retry, it's worth trying.

    Since the error is at 99%, the cloning has passed. You can try just configure the destination VM if it it Windows and power it on.

    If all that fails - post the worker's log.



  • 17.  RE: Errors trying to covert VM?

    Posted Nov 01, 2016 11:13 PM

    Its a linux destination guest.  I put logs here that probably have the working stuff in it if anyone can take a look:

    http://sites.extremehosting.ca/temp/ConverterDiagnostics20161101191643.zip