Earlier  
Posted Nick Remark
#openstack-sdks - 2017-04-03
19:05:06 dtroyer right, that's what I thought made it different. 'advanced services' has a specific meaning in neutron
19:05:39 ankur-gupta-f4 Yea. Will reword it. Sorry for confusion
19:06:00 ZZelle stevemar, yes i am
19:06:15 dtroyer but that doesn't change a) different endpoint and b) the same resource isn't represented by the same fields?
19:06:25 dtroyer what endpoint is it?
19:07:11 ankur-gupta-f4 i.e. for routers for the list command it hits /v2.0/routers for the list routers --agent <agent-id> it hits /v2.0/routers/<router-id>/l3-agents i believe
19:07:29 dtroyer ok, again, endpoint has a specific meaning: service catalog thing
19:07:42 dtroyer that's a route in wsgi terms
19:07:53 ankur-gupta-f4 okay. route.
19:07:53 dtroyer so much overloading of words!
19:08:12 dtroyer so the server returns a different object in that case?
19:08:27 ankur-gupta-f4 correct
19:08:40 dtroyer and the SDK doesn't fill it out? this is one place I'd expect the SDK's high-level-ness to step in and make things look right
19:08:41 ankur-gupta-f4 https://github.com/openstack/python-openstacksdk/blob/master/openstack/network/v2/router.py#L134 is how the route is determined in the SDK
19:09:37 dtroyer we should just start issuing random 3 letter names for all of these different things
19:10:53 ankur-gupta-f4 route, complex command, idiotic API.. should suffice
19:11:08 dtroyer so, back to the issue at hand, is —router a filter or a type specifier?
19:13:03 ankur-gupta-f4 not a filter in the sense that it filters the resulting data from hitting the common list route. rather a flag to indicate that instead of hitting the usual list route, to hit the specific route that would return a different routers list object from the API.
19:15:20 dtroyer ok, the problem is that the columns are different
19:16:20 dtroyer in your examples the router ID is the same so it is that the server returns a different object, except it is still the same router at each endpoint?
19:17:06 ankur-gupta-f4 yes
19:17:36 ankur-gupta-f4 well..
19:19:10 ankur-gupta-f4 the example I posted, the paste.openstack.org link, was just to show that the commands are still listing the correct items
19:20:23 dtroyer so I clearly still don't understand wtf neutron is doing here. If I were to say: make a router list command always show the same columns, eept for -c and —long, what would you suggest?
19:21:49 ankur-gupta-f4 I just ran the commands in --debug to look at the dicts.
19:21:54 openstackgerrit Nakul Dahiwade proposed openstack/python-openstacksdk master: Introduce Listener for Octavia (load balancing) https://review.openstack.org/451574
19:22:31 ankur-gupta-f4 It should be possible to have all the list commands return the same values.
19:23:02 ankur-gupta-f4 what we can do is have all the list commands have the same columns.
19:23:10 ankur-gupta-f4 then if the certain agent flag is given
19:23:15 ankur-gupta-f4 append the additional columns
19:24:01 dtroyer that would be good. if we need additional options to select specic column similar to —long, we can talk about that… say for a common use case
19:26:28 ankur-gupta-f4 dtroyer: thanks. Headed to airport now. Will deal with all that shit Wednesday
19:26:40 dtroyer ok, thanks
19:27:08 ankur-gupta-f4 sshank: here? you will need to update your DHCP-network commands to reflect ^^^^^^
19:27:40 sshank ankur-gupta-f4, Yes. I'll need to read through the logs.
19:30:52 ankur-gupta-f4 basically have the list commands use the common columns from the base list case. and do like a columns = columns + (whatever additional your specific list command adds on (like ha)) column_headers = column_headers + (whatever)
19:33:26 openstackgerrit Ankur proposed openstack/python-openstacksdk master: Introduce Base for Octavia (load balancing) https://review.openstack.org/428414
19:47:16 openstackgerrit Shashank Kumar Shankar proposed openstack/python-openstacksdk master: Introduce Pool for Octavia (load balancing) https://review.openstack.org/449264
19:49:43 openstackgerrit Merged openstack/python-openstackclient master: Fix block-device-mapping when volume_size is empty https://review.openstack.org/451432
20:05:33 dtroyer stevemar: if you can spare a minute have a look at https://review.openstack.org/#/c/450453/, it's finally passing everything and fixes our -tips jobs
20:06:52 stevemar ++
20:10:55 dtroyer thanks
20:28:58 stevemar dtroyer: want me to push it through or wait til osc-lib is released?
20:30:26 dtroyer this is all for master, go ahead
20:30:54 dtroyer I'm working on releases, hopefully this week as I'm limited availability next week
20:48:30 openstackgerrit Nakul Dahiwade proposed openstack/python-openstacksdk master: Introduce Base for Octavia (load balancing) https://review.openstack.org/428414
20:51:20 openstackgerrit Merged openstack/python-openstackclient master: Enable to add/remove port to/from a server https://review.openstack.org/452328
21:09:52 openstackgerrit Nakul Dahiwade proposed openstack/python-openstacksdk master: Introduce Listener for Octavia (load balancing) https://review.openstack.org/451574
21:10:54 openstackgerrit Nakul Dahiwade proposed openstack/python-openstacksdk master: Introduce Listener for Octavia (load balancing) https://review.openstack.org/451574
21:11:39 openstackgerrit Nakul Dahiwade proposed openstack/python-openstacksdk master: Introduce Listener for Octavia (load balancing) https://review.openstack.org/451574
21:23:39 openstackgerrit Dean Troyer proposed openstack/python-openstackclient master: Help/docs cleanups: marker, limit, ip-address metavars https://review.openstack.org/452961
21:32:28 openstackgerrit Dean Troyer proposed openstack/python-openstackclient master: Release notes cleanup for 3.10.0 release https://review.openstack.org/452965
21:38:40 dtroyer jamielennox: when you get a sec have a look at https://review.openstack.org/#/c/452711/ and tell me "I told you that long ago" if this is what I think it is :)
21:50:39 openstackgerrit Merged openstack/python-openstackclient master: Change noauth strategy for plugin loading https://review.openstack.org/450453
22:16:13 openstackgerrit Nakul Dahiwade proposed openstack/python-openstacksdk master: Introduce Base for Octavia (load balancing) https://review.openstack.org/428414
23:04:54 jamielennox dtroyer: i was going to push this up but realized you weren't the author
23:05:01 jamielennox all you really need is:
23:05:02 jamielennox - if not self._auth_ref:
23:05:03 jamielennox - self.setup_auth()
23:05:03 jamielennox - LOG.debug("Get auth_ref")
23:05:03 jamielennox - self._auth_ref = self.auth.get_auth_ref(self.session)
23:05:03 jamielennox - return self._auth_ref
23:05:04 jamielennox + self.setup_auth()
23:05:06 jamielennox + return self.auth.get_access(session)
23:05:30 jamielennox get_access will mean it's reused if possible and there is already a guard that means setup_auth won't execute twice
23:13:07 dtroyer jamielennox: ok, thanks
#openstack-sdks - 2017-04-04
02:27:36 openstackgerrit Merged openstack/python-openstackclient master: Release notes cleanup for 3.10.0 release https://review.openstack.org/452965
02:38:59 openstackgerrit Merged openstack/python-openstackclient master: Introduce neutron flavor associate, disassociate to OSC https://review.openstack.org/403907
03:28:16 openstackgerrit Dean Troyer proposed openstack/python-openstackclient master: Help/docs cleanups: marker, limit, ip-address metavars https://review.openstack.org/452961
03:32:16 reedip o/
03:56:23 openstackgerrit Steve Martinelli proposed openstack/python-openstackclient master: Help/docs cleanups: marker, limit, ip-address metavars https://review.openstack.org/452961
04:37:21 openstackgerrit Sean McCully proposed openstack/keystoneauth master: KeystoneAuth should default to system CAFile. https://review.openstack.org/452585
04:55:58 openstackgerrit Sean McCully proposed openstack/keystoneauth master: KeystoneAuth should default to system CAFile. https://review.openstack.org/452585
06:13:33 openstackgerrit Reedip proposed openstack/python-openstackclient master: Structure FindFloatingIP() to work without ip_cache https://review.openstack.org/447938
06:38:44 reedip RuiChen : ^^
08:23:08 openstackgerrit Stephen Finucane proposed openstack/python-openstackclient master: WIP! Start using 'cliff.sphinxext' https://review.openstack.org/452861
08:32:24 openstackgerrit Cedric Brandily proposed openstack/osc-lib master: Avoid to authenticate twice https://review.openstack.org/452711
08:32:50 openstackgerrit Stephen Finucane proposed openstack/cliff master: Add 'cliff-command' Sphinx directive https://review.openstack.org/450322
08:42:24 openstackgerrit Cedric Brandily proposed openstack/osc-lib master: Avoid to authenticate twice https://review.openstack.org/452711
12:32:55 openstackgerrit Merged openstack/python-openstackclient master: Help/docs cleanups: marker, limit, ip-address metavars https://review.openstack.org/452961
13:13:55 openstackgerrit Ed Leafe proposed openstack/api-wg master: Recommend the correct HTTP method for tags https://review.openstack.org/451536
14:19:47 reedip dtroyer , stevemar : need your inputs on https://review.openstack.org/#/c/447938/
14:26:26 openstackgerrit Samriddhi proposed openstack/keystoneauth master: Updated inconsistent value of scope parameter https://review.openstack.org/452652
14:35:59 openstackgerrit Sean McCully proposed openstack/keystoneauth master: KeystoneAuth should default to system CAFile. https://review.openstack.org/452585
15:02:20 openstackgerrit Nakul Dahiwade proposed openstack/python-openstacksdk master: Introduce Base for Octavia (load balancing) https://review.openstack.org/428414
15:12:12 openstackgerrit Nakul Dahiwade proposed openstack/python-openstacksdk master: Introduce Listener for Octavia (load balancing) https://review.openstack.org/451574
15:39:30 openstackgerrit Nakul Dahiwade proposed openstack/python-openstacksdk master: Introduce Listener for Octavia (load balancing) https://review.openstack.org/451574
15:43:45 openstackgerrit Shashank Kumar Shankar proposed openstack/python-openstackclient master: Correct flavor associate/disassociate commands in Mapping Guide https://review.openstack.org/453232
15:45:50 openstackgerrit Shashank Kumar Shankar proposed openstack/python-openstackclient master: Correct flavor associate/disassociate commands in Mapping Guide https://review.openstack.org/453232
16:12:12 openstackgerrit Sindhu Devale proposed openstack/python-openstacksdk master: Introduce HealthMonitor for Octavia (load balancing) https://review.openstack.org/453243
16:15:44 openstackgerrit Dean Troyer proposed openstack/python-openstackclient master: Enable to specify which fixed-ip to add to a vm. https://review.openstack.org/452235
16:27:25 openstackgerrit Sindhu Devale proposed openstack/python-openstackclient master: Structure FindFloatingIP() to work without ip_cache https://review.openstack.org/447938
17:25:22 openstackgerrit Sindhu Devale proposed openstack/python-openstackclient master: "floating ip set/unset port" for OSC https://review.openstack.org/383025
18:00:53 sindhu dtroyer: stevemar : https://review.openstack.org/#/c/447938/ is ready :)
18:19:00 openstackgerrit Merged openstack/python-openstackclient master: Correct flavor associate/disassociate commands in Mapping Guide https://review.openstack.org/453232
19:12:12 openstackgerrit Nakul Dahiwade proposed openstack/python-openstacksdk master: Introduce Pool for Octavia (load balancing) https://review.openstack.org/449264
20:10:27 openstackgerrit ayoung proposed openstack/python-openstackclient master: Implied Roles https://review.openstack.org/290253
20:16:11 openstackgerrit Shashank Kumar Shankar proposed openstack/python-openstacksdk master: Introduce Pool for Octavia (load balancing) https://review.openstack.org/449264
20:31:15 openstackgerrit Merged openstack/python-openstackclient master: Structure FindFloatingIP() to work without ip_cache https://review.openstack.org/447938
20:32:46 sindhu dtroyer: stevemar : https://review.openstack.org/#/c/383025/ is ready as well :)

Earlier   Later