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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content