Image creation fails when using Glance API v2 and Swift as a back-end, when last chunk has size 0
Issue
When creating images using version 2 of the Glance API and Swift as a backing store, if the last chunk of data has 0 size Glance tries to delete it, which results in an HTTP 409 error from Swift.
Environment
- Red Hat Enterprise Linux OpenStack Platform 7.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.