← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1733630] Re: placement: Version discovery URI should not require authentication

 

Reviewed:  https://review.openstack.org/522002
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=c4c1770475b4b0cbd57bc56677eeca1326973f76
Submitter: Zuul
Branch:    master

commit c4c1770475b4b0cbd57bc56677eeca1326973f76
Author: Hongbin Lu <hongbin.lu@xxxxxxxxxx>
Date:   Tue Nov 21 20:05:21 2017 +0000

    placement: skip authentication on root URI
    
    The placement API GET / is for version discovery. Skip authentication
    on this URL.
    
    The change to test_deploy is required to make it request a URL that
    requires authentication. It had been using /.
    
    Change-Id: I5ed1f7a607620c43671e90eaf8a1f6285f1d15e4
    Closes-Bug: #1733630


** Changed in: nova
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1733630

Title:
  placement: Version discovery URI should not require authentication

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  The placement API GET / returns the version document:

   <Response [200]>
   {
     "versions": [
       {
         "min_version": "1.0", 
         "max_version": "1.10", 
         "id": "v1.0"
       }
     ]
   }

  However, it requires authentication:

  # curl http://9.1.2.3/placement/
  {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}

  It shouldn't.  Right now I can't find the doc that says so, but Monty
  confirms:

  http://eavesdrop.openstack.org/irclogs/%23openstack-nova/%23openstack-
  nova.2017-11-21.log.html#t2017-11-21T15:35:08

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


References