Doing a GET on / give a 401, inconsistant with other projects

Bug #1350076 reported by Sam Morrison
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ceilometer
Won't Fix
Low
sanjana

Bug Description

Would be great if keystone was the same as other projects in this regard. Eg.

curl https://ceilometer:8777/
Authentication required

curl https://keystone:5000/
{"versions": {"values": [{"status": "stable", "updated": "2013-03-06T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}, {"base": "application/xml", "type": "application/vnd.openstack.identity-v3+xml"}], "id": "v3.0", "links": [{"href": "https://keystone:5000/v3/", "rel": "self"}]}, {"status": "stable", "updated": "2013-03-06T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}, {"base": "application/xml", "type": "application/vnd.openstack.identity-v2.0+xml"}], "id": "v2.0", "links": [{"href": "https://keystone:5000/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/api/openstack-identity-service/2.0/content/", "type": "text/html", "rel": "describedby"}, {"href": "http://docs.openstack.org/api/openstack-identity-service/2.0/identity-dev-guide-2.0.pdf", "type": "application/pdf", "rel": "describedby"}]}]}}

curl https://nova:8774/
{"versions": [{"status": "CURRENT", "updated": "2011-01-21T11:33:21Z", "id": "v2.0", "links": [{"href": "http://nova:8774/v2/", "rel": "self"}]}]}

Revision history for this message
gordon chung (chungg) wrote :

i'm assuming you mean 'would be great if ceilometer was the same'?

Changed in ceilometer:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Sam Morrison (sorrison) wrote :

Whoops, yes I mean ceilometer

Revision history for this message
David Kranz (david-kranz) wrote :

Yes, and even if you give it auth, it responds with 406.

Changed in ceilometer:
assignee: nobody → Steve Lewis (steve-lewis)
Changed in ceilometer:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/117903
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=0af28cb95e9825e39ff96dd5539d7236a4592882
Submitter: Jenkins
Branch: master

commit 0af28cb95e9825e39ff96dd5539d7236a4592882
Author: Steve Lewis <email address hidden>
Date: Fri Sep 12 11:37:15 2014 -0700

    Describe API versions

    Adding json representation of the v2 REST API at the API root
    endpoint. Endpoint still requires authentication.

    Change-Id: I069644917f9a29e7ddfe7010695ad3a5aa5ca8c2
    Partial-Bug: #1350076

Changed in ceilometer:
status: In Progress → Confirmed
assignee: Steve Lewis (steve-lewis) → nobody
Changed in ceilometer:
assignee: nobody → shubham chitranshi (chitranshi-shubham)
Revision history for this message
shubham chitranshi (chitranshi-shubham) wrote :

hey Steve,

I pulled the master branch (in my devstack setup). but I am still able to reproduce the bug, Can you give a heads up on the code review, I would like to take this bug.

Changed in ceilometer:
assignee: shubham chitranshi (chitranshi-shubham) → nobody
assignee: nobody → shubham chitranshi (chitranshi-shubham)
sanjana (sanjana)
Changed in ceilometer:
assignee: shubham chitranshi (chitranshi-shubham) → sanjana (sanjana)
Changed in ceilometer:
assignee: sanjana (sanjana) → shubham chitranshi (chitranshi-shubham)
gordon chung (chungg)
Changed in ceilometer:
status: Confirmed → Triaged
sanjana (sanjana)
Changed in ceilometer:
assignee: shubham chitranshi (chitranshi-shubham) → sanjana (sanjana)
Revision history for this message
gordon chung (chungg) wrote :

ceilometer-api is deprecated

Changed in ceilometer:
status: Triaged → Won't Fix
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.