| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-sdks - 2017-01-03 | |||
| 14:28:47 | briancurtin | bdj: the role resource hasn’t been added in v3 yet, but you could add it | |
| 14:34:54 | bdj | How can I add it? | |
| 14:35:17 | bdj | By contribution? | |
| 14:35:21 | briancurtin | yes | |
| 14:35:48 | bdj | What is the process of contributing? | |
| 14:36:59 | briancurtin | unfortunately it’s a huge mess of things, but http://docs.openstack.org/infra/manual/developers.html is the general page that outlines it. | |
| 14:37:23 | briancurtin | let me take a look at what it would take to add this and maybe i can just do it right now, unless you’d like to do it | |
| 14:40:16 | bdj | I will try and add it | |
| 14:40:53 | bdj | How often are the releases of the openstacksdk package? | |
| 14:41:46 | briancurtin | bdj: we don’t have a set schedule, but we are due for one shortly as the bare_metal service was just added in the last few weeks | |
| 14:42:52 | briancurtin | bdj: adding one resource (the Role one you’re looking for) will be relatively easy as you can just look off of similar code in the identity v3 resources and proxy. if you’re going to work on it i’ll do the release once it’s merged | |
| 14:46:25 | bdj | Ok I will try it, thanks! | |
| 14:47:46 | openstackgerrit | Eyal Posener proposed openstack/cliff: Fix command order https://review.openstack.org/362656 | |
| 15:31:56 | openstackgerrit | Huanxuan Ao proposed openstack/python-openstackclient: Error handling for delete commands in identity https://review.openstack.org/415799 | |
| 16:08:03 | openstackgerrit | Samuel de Medeiros Queiroz proposed openstack/keystoneauth: Prevent MemoryError when logging response bodies https://review.openstack.org/416249 | |
| 16:09:11 | openstackgerrit | Samuel de Medeiros Queiroz proposed openstack/keystoneauth: Prevent MemoryError when logging response bodies https://review.openstack.org/416249 | |
| 16:58:14 | openstackgerrit | Anindita Das proposed openstack/python-openstackclient: OSC Network Flavor https://review.openstack.org/382530 | |
| 17:25:04 | stevemar | dtroyer: regex matching in tests eh | |
| 17:25:09 | stevemar | dtroyer: that ambitious | |
| 17:33:33 | openstackgerrit | Anindita Das proposed openstack/python-openstackclient: OSC Network Flavor https://review.openstack.org/382530 | |
| 17:56:00 | openstackgerrit | Shashank Kumar Shankar proposed openstack/python-openstackclient: Introduce Neutron DHCP agent commands to OSC. https://review.openstack.org/387611 | |
| 18:29:20 | openstackgerrit | yuval shalev proposed openstack/python-openstacksdk: Added role resource https://review.openstack.org/416318 | |
| 18:33:53 | shalev67 | Hi I've added a role resource to identity v3, I want to add the role assingment to a project or a domain | |
| 18:34:57 | shalev67 | This is not a regular resource so I'm having problem figuring out how to do it | |
| 18:35:06 | shalev67 | Any ideas? | |
| 18:50:56 | openstackgerrit | Shashank Kumar Shankar proposed openstack/python-openstackclient: Introduce Neutron DHCP agent commands to OSC. https://review.openstack.org/387611 | |
| 19:00:05 | openstackgerrit | Merged openstack/cliff: Fix command order https://review.openstack.org/362656 | |
| 19:03:35 | openstackgerrit | yuval shalev proposed openstack/python-openstacksdk: Moved import for pep8 https://review.openstack.org/416323 | |
| 19:09:56 | openstackgerrit | yuval shalev proposed openstack/python-openstacksdk: Added role resource https://review.openstack.org/416323 | |
| 20:06:08 | shalev67 | Hi anyone here? | |
| 20:08:39 | ankur-gupta-f1 | shalev67: hi | |
| 20:09:21 | shalev67 | I'm trying to add support for role assignment | |
| 20:10:13 | shalev67 | This is not a normal resource and I am not quite sure how to add this | |
| 20:11:07 | ankur-gupta-f1 | ah okay cool. Where are you getting stuck? | |
| 20:11:17 | ankur-gupta-f1 | Im still a newbie but will try to help :) | |
| 20:13:04 | ankur-gupta-f1 | I see that there are already some Client commands for "openstack role *" what specifically are you trying to add? | |
| 20:13:44 | shalev67 | commands? on the sdk? | |
| 20:15:27 | ankur-gupta-f1 | https://github.com/openstack/python-openstacksdk/blob/master/openstack/identity/v2/role.py | |
| 20:15:45 | shalev67 | I'm trying to add the role assignment to the v3 api | |
| 20:15:50 | shalev67 | proxy* | |
| 20:16:50 | shalev67 | I've already added the role resource to the gerrit | |
| 20:16:57 | shalev67 | https://review.openstack.org/#/c/416323/ | |
| 20:17:32 | shalev67 | Now i'm trying to add the role assignment functionality | |
| 20:18:33 | ankur-gupta-f1 | aaaahhh I see. Looking into it | |
| 20:22:42 | ankur-gupta-f1 | stevemar: This is a Keystone thing. Do you know where to look for this ^^^ | |
| 20:30:11 | adriant | the role assignments is just a filterable list of roles assigned to someone. | |
| 20:30:13 | adriant | http://developer.openstack.org/api-ref/identity/v3/index.html#id263 | |
| 20:30:37 | adriant | ankur-gupta-f1, shalev67: ^ | |
| 20:30:46 | adriant | It's just a GET call | |
| 20:31:09 | adriant | and the data model is reasonably simple, but the filtering options are the important part | |
| 20:31:18 | shalev67 | Yeah but it Does not act like othe resources | |
| 20:31:38 | adriant | yep, it's not a resource in the strictest sense | |
| 20:31:50 | adriant | or at least, it's a internal resource | |
| 20:32:28 | shalev67 | So should I add an internal resource class to adress this? | |
| 20:33:01 | adriant | maybe 'ReadOnly' resource? | |
| 20:33:11 | adriant | or get only | |
| 20:34:05 | adriant | it is a very important resource, because with V3 it is the only real API way to know what roles are assigned to projects/users, but I can under how odd it feels to use at first. | |
| 20:34:16 | shalev67 | Maybe just add the functionality to the domain and project resource | |
| 20:34:20 | adriant | can understand* | |
| 20:34:27 | adriant | and user | |
| 20:34:41 | adriant | that is an option. | |
| 20:34:59 | adriant | add a list role assignments command to all the resources which can have roles assigned | |
| 20:35:06 | adriant | users, projects, groups | |
| 20:35:16 | adriant | (projects = domains really) | |
| 20:37:07 | shalev67 | so if I add the project role assignment for example in the project resource, how would I get the session? | |
| 20:37:27 | stevemar | dtroyer: before i forget, i created https://etherpad.openstack.org/p/osc-weekly-meeting -- not sure if you saw it | |
| 20:37:51 | dtroyer | stevemar: I did but thanks for the reminder | |
| 20:38:08 | stevemar | np | |
| 20:39:03 | adriant | shalev67: not sure what you mean by the session. This is the openstackSDK codebase? I've not worked with it too much, I'm more familiar with keystoneclient | |
| 20:39:23 | shalev67 | oh ok than | |
| 20:39:53 | shalev67 | thank you | |
| 20:40:01 | shalev67 | by the way should | |
| 20:40:29 | adriant | shalev67: I can help understand how to interact with the role assignments stuff, as I understand the keystone side of it mostly, but can't help with anything openstackSDK related. :( | |
| 20:41:21 | adriant | well, not anything specifically openstackSDK. | |
| 20:41:22 | shalev67 | I do two seperate git review to each feature or just one? | |
| 20:41:43 | shalev67 | I'm new in this gerrit stuff | |
| 20:42:54 | adriant | depends. If the two patches are closely related, can probably do just one, but it depends on the core reviewers. Role adding/editing/removing is reasonably closely related to role assignments, so you're probably safe extending the roles patch. | |
| 20:43:21 | shalev67 | ok | |
| 20:43:37 | adriant | role assignments is basically the 'read' equivalent of role CRUD | |
| 20:44:05 | adriant | If someone complains, then split it into another patch. | |
| 20:44:18 | shalev67 | so the process is to git commit , git commit --ammend , and git review? | |
| 20:44:28 | adriant | yep :) | |
| 20:44:58 | adriant | and gerrit keeps track of the changes between the various amended commits. | |
| 20:45:07 | shalev67 | Thanks you ;) | |
| 21:58:41 | openstackgerrit | Tony Breeds proposed openstack/cliff: Add Constraints support https://review.openstack.org/412742 | |
| 21:58:42 | openstackgerrit | Tony Breeds proposed openstack/cliff: Remove tox environments that no longer work https://review.openstack.org/416360 | |
| #openstack-sdks - 2017-01-04 | |||
| 00:17:01 | openstackgerrit | Samuel de Medeiros Queiroz proposed openstack/keystoneauth: Prevent MemoryError when logging response bodies https://review.openstack.org/416249 | |
| 01:04:59 | openstackgerrit | Imtiaz Chowdhury proposed openstack/python-openstackclient: Fixes image api URL endpoint for certain scenario https://review.openstack.org/415301 | |
| 01:14:08 | waj334 | So, I'm looking at the get_client_class function in osc_lib and I'm wondering would it be a good idea to modify it so that when the version is just X then use client version X unless specified by explicitly mapping X.YY to another client object. Cinder v3 already has 15 microversions (3.0 - 3.15) and each version would be mapped the same client at the | |
| 01:14:09 | waj334 | moment. | |
| 01:21:13 | waj334 | Or I guess allow some way of specifying use of a specific client for a range of versions. What I said above wouldn't work after higher versions require a different client | |
| 02:25:34 | openstackgerrit | zhiyong.dai proposed openstack/python-openstackclient: Add ":option:` `" in the help message https://review.openstack.org/412850 | |
| 03:38:19 | openstackgerrit | Steve Martinelli proposed openstack/keystoneauth: Prevent MemoryError when logging response bodies https://review.openstack.org/416249 | |
| 04:46:03 | openstackgerrit | Merged openstack/python-openstackclient: Beef up floating IP functional tests https://review.openstack.org/415792 | |
| 04:46:48 | openstackgerrit | Merged openstack/python-openstackclient: Beef up network functional tests https://review.openstack.org/415900 | |
| 04:52:09 | openstackgerrit | Steve Martinelli proposed openstack/keystoneauth: Prevent MemoryError when logging response bodies https://review.openstack.org/416249 | |
| 06:15:09 | sakthi | hi | |
| 06:15:51 | sakthi | Got error on creating service in mitaka. CommandError: Missing parameter(s): Set a service AUTH_URL, with --os-auth-url, OS_AUTH_URL or auth.auth_url | |
| 07:08:57 | openstackgerrit | Merged openstack/keystoneauth: Prevent MemoryError when logging response bodies https://review.openstack.org/416249 | |
| 09:05:04 | openstackgerrit | zhiyong.dai proposed openstack/python-openstackclient: Update the description format https://review.openstack.org/416485 | |