Hi,
I installed vma4.1 new, on my vsphere 4.1 environment.
I added my servers without a problem (great manual!).
The problem starts when I want to run the update command.
Here is what I do:
Password:
Encountered error MetadataDownloadError:
The error data is:
VIMA-4.1.0-metadata.zip
Localfile - /var/tmp/esxupdate/metadata-2760350473111833260/metadata.zip
Message - IOError: <urlopen error (110, 'Connection timed
out')>
Errno - 4
Description - Failed to download metadata.
to test my connection:
vi-admin@vma41 vma$ ping www.vmware.com
PING e508.g.akamaiedge.net (88.221.34.52) 56(84) bytes of data.
64 bytes from a88-221-34-52.deploy.akamaitechnologies.com (88.221.34.52): icmp_seq=1 ttl=55 time=6.87 ms
No problem there. When I copy the URL in a browsers, it works.
How to fix this?
Ad
Are you 100% sure you can proxy out to the internet to access VMware's website?
You can use vima-update, but it actually is a symlink to vma-update.
Here is what it should look like:
[vi-admin@kate ~]$ sudo vma-update info vmw-VIMA-4.1.0-metadata.zip ####################################################################################### [100%]
Another way you could verify, is since you know the URL, you can use hand wget to see if you can manually download. If you can not, it means you can not access the internet, whether you don't have a proxy setup or its blocked in general which you need to get resolved.
[vi-admin@kate ~]$ wget http://www.vmware.com/go/vma41/updatevmw-VIMA-4.1.0-metadata.zip --08:45:13-- http://www.vmware.com/go/vma41/updatevmw-VIMA-4.1.0-metadata.zip Resolving www.vmware.com. 184.85.50.52 Connecting to www.vmware.com|184.85.50.52|:80. connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: http://hostupdate.vmware.com/software/VUM/PRODUCTION/vmw/vmw-VIMA-4.1.0-metadata.zip [following] --08:45:13-- http://hostupdate.vmware.com/software/VUM/PRODUCTION/vmw/vmw-VIMA-4.1.0-metadata.zip Resolving hostupdate.vmware.com... 184.85.52.7 Connecting to hostupdate.vmware.com|184.85.52.7|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2110 (2.1K) [application/zip] Saving to: `vmw-VIMA-4.1.0-metadata.zip' 100%[====================================================================================================================>] 2,110 --.-K/s in 0s 08:45:13 (252 MB/s) - `vmw-VIMA-4.1.0-metadata.zip' saved [2110/2110]
=========================================================================
William Lam
VMware vExpert 2009,2010
VMware scripts and resources at:
Getting Started with the vMA (tips/tricks)
Getting Started with the vSphere SDK for Perl
VMware Code Central - Scripts/Sample code for Developers and Administrators
![]()
If you find this information useful, please award points for "correct" or "helpful".
Are you 100% sure you can proxy out to the internet to access VMware's website?
You can use vima-update, but it actually is a symlink to vma-update.
Here is what it should look like:
[vi-admin@kate ~]$ sudo vma-update info vmw-VIMA-4.1.0-metadata.zip ####################################################################################### [100%]
Another way you could verify, is since you know the URL, you can use hand wget to see if you can manually download. If you can not, it means you can not access the internet, whether you don't have a proxy setup or its blocked in general which you need to get resolved.
[vi-admin@kate ~]$ wget http://www.vmware.com/go/vma41/updatevmw-VIMA-4.1.0-metadata.zip --08:45:13-- http://www.vmware.com/go/vma41/updatevmw-VIMA-4.1.0-metadata.zip Resolving www.vmware.com. 184.85.50.52 Connecting to www.vmware.com|184.85.50.52|:80. connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: http://hostupdate.vmware.com/software/VUM/PRODUCTION/vmw/vmw-VIMA-4.1.0-metadata.zip [following] --08:45:13-- http://hostupdate.vmware.com/software/VUM/PRODUCTION/vmw/vmw-VIMA-4.1.0-metadata.zip Resolving hostupdate.vmware.com... 184.85.52.7 Connecting to hostupdate.vmware.com|184.85.52.7|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2110 (2.1K) [application/zip] Saving to: `vmw-VIMA-4.1.0-metadata.zip' 100%[====================================================================================================================>] 2,110 --.-K/s in 0s 08:45:13 (252 MB/s) - `vmw-VIMA-4.1.0-metadata.zip' saved [2110/2110]
=========================================================================
William Lam
VMware vExpert 2009,2010
VMware scripts and resources at:
Getting Started with the vMA (tips/tricks)
Getting Started with the vSphere SDK for Perl
VMware Code Central - Scripts/Sample code for Developers and Administrators
![]()
If you find this information useful, please award points for "correct" or "helpful".
ah, man!, I feel so stupid now. I had my self fouled with the ping. Our vma/vcenter servers are a little more secured as before now. No proxy, just no http port open in the firewall protecting the server.
Thanks!
Thanks man,
Encountered error MetadataDownloadError:
The error data is:
Url - http://www.vmware.com/go/vma41/updatevmw-
VIMA-4.1.0-metadata.zip
Localfile - /var/tmp/esxupdate/metadata-2760350473111833260/metadata.zip
Message - HTTP Error 407: Proxy Authentication Required
Errno - 4
Description - Failed to download metadata.
where and how to specify the credentials for the proxy ?
