Earlier  
Posted Nick Remark
#openstack-sdks - 2017-04-06
14:00:02 malloc83 lemme paste bin, and you guys tell me how to do the same with the sdk..
14:00:49 malloc83 https://pastebin.com/KmGqeM9s
14:01:01 malloc83 how do i achieve that using SDK? :) and not python clients directly.
14:01:43 malloc83 cause when providing token to SDK it actually throws a new token... i am not sure if we checking it correctly, but i saw this when we tried the get_token method on the session.. there is different token from the one we provided to it on the connection
14:02:21 malloc83 if it keeps generating new tokens.. :) it could cause a scaling issue.. or perhaps i am not looking at the right place. to see what token it is using currently.
14:02:38 rabel dtroyer: could you have another look at https://review.openstack.org/#/c/444924/ ? i think we are nearly done there, but there are some smaller questions.
14:03:01 dtroyer malloc83: in openstackclient (OSC) here is how we set up the SDK Connection object:
14:03:04 dtroyer https://github.com/openstack/python-openstackclient/blob/master/openstackclient/network/client.py#L40
14:03:06 malloc83 guys gotta go.. ill be back later or tomorrow...
14:03:10 malloc83 i am savint the link dtroyer
14:03:25 dtroyer that is using an externally created KSA Session
14:03:26 dtroyer kk
14:03:29 briancurtin i know nothing about other clients FYI
14:03:33 dtroyer save this too:
14:03:42 dtroyer https://github.com/openstack/osc-lib/blob/master/osc_lib/clientmanager.py
14:03:52 dtroyer a lot of what I think you are trying to do has been already done
14:04:02 malloc83 got it.. ill be back. sorry really late for meeting :)
14:04:12 dtroyer it may not fit your case exactly but you may find it interesting to see how we did it
14:20:11 mordred malloc83: you also may enjoy https://docs.openstack.org/developer/os-client-config/#constructing-openstack-sdk-object and https://docs.openstack.org/developer/os-client-config/#constructing-legacy-client-objects
14:20:27 mordred depending on which thing you want to accomplish
14:22:16 dtroyer rabel: 444924 looking good
14:29:56 openstackgerrit David Rabel proposed openstack/python-openstackclient master: Add --network and --port to server create https://review.openstack.org/444924
14:30:07 rabel dtroyer: thanks for reviewing.
14:37:42 openstackgerrit Dean Troyer proposed openstack/python-openstackclient master: Allow override of distributed router flag https://review.openstack.org/433442
14:51:59 reedip rabel ...all done with 444294 ?
14:53:02 rabel reedip: not quite, but i think i am close. :)
14:54:12 openstackgerrit Nakul Dahiwade proposed openstack/python-openstacksdk master: Introduce L7Policy for Octavia (load balancing) https://review.openstack.org/451980
14:58:00 openstackgerrit David Rabel proposed openstack/python-openstackclient master: Add --network and --port to server create https://review.openstack.org/444924
15:13:43 openstackgerrit Sean McCully proposed openstack/keystoneauth master: KeystoneAuth should default to system CAFile. https://review.openstack.org/452585
15:15:43 sdague cdent: in your thinking about capabilities, had you thought about hypermedia for it? There was a blog post about swagger limitations the other day which mentioned that, and I wondered why I didn't think I'd seen that on the table anywhere
15:17:51 openstackgerrit Nakul Dahiwade proposed openstack/python-openstacksdk master: Introduce L7Rule for Octavia (load balancing) https://review.openstack.org/452832
15:29:17 cdent sdague: I had, but there's never been a lot of support for that kind of thing in these discussions. Even when we we talk about policies we tend to talk with names of services and functionality rather than URIs, which has confused me
15:30:14 cdent sdague: I've not pushed much on the capabilities stuff, just listened. Much earlier on I'd said "shouldn't this stuff be in the existing representation as links?" and got quite a bit of pushback so decided to wait and see
15:31:02 sdague cdent: yeh, I just was curious
15:32:10 cdent sdague: I think there are some conflated use cases that we haven't properly teased out yet and what we've got on the table now is a solution looking for all the problems it might be able to solve. so you and john's suggestion at ptg to just focus on the narrow horizon case is probably wise
15:32:25 sdague yeh
15:47:44 openstackgerrit Valery Tschopp proposed openstack/python-openstacksdk master: Whitelist query parameter 'project_id' https://review.openstack.org/454241
15:49:17 openstackgerrit Brian Curtin proposed openstack/python-openstacksdk master: Add 'project_id' to Server query parameters https://review.openstack.org/454241
17:23:07 openstackgerrit Dean Troyer proposed openstack/python-openstackclient master: Split security group tests https://review.openstack.org/454262
17:37:23 cdent elmiko, edleafe, anyone else: quick proofread of https://etherpad.openstack.org/p/api-wg-newsletter please?
17:39:33 openstackgerrit Ankur proposed openstack/python-openstackclient master: Add support for Octavia Plugin https://review.openstack.org/447068
17:44:43 cdent elmiko, edleafe too late
17:44:56 elmiko lol
17:44:59 elmiko just saw the first ping!
17:45:06 elmiko thanks though =)
17:54:46 edleafe cdent: sorry, just got back online
17:55:03 elmiko cdent: fwiw, the copy looks ok to me
17:55:09 cdent no worries edleafe, elmiko: it's probably fine, and if it's not, that's probably fine too
17:55:20 elmiko lol
17:55:22 elmiko so true
18:08:39 edleafe heh, not like anyone reads those things anyway
18:59:56 stevemar dtroyer: deanoooo
19:00:53 dtroyer heyo
19:01:12 dtroyer heh, it was at 9:00 (for you)
19:01:21 dtroyer I missed it anyway :(
19:01:32 dtroyer stevemar: ^^
19:01:55 stevemar dtroyer: novaclient 8.0.0 dropped today and borked osc commands
19:03:48 dtroyer yup, I'm working on them… has anyone else proposed a cap yet?
19:05:00 dtroyer lemme post a snapshot of what I'm doing
19:05:13 stevemar sure thing
19:05:19 stevemar re:cap, not that i know of
19:05:46 dtroyer we're probably the only ones using modern novaclient with old clouds
19:05:57 dtroyer dunno if shade was affected
19:06:35 mordred dtroyer: we got borked by a couple of things but caught it a few weeks ago while it was still in master
19:07:03 mordred dtroyer: if I had been smart, I would have given you a heads up
19:07:09 dtroyer yeah, we weren't testing master python-*client anywhere, althoug I did know it was coming
19:07:17 dtroyer just didn't get things done
19:07:38 mordred we fixed it for us by just switching those commands to rest
19:08:15 dtroyer mordred: that's basically what I'm doing too, except in the form already in OSC
19:08:19 openstackgerrit Dean Troyer proposed openstack/python-openstackclient master: Split security group tests https://review.openstack.org/454262
19:08:20 openstackgerrit Dean Troyer proposed openstack/python-openstackclient master: WIP: Low-level API for Compute v2 https://review.openstack.org/454310
19:08:30 dtroyer that's the current snapshot ^^^
19:11:56 dtroyer stevemar: ^^^ in case you wandered off :)
20:04:22 openstackgerrit Brian Curtin proposed openstack/python-openstacksdk master: Enable warnings_as_errors in doc enforcer https://review.openstack.org/453676
23:40:06 ankur-gupta-f4 briancurtin: ping are you around?
23:41:30 ankur-gupta-f4 Initial LB SDK patch was merged. In a new env ran functional tests and discovered its not even finding the correct endpoint http://paste.openstack.org/show/605681/ . Thoughts? Fiddling with it now trying to figure it out
#openstack-sdks - 2017-04-07
00:51:45 briancurtin ankur-gupta-f4: i'm not around (on mobile right now, won't be on computer until tomorrow). should we perhaps revert the original change so i can do a release, then get LB right for the next one?
00:53:19 ankur-gupta-f4 NP. I figured since its after hours. There is no direct harm in leaving it.. It just doesn't work. I have sorted it out locally but may seem a bit hacky. Right now dealing with issue where after lb creation you have to wait for it to become active before the API allows deletion. Thus the tearDown always fails :|
00:53:23 ankur-gupta-f4 briancurtin: ^^
01:14:18 openstackgerrit yangweiwei proposed openstack/python-openstackclient master: Update endpoint-delete, endpoint-show, endpoint-set method https://review.openstack.org/453429
01:20:17 openstackgerrit Ankur proposed openstack/python-openstacksdk master: Attempt to fix Octavia/load-balancer https://review.openstack.org/454410
01:39:21 openstackgerrit yangweiwei proposed openstack/python-openstackclient master: Update endpoint-delete, endpoint-show, endpoint-set method https://review.openstack.org/453429
05:27:19 openstackgerrit yangweiwei proposed openstack/python-openstackclient master: Update to tox.ini https://review.openstack.org/454455
07:30:31 openstackgerrit Huanxuan Ao proposed openstack/python-openstackclient master: "--type" should be required option in "network qos rule create" https://review.openstack.org/454575
08:46:26 openstackgerrit Rui Chen proposed openstack/cliff master: Add smart help formatter for command parser https://review.openstack.org/454613
08:49:41 openstackgerrit Rui Chen proposed openstack/python-openstackclient master: Make block-device-mapping more stable and clear https://review.openstack.org/438141
09:35:08 openstackgerrit Stephen Finucane proposed openstack/cliff master: Add 'autoprogram-cliff' Sphinx directive https://review.openstack.org/450322
09:35:09 openstackgerrit Stephen Finucane proposed openstack/cliff master: Add support for epilogs https://review.openstack.org/454132
09:35:20 openstackgerrit Stephen Finucane proposed openstack/python-openstackclient master: WIP! Start using 'cliff.sphinxext' https://review.openstack.org/452861
10:15:46 cdent sdague: if you've got a few moments, you can probably provide some good tie-breaking input on some http response code bikeshedding over on https://review.openstack.org/#/c/446716/
10:23:38 sdague cdent: yeh, I'm with you on that. 404 seems weird to me for collections searches
10:24:08 cdent yeah. it's correct on some dimension, but not really the human one.
10:24:09 sdague I also am a little o_O on 'last' even being in there
10:24:27 cdent feel free to comment on whatever you feel like commenting on, of course
10:24:37 sdague yeh, I did
10:24:50 cdent there was some earlier debate on 'last' on a previous iteration of the guideline (which was replaced)
10:25:59 cdent that guidelines has struggled to see the light of day almost as much as the *ability one
12:11:36 mordred cdent: agree re: 400
12:11:49 cdent good to know, thanks
14:11:20 openstackgerrit Merged openstack/python-openstackclient master: Split security group tests https://review.openstack.org/454262

Earlier   Later