← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1346201] [NEW] v2.0/tenants fails to report the 'extra' field values in the project

 

Public bug reported:

Assume that, the project "admin" is created in the keystone db with
"extra" filed having following values:

{"test":"value"}

Then on running GET on the REST API v2.0/tenants, returns the following
response

{
            "description": null,
            "enabled": true,
            "id": "dc0a88dc51624167b747211ec050a08e",
            "test": "value", <<<< ---------- ERROR
            "name": "admin"
}

This should be returning the response as follows:

{
            "description": null,
            "enabled": true,
            "id": "dc0a88dc51624167b747211ec050a08e",
            {
                   "test": "value"
            },  <<<<<<<<< -- JSON String
            "name": "admin"
}

** Affects: keystone
     Importance: Undecided
     Assignee: Kanagaraj Manickam (kanagaraj-manickam)
         Status: New

** Changed in: keystone
     Assignee: (unassigned) => Kanagaraj Manickam (kanagaraj-manickam)

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

Title:
  v2.0/tenants fails to report the 'extra' field values in the project

Status in OpenStack Identity (Keystone):
  New

Bug description:
  Assume that, the project "admin" is created in the keystone db with
  "extra" filed having following values:

  {"test":"value"}

  Then on running GET on the REST API v2.0/tenants, returns the
  following response

  {
              "description": null,
              "enabled": true,
              "id": "dc0a88dc51624167b747211ec050a08e",
              "test": "value", <<<< ---------- ERROR
              "name": "admin"
  }

  This should be returning the response as follows:

  {
              "description": null,
              "enabled": true,
              "id": "dc0a88dc51624167b747211ec050a08e",
              {
                     "test": "value"
              },  <<<<<<<<< -- JSON String
              "name": "admin"
  }

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


Follow ups

References