In train, current version is 2.1 instead of 2.10

Bug #2008116 reported by David Hill
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Wishlist
Unassigned

Bug Description

In train, current version is 2.1 instead of 2.10:

(undercloud) [stack@undercloud-0 ~]$ curl http://10.10.10.10:9292 | jq .
{
  "versions": [
    {
      "id": "v2.1",
      "status": "CURRENT",
      "links": [
        {
          "rel": "self",
          "href": "http://10.10.10.10:9292/v2/"
        }
      ]
    },
    {
      "id": "v2.9",
      "status": "SUPPORTED",
      "links": [
        {
          "rel": "self",
          "href": "http://10.10.10.10:9292/v2/"
        }
      ]
    },
    {
      "id": "v2.8",
      "status": "SUPPORTED",
      "links": [
        {
          "rel": "self",
          "href": "http://10.10.10.10:9292/v2/"
        }
      ]
    },
    {
      "id": "v2.7",
      "status": "SUPPORTED",
      "links": [
        {
          "rel": "self",
          "href": "http://10.10.10.10:9292/v2/"
        }
      ]
    },
    {
      "id": "v2.6",
      "status": "SUPPORTED",
      "links": [
        {
          "rel": "self",
          "href": "http://10.10.10.10:9292/v2/"
        }
      ]
    },
    {
      "id": "v2.5",
      "status": "SUPPORTED",
      "links": [
        {
          "rel": "self",
          "href": "http://10.10.10.10:9292/v2/"
        }
      ]
    },
    {
      "id": "v2.4",
      "status": "SUPPORTED",
      "links": [
        {
          "rel": "self",
          "href": "http://10.10.10.10:9292/v2/"
        }
      ]
    },
    {
      "id": "v2.3",
      "status": "SUPPORTED",
      "links": [
        {
          "rel": "self",
          "href": "http://10.10.10.10:9292/v2/"
        }
      ]
    },
    {
      "id": "v2.2",
      "status": "SUPPORTED",
      "links": [
        {
          "rel": "self",
          "href": "http://10.10.10.10:9292/v2/"
        }
      ]
    },
    {
      "id": "v2.1",
      "status": "SUPPORTED",
      "links": [
        {
          "rel": "self",
          "href": "http://10.10.10.10:9292/v2/"
        }
      ]
    },
    {
      "id": "v2.0",
      "status": "SUPPORTED",
      "links": [
        {
          "rel": "self",
          "href": "http://10.10.10.10:9292/v2/"
        }
      ]
    }
  ]
}

Changed in glance:
status: New → In Progress
Revision history for this message
Erno Kuvaja (jokke) wrote :

Stable Train does not have API v.2.10. this is RH Downstream product related issue. Not really a bug.

Changed in glance:
importance: Undecided → Wishlist
status: In Progress → Invalid
Changed in glance:
status: Invalid → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.opendev.org/c/openstack/glance/+/874698
Committed: https://opendev.org/openstack/glance/commit/1da3e48fa8c7d791016ccf6b4edaba16d87a1c67
Submitter: "Zuul (22348)"
Branch: master

commit 1da3e48fa8c7d791016ccf6b4edaba16d87a1c67
Author: David Hill <email address hidden>
Date: Tue Feb 21 15:44:02 2023 -0500

    Enclose all APIv2 versions in single quotes

    When version detection broke for v2.10, only 2.10 was changed to
    be enclosed between single quotes but all of them should be the same
    format, a string. In this case, some of the versions are floats
    and converted to strings in build_version_object which is not pretty.

    Change-Id: I3f67671c4426ff7f0080ccc5bcfb69e7f386c9fc
    Closes-bug: #2008116

Changed in glance:
status: Confirmed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/glance 26.0.0.0rc1

This issue was fixed in the openstack/glance 26.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (stable/zed)

Fix proposed to branch: stable/zed
Review: https://review.opendev.org/c/openstack/glance/+/876461

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on glance (stable/zed)

Change abandoned by "Cyril Roelandt <email address hidden>" on branch: stable/zed
Review: https://review.opendev.org/c/openstack/glance/+/876461
Reason: See comment inline.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.