← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1751246] [NEW] accessing to root of nova placement returns 401

 

Public bug reported:

All opentack services returns versions data when doing GET to root url.
Placement API instead returns 401. Would be good to have consistency
with other services, so backend check scripts (haproxy) have the same
configuration for placement and other APIs.

root@ctl01:~# curl http://10.60.0.254:8778
{"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}root@ctl01:~# 

root@ctl01:~# curl http://10.60.0.254:8774
{"versions": [{"status": "SUPPORTED", "updated": "2011-01-21T11:33:21Z", "links": [{"href": "http://10.60.0.254:8774/v2/";, "rel": "self"}], "min_version": "", "version": "", "id": "v2.0"}, {"status": "CURRENT", "updated": "2013-07-23T11:33:21Z", "links": [{"href": "http://10.60.0.254:8774/v2.1/";, "rel": "self"}], "min_version": "2.1", "version": "2.53", "id": "v2.1"}]}root@ctl01:~#

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/1751246

Title:
  accessing to root of nova placement returns 401

Status in OpenStack Compute (nova):
  New

Bug description:
  All opentack services returns versions data when doing GET to root
  url. Placement API instead returns 401. Would be good to have
  consistency with other services, so backend check scripts (haproxy)
  have the same configuration for placement and other APIs.

  root@ctl01:~# curl http://10.60.0.254:8778
  {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}root@ctl01:~# 

  root@ctl01:~# curl http://10.60.0.254:8774
  {"versions": [{"status": "SUPPORTED", "updated": "2011-01-21T11:33:21Z", "links": [{"href": "http://10.60.0.254:8774/v2/";, "rel": "self"}], "min_version": "", "version": "", "id": "v2.0"}, {"status": "CURRENT", "updated": "2013-07-23T11:33:21Z", "links": [{"href": "http://10.60.0.254:8774/v2.1/";, "rel": "self"}], "min_version": "2.1", "version": "2.53", "id": "v2.1"}]}root@ctl01:~#

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


Follow ups