jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Gaul (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCLOUDS-920) org.jclouds.openstack.keystone.v2_0.domain.User.getTenantId() method does not return valid tenant id for user
Date Thu, 02 Nov 2017 17:18:01 GMT

    [ https://issues.apache.org/jira/browse/JCLOUDS-920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16236153#comment-16236153
] 

Andrew Gaul commented on JCLOUDS-920:
-------------------------------------

[~arunagiri] Could you retest with jclouds 2.0.2?

> org.jclouds.openstack.keystone.v2_0.domain.User.getTenantId() method does not return
valid tenant id for user
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: JCLOUDS-920
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-920
>             Project: jclouds
>          Issue Type: Bug
>    Affects Versions: 1.9.0
>         Environment: OS version: Ubuntu 14.01
> Java version: java version "1.7.0"
> Java(TM) SE Runtime Environment (build pxa6470sr8fp10-20141219_01(SR8 FP10))
> IBM J9 VM (build 2.6, JRE 1.7.0 Linux amd64-64 Compressed References 20141216_227497
(JIT enabled, AOT enabled)
> J9VM - R26_Java726_SR8_20141216_0955_B227497
> JIT  - r11.b07_20141003_74578.05
> GC   - R26_Java726_SR8_20141216_0955_B227497_CMPRSS
> J9CL - 20141216_227497)
> JCL - 20141217_01 based on Oracle jdk7u75-b12
>            Reporter: Arunagiri
>            Priority: Major
>              Labels: openstack-swift
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message