[Openstack] Image to instance fails

Toni F. [ackstorm] toni.fuentes at ackstorm.es
Mon Aug 19 11:32:21 UTC 2013


Hello,

I was reading that snapshots are not supported for RAW images. When i 
perform "instance to image" i see that cinder tries to do a snapshot

2013-08-19 13:07:53 DEBUG cinder.volume.manager 
[req-b22e3a06-6096-4da7-b9d2-f02f3980c083 
55b70876b2d24eb393da5119cb2b8ee4 36d462972b1d49c5850ca864b6f39d05] 
snapshot snapshot-30ecdb68-7992-427d-8219-a9a9fe45c84b: creating 
create_snapshot 
/usr/lib/python2.7/dist-packages/cinder/volume/manager.py:234

2013-08-19 13:07:53 DEBUG cinder.utils 
[req-b22e3a06-6096-4da7-b9d2-f02f3980c083 
55b70876b2d24eb393da5119cb2b8ee4 36d462972b1d49c5850ca864b6f39d05] 
Running cmd (subprocess): rbd snap create --pool volumes --snap 
snapshot-30ecdb68-7992-427d-8219-a9a9fe45c84b 
volume-a11e67ac-d6b3-4ee4-8c3c-c4d23197a18d execute 
/usr/lib/python2.7/dist-packages/cinder/utils.py:167

2013-08-19 13:07:57 DEBUG cinder.utils 
[req-b22e3a06-6096-4da7-b9d2-f02f3980c083 
55b70876b2d24eb393da5119cb2b8ee4 36d462972b1d49c5850ca864b6f39d05] 
Running cmd (subprocess): rbd --help execute 
/usr/lib/python2.7/dist-packages/cinder/utils.py:167

2013-08-19 13:07:57 DEBUG cinder.utils 
[req-b22e3a06-6096-4da7-b9d2-f02f3980c083 
55b70876b2d24eb393da5119cb2b8ee4 36d462972b1d49c5850ca864b6f39d05] 
Running cmd (subprocess): rbd snap protect --pool volumes --snap 
snapshot-30ecdb68-7992-427d-8219-a9a9fe45c84b 
volume-a11e67ac-d6b3-4ee4-8c3c-c4d23197a18d execute 
/usr/lib/python2.7/dist-packages/cinder/utils.py:167

2013-08-19 13:07:58 DEBUG cinder.volume.manager 
[req-b22e3a06-6096-4da7-b9d2-f02f3980c083 
55b70876b2d24eb393da5119cb2b8ee4 36d462972b1d49c5850ca864b6f39d05] 
snapshot snapshot-30ecdb68-7992-427d-8219-a9a9fe45c84b: created 
successfully create_snapshot 
/usr/lib/python2.7/dist-packages/cinder/volume/manager.py:249

It's for that reason that images appear to be corrupted?

Regards

On 19/08/13 12:40, Toni F. [ackstorm] wrote:
> Hello,
>
> I have been trying to download the images of snapshots or images 
> created from volumes and it seems that all of those images are corrupted.
>
> #glance image-download 4214ae2e-b0c6-42c3-a19c-451466dbc390
>
> [Errno 32] Corrupt image download. Checksum was 
> d41d8cd98f00b204e9800998ecf8427e expected 
> 5e4cf52df3a7643f40f077833141052c
>
> Nobody with the same problem or knows anything of this errors?
>
> Thanks
> Regards
>
> On 14/08/13 16:31, Toni F. [ackstorm] wrote:
>> Hi all,
>>
>> I have boot-from-volume instances working with ceph as storage backend.
>>
>> I'm testing "instance to image" feature. It works fine. But, when i 
>> use this new image to do image to instance i have this error
>>
>> ==> /var/log/cinder/cinder-volume.log <==
>>
>> IOError: [Errno 32] Corrupt image download. Checksum was 
>> d41d8cd98f00b204e9800998ecf8427e expected 
>> 5e4cf52df3a7643f40f077833141052c
>>
>> I have traced all the steps and all seems to be correct. The 
>> snapshots are created  in cinder, and glance correctly points that 
>> snapshots.
>>
>> Someone knows anything about this error?
>>
>> Thanks a lot
>> Regards
>>
>
>


-- 

Toni Fuentes Rico
toni.fuentes at ackstorm.es
Administración de Sistemas

Oficina central: 902 888 345

ACK STORM, S.L.
ISO 9001:2008 (Cert.nº. 536932)
http://ackstorm.es

Este mensaje electrónico contiene información de ACK STORM, S.L. que es privada y confidencial, siendo para el uso exclusivo de la persona(s) o entidades arriba  mencionadas. Si usted no es el destinatario señalado, le informamos que cualquier divulgación, copia, distribución o uso de los contenidos está prohibida. Si usted ha recibido este mensaje por error, por favor borre su contenido y comuníquenoslo en la dirección ackstorm at ackstorm.es





More information about the Openstack mailing list