Skip to content

CreateImage returns empty image ID for Nova microversion 2.45+ #3542

@ycalansy

Description

@ycalansy

What happened?

Currently, the CreateImage function in the Nova client reads the image ID from the Location header in the API response. Starting with Nova microversion 2.45, the Location header is removed. Instead, the image ID is returned in the response body as a small JSON object.

As a result, when using microversion 2.45 or higher, CreateImage returns an empty image ID, causing failures for clients relying on this value.

Version

v2 (current)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions