← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1421668] [NEW] Tenant in v2 token response has parent_project_id

 

Public bug reported:


When I get a token using the v2 API, the tenant now has "parent_project_id". The parent_project_id shouldn't be there in a v2 token, and probably not in a v3 token either. This is an unnecessary field and it makes the tokens larger than they need to be.

RESP BODY: {"access": {"token": {"issued_at":
"2015-02-13T02:13:59.720007", "expires": "2015-02-13T03:13:59Z", "id":
"1d5e975fdec24bf99619eeffb97092df", "tenant": {"parent_id": null,
"enabled": true, "description": null, "name": "demo", "id":
"3824a1c2bdfb4d16a1ece8bd7f0d5950"}, "audit_ids":
["4vf4yakSQJefgVu4Wq6Now"]}, "serviceCatalog": "<removed>", "user":
{"username": "admin", "roles_links": [], "id":
"a5e16a48e3dd4c8583abf6778ceb7c22", "roles": [{"name": "admin"}],
"name": "admin"}, "metadata": {"is_admin": 0, "roles":
["f1ff6d91af5d4ebaba7b0f80ab95692c"]}}}

** Affects: keystone
     Importance: Undecided
         Status: New

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

Title:
  Tenant in v2 token response has parent_project_id

Status in OpenStack Identity (Keystone):
  New

Bug description:
  
  When I get a token using the v2 API, the tenant now has "parent_project_id". The parent_project_id shouldn't be there in a v2 token, and probably not in a v3 token either. This is an unnecessary field and it makes the tokens larger than they need to be.

  RESP BODY: {"access": {"token": {"issued_at":
  "2015-02-13T02:13:59.720007", "expires": "2015-02-13T03:13:59Z", "id":
  "1d5e975fdec24bf99619eeffb97092df", "tenant": {"parent_id": null,
  "enabled": true, "description": null, "name": "demo", "id":
  "3824a1c2bdfb4d16a1ece8bd7f0d5950"}, "audit_ids":
  ["4vf4yakSQJefgVu4Wq6Now"]}, "serviceCatalog": "<removed>", "user":
  {"username": "admin", "roles_links": [], "id":
  "a5e16a48e3dd4c8583abf6778ceb7c22", "roles": [{"name": "admin"}],
  "name": "admin"}, "metadata": {"is_admin": 0, "roles":
  ["f1ff6d91af5d4ebaba7b0f80ab95692c"]}}}

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


Follow ups

References