[Yahoo-eng-team] [Bug 2008116] Re: In train, current version is 2.1 instead of 2.10

2023-03-04 Thread OpenStack Infra
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 
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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/2008116

Title:
  In train, current version is 2.1 instead of 2.10

Status in Glance:
  Fix Released

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/;
  }
]
  }
]
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/2008116/+subscriptions


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 2008116] Re: In train, current version is 2.1 instead of 2.10

2023-02-23 Thread David Hill
** Changed in: glance
   Status: Invalid => Confirmed

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/2008116

Title:
  In train, current version is 2.1 instead of 2.10

Status in Glance:
  Confirmed

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/;
  }
]
  }
]
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/2008116/+subscriptions


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 2008116] Re: In train, current version is 2.1 instead of 2.10

2023-02-23 Thread Erno Kuvaja
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

** Changed in: glance
   Status: In Progress => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/2008116

Title:
  In train, current version is 2.1 instead of 2.10

Status in Glance:
  Invalid

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/;
  }
]
  }
]
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/2008116/+subscriptions


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp