<div dir="ltr"><div>Hello,</div><div><br></div><div>I'm running into an error following the successful creation of a new shared datastore no 102..</div><div><br></div><div><div> ID NAME SIZE AVAIL CLUSTER IMAGES TYPE DS TM</div>
<div> 0 system - - - 0 sys - ssh</div><div> 1 default x 44% x 4 img fs ssh</div><div> 2 files x 44% x 0 fil fs ssh</div>
<div> 102 x x 99% x 3 img fs shared</div></div><div><br></div><div>Upon running the oneimage create cmd:</div><div><br></div>oneimage create -d 102 --name ttylinux-test --path /path/to/dir/opennebula-marketplace/ttylinux.img --prefix hd --type OS --driver raw --description "some comment"<div>
<br></div><div>Error Message received:</div><div><div>Thu Oct 24 11:51:40 2013 [ImM][I]: Copying /path/to/dir/opennebula-marketplace/ttylinux.img to repository for image 23</div><div>Thu Oct 24 11:51:40 2013 [ReM][D]: Req:3216 UID:0 ImageAllocate result SUCCESS, 23</div>
<div>Thu Oct 24 11:51:40 2013 [ImM][I]: Command execution fail: /var/lib/one/remotes/datastore/fs/cp PERTX0RSSVZFUl9BQ1RJT05fREFUQT48SU1BR0U+PElEPjIzPC9JRD48VUlEPjA8L1VJRD48R0lEPjA8L0dJRD48VU .................</div><div><div>
Thu Oct 24 11:51:40 2013 [ImM][I]: cp: Copying local image /path/to/dir/opennebula-marketplace/ttylinux.img to the image repository</div><div>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</div>
<div>Thu Oct 24 11:51:40 2013 [ImM][I]: tee: /dev/fd/63: Broken pipe</div><div>Thu Oct 24 11:51:40 2013 [ImM][I]: Error copying</div><div>Thu Oct 24 11:51:40 2013 [ImM][E]: Error copying /path/to/dir/ttylinux.img to /var/lib/one//datastores/102/aba1af38c6a7f7b10db994b152130ecc</div>
<div>Thu Oct 24 11:51:40 2013 [ImM][I]: ExitCode: 255</div><div>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</div>
<div>Thu Oct 24 11:51:40 2013 [InM][I]: Monitoring datastore glusterfs-image-repository (102)</div><div>Thu Oct 24 11:51:41 2013 [ImM][I]: Datastore glusterfs-image-repository (102) successfully monitored.</div></div><div>
<br></div><div>Note:</div><div>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. </div><div><br></div><div><br></div>
</div></div>