[Yahoo-eng-team] [Bug 1479569] Re: Output from "role assignment list" is not useful

2016-02-17 Thread OpenStack Infra
Reviewed:  https://review.openstack.org/255363
Committed: 
https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=3a48989eb02187f384cfbf7bb7cd55502741fc68
Submitter: Jenkins
Branch:master

commit 3a48989eb02187f384cfbf7bb7cd55502741fc68
Author: Tom Cocozzello 
Date:   Wed Dec 9 10:08:16 2015 -0600

Return names in list role assignments

Utilize the new include names functionality added to
list role assignments (GET /role_assignments?include_names=True).
Which will return the names of the entities instead of their
IDs.

Change-Id: I6dc03baf61ef9354a8a259a9f17ff47ce1665ce7
Depends-On: I4aa77c08660a0cbd021502155938a46121ca76ef
Closes-Bug: #1479569
Implements: blueprint list-assignment-with-names


** Changed in: python-openstackclient
   Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1479569

Title:
  Output from "role assignment list" is not useful

Status in OpenStack Identity (keystone):
  Fix Released
Status in python-keystoneclient:
  Fix Released
Status in python-openstackclient:
  Fix Released

Bug description:
  It's showing the internal IDs of all the objects, which is really
  unhelpful. It would be much nicer if it showed the actual names of
  users, groups, projects and domains.

  Example:

  $ openstack role assignment list
  
+--+--+--+--+--+
  | Role | User | Group 
   | Project  | Domain  
 |
  
+--+--+--+--+--+
  | 83e948848b7842c9a15e01cfd9db6e1e | 0fa9633d884a42448bbd386778ca6b87 |   
   | 4404002027374bfe878501259b02a5d5 | 
 |
  | 83e948848b7842c9a15e01cfd9db6e1e | 0fa9633d884a42448bbd386778ca6b87 |   
   | 5568fe0e2ca74a5aae35b01f035cdee8 | 
 |
  | f25338bd4a1f4d74927375507d555fa5 | 339e327397d4437d8d1123d63098de76 |   
   | 67e30450f1c44010960aa7e1a457f9b3 | 
 |
  | ecea53c035034e93912428789e8272f6 | 35a3b6d9cb324661b5f144fd60a62964 |   
   | 9b5b2ef803514898b4a3a90ef09dcf66 | 
 |
  | 83e948848b7842c9a15e01cfd9db6e1e | 4644b913eb77414db8f344d37e3da2c2 |   
   | 9b5b2ef803514898b4a3a90ef09dcf66 | 
 |
  | ecea53c035034e93912428789e8272f6 | 50e99a8a5d6c40b2bd973fe55f2cb38b |   
   | 9b5b2ef803514898b4a3a90ef09dcf66 | 
 |
  | f1f56af00ee942a5b24d73dbfe2364cb | 54b9ac936fd04293981b828580a9a3e1 |   
   | 4404002027374bfe878501259b02a5d5 | 
 |
  | f25338bd4a1f4d74927375507d555fa5 | 54b9ac936fd04293981b828580a9a3e1 |   
   | 4404002027374bfe878501259b02a5d5 | 
 |
  | f25338bd4a1f4d74927375507d555fa5 | 54b9ac936fd04293981b828580a9a3e1 |   
   | c02e1e2d94584805a7445b6d31cab364 | 
 |
  | f25338bd4a1f4d74927375507d555fa5 |  | 
96a35e9d12544ee8aa3cfbf05f2fb649 | 4404002027374bfe878501259b02a5d5 |   
   |
  | f25338bd4a1f4d74927375507d555fa5 | 0fa9633d884a42448bbd386778ca6b87 |   
   |  | 
88fc45635a134ef084866fe0fa94e7f3 |
  
+--+--+--+--+--+

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1479569] Re: Output from "role assignment list" is not useful

2016-01-23 Thread OpenStack Infra
Reviewed:  https://review.openstack.org/255392
Committed: 
https://git.openstack.org/cgit/openstack/python-keystoneclient/commit/?id=32ec1722c6fe5b5074070718705ba31ce79b0422
Submitter: Jenkins
Branch:master

commit 32ec1722c6fe5b5074070718705ba31ce79b0422
Author: Tom Cocozzello 
Date:   Wed Dec 9 10:38:14 2015 -0600

Adds an option to include names in role assignment lists

