[one-users] can't import image with oneimage
Carlos Martín Sánchez
cmartin at opennebula.org
Tue Oct 22 02:19:19 PDT 2013
Hi,
Is templates/windows7.img the image file, or an OpenNebula template text
file?
Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
On Mon, Oct 21, 2013 at 4:50 PM, Wojciech Giel <wojciech.giel at cimr.cam.ac.uk
> wrote:
> Hello,
>
> I'm running opennebula 4.2 on centos 6.4 installed from rpm. I have small
> problem I trying to sort out.
> when I try to import vm image with oneimage I'm getting:
>
> [oneadmin at gamma ~]$ oneimage create -d 1 --name windows7 --type OS
> --driver raw --description "A OS plain installation" templates/windows7.img
> Connection reset by peer
> [oneadmin at gamma ~]$
>
>
> when I trying upload with sunstone getting error about hash:
> Error copying image in the datastore: Error copying
> /var/tmp/thin-body20131021-**2353-1sluvsm-0 to /var/lib/one/datastores/1/*
> *d39ed100c4786d223d0a347fe7f510**b1
>
> Mon Oct 21 15:03:51 2013 [ReM][D]: Req:3744 UID:0 ImageInfo result
> SUCCESS, "<IMAGE><ID>4</ID><UI..."
> Mon Oct 21 15:03:51 2013 [ImM][I]: Command execution fail:
> /var/lib/one/remotes/**datastore/fs/cp PERTX0RSSVZFUl9BQ1RJT05fREFUQT**
> 48SU1BR0U+PElEPjQ8L0lEPjxVSUQ+**MDwvVUlEPjxHSUQ+**
> MDwvR0lEPjxVTkFNRT5vbmVhZG1pbj**wvVU5BTUU+**PEdOQU1FPm9uZWFkbWluPC9HTkFNRT
> **48TkFNRT5YdWJ1bnR1IDEyLjA0LjEg**TFRTPC9OQU1FPjxQRVJNSVNTSU9OUz**
> 48T1dORVJfVT4xPC9PV05FUl9VPjxP**V05FUl9NPjE8L09XTkVSX00+**PE9XTkVSX0E+**
> MDwvT1dORVJfQT48R1JPVVBfVT4wPC**9HUk9VUF9VPjxHUk9VUF9NPjA8L0dS**
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U1FPjxOQU1FPm**RlZmF1bHQ8L05BTUU+**
> PFBFUk1JU1NJT05TPjxPV05FUl9VPj**E8L09XTkVSX1U+PE9XTkVSX00+**
> MTwvT1dORVJfTT48T1dORVJfQT4wPC**9PV05FUl9BPjxHUk9VUF9VPjE8L0dS**
> T1VQX1U+PEdST1VQX00+**MDwvR1JPVVBfTT48R1JPVVBfQT4wPC**
> 9HUk9VUF9BPjxPVEhFUl9VPjE8L09U**SEVSX1U+PE9USEVSX00+**
> MDwvT1RIRVJfTT48T1RIRVJfQT4wPC**9PVEhFUl9BPjwvUEVSTUlTU0lPTlM+**
> PERTX01BRD5mczwvRFNfTUFEPjxUTV**9NQUQ+c2hhcmVkPC9UTV9NQUQ+**
> PEJBU0VfUEFUSD4vdmFyL2xpYi9vbm**UvZGF0YXN0b3Jlcy8xPC9CQVNFX1BB**
> VEg+PFRZUEU+**MDwvVFlQRT48RElTS19UWVBFPjA8L0**
> RJU0tfVFlQRT48Q0xVU1RFUl9JRD4x**MDA8L0NMVVNURVJfSUQ+**PENMVVNURVI+**
> ZGlsPC9DTFVTVEVSPjxUT1RBTF9NQj**4yMDM4NDU2PC9UT1RBTF9NQj48RlJF**
> RV9NQj4xODk3NzU3PC9GUkVFX01CPj**xVU0VEX01CPjI5NzM3PC9VU0VEX01C**
> PjxJTUFHRVM+**PElEPjA8L0lEPjxJRD4
> xPC9JRD48SUQ+MjwvSUQ+**PElEPjM8L0lEPjwvSU1BR0VTPjxURU**
> 1QTEFURT48RFNfTUFEPjwhW0NEQVRB**W2ZzXV0+PC9EU19NQUQ+**
> PFRNX01BRD48IVtDREFUQVtzaGFyZW**RdXT48L1RNX01BRD48VFlQRT48IVtD**
> REFUQVtJTUFHRV9EU11dPjwvVFlQRT**48L1RFTVBMQVRFPjwvREFUQVNUT1JF**
> PjwvRFNfRFJJVkVSX0FDVElPTl9EQV**RBPg== 4
> Mon Oct 21 15:03:51 2013 [ImM][I]: cp: Copying local image
> /var/tmp/thin-body20131021-**2353-1sluvsm-0 to the image repository
> Mon Oct 21 15:03:51 2013 [ImM][E]: cp: Command "/var/lib/one/remotes/**datastore/fs/../downloader.sh
> --md5 c339ea467ea35eec0d8af6f826c164**4a /var/tmp/thin-body20131021-**2353-1sluvsm-0
> /var/lib/one/datastores/1/**d39ed100c4786d223d0a347fe7f510**b1" failed:
> Hash does not match
> Mon Oct 21 15:03:51 2013 [ImM][E]: Error copying
> /var/tmp/thin-body20131021-**2353-1sluvsm-0 to /var/lib/one/datastores/1/*
> *d39ed100c4786d223d0a347fe7f510**b1
> Mon Oct 21 15:03:51 2013 [ImM][I]: ExitCode: 255
> Mon Oct 21 15:03:51 2013 [ImM][E]: Error copying image in the datastore:
> Error copying /var/tmp/thin-body20131021-**2353-1sluvsm-0 to
> /var/lib/one/datastores/1/**d39ed100c4786d223d0a347fe7f510**b1
> Mon Oct 21 15:03:51 2013 [InM][I]: Monitoring datastore default (1)
> Mon Oct 21 15:03:51 2013 [ImM][I]: Datastore default (1) successfully
> monitored.
>
> what might be a proble and how to fix it.
> thanks
> Wojciech
>
> ______________________________**_________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131022/bb661e64/attachment-0002.htm>
More information about the Users
mailing list