Connect with me!

Have a question? Want to hire me? Reach out and Connect!
I'm available for remote and onsite consulting!
To live chat with me, Click Here!
Categories: ESXiVMwarevSphere

VMware vSphere 6.0 – Migration to vCenter Appliance 6.5 failed on export due to VMware Update Manager

During my first migration from VMware vCenter 6.0 to VMware vCenter 6.5 Virtual appliance, the migration failed. The migration installation UI would shutdown the source VM, and numerous errors would occur afterwards when the destination vCenter appliance would try finishing configuration.

If you were monitoring the source vCenter server, during the export process, one would notice that an error pops up while compressing the source data. The error presented is generated from Windows creating an archive (zip file), the error reads: “The compressed (zipped) folder is invalid or corrupted.”. The entire migration process halts until you dismiss this message, with the entire migration ultimately failing (at first it appears to continue, but ultimately fails).

If you continued, and had the migration fail. You’ll need to power off the failed (new) vCenter appliance (it’s garbage now), and you’ll need to power on the source (original) vCenter server. The active directory trust will no longer exist at this point, so you’ll need to log on with a local (non-domain) account (on the source server), and re-create the computer trust on the domain using the netdom command:

netdom resetpwd /s:SERVERNAMEOFDOMAINCONTROLLER /ud:DOMAIN\ADMINACCOUNT /pd:*

After re-creating the trust, restart the original vCenter server. You have now reverted to your original vCenter instance and can retry the migration.

Now back to the main issue. I tried a bunch of different things and wasted an entire evening (checking character lengths on paths/filenames, trying different settings, pausing processes in case timeouts were being hit, etc…) however finally I noticed that the compression archive would crash/fail on a file called “vum_registry”.

VUM brings VMware Update Manager to mind, which I do have installed, configured, and running.

I went ahead and uninstalled VMware Update Manager off my source server (as it’s easy enough to re-configure from scratch after the migration). I then proceeded to initiate a migration. To my surprise, the “data to migrate” went from 7.9GB to 2.4GB. This is a huge sign that something was messed up with my VMware update manager deployment (even though it was working fine). I’m assuming there were either filenames that were too long (exceeded the 260 character limit on paths and filenames), special characters were being used where they shouldn’t, or something else was messed up.

After the uninstall of Update Manager, the migration completed successfully. Leave a comment!

Stephen Wagner

Stephen Wagner is President of Digitally Accurate Inc., an IT Consulting, IT Services and IT Solutions company. Stephen Wagner is also a VMware vExpert, NVIDIA NGCA Advisor, and HPE Influencer, and also specializes in a number of technologies including Virtualization and VDI.

View Comments

  • Thanks; I had this same problem. I managed to abort the migration task before the AD trust was removed though, so all I had to do was reboot the vcenter server, uninstall VUM and give it another go.. running now!

  • I had the same issue. Uninstalling VUM was not enough for me. Probably an issue with the uninstaller but I had to take the VUM Database offline before the error disappeared. Hopefully this will help others.

  • Hi - if I uninstall the Update Manager the migration assistant pre-checks fail (the very first time) saying something about an internal error with Update Manager and I can't get any further. It looks like the plugin is still in the web client which I can disable but it's like it hasn't uninstalled it properly. Or is this usual behaviour? I didn't check the databases after uninstalling so to confirm, will the UpdateManager DB still be there after uninstall? If so I could try taking it offline before attempting again. Have tried this 3 times already. Grrrr......

  • Hi all, I've the same problem but uninstalling vum and taking offline vum database didn't help.. data decreases a lot but error is always on file vum_registry.csv :(

  • Hi OrsoBianco,

    You'll notice up a few comments, you'll notice "KoenVB" suggested taking the VUM database offline. Try giving that a shot.

    Also, did you restart the server after the uninstallation of VUM?

    Cheers,
    Stephen

  • Hi, I've already tried with vum db offline with no success, but finally I've found the cause!
    Previous attempt has created vum_registry.csv and so on files (for example a vum...zip file) but when you do a new test, those files remain in the temp directory (for example c:\users\myuser\appdata\...\vmwaremigrationassistant\....\) and a new attempt does not delete that garbage, they will be used even if vum is uninstalled!
    I've deleted those files and everything works fine!
    Thanks :)

  • That's great! I'm glad you figured it out.

    And thank you for posting the details on your fix, as I'm sure it'll be able to help others!

  • I also had to take the VUM database offline, just uninstalling VUM wasn't enough. For what it's worth, I had my vCenter and VUM databases on a separate SQL server.

  • Just ran across this issue today. Thank you for all the time you just saved me tracking down the issue.

  • Had the same issue. VMware support had suggested uninstalling VUM, but didn't mention taking the database offline. After doing that, and cleaning out the migration assistant directory, the migration succeeded.

    Thanks!

Share
Published by

Recent Posts

How to properly decommission a VMware ESXi Host

While most of us frequently deploy new ESXi hosts, a question and task not oftenly discussed is how to properly decommission a VMware ESXi host. Some might be surprised to… Read More

4 months ago

Disable the VMware Horizon Session Bar

This guide will outline the instructions to Disable the VMware Horizon Session Bar. These instructions can be used to disable the Horizon Session Bar (also known as the Horizon Client… Read More

4 months ago

vGPU Enabled VM DRS Evacuation during Maintenance Mode

Normally, any VMs that are NVIDIA vGPU enabled have to be manually migrated with manual vMotion if a host is placed in to maintenance mode, to evacuate the host. While… Read More

4 months ago

GPU issues with the VMware Horizon Indirect Display Driver

You may experience GPU issues with the VMware Horizon Indirect Display Driver in your environment when using 3rd party applications which incorrectly utilize the incorrect display adapter. This results with… Read More

4 months ago

Synology DS923+ VMware vSphere Use case and Configuration

Today we're going to cover a powerful little NAS being used with VMware; the Synology DS923+ VMware vSphere Use case and Configuration. This little (but powerful) NAS is perfect for… Read More

4 months ago

How to Install the vSphere vCenter Root Certificate

Today we'll go over how to install the vSphere vCenter Root Certificate on your client system. Certificates are designed to verify the identity of the systems, software, and/or resources we… Read More

5 months ago
Powered and Hosted by Digitally Accurate Inc. - Calgary IT Services, Solutions, and Managed Services