← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1579132] [NEW] Glance needs a test for GET /

 

Public bug reported:

A fundamental operation for most OpenStack services is providing
information about what versions of an API are available to clients. A
version document can be retrieved by sending an unauthenticated GET
request to the root URL ("/") for most services, including Glance. This
capability is important for discovery in that clients can learn how to
interact with the cloud in question.  DefCore considers it an important
capability for interoperability and has added similar capabilities to
it's Guidelines for other services.[1][2] With multiple API versions
available across many clouds, being able to retrieve a version document
will be increasingly important for clients.  However, there are
currently no tests for GET /, so DefCore cannot make this a required
Capability. We should add a simple smoke test or two for GET /.

Note: a similar bug for Neutron [3] is being worked now; once it winds
it's way through the review queue then it should be fairly simple to use
much of the same logic for Glance.

[1] http://git.openstack.org/cgit/openstack/defcore/tree/2016.01.json#n117
[2] http://git.openstack.org/cgit/openstack/defcore/tree/2016.01.json#n1379
[3] https://bugs.launchpad.net/neutron/+bug/1577410

** Affects: defcore
     Importance: Medium
     Assignee: Mark T. Voelker (mvoelker)
         Status: New

** Affects: glance
     Importance: Undecided
     Assignee: Mark T. Voelker (mvoelker)
         Status: New

** Also affects: glance
   Importance: Undecided
       Status: New

** Changed in: glance
     Assignee: (unassigned) => Mark T. Voelker (mvoelker)

** Changed in: defcore
   Importance: Undecided => Medium

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

Title:
  Glance needs a test for GET /

Status in defcore:
  New
Status in Glance:
  New

Bug description:
  A fundamental operation for most OpenStack services is providing
  information about what versions of an API are available to clients. A
  version document can be retrieved by sending an unauthenticated GET
  request to the root URL ("/") for most services, including Glance.
  This capability is important for discovery in that clients can learn
  how to interact with the cloud in question.  DefCore considers it an
  important capability for interoperability and has added similar
  capabilities to it's Guidelines for other services.[1][2] With
  multiple API versions available across many clouds, being able to
  retrieve a version document will be increasingly important for
  clients.  However, there are currently no tests for GET /, so DefCore
  cannot make this a required Capability. We should add a simple smoke
  test or two for GET /.

  Note: a similar bug for Neutron [3] is being worked now; once it winds
  it's way through the review queue then it should be fairly simple to
  use much of the same logic for Glance.

  [1] http://git.openstack.org/cgit/openstack/defcore/tree/2016.01.json#n117
  [2] http://git.openstack.org/cgit/openstack/defcore/tree/2016.01.json#n1379
  [3] https://bugs.launchpad.net/neutron/+bug/1577410

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