← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1376983] [NEW] v2.0 API does not work with httpd for admin interface

 

*** This bug is a duplicate of bug 1343579 ***
    https://bugs.launchpad.net/bugs/1343579

Public bug reported:

When Keystone is deployed in Apache httpd, v2.0 does not work for the
admin  interface.  Here is what I see when using httpd:

-----------------------------------------------------------
[rhosuser@rhos ~]$ curl http://127.0.0.1:35357/
{"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": "http://127.0.0.1:35357/v3/";, "rel": "self"}]}]}}

[rhosuser@rhos ~]$ curl http://127.0.0.1:35357/v2.0
{"error": {"message": "Could not find version: v2.0", "code": 404, "title": "Not Found"}}
-----------------------------------------------------------

Here are the results of same requests when running keystone-all with the
exact same configuration:

-----------------------------------------------------------
[rhosuser@rhos ~]$ curl http://127.0.0.1:35357/
{"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": "http://127.0.0.1:35357/v3/";, "rel": "self"}]}, {"status": "stable", "updated": "2014-04-17T00: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": "http://127.0.0.1:35357/v2.0/";, "rel": "self"}, {"href": "http://docs.openstack.org/";, "type": "text/html", "rel": "describedby"}]}]}}

[rhosuser@rhos ~]$ curl http://127.0.0.1:35357/v2.0
{"version": {"status": "stable", "updated": "2014-04-17T00: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": "http://127.0.0.1:35357/v2.0/";, "rel": "self"}, {"href": "http://docs.openstack.org/";, "type": "text/html", "rel": "describedby"}]}}
-----------------------------------------------------------

There's nothing really of interest in keystone.log with debug enabled.

** Affects: keystone
     Importance: Undecided
     Assignee: Nathan Kinder (nkinder)
         Status: In Progress

** Changed in: keystone
       Status: New => In Progress

** Changed in: keystone
     Assignee: (unassigned) => Nathan Kinder (nkinder)

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

Title:
  v2.0 API does not work with httpd for admin interface

Status in OpenStack Identity (Keystone):
  In Progress

Bug description:
  When Keystone is deployed in Apache httpd, v2.0 does not work for the
  admin  interface.  Here is what I see when using httpd:

  -----------------------------------------------------------
  [rhosuser@rhos ~]$ curl http://127.0.0.1:35357/
  {"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": "http://127.0.0.1:35357/v3/";, "rel": "self"}]}]}}

  [rhosuser@rhos ~]$ curl http://127.0.0.1:35357/v2.0
  {"error": {"message": "Could not find version: v2.0", "code": 404, "title": "Not Found"}}
  -----------------------------------------------------------

  Here are the results of same requests when running keystone-all with
  the exact same configuration:

  -----------------------------------------------------------
  [rhosuser@rhos ~]$ curl http://127.0.0.1:35357/
  {"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": "http://127.0.0.1:35357/v3/";, "rel": "self"}]}, {"status": "stable", "updated": "2014-04-17T00: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": "http://127.0.0.1:35357/v2.0/";, "rel": "self"}, {"href": "http://docs.openstack.org/";, "type": "text/html", "rel": "describedby"}]}]}}

  [rhosuser@rhos ~]$ curl http://127.0.0.1:35357/v2.0
  {"version": {"status": "stable", "updated": "2014-04-17T00: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": "http://127.0.0.1:35357/v2.0/";, "rel": "self"}, {"href": "http://docs.openstack.org/";, "type": "text/html", "rel": "describedby"}]}}
  -----------------------------------------------------------

  There's nothing really of interest in keystone.log with debug enabled.

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


Follow ups

References