Allow the client to take advantage of the include_names with
list role assignments.

Change-Id: I4aa77c08660a0cbd021502155938a46121ca76ef
Depends-On: I0a1cc986b8a35aeafe567e5e7fee6eeb848ae113
Closes-Bug: #1479569
Implements: blueprint list-assignment-with-names


** Changed in: python-keystoneclient
   Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1479569

Title:
  Output from "role assignment list" is not useful

Status in OpenStack Identity (keystone):
  Fix Released
Status in python-keystoneclient:
  Fix Released
Status in python-openstackclient:
  In Progress

Bug description:
  It's showing the internal IDs of all the objects, which is really
  unhelpful. It would be much nicer if it showed the actual names of
  users, groups, projects and domains.

  Example:

  $ openstack role assignment list
  
+--+--+--+--+--+
  | Role | User | Group 
   | Project  | Domain  
 |
  
+--+--+--+--+--+
  | 83e948848b7842c9a15e01cfd9db6e1e | 0fa9633d884a42448bbd386778ca6b87 |   
   | 4404002027374bfe878501259b02a5d5 | 
 |
  | 83e948848b7842c9a15e01cfd9db6e1e | 0fa9633d884a42448bbd386778ca6b87 |   
   | 5568fe0e2ca74a5aae35b01f035cdee8 | 
 |
  | f25338bd4a1f4d74927375507d555fa5 | 339e327397d4437d8d1123d63098de76 |   
   | 67e30450f1c44010960aa7e1a457f9b3 | 
 |
  | ecea53c035034e93912428789e8272f6 | 35a3b6d9cb324661b5f144fd60a62964 |   
   | 9b5b2ef803514898b4a3a90ef09dcf66 | 
 |
  | 83e948848b7842c9a15e01cfd9db6e1e | 4644b913eb77414db8f344d37e3da2c2 |   
   | 9b5b2ef803514898b4a3a90ef09dcf66 | 
 |
  | ecea53c035034e93912428789e8272f6 | 50e99a8a5d6c40b2bd973fe55f2cb38b |   
   | 9b5b2ef803514898b4a3a90ef09dcf66 | 
 |
  | f1f56af00ee942a5b24d73dbfe2364cb | 54b9ac936fd04293981b828580a9a3e1 |   
   | 4404002027374bfe878501259b02a5d5 | 
 |
  | f25338bd4a1f4d74927375507d555fa5 | 54b9ac936fd04293981b828580a9a3e1 |   
   | 4404002027374bfe878501259b02a5d5 | 
 |
  | f25338bd4a1f4d74927375507d555fa5 | 54b9ac936fd04293981b828580a9a3e1 |   
   | c02e1e2d94584805a7445b6d31cab364 | 
 |
  | f25338bd4a1f4d74927375507d555fa5 |  | 
96a35e9d12544ee8aa3cfbf05f2fb649 | 4404002027374bfe878501259b02a5d5 |   
   |
  | f25338bd4a1f4d74927375507d555fa5 | 0fa9633d884a42448bbd386778ca6b87 |   
   |  | 
88fc45635a134ef084866fe0fa94e7f3 |
  
+--+--+--+--+--+

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1479569] Re: Output from "role assignment list" is not useful

2016-01-22 Thread OpenStack Infra
Reviewed:  https://review.openstack.org/249958
Committed: 
https://git.openstack.org/cgit/openstack/keystone/commit/?id=dc212cd4d2fa5fe0034f21bfd2a839283749b835
Submitter: Jenkins
Branch:master

commit dc212cd4d2fa5fe0034f21bfd2a839283749b835
Author: Tom Cocozzello 
Date:   Wed Nov 25 10:25:28 2015 -0600

List assignments with names

When a client calls list assignment API what is returned is the
role id, user id or group id, and project id or domain id. Most users
then call the api again for each of these entities to get their names,
creating many api calls between the client and server.  This can
be reduced by having the server do all the work instead.

This commit adds the functionality to include the user, role, group,
project, and domain names with the response if the parameter
'include_names' is set to True.

Change-Id: I0a1cc986b8a35aeafe567e5e7fee6eeb848ae113
Closes-Bug: #1479569
Implements: blueprint list-assignment-with-names


** Changed in: keystone
   Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1479569

Title:
  Output from "role assignment list" is not useful

Status in OpenStack Identity (keystone):
  Fix Released
Status in python-keystoneclient:
  In Progress
Status in python-openstackclient:
  In Progress

Bug description:
  It's showing the internal IDs of all the objects, which is really
  unhelpful. It would be much nicer if it showed the actual names of
  users, groups, projects and domains.

  Example:

  $ openstack role assignment list
  
+--+--+--+--+--+
  | Role | User | Group 
   | Project  | Domain  
 |
  
+--+--+--+--+--+
  | 83e948848b7842c9a15e01cfd9db6e1e | 0fa9633d884a42448bbd386778ca6b87 |   
   | 4404002027374bfe878501259b02a5d5 | 
 |
  | 83e948848b7842c9a15e01cfd9db6e1e | 0fa9633d884a42448bbd386778ca6b87 |   
   | 5568fe0e2ca74a5aae35b01f035cdee8 | 
 |
  | f25338bd4a1f4d74927375507d555fa5 | 339e327397d4437d8d1123d63098de76 |   
   | 67e30450f1c44010960aa7e1a457f9b3 | 
 |
  | ecea53c035034e93912428789e8272f6 | 35a3b6d9cb324661b5f144fd60a62964 |   
   | 9b5b2ef803514898b4a3a90ef09dcf66 | 
 |
  | 83e948848b7842c9a15e01cfd9db6e1e | 4644b913eb77414db8f344d37e3da2c2 |   
   | 9b5b2ef803514898b4a3a90ef09dcf66 | 
 |
  | ecea53c035034e93912428789e8272f6 | 50e99a8a5d6c40b2bd973fe55f2cb38b |   
   | 9b5b2ef803514898b4a3a90ef09dcf66 | 
 |
  | f1f56af00ee942a5b24d73dbfe2364cb | 54b9ac936fd04293981b828580a9a3e1 |   
   | 4404002027374bfe878501259b02a5d5 | 
 |
  | f25338bd4a1f4d74927375507d555fa5 | 54b9ac936fd04293981b828580a9a3e1 |   
   | 4404002027374bfe878501259b02a5d5 | 
 |
  | f25338bd4a1f4d74927375507d555fa5 | 54b9ac936fd04293981b828580a9a3e1 |   
   | c02e1e2d94584805a7445b6d31cab364 | 
 |
  | f25338bd4a1f4d74927375507d555fa5 |  | 
96a35e9d12544ee8aa3cfbf05f2fb649 | 4404002027374bfe878501259b02a5d5 |   
   |
  | f25338bd4a1f4d74927375507d555fa5 | 0fa9633d884a42448bbd386778ca6b87 |   
   |  | 
88fc45635a134ef084866fe0fa94e7f3 |
  
+--+--+--+--+--+

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1479569] Re: Output from "role assignment list" is not useful

2016-01-20 Thread Tom Cocozzello
** Also affects: python-keystoneclient
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1479569

Title:
  Output from "role assignment list" is not useful

Status in OpenStack Identity (keystone):
  In Progress
Status in python-keystoneclient:
  In Progress
Status in python-openstackclient:
  In Progress

Bug description:
  It's showing the internal IDs of all the objects, which is really
  unhelpful. It would be much nicer if it showed the actual names of
  users, groups, projects and domains.

  Example:

  $ openstack role assignment list
  
+--+--+--+--+--+
  | Role | User | Group 
   | Project  | Domain  
 |
  
+--+--+--+--+--+
  | 83e948848b7842c9a15e01cfd9db6e1e | 0fa9633d884a42448bbd386778ca6b87 |   
   | 4404002027374bfe878501259b02a5d5 | 
 |
  | 83e948848b7842c9a15e01cfd9db6e1e | 0fa9633d884a42448bbd386778ca6b87 |   
   | 5568fe0e2ca74a5aae35b01f035cdee8 | 
 |
  | f25338bd4a1f4d74927375507d555fa5 | 339e327397d4437d8d1123d63098de76 |   
   | 67e30450f1c44010960aa7e1a457f9b3 | 
 |
  | ecea53c035034e93912428789e8272f6 | 35a3b6d9cb324661b5f144fd60a62964 |   
   | 9b5b2ef803514898b4a3a90ef09dcf66 | 
 |
  | 83e948848b7842c9a15e01cfd9db6e1e | 4644b913eb77414db8f344d37e3da2c2 |   
   | 9b5b2ef803514898b4a3a90ef09dcf66 | 
 |
  | ecea53c035034e93912428789e8272f6 | 50e99a8a5d6c40b2bd973fe55f2cb38b |   
   | 9b5b2ef803514898b4a3a90ef09dcf66 | 
 |
  | f1f56af00ee942a5b24d73dbfe2364cb | 54b9ac936fd04293981b828580a9a3e1 |   
   | 4404002027374bfe878501259b02a5d5 | 
 |
  | f25338bd4a1f4d74927375507d555fa5 | 54b9ac936fd04293981b828580a9a3e1 |   
   | 4404002027374bfe878501259b02a5d5 | 
 |
  | f25338bd4a1f4d74927375507d555fa5 | 54b9ac936fd04293981b828580a9a3e1 |   
   | c02e1e2d94584805a7445b6d31cab364 | 
 |
  | f25338bd4a1f4d74927375507d555fa5 |  | 
96a35e9d12544ee8aa3cfbf05f2fb649 | 4404002027374bfe878501259b02a5d5 |   
   |
  | f25338bd4a1f4d74927375507d555fa5 | 0fa9633d884a42448bbd386778ca6b87 |   
   |  | 
88fc45635a134ef084866fe0fa94e7f3 |
  
+--+--+--+--+--+

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1479569] Re: Output from "role assignment list" is not useful

2015-10-06 Thread Steve Martinelli
i'd prefer to fix this on the server side, adding more fields on the
server side would be much faster, and save the client from doing a bunch
of look ups

** Changed in: python-openstackclient
   Importance: Undecided => Medium

** Also 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/1479569

Title:
  Output from "role assignment list" is not useful

Status in Keystone:
  New
Status in python-openstackclient:
  In Progress

Bug description:
  It's showing the internal IDs of all the objects, which is really
  unhelpful. It would be much nicer if it showed the actual names of
  users, groups, projects and domains.

  Example:

  $ openstack role assignment list
  
+--+--+--+--+--+
  | Role | User | Group 
   | Project  | Domain  
 |
  
+--+--+--+--+--+
  | 83e948848b7842c9a15e01cfd9db6e1e | 0fa9633d884a42448bbd386778ca6b87 |   
   | 4404002027374bfe878501259b02a5d5 | 
 |
  | 83e948848b7842c9a15e01cfd9db6e1e | 0fa9633d884a42448bbd386778ca6b87 |   
   | 5568fe0e2ca74a5aae35b01f035cdee8 | 
 |
  | f25338bd4a1f4d74927375507d555fa5 | 339e327397d4437d8d1123d63098de76 |   
   | 67e30450f1c44010960aa7e1a457f9b3 | 
 |
  | ecea53c035034e93912428789e8272f6 | 35a3b6d9cb324661b5f144fd60a62964 |   
   | 9b5b2ef803514898b4a3a90ef09dcf66 | 
 |
  | 83e948848b7842c9a15e01cfd9db6e1e | 4644b913eb77414db8f344d37e3da2c2 |   
   | 9b5b2ef803514898b4a3a90ef09dcf66 | 
 |
  | ecea53c035034e93912428789e8272f6 | 50e99a8a5d6c40b2bd973fe55f2cb38b |   
   | 9b5b2ef803514898b4a3a90ef09dcf66 | 
 |
  | f1f56af00ee942a5b24d73dbfe2364cb | 54b9ac936fd04293981b828580a9a3e1 |   
   | 4404002027374bfe878501259b02a5d5 | 
 |
  | f25338bd4a1f4d74927375507d555fa5 | 54b9ac936fd04293981b828580a9a3e1 |   
   | 4404002027374bfe878501259b02a5d5 | 
 |
  | f25338bd4a1f4d74927375507d555fa5 | 54b9ac936fd04293981b828580a9a3e1 |   
   | c02e1e2d94584805a7445b6d31cab364 | 
 |
  | f25338bd4a1f4d74927375507d555fa5 |  | 
96a35e9d12544ee8aa3cfbf05f2fb649 | 4404002027374bfe878501259b02a5d5 |   
   |
  | f25338bd4a1f4d74927375507d555fa5 | 0fa9633d884a42448bbd386778ca6b87 |   
   |  | 
88fc45635a134ef084866fe0fa94e7f3 |
  
+--+--+--+--+--+

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp