[one-users] Problem with upload Image through sunstone's upload

Alexandr telecastcloud at gmail.com
Fri Mar 7 01:52:00 PST 2014


Hello,
I resolved my problem. I changed the file permission: 
/etc/one/sunstone-views.yaml
before root:root
after    root:oneadmin


On 03/07/2014 01:33 PM, Daniel Molina wrote:
> Hi,
Yes.
> Are sunstone and oned running in the same machine?
>
> Cheers
>
>
> On 4 March 2014 13:11, Alexandr <telecastcloud at gmail.com 
> <mailto:telecastcloud at gmail.com>> wrote:
>
>     Dear List!
>
>      I have a problem: when I try to upload image through sunstone's
>     upload option the image gets into error state with the message:
>     Tue Mar 4 15:42:22 2014 : Error copying image in the datastore:
>     Error copying /var/tmp/thin-body20140304-1544-kflb2y-0 to
>     /var/lib/one/datastores/1/df4b590c8b0cbca2dacb8613db0d9e40
>
>      In the oned.log:
>
>     Tue Mar  4 15:42:22 2014 [ReM][D]: Req:9008 UID:5 ImageAllocate
>     result SUCCESS, 180
>     Tue Mar  4 15:42:22 2014 [ReM][D]: Req:6720 UID:5 ImageInfo
>     invoked, 180
>     Tue Mar  4 15:42:22 2014 [ReM][D]: Req:6720 UID:5 ImageInfo result
>     SUCCESS, "<IMAGE><ID>180</ID><..."
>     Tue Mar  4 15:42:22 2014 [ImM][I]: Command execution fail:
>     /var/lib/one/remotes/datastore/fs/cp
>     PERTX0RSSVZFUl9BQ1RJT05fREFUQT48SU1BR0U+PElEPjE4MDwvSUQ+PFVJRD41PC9VSUQ+PEdJRD4xMDE8L0dJRD48VU5BTUU+bmlmdWtpPC9VTkFNRT48R05BTUU+bmlmdWtpPC9HTkFNRT48TkFNRT5xd2VyPC9OQU1FPjxQRVJNSVNTSU9OUz48T1dORVJfVT4xPC9PV05FUl9VPjxPV05FUl9NPjE8L09XTkVSX00+PE9XTkVSX0E+MDwvT1dORVJfQT48R1JPVVBfVT4wPC9HUk9VUF9VPjxHUk9VUF9NPjA8L0dST1VQX00+PEdST1VQX0E+MDwvR1JPVVBfQT48T1RIRVJfVT4wPC9PVEhFUl9VPjx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IRVJfQT48L1BFUk1JU1NJT05TPjxEU19NQUQ+ZnM8L0RTX01BRD48VE1fTUFEPnNzaDwvVE1fTUFEPjxCQVNFX1BBVEg+L3Zhci9saWIvb25lL2RhdGFzdG9yZXMvMTwvQkFTRV9QQVRIPjxUWVBFPjA8L1RZUEU+PERJU0tfVFlQRT4wPC9ESVNLX1RZUEU+PENMVVNURVJfSUQ+MTAwPC9DTFVTVEVSX0lEPjxDTFVTVEVSPmNsdXN0ZXJfMzM8L0NMVVNURVI+PFRPVEFMX01CPjMwNzIwMDwvVE9UQUxfTUI+PEZSRUVfTUI+MTU0MjQxPC9GUkVFX01CPjxVU0VEX01CPjMwMjY8L1VTRURfTUI+PElNQUdFUz48SUQ+MTY8L0lEPjxJRD4yNzwvSUQ+PElEPjYwPC9JRD48SUQ+NjU8L0lEPjxJRD42NjwvSUQ+PC9JTUFHRVM+PFRFTVBMQVRFPjxDTE9ORV9UQVJHRVQ+PCFbQ0RBVEFbU1lTVEVNXV0+PC9DTE9ORV9UQVJ
>     HRVQ+PERTX01BRD48IVtDREFUQVtmc11dPjwvRFNfTUFEPjxMTl9UQVJHRVQ+PCFbQ0RBVEFbU1lTVEVNXV0+PC9MTl9UQVJHRVQ+PE5PX0RFQ09NUFJFU1M+PCFbQ0RBVEFbeWVzXV0+PC9OT19ERUNPTVBSRVNTPjxUTV9NQUQ+PCFbQ0RBVEFbc3NoXV0+PC9UTV9NQUQ+PFRZUEU+PCFbQ0RBVEFbSU1BR0VfRFNdXT48L1RZUEU+PC9URU1QTEFURT48L0RBVEFTVE9SRT48L0RTX0RSSVZFUl9BQ1RJT05fREFUQT4=
>     180
>     Tue Mar  4 15:42:22 2014 [ImM][I]: cp: Copying local image
>     /var/tmp/thin-body20140304-1544-kflb2y-0 to the image repository
>     Tue Mar  4 15:42:22 2014 [ImM][E]: cp: Command
>     "/var/lib/one/remotes/datastore/fs/../downloader.sh --nodecomp
>     /var/tmp/thin-body20140304-1544-kflb2y-0
>     /var/lib/one/datastores/1/df4b590c8b0cbca2dacb8613db0d9e40"
>     failed: Command is:
>     Tue Mar  4 15:42:22 2014 [ImM][I]: Cannot fucking read from
>     /var/tmp/thin-body20140304-1544-kflb2y-0
>     Tue Mar  4 15:42:22 2014 [ImM][E]: Error copying
>     /var/tmp/thin-body20140304-1544-kflb2y-0 to
>     /var/lib/one/datastores/1/df4b590c8b0cbca2dacb8613db0d9e40
>     Tue Mar  4 15:42:22 2014 [ImM][I]: ExitCode: 255
>     Tue Mar  4 15:42:22 2014 [ImM][E]: Error copying image in the
>     datastore: Error copying /var/tmp/thin-body20140304-1544-kflb2y-0
>     to /var/lib/one/datastores/1/df4b590c8b0cbca2dacb8613db0d9e40
>     Tue Mar  4 15:42:22 2014 [InM][D]: Monitoring datastore default (1)
>
>
>     I've checked permissions on tmp - they are OK,and the image loaded
>     in /var/tmp/, but when nebula it is trying to bring in datastore -
>     it gets removed instantly.
>     Also i checked  "provide a path" works correctly.
>
>
>     *****
>     opennebula 4.4.1
>
>     -- 
>     --------------------------
>     Regard,
>        Alexandr.
>
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
>     http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
>
> -- 
> --
> Daniel Molina
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org <http://www.OpenNebula.org> | 
> dmolina at opennebula.org <mailto:dmolina at opennebula.org> | @OpenNebula

Thank you!

-- 
--------------------------
Regard,
    Alexandr.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140307/cb884439/attachment-0002.htm>


More information about the Users mailing list