** Changed in: glance Status: Incomplete => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1042363
Title: glance backend images can appear to be too long Status in OpenStack Image Registry and Delivery Service (Glance): Won't Fix Bug description: This is more of an issue on diablo due to no uuids but could be still an issue for systems upgraded from diablo->folsom 1) Create a 1GB file: dd if=/dev/zero of=new bs=1024x1024 count=1000 2) Upload it with a particular id e.g. 99999994 3) Check size in swift and download it through swift and glance as follows: swift -A https://<host>:35357/auth/v1.0/ -U test:tester -K redacted stat glance 99999994 swift -A https://<host>:35357/auth/v1.0/ -U test:tester -K redacted download glance 99999994 glance -A <auth> -U https://localhost:9292/v1 get 99999994 >newone All ok so far 4) Upload another smaller image with 1 extra digit in the id e.g. 999999941 5) Check size of the original image in swift and download it through swift and glance as before: swift -A https://<host>:35357/auth/v1.0/ -U test:tester -K redacted stat glance 99999994 -----!!! SIZE CHANGED swift -A https://<host>:35357/auth/v1.0/ -U test:tester -K redacted download glance 99999994----!! you get both images glance -A <auth> -U https://localhost:9292/v1 get 99999994 >newone ----this is ok, same using glance (since size is known) To fix the issue if you change the manifest header from container/imageimage to container/imagename- this fixes. Will attach a patch which does this which you might consider upstream. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1042363/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp