Skip to main content
Contributor
October 17, 2016

Technical Note: [Accelops KB] Problem - Downloading image fails with error "Cannot retrieve repository metadata (repomd.xml) for repository: accelops-va. Please verify its path and try again Failed to download"

  • October 17, 2016
  • 0 replies
  • 1068 views

Description

Summary of Article

When running phdownloadimage I receive an error indicating the image failed to download.  

 

Resolution

If you receive the following error when running phdownloadimage it is likely due to a firewall or ACL blocking the connection.

Please verify there is no such firewall or ACL in place.

[root@hosrv48 pbin]# ./phdownloadimage AOUSER AOPASSWORD https://images.accelops.net/upgrade/va/latest/ 
The process to download the upgrade image download may take some time and use a considerable amount of bandwidth. Would you like to start the download now? (yes/no) : 
yes 
continue to download . 
Download images for accelops-va 
Download url: https://AOUSER:******@images.accelops.net/upgrade/va/latest/ 
Please wait... 
./usr/bin/yumdownloader -c /etc/yum.repos.d/accelops-va.repo --destdir=/var/cache/yum/accelops-va/packages/ accelops-va 
Repository accelops-va is listed more than once in the configuration 
https://images.accelops.net/upgrade/va/latest/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')> 
Trying other mirror. 
Cannot retrieve repository metadata (repomd.xml) for repository: accelops-va. Please verify its path and try again 
Failed to download 

 

If this does not resolve the issue contact AccelOps Support.