Marketplace images URL error

I am using Opennebula 5.12.0.1 and when I attempt to download an image from Marketplace One, I am getting a curl error.

cp: Command “set -e -o pipefail; /var/lib/one/remotes/datastore/fs/…/downloader.sh ‘http://marketplace.opennebula.systemsappliance/154f6edf-47dc-4bcb-af77-e55c7d31e945/download/0’ ‘/var/lib/one//datastores/1/564c439e8513cfc2e46e149c6dbf1d8b’” failed: curl: (22) The requested URL returned error: 503 Service Unavailable

I was able to download the image manually without any issue on the frontend.

A closer look at the URL shows a “/” missing between system and appliance “.systemsappliance/”. This is causing the failure. I search the mysql database and found the same error in the URL link.

How can I fix this in the database?

Hi Bill,

It seems it is getting an old URL (https://github.com/OpenNebula/one/blob/release-5.12.0.1/src/market_mad/remotes/one/monitor#L28) note that the trailing slash was always present in the file.

So I suggest, yo double check contents of this file. To force a refresh of your local data, you can remove the OpenNebula Marketplace, and add it again.

Cheers

Hi Ruben,
That was the issue. I removed and re-added the one market place and the “/” is present now and the download is working correctly.

thanks!!