Error copying image in the datastore in Opennebula 5.2

Error:
Mon Feb 20 17:04:01 2017 : Error copying image in the datastore: Error copying http://marketplace.opennebula.systems//appliance/45b2b102-cb4d-499e-9a69-71403bce1ae6/download/0 to /var/lib/one//datastores/100/1348b79cd410b8a058bfeff7bd3631bf

When downloading Images from apps Image state changes to error state. What is the problem?

I have the same problem…

how to solve this problem

There is probably more information in your /var/log/one/oned.log files, could paste the relevant lines? Or alternatively a gist (https://gist.github.com/) of the whole file.

I have added oned.log error. Check this link https://gist.github.com/anonymous/adca2a210cacc1f0db2f2571657f20b2

From the log looks like a connectivity issue, can you check that you can connect to all the relevant servers from the front-end?

There are 3 problems described in this thread:

  1. Missing http://marketplace.opennebula.systems//appliance/45b2b102-cb4d-499e-9a69-71403bce1ae6 . This appliance is gone, it was replaced by https://marketplace.opennebula.systems/appliance/51a7685d-b9a6-43a4-a160-41ab0f6caa5e.

  2. If you still see some obsolete appliances in your OpenNebula installation, you have some older version which didn’t synchronize and cleaned up the local appliances list properly. It was fixed by https://dev.opennebula.org/issues/4977. You can use this patch https://github.com/OpenNebula/one/blob/master/src/onedb/patches/marketapps_clean.rb to fix your database or disable them via onemarketapp disable $NAME as described here OpenNebula Marketplace cleanup.

  3. The connection timeout to the Market Place server is a different problem unrelated to the above. From time to time it can happen the MP server is under load and the requests fail on timeout. Because the OpenNebula polls MP very often and appliances nearly don’t change, unless you see the error every e.g. 5 minutes, you don’t need to worry.

Best regards,
Vlastimil Holer