[one-users] Hash does not match - can't import image with sunstone
Wojciech Giel
wojciech.giel at cimr.cam.ac.uk
Tue Oct 22 06:02:26 PDT 2013
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+PEZTVFlQRT48L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WVBFPjA8L0RJU0tfVFlQRT48Q0xVU1RFUl9JRD4xMDA8L0NMVVNURVJfSUQ+PENMVVNURVI+ZGlsPC9DTFVTVEVSPjxUT1RBTF9NQj4yMDM4NDU2PC9UT1RBTF9NQj48RlJFRV9NQj4xODk3NzU3PC9GUkVFX01CPjxVU0VEX01CPjI5NzM3PC9VU0VEX01CPjxJTUFHRVM+PElEPjA8L0lEPjxJRD4xPC9JRD48SUQ+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.
thanks
Wojciech
More information about the Users
mailing list