[one-users] Hash does not match - can't import image with sunstone

Javier Fontan jfontan at opennebula.org
Fri Oct 25 04:01:43 PDT 2013


The image you are registering in the first email es called "Xubuntu
12.04.1 LTS" and the MD5 you are setting is
"c339ea467ea35eec0d8af6f826c1644a".

Could it be that you are setting the wrong md5sum?

On Fri, Oct 25, 2013 at 12:55 PM, Wojciech Giel
<wojciech.giel at cimr.cam.ac.uk> wrote:
> Hi,
> they have the same checksums I have posted it already
>
>
>     md5sum xubuntu-12.04.1-desktop-amd64.iso
>     16fea2603876247caf41f30066bc95e4  xubuntu-12.04.1-desktop-amd64.iso
>
>     md5sum 79a98ed6be13387a15da3259ffbc1e9f
>     16fea2603876247caf41f30066bc95e4  c339ea467ea35eec0d8af6f826c1644a
> cheers
> Wojciech
>
>
> On 25/10/13 10:13, Daniel Molina wrote:
>>
>> Hi,
>>
>> Could you try removing the MD5 section of your template, and check if the
>> image is correctly created.
>>
>> Cheers
>>
>>
>> On 23 October 2013 13:40, Wojciech Giel <wojciech.giel at cimr.cam.ac.uk
>> <mailto:wojciech.giel at cimr.cam.ac.uk>> wrote:
>>
>>     Hi,
>>     here is the output as well as logs:
>>
>>     oneimage show 3 -x
>>     <IMAGE>
>>       <ID>3</ID>
>>       <UID>0</UID>
>>       <GID>0</GID>
>>       <UNAME>oneadmin</UNAME>
>>       <GNAME>oneadmin</GNAME>
>>       <NAME>Ubuntu12.04 - ISO</NAME>
>>       <PERMISSIONS>
>>         <OWNER_U>1</OWNER_U>
>>         <OWNER_M>1</OWNER_M>
>>         <OWNER_A>0</OWNER_A>
>>         <GROUP_U>0</GROUP_U>
>>         <GROUP_M>0</GROUP_M>
>>         <GROUP_A>0</GROUP_A>
>>         <OTHER_U>0</OTHER_U>
>>         <OTHER_M>0</OTHER_M>
>>         <OTHER_A>0</OTHER_A>
>>       </PERMISSIONS>
>>       <TYPE>1</TYPE>
>>       <DISK_TYPE>0</DISK_TYPE>
>>       <PERSISTENT>0</PERSISTENT>
>>       <REGTIME>1382527868</REGTIME>
>>       <SOURCE/>
>>       <PATH>/var/tmp/thin-body20131023-2332-w4j25y-0</PATH>
>>       <FSTYPE/>
>>       <SIZE>685</SIZE>
>>       <STATE>5</STATE>
>>       <RUNNING_VMS>0</RUNNING_VMS>
>>       <CLONING_OPS>0</CLONING_OPS>
>>       <CLONING_ID>-1</CLONING_ID>
>>       <DATASTORE_ID>1</DATASTORE_ID>
>>       <DATASTORE>default</DATASTORE>
>>       <VMS/>
>>       <CLONES/>
>>       <TEMPLATE>
>>         <DEV_PREFIX><![CDATA[hd]]></DEV_PREFIX>
>>         <DRIVER><![CDATA[raw]]></DRIVER>
>>         <ERROR><![CDATA[Wed Oct 23 12:32:17 2013 : Error copying image
>>     in the datastore: Error copying
>>     /var/tmp/thin-body20131023-2332-w4j25y-0 to
>>     /var/lib/one/datastores/1/4ce680205b50163201fe59d1d779a5ad]]></ERROR>
>>     <MD5><![CDATA[80d4bb65e41335df051a9d5d43c3e90d]]></MD5>
>>       </TEMPLATE>
>>     </IMAGE>
>>
>>     Wed Oct 23 12:32:16 2013 [ReM][D]: Req:6880 UID:0 ImageInfo invoked, 3
>>     Wed Oct 23 12:32:16 2013 [ReM][D]: Req:6880 UID:0 ImageInfo result
>>     SUCCESS, "<IMAGE><ID>3</ID><UI..."
>>     Wed Oct 23 12:32:17 2013 [ImM][I]: Command execution fail:
>>     /var/lib/one/remotes/datastore/fs/cp
>>
>> PERTX0RSSVZFUl9BQ1RJT05fREFUQT48SU1BR0U+PElEPjM8L0lEPjxVSUQ+MDwvVUlEPjxHSUQ+MDwvR0lEPjxVTkFNRT5vbmVhZG1pbjwvVU5BTUU+PEdOQU1FPm9uZWFkbWluPC9HTkFNRT48TkFNRT5VYnVudHUxMi4wNCAtIElTTzwvTkFNRT48UEVSTUlTU0lPTlM+PE9XTkVSX1U+MTwvT1dORVJfVT48T1dORVJfTT4xPC9PV05FUl9NPjxPV05FUl9BPjA8L09XTkVSX0E+PEdST1VQX1U+MDwvR1JPVVBfVT48R1J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U+PE9XTkVSX00+MTwvT1dORVJfTT48T1dORVJfQT4wPC9PV05FUl9BPjxHUk9VUF9VPjE8L0dST1VQX1U+PEdST1VQX00+MDwvR1JPVVBfTT48R1JPVVBfQT4wPC9HUk9VUF9BPjxPVEhFUl9VPjE8L09USEVSX1U+PE9USEVSX00+MDwvT1RIRVJfTT48T1RIRVJfQT4wPC9PVEhFUl9BPjwvUEVSTUlTU0lPTlM+PERTX01BRD5mczwvRFNfTUFEPjxUTV9NQUQ+c2hhcmVkPC9UTV9NQUQ+PEJBU0VfUEFUSD4vdmFyL2xpYi9vbmUvZGF0YXN0b3Jlcy8xPC9CQVNFX1BBVEg+PFRZUEU+MDwvVFlQRT48RElTS19UWVBFPjA8L0RJU0tfVFlQRT48Q0xVU1RFUl9JRD4xMDA8L0NMVVNURVJfSUQ+PENMVVNURVI+ZGlsPC9DTFVTVEVSPjxUT1RBTF9NQj4xOTIyNDc5PC9UT1RBTF9NQj48RlJFRV9NQj4xNzgyNTIyPC9GUkVFX01CPjxVU0VEX01CPjcxNDI8L1VTRURfTUI+PElNQUdFUz48SUQ+MDwvSUQ+PElEP
> jE8L0lEPjxJRD4yPC9JRD48L0lNQUdFUz48VEVNUExBVEU+PERTX01BRD48IVtDREFUQVtmc11dPjwvRFNfTUFEPjxUTV9NQUQ+PCFbQ0RBVEFbc2hhcmVkXV0+PC9UTV9NQUQ+PFRZUEU+PCFbQ0RBVEFbSU1BR0VfRFNdXT48L1RZUEU+PC9URU1QTEFURT48L0RBVEFTVE9SRT48L0RTX0RSSVZFUl9BQ1RJT05fREFUQT4=
>>
>>     3
>>     Wed Oct 23 12:32:17 2013 [ImM][I]: cp: Copying local image
>>     /var/tmp/thin-body20131023-2332-w4j25y-0 to the image repository
>>     Wed Oct 23 12:32:17 2013 [ImM][E]: cp: Command
>>     "/var/lib/one/remotes/datastore/fs/../downloader.sh --md5
>>     80d4bb65e41335df051a9d5d43c3e90d
>>     /var/tmp/thin-body20131023-2332-w4j25y-0
>>     /var/lib/one/datastores/1/4ce680205b50163201fe59d1d779a5ad"
>>     failed: Hash does not match
>>     Wed Oct 23 12:32:17 2013 [ImM][E]: Error copying
>>     /var/tmp/thin-body20131023-2332-w4j25y-0 to
>>     /var/lib/one/datastores/1/4ce680205b50163201fe59d1d779a5ad
>>     Wed Oct 23 12:32:17 2013 [ImM][I]: ExitCode: 255
>>     Wed Oct 23 12:32:17 2013 [ImM][E]: Error copying image in the
>>     datastore: Error copying /var/tmp/thin-body20131023-2332-w4j25y-0
>>     to /var/lib/one/datastores/1/4ce680205b50163201fe59d1d779a5ad
>>     Wed Oct 23 12:32:17 2013 [InM][I]: Monitoring datastore default (1)
>>     Wed Oct 23 12:32:17 2013 [ImM][I]: Datastore default (1)
>>     successfully monitored.
>>     Wed Oct 23 12:32:21 2013 [ReM][D]: Req:5120 UID:0 ImageInfo invoked, 3
>>     Wed Oct 23 12:32:21 2013 [ReM][D]: Req:5120 UID:0 ImageInfo result
>>     SUCCESS, "<IMAGE><ID>3</ID><UI..."
>>     Wed Oct 23 12:32:22 2013 [ReM][D]: Req:736 UID:0 GroupPoolInfo invoked
>>     Wed Oct 23 12:32:22 2013 [ReM][D]: Req:736 UID:0 GroupPoolInfo
>>     result SUCCESS, "<GROUP_POOL><GROUP><..."
>>
>>     thanks
>>     Wojciech
>>
>>
>>
>>     On 22/10/13 16:41, Daniel Molina wrote:
>>
>>         Hi,
>>
>>
>>
>>         On 22 October 2013 15:02, Wojciech Giel
>>         <wojciech.giel at cimr.cam.ac.uk
>>         <mailto:wojciech.giel at cimr.cam.ac.uk>
>>         <mailto:wojciech.giel at cimr.cam.ac.uk
>>
>>         <mailto:wojciech.giel at cimr.cam.ac.uk>>> wrote:
>>
>>             Hello,
>>
>>             I'm running opennebula 4.2 installed from rpm on centos 6.4
>>             (minimal install) . when I trying upload images (created
>>         in kvm)
>>             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/d39ed100c4786d223d0a347fe7f510b1
>>
>>             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
>>
>> PERTX0RSSVZFUl9BQ1RJT05fREFUQT48SU1BR0U+PElEPjQ8L0lEPjxVSUQ+MDwvVUlEPjxHSUQ+MDwvR0lEPjxVTkFNRT5vbmVhZG1pbjwvVU5BTUU+PEdOQU1FPm9uZWFkbWluPC9HTkFNRT48TkFNRT5YdWJ1bnR1IDEyLjA0LjEgTFRTPC9OQU1FPjxQRVJNSVNTSU9OUz48T1dORVJfVT4xPC9PV05FUl9VPjxPV05FUl9NPjE8L09XTkVSX00+PE9XTkVSX0E+MDwvT1dORVJfQT48R1JPVVBfVT4wPC9HUk9VUF9VPjxHUk9VUF9NPjA8L0dST1VQX00+PEdST1VQX0E+MDwvR1JPVVBfQT48T1RIRVJfVT4wPC9PVEhFUl9VPjxPVEhFUl9NPjA8L09USEVSX00+PE9USEVSX0E+MDwvT1RIRVJfQT48L1BFUk1JU1NJT05TPjxUWVBFPjE8L1RZUEU+PERJU0tfVFlQRT4wPC9ESVNLX1RZUEU+PFBFUlNJU1RFTlQ+MTwvUEVSU0lTVEVOVD48UkVHVElNRT4xMzgyMzY0MjA2PC9SRUdUSU1FPjxTT1VSQ0U+PC9TT1VSQ0U+PFBBVEg+L3Zhci90bXAvdGhpbi1ib2R5MjAxMzEwMjEtMjM1My0xc2x1dnNtLTA8L1BBVEg+PEZTVFlQRT48L0ZTVFlQRT48U0laRT42OTg8L1NJWkU+PFNUQVRFPjQ8L1NUQVRFPjxSVU5OSU5HX1ZNUz4wPC9SVU5OSU5HX1ZNUz48Q0xPTklOR19PUFM+MDwvQ0xPTklOR19PUFM+PENMT05JTkdfSUQ+LTE8L0NMT05JTkdfSUQ+PERBV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UkVFX01CPjxVU0VEX01CPjI5NzM3PC9VU0VEX01CPjxJTUFHRVM+PElEPjA8L0
>
> lEPjxJRD4
>>
>>
>> xPC9JRD48SUQ+MjwvSUQ+PElEPjM8L0lEPjwvSU1BR0VTPjxURU1QTEFURT48RFNfTUFEPjwhW0NEQVRBW2ZzXV0+PC9EU19NQUQ+PFRNX01BRD48IVtDREFUQVtzaGFyZWRdXT48L1RNX01BRD48VFlQRT48IVtDREFUQVtJTUFHRV9EU11dPjwvVFlQRT48L1RFTVBMQVRFPjwvREFUQVNUT1JFPjwvRFNfRFJJVkVSX0FDVElPTl9EQVRBPg==
>>             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
>>             c339ea467ea35eec0d8af6f826c1644a
>>             /var/tmp/thin-body20131021-2353-1sluvsm-0
>>             /var/lib/one/datastores/1/d39ed100c4786d223d0a347fe7f510b1"
>>             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/d39ed100c4786d223d0a347fe7f510b1
>>             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/d39ed100c4786d223d0a347fe7f510b1
>>             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.
>>
>>             copied image and iso have the same checksum:
>>
>>             md5sum xubuntu-12.04.1-desktop-amd64.iso
>>             16fea2603876247caf41f30066bc95e4
>>          xubuntu-12.04.1-desktop-amd64.iso
>>
>>             md5sum 79a98ed6be13387a15da3259ffbc1e9f
>>             16fea2603876247caf41f30066bc95e4
>>          c339ea467ea35eec0d8af6f826c1644a
>>             howto fix it.
>>
>>
>>         Could you send us the output of 'oneimage show 4 -x'
>>
>>         Cheers
>>
>>             thanks
>>             Wojciech
>>
>>
>>
>>
>>             _______________________________________________
>>             Users mailing list
>>         Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
>>         <mailto: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>
>>         <http://www.OpenNebula.org> | dmolina at opennebula.org
>>         <mailto:dmolina at opennebula.org> <mailto:dmolina at opennebula.org
>>
>>         <mailto:dmolina at opennebula.org>> | @OpenNebula
>>
>>
>>     --     Wojciech Giel
>>     University of Cambridge
>>     JDRF/WT Diabetes and Inflammation Laboratory
>>     Cambridge Institute for Medical Research
>>     Wellcome Trust/MRC Building
>>     Addenbrooke's Hospital, Cambridge, CB2 0XY
>>     Tel: 44 (0) 1223 763228
>>
>>
>>
>>
>>
>> --
>> --
>> 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
>
>
> --
> Wojciech Giel
> University of Cambridge
> JDRF/WT Diabetes and Inflammation Laboratory
> Cambridge Institute for Medical Research
> Wellcome Trust/MRC Building
> Addenbrooke's Hospital, Cambridge, CB2 0XY
> Tel: 44 (0) 1223 763228
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
Javier Fontán Muiños
Developer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | @OpenNebula | github.com/jfontan



More information about the Users mailing list