uploaded files to ObjectStore are not available (image symlinks only points to non existing files)

Bug #716601 reported by Christian Berendt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned

Bug Description

After publishing a tarball with uec-publish-tarball to nova-objectstore I become only new directories in /var/lib/nova/images with an image-symlink pointing to some files in /tmp. But there are no files in /tmp.

ares:~ # uec-publish-tarball ttylinux-uec-amd64-12.1_2.6.35-22_1.tar.gz ttylinux-uec
 Thu Feb 10 19:51:46 CET 2011: ====== extracting image ======
 kernel : ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz
 ramdisk: ttylinux-uec-amd64-12.1_2.6.35-22_1-initrd
 image : ttylinux-uec-amd64-12.1_2.6.35-22_1.img
 Thu Feb 10 19:51:47 CET 2011: ====== bundle/upload kernel ======
 Thu Feb 10 19:51:48 CET 2011: ====== bundle/upload ramdisk ======
 Thu Feb 10 19:51:49 CET 2011: ====== bundle/upload image ======
 Thu Feb 10 19:51:50 CET 2011: ====== done ======
 emi="ami-39y20neq"; eri="ami-6m6yier8"; eki="ami-gcxy5xok";
 uploading looks good
 2011-02-10 19:51:48+0100 [HTTPChannel,30,192.168.2.110] 192.168.2.110 - - [10/Feb/2011:18:51:48 +0000] "GET /ttylinux-uec/?max-keys=0 HTTP/1.1" 200 233 "-" "Boto/1.9b (linux2)"
 2011-02-10 19:51:48+0100 [HTTPChannel,30,192.168.2.110] 192.168.2.110 - - [10/Feb/2011:18:51:48 +0000] "PUT /ttylinux-uec/ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz.manifest.xml HTTP/1.1" 200 - "-" "Boto/1.9b (linux2)"
 2011-02-10 19:51:48+0100 [HTTPChannel,30,192.168.2.110] 192.168.2.110 - - [10/Feb/2011:18:51:48 +0000] "PUT /ttylinux-uec/ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz.part.0 HTTP/1.1" 200 - "-" "Boto/1.9b (linux2)"
 2011-02-10 19:51:48+0100 [HTTPChannel,31,127.0.0.2] 127.0.0.2 - - [10/Feb/2011:18:51:48 +0000] "PUT /_images/?image_location=ttylinux-uec/ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz.manifest.xml&image_id=ami-gcxy5xok HTTP/1.1" 200 - "-" "Boto/1.9b (linux2)"
 2011-02-10 19:51:48+0100 [HTTPChannel,32,127.0.0.2] 127.0.0.2 - - [10/Feb/2011:18:51:48 +0000] "GET /_images/ HTTP/1.1" 200 303 "-" "Boto/1.9b (linux2)"
 2011-02-10 19:51:49+0100 [HTTPChannel,33,192.168.2.110] 192.168.2.110 - - [10/Feb/2011:18:51:49 +0000] "GET /ttylinux-uec/?max-keys=0 HTTP/1.1" 200 233 "-" "Boto/1.9b (linux2)"
 2011-02-10 19:51:49+0100 [HTTPChannel,33,192.168.2.110] 192.168.2.110 - - [10/Feb/2011:18:51:49 +0000] "PUT /ttylinux-uec/ttylinux-uec-amd64-12.1_2.6.35-22_1-initrd.manifest.xml HTTP/1.1" 200 - "-" "Boto/1.9b (linux2)"
 2011-02-10 19:51:49+0100 [HTTPChannel,33,192.168.2.110] 192.168.2.110 - - [10/Feb/2011:18:51:49 +0000] "PUT /ttylinux-uec/ttylinux-uec-amd64-12.1_2.6.35-22_1-initrd.part.0 HTTP/1.1" 200 - "-" "Boto/1.9b (linux2)"
 2011-02-10 19:51:49+0100 [HTTPChannel,34,127.0.0.2] 127.0.0.2 - - [10/Feb/2011:18:51:49 +0000] "PUT /_images/?image_location=ttylinux-uec/ttylinux-uec-amd64-12.1_2.6.35-22_1-initrd.manifest.xml&image_id=ami-6m6yier8 HTTP/1.1" 200 - "-" "Boto/1.9b (linux2)"
 2011-02-10 19:51:49+0100 [HTTPChannel,35,127.0.0.2] 127.0.0.2 - - [10/Feb/2011:18:51:49 +0000] "GET /_images/ HTTP/1.1" 200 608 "-" "Boto/1.9b (linux2)"
 2011-02-10 19:51:50+0100 [HTTPChannel,36,192.168.2.110] 192.168.2.110 - - [10/Feb/2011:18:51:49 +0000] "GET /ttylinux-uec/?max-keys=0 HTTP/1.1" 200 233 "-" "Boto/1.9b (linux2)"
 2011-02-10 19:51:50+0100 [HTTPChannel,36,192.168.2.110] 192.168.2.110 - - [10/Feb/2011:18:51:49 +0000] "PUT /ttylinux-uec/ttylinux-uec-amd64-12.1_2.6.35-22_1.img.manifest.xml HTTP/1.1" 200 - "-" "Boto/1.9b (linux2)"
 2011-02-10 19:51:50+0100 [HTTPChannel,36,192.168.2.110] 192.168.2.110 - - [10/Feb/2011:18:51:50 +0000] "PUT /ttylinux-uec/ttylinux-uec-amd64-12.1_2.6.35-22_1.img.part.0 HTTP/1.1" 200 - "-" "Boto/1.9b (linux2)"
 2011-02-10 19:51:50+0100 [HTTPChannel,37,127.0.0.2] 127.0.0.2 - - [10/Feb/2011:18:51:50 +0000] "PUT /_images/?image_location=ttylinux-uec/ttylinux-uec-amd64-12.1_2.6.35-22_1.img.manifest.xml&image_id=ami-39y20neq HTTP/1.1" 200 - "-" "Boto/1.9b (linux2)"
<berendt> this is the objectstore.log
 drwx------ 2 root root 4096 Feb 10 19:51 ami-39y20neq
 drwx------ 2 root root 4096 Feb 10 19:51 ami-6m6yier8
 drwx------ 2 root root 4096 Feb 10 19:51 ami-gcxy5xok
 tree new dirs
 lrwxrwxrwx 1 root root 71 Feb 10 19:51 image -> /tmp/uec-publish-tarball.4C3TEJ/ttylinux-uec-amd64-12.1_2.6.35-22_1.img
 and there are symlinks image pointing to /tmp
 but there is no directory /tmp/uec-publish-tarball.4C3TEJ

Revision history for this message
Thierry Carrez (ttx) wrote :

Can't reproduce that. Also nova-objectstore stores to /var/lib/nova/buckets, not /var/lib/nova/images (which is a cache for nova-compute)...

Changed in nova:
status: New → Incomplete
Revision history for this message
Thierry Carrez (ttx) wrote :

@berendt: did you reproduce this lately ?

Revision history for this message
Thierry Carrez (ttx) wrote :

Closing in absence of response from reporter. Please reopen if you can still reproduce with current version.

Changed in nova:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.