Hello,

I'm running into an error following the successful creation of a new shared
datastore no 102..

  ID NAME                SIZE AVAIL CLUSTER      IMAGES TYPE DS       TM
   0 system                 - -     -                   0 sys   -
 ssh
   1 default                  x      44%   x         4 img  fs          ssh
   2 files                      x       44%   x         0 fil     fs
   ssh
 102   x                       x       99%   x         3 img  fs
shared

Upon running the oneimage create cmd:

oneimage create -d 102 --name ttylinux-test --path
/path/to/dir/opennebula-marketplace/ttylinux.img --prefix hd --type OS
--driver raw --description "some comment"

Error Message received:
Thu Oct 24 11:51:40 2013 [ImM][I]: Copying
/path/to/dir/opennebula-marketplace/ttylinux.img to repository for image 23
Thu Oct 24 11:51:40 2013 [ReM][D]: Req:3216 UID:0 ImageAllocate result
SUCCESS, 23
Thu Oct 24 11:51:40 2013 [ImM][I]: Command execution fail:
/var/lib/one/remotes/datastore/fs/cp
PERTX0RSSVZFUl9BQ1RJT05fREFUQT48SU1BR0U+PElEPjIzPC9JRD48VUlEPjA8L1VJRD48R0lEPjA8L0dJRD48VU
.................
Thu Oct 24 11:51:40 2013 [ImM][I]: cp: Copying local image
/path/to/dir/opennebula-marketplace/ttylinux.img to the image repository
Thu Oct 24 11:51:40 2013 [ImM][E]: cp: Command
"/var/lib/one/remotes/datastore/fs/../downloader.sh
/path/to/dir/opennebula-marketplace/ttylinux.img
/var/lib/one//datastores/102/aba1af38c6a7f7b10db994b152130ecc" failed:
/var/lib/one/remotes/datastore/fs/../downloader.sh: line 61:
/var/lib/one//datastores/102/aba1af38c6a7f7b10db994b152130ecc: Invalid
argument
Thu Oct 24 11:51:40 2013 [ImM][I]: tee: /dev/fd/63: Broken pipe
Thu Oct 24 11:51:40 2013 [ImM][I]: Error copying
Thu Oct 24 11:51:40 2013 [ImM][E]: Error copying /path/to/dir/ttylinux.img
to /var/lib/one//datastores/102/aba1af38c6a7f7b10db994b152130ecc
Thu Oct 24 11:51:40 2013 [ImM][I]: ExitCode: 255
Thu Oct 24 11:51:40 2013 [ImM][E]: Error copying image in the datastore:
Error copying /glusterfs-main/kvms/opennebula-marketplace/ttylinux.img to
/var/lib/one//datastores/102/aba1af38c6a7f7b10db994b152130ecc
Thu Oct 24 11:51:40 2013 [InM][I]: Monitoring datastore
glusterfs-image-repository (102)
Thu Oct 24 11:51:41 2013 [ImM][I]: Datastore glusterfs-image-repository
(102) successfully monitored.

Note:
Copying images to my default no 1 data store is just fine however I'd like
to use the shared repository for storing and deploying images.
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to