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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
