Image creation fails when using Glance API v2 and Swift as a back-end, when last chunk has size 0

Solution In Progress - Updated -

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.

Current Customers and Partners

Log in for full access

Log In