Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-920

org.jclouds.openstack.keystone.v2_0.domain.User.getTenantId() method does not return valid tenant id for user

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.9.0
    • None
    • None

    Description

      jclouds.wire prints tenant id associated with that user, but when I iterate users list and print them individually, it is missing.

      18:28:23.994 [main] DEBUG jclouds.wire - << "{"users": [

      {"username": "admin", "name": "admin", "id": "0bdf72cbe5294340b4df6ba137ec1f0d", "enabled": true, "email": null, "tenantId": "180ff309a56f489d9746c1c12670c10b"}

      ,

      {"username": "swift", "name": "swift", "enabled": true, "email": null, "id": "3805eb0004094ed6a3499b61969d2dd1"}

      ,

      {"username": "newUser", "name": "newUser", "enabled": true, "email": "new.email@example.com", "tenant": "22d34e93b3d54753b99ec5f6052ba578", "id": "43a124f9f4b44f978e23989936480c16"}

      ,

      {"username": "demo", "name": "demo", "enabled": true, "email": null, "id": "4692e31da0cc456786390db6688ccde6"}

      ,

      {"username": "tester", "name": "tester", "enabled": true, "email": null, "id": "ba19e0977f4c45e19e88c122e30e652b"}

      ]}"
      Tenant

      {id=180ff309a56f489d9746c1c12670c10b, name=admin, description=admin Tenant, enabled=true}

      User

      {id=43a124f9f4b44f978e23989936480c16, name=newUser, email=new.email@example.com, enabled=true, roles=[]}

      From the above log statements, one can see that the tenant id (22d34e93b3d54753b99ec5f6052ba578) is printed inside jclouds.wire and is missing in the second line.

      Attachments

        Activity

          People

            Unassigned Unassigned
            arunagiri Arunagiri
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: