VMware Cloud Community
CB1
Enthusiast
Enthusiast

Exporting\Importing Update Manager Patches

I have exported Vmware ESX host patches using vmware-umds. Now I'm trying to import the patches to my Virtual Center server that not connect to the internet. The import get to 66% and bombs out.

I receive 2 errors on VC shown in file attachment.

This is the following output from the Import task.

C:\Program Files\VMware\Infrastructure\Update Manager>vmware-updateDownloadCli.exe --update-path c:\hostupdate --config-import esx --vc-user cbrown -i 6

Current working directory: C:\Program

Files\VMware\Infrastructure\Update Manager

HOSTINFO: Seeing AMD CPU, numCoresPer

CPU 2 numThreadsPerCore 1.

HOSTINFO: This machine has 2 physical

CPUS, 4 total cores, and 4 logical CPUs.

TaskMax=10, IoMin=1, IoMax=2

1

Using system libcrypto, version 90709

F

Vmacore::InitSSL: doVersionCheck = true, handshakeTimeoutUs = 120000000

Please type in password for user <cbrown>:

Connecting to VMware Update Manager Service to import updates

Connecting to host localhost on port 443 using protocol https

SSLVerifyCertAgainstSystemStore: Subject mismatch: VMware vs localhost

SSLVerifyCertAgainstSystemStore: The remote host certificate has these problems:

  • The host name used for the connection does not match the subject name on the host certificate

  • A certificate in the host's chain is based on an untrusted root.

SSLVerifyIsEnabled: failed to read

registry value. Assuming verification is disabled. LastError = 0

SSLVerifyCertAgainstSystemStore: Certificate verification is disabled, so connection will proceed despite the error

Authenticating user cbrown

Logged in!

Creating adapter...

INFO - Successfully connected to Integrity.VcIntegrity

SSLVerifyCertAgainstSystemStore: Subject mismatch: VMware vs hpswvc33301

SSLVerifyCertAgainstSystemStore: The remote host certificate has these problems:

  • The host name used for the connection does not match the subject name on the host certificate

  • A certificate in the host's chain is based on an untrusted root.

SSLVerifyIsEnabled: failed to read

registry value. Assuming verification is disabled. LastError = 0

SSLVerifyCertAgainstSystemStore: Certificate verification is disabled, so connection will proceed despite the error

INFO - Get configure file information successfully

INFO - Set configure file information successfully

INFO - Waiting for a task to complete...

INFO - Update state: running

INFO - Update Progress: 33%

INFO - Update state: running

INFO - Update Progress: 66%

INFO - Update state: running

INFO - Update state: running

INFO - Update state: running

INFO - Update state: running

INFO - Update state: error

INFO - Download/Import task failed.

For detailed information, please refer to Virtual Infrastruture Client.

Please let me know if you have any suggestions.

0 Kudos
3 Replies
surfup
Enthusiast
Enthusiast

Have you find the answer for this?

0 Kudos
Vmotioner
Contributor
Contributor

I had a similar problem where the path I specified was not being used as specified.

Look in "C:\Documents and Settings\All Users\Application Data\VMware\VMware Update Manager\Logs\vmware-vci-log4cpp.log

Look where it's failing.

My problem was that I specified c:\data as my import directory but the script was looking for c:\data\hostupdate.

I just created the hostupdate folder in c:\data and moved all patches to it. The next time I ran the vmware-updateDownloadCLI.exe everything worked fine.

Good Luck

0 Kudos
denali80
Enthusiast
Enthusiast

I haven't had much luck with the import/export features, especially

since you need twice the space for the process to work correctly.

Here's what I do instead:

1) download patches on an internet-connected machine using the vmware-umds.exe tool

2) copy the new patches & contents of the 'metadata' folder to the patch repository on your Update Manager server

3) run 'vmware-updateDownloadCLI.exe -p <path> -U <user> <pass>'

This updates your patch repository with all of the new patches and updates your database with the new file locations.

Hope that helps,

Clay

0 Kudos