Hello everybody,
I’m trying to create a new image in my OpenNebula 6.4.0 sunstone from a local docker image. I have this images in my sunstone server:
oneadmin@onefe6:~/datastores/1$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
mysql 8.0 05b458cc32b9 6 days ago 517MB
mysql latest 05b458cc32b9 6 days ago 517MB
nginx alpine c433c51bbd66 4 weeks ago 40.7MB
guacamole/guacd 1.4.0 acb80d4190a0 13 months ago 271MB
And when I try to create a new image in ONE datastore:
oneimage create --name mysql --path ‘docker://mysql?size=700&filesystem=ext4&format=raw&tag=latest’ --datastore 1
I obtain this when execute “oneimige list”:
ID USER GROUP NAME DATASTORE SIZE TYPE PER STAT RVMS
53 oneadmin oneadmin mysql default 700M OS No err 0
If I make a “oneimage show 53” I obtain this message from the error:
IMAGE 53 INFORMATION
ID : 53
NAME : mysql
USER : oneadmin
GROUP : oneadmin
LOCK : None
DATASTORE : default
TYPE : OS
REGISTER TIME : 02/07 14:46:43
PERSISTENT : No
SOURCE :
PATH : docker://mysql?size=700&filesystem=ext4&format=raw&tag=latest
SIZE : 700M
STATE : err
RUNNING_VMS : 0
PERMISSIONS
OWNER : um-
GROUP : —
OTHER : —
IMAGE TEMPLATE
DEV_PREFIX=“sd”
ERROR=“Tue Feb 7 14:46:47 2023 : Error copying image in the datastore: INFO: cp: Copying local image docker://mysql?size=700&filesystem=ext4&format=raw&tag=latest to the image repository ERROR: cp: Command "set -e -o pipefail; /var/lib/one/remotes/datastore/fs/…/downloader.sh ‘docker://mysql?size=700&filesystem=ext4&format=raw&tag=latest’ ‘/var/lib/one//datastores/1/f7b590de4928ff447adc0304407bc2b9’" failed: Error copying Error copying docker://mysql?size=700&filesystem=ext4&format=raw&tag=latest to /var/lib/one//datastores/1/f7b590de4928ff447adc0304407bc2b9”
VIRTUAL MACHINES
From the /var/log/one/oned.log I obtain the same message:
Tue Feb 7 14:46:42 2023 [Z0][ReM][D]: Req:8240 UID:0 IP:127.0.0.1 one.image.allocate invoked , "NAME=“mysql”
Tue Feb 7 14:46:43 2023 [Z0][ImM][I]: Copying docker://mysql?size=700&filesystem=ext4&format=raw&tag=latest to repository for image 53
Tue Feb 7 14:46:47 2023 [Z0][ImM][I]: cp: Copying local image docker://mysql?size=700&filesystem=ext4&format=raw&tag=latest to the image repository
Tue Feb 7 14:46:47 2023 [Z0][ImM][E]: cp: Command “set -e -o pipefail; /var/lib/one/remotes/datastore/fs/…/downloader.sh ‘docker://mysql?size=700&filesystem=ext4&format=raw&tag=latest’ ‘/var/lib/one//datastores/1/f7b590de4928ff447adc0304407bc2b9’” failed: Error copying
Tue Feb 7 14:46:47 2023 [Z0][ImM][I]: Error copying docker://mysql?size=700&filesystem=ext4&format=raw&tag=latest to /var/lib/one//datastores/1/f7b590de4928ff447adc0304407bc2b9
Tue Feb 7 14:46:47 2023 [Z0][ImM][E]: Error copying image in the datastore: INFO: cp: Copying local image docker://mysql?size=700&filesystem=ext4&format=raw&tag=latest to the image repository ERROR: cp: Command “set -e -o pipefail; /var/lib/one/remotes/datastore/fs/…/downloader.sh ‘docker://mysql?size=700&filesystem=ext4&format=raw&tag=latest’ ‘/var/lib/one//datastores/1/f7b590de4928ff447adc0304407bc2b9’” failed: Error copying Error copying docker://mysql?size=700&filesystem=ext4&format=raw&tag=latest to /var/lib/one//datastores/1/f7b590de4928ff447adc0304407bc2b9
Any suggestion about what can be the problem?
Many thanks in advanced.