Skip to content

Patch version is not supported in version discovery #3714

Description

@glandjack

What happened?

In OpenStack version discovery specification in the id field the format {major}.{minor}.{patch} is allowed (e.g. 2.1.5). A patch version is optional and is considered 0 if not provided. But in the actual implementation only the {major}.{minor} version format is allowed, which breaks integration with OpenStack servers that return a patch version in the list, like:

        {
            "status": "CURRENT",
            "updated": "2025-08-31T00:00:00Z",
            "id": "v2.14.1",
            "links": [
                {
                    "href": "https://<endpoint>/v2",
                    "rel": "self"
                }
            ]
        }

When that API returns such a version I get the following error:

invalid format: "v2.14.1"

Version

v2 (current)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions