Tuesday, 2017-10-10

*** edmondsw has quit IRC00:04
*** rajathagasthya has quit IRC00:04
*** gouthamr has joined #openstack-sdks00:21
*** rajathagasthya has joined #openstack-sdks00:24
*** LindaWang has joined #openstack-sdks00:46
*** jkilpatr has quit IRC00:59
*** gildub has joined #openstack-sdks01:04
*** edmondsw has joined #openstack-sdks01:28
*** rajathagasthya has quit IRC02:24
*** dave-mccowan has quit IRC02:31
*** rajathagasthya has joined #openstack-sdks02:41
*** ldl has joined #openstack-sdks02:47
*** bobh has joined #openstack-sdks03:10
*** bobh has quit IRC03:20
*** edmondsw has quit IRC03:23
*** fzdarsky has quit IRC03:24
*** rajathagasthya has quit IRC03:29
*** gildub has quit IRC03:38
*** gildub has joined #openstack-sdks03:56
*** gouthamr has quit IRC04:14
*** edmondsw has joined #openstack-sdks04:21
*** edmondsw has quit IRC04:26
*** fzdarsky has joined #openstack-sdks05:36
*** fzdarsky has quit IRC05:37
*** fzdarsky has joined #openstack-sdks05:37
*** e0ne has joined #openstack-sdks05:43
*** edmondsw has joined #openstack-sdks06:10
*** edmondsw has quit IRC06:14
*** gildub has quit IRC06:59
*** annp has joined #openstack-sdks07:03
*** fzdarsky has quit IRC07:06
*** e0ne has quit IRC07:17
*** hoangcx has quit IRC07:19
*** hoangcx has joined #openstack-sdks07:22
*** hoangcx has quit IRC07:31
*** jpich has joined #openstack-sdks07:35
*** hoangcx has joined #openstack-sdks07:36
*** ralonsoh has joined #openstack-sdks07:44
*** gildub has joined #openstack-sdks07:48
*** edmondsw has joined #openstack-sdks07:58
*** edmondsw has quit IRC08:02
*** e0ne has joined #openstack-sdks08:40
*** cdent has joined #openstack-sdks08:54
*** gildub has quit IRC09:06
*** gildub has joined #openstack-sdks09:07
openstackgerritStephen Finucane proposed openstack/cliff master: Generate demoapp CLI refernece  https://review.openstack.org/48313409:09
openstackgerritStephen Finucane proposed openstack/cliff master: doc: Cleanup of demoapp doc  https://review.openstack.org/51080209:14
*** gildub has quit IRC09:29
*** edmondsw has joined #openstack-sdks09:46
*** edmondsw has quit IRC09:51
*** dtantsur|afk is now known as dtantsur09:53
umbSublimeis there currently a way to get a flavor's  extra_specs from the SDK, I can't seem to find one :/.09:58
*** ldl has quit IRC10:04
*** sdague has joined #openstack-sdks10:12
*** gildub has joined #openstack-sdks10:29
*** ldl has joined #openstack-sdks10:29
*** Suramya has joined #openstack-sdks10:34
*** jkilpatr has joined #openstack-sdks11:03
*** dtantsur has quit IRC11:04
*** dtantsur has joined #openstack-sdks11:08
*** dtantsur has quit IRC11:08
*** dtantsur has joined #openstack-sdks11:09
*** dtantsur has quit IRC11:09
*** dtantsur has joined #openstack-sdks11:13
openstackgerritMerged openstack/cliff master: doc: Remove blank lines between term and definition  https://review.openstack.org/48569811:32
*** edmondsw has joined #openstack-sdks12:03
*** edmondsw has quit IRC12:04
*** edmondsw_ has joined #openstack-sdks12:05
*** annp has quit IRC12:20
*** LindaWang has quit IRC12:46
mordredumbSublime: no, openstacksdk does not have support for flavor extra_specs at the moment. shade does, so if you're blocked on it I'd suggest shade - there will be work to merge the two over the next cycle12:49
mordredthingee: on-boarding room sounds great12:49
umbSublimemordred, thank you, I'm no developer, but looking at the codebase for the SDK I was wondering if as a work-around for now I could just modify the Flavor object to add a property for extra_specs would just "work" https://github.com/openstack/python-openstacksdk/blob/79462437058e37b83b8153531b5078ddc5a1edb8/openstack/compute/v2/flavor.py#L56.12:52
umbSublimeUsing  shade would work indeed, but performance wise in  my experience using the SDK directly is much faster.12:52
*** Kevin_Zheng has joined #openstack-sdks12:52
umbSublimeconcerning you last bit, you mean if all goes well in next cycle there will be a merge of shade and openstacksdk ?12:53
mordredumbSublime: yah - that's likely because of the current shade behavior to use list() and then client-side filtering for get() calls ...12:55
mordredumbSublime: there is a constructor parameter now "use_direct_get" which switches behavior to using get() instead ... there is also, ironically enough, a flag to tell shade to NOT fetch extra_specs every time you look for a flavor :)12:56
mordred(the current default behavior is to fetch a flavor's extra_specs when fetching a flavor - this was a bad choice)12:56
*** gildub has quit IRC12:56
mordredumbSublime: and yes - we've merged the teams just recently and we'll be working to move what is now shade into being some classes inside of sdk12:57
umbSublimesort or like when using nova/openstack cli, it does 2 api calls, one to get flavor and another to get the extra_specs with no way to disable extra_specs12:58
mordredumbSublime: unfortunately extra_specs are an extra REST call - so just adding an attribute there won't get you any data12:58
*** efried has quit IRC12:58
*** efried has joined #openstack-sdks12:58
umbSublimemaybe another question, with the sdk is it possible to use the connection to do a "custom" api call ? if that's the case i could work-around this and deal with the api call json result myself12:59
mordredumbSublime: yah - re: extra_specs ... if you add:13:00
mordredshade:13:00
mordred  get_flavor_extra_specs: false13:00
mordredto clouds.yaml (top level) it will turn off the shade behavior (in case that winds up being useful to you)13:01
*** edmondsw_ is now known as edmondsw13:01
mordredumbSublime: not at the moment (re REST) - but I actually have a patch up to add that ability13:01
mordredumbSublime: in part of the patch series aimed at laying the plumbing groundwork for integrating shade and sdk with each other13:01
*** ldl has quit IRC13:01
umbSublimeawesome, then I guess I'll work-around my issue with shade for now and switch to using the REST call when it's ready. Thanks for the help13:02
openstackgerritRodolfo Alonso Hernandez proposed openstack/python-openstacksdk master: Avoid default mutable values in arguments  https://review.openstack.org/51087013:02
mordredumbSublime: sure thing! hopefully in the not-too-distant-future we'll have answers for both side of this :)13:02
umbSublimemordred, maybe I can do a "hack" to get the token from the connection object and just use requests module for my custom api call. Would that be possible ?13:03
mordredumbSublime: I think instead just try using the session property on the Connection13:05
mordredumbSublime: one sec ...13:05
umbSublimeohh right, that's actually what i was refering too. Thanks again13:05
*** LindaWang has joined #openstack-sdks13:11
openstackgerritRodolfo Alonso Hernandez proposed openstack/python-openstackclient master: Avoid default mutable values in arguments  https://review.openstack.org/51087613:12
*** lbragstad has joined #openstack-sdks13:28
*** bobh has joined #openstack-sdks13:33
*** dave-mccowan has joined #openstack-sdks13:33
*** efried has quit IRC13:34
*** gouthamr has joined #openstack-sdks13:45
*** chlong_ has joined #openstack-sdks13:47
*** chlong has joined #openstack-sdks13:47
*** d0ugal has quit IRC14:00
*** d0ugal has joined #openstack-sdks14:00
*** d0ugal has quit IRC14:00
*** d0ugal has joined #openstack-sdks14:00
*** d0ugal has quit IRC14:00
*** d0ugal has joined #openstack-sdks14:00
*** d0ugal has quit IRC14:01
*** d0ugal has joined #openstack-sdks14:02
*** d0ugal has quit IRC14:02
*** d0ugal has joined #openstack-sdks14:02
*** efried has joined #openstack-sdks14:23
*** edmondsw has quit IRC14:25
*** edmondsw has joined #openstack-sdks14:26
*** edmondsw_ has joined #openstack-sdks14:27
*** edmonds__ has joined #openstack-sdks14:28
*** edmondsw has quit IRC14:30
*** Suramya has quit IRC14:30
*** edmondsw_ has quit IRC14:31
*** chlong has quit IRC14:36
*** chlong_ has quit IRC14:36
*** chlong has joined #openstack-sdks14:36
*** nikhil has joined #openstack-sdks14:44
*** ldl has joined #openstack-sdks14:57
*** cfriesen has joined #openstack-sdks15:00
openstackgerritStephen Finucane proposed openstack/cliff master: Generate demoapp CLI refernece  https://review.openstack.org/48313415:10
openstackgerritStephen Finucane proposed openstack/cliff master: doc: Cleanup of demoapp doc  https://review.openstack.org/51080215:10
openstackgerritStephen Finucane proposed openstack/cliff master: sphinxext: Warn if namespace or command pattern invalid  https://review.openstack.org/51091315:24
*** edmonds__ has quit IRC15:29
*** edmondsw has joined #openstack-sdks15:32
*** efried has quit IRC15:34
*** edmondsw_ has joined #openstack-sdks15:36
*** edmondsw has quit IRC15:37
*** efried has joined #openstack-sdks15:40
*** edmondsw_ has quit IRC15:41
*** ldl has quit IRC15:45
*** e0ne has quit IRC15:45
*** edmondsw has joined #openstack-sdks15:50
*** LindaWang has quit IRC15:52
*** edmondsw has quit IRC15:55
*** edmondsw has joined #openstack-sdks15:56
*** dave-mcc_ has joined #openstack-sdks16:02
*** dave-mccowan has quit IRC16:04
*** gouthamr has quit IRC16:10
*** ralonsoh_ has joined #openstack-sdks16:13
*** ralonsoh has quit IRC16:16
efriedmordred cdent (sdague) Should we be adding a block-storage endpoint in devstack, since that be the official service type for cinder?16:39
*** jpich has quit IRC16:39
cdentefried: yes, it would be great if what’s in devstack matched sta16:40
cdentbut it’s likely/possible that could break some stuff16:40
efriedcdent Okay.  I'm going to be poking in the dark a little bit here, but I'll shoot you the review once I've got it.16:40
efriedcdent Oh, I wasn't going to remove volumev316:40
cdent16:40
efriedyet16:40
mordredefried: yah- definitely adding a block-storage owuld be great16:41
mordredefried: obvoiusly if you do, add the unversioned endpoint as block-storage, not the versoined :)16:42
efriedmordred Cool, on it.  (Currently trying to figure out whether I can duplicate the service name, or if not, what I should call it)16:42
mordredefried: service name carries no meaning - so it's fine to duplicate it16:44
efriedsweet16:44
cdent<pic of service> this is not a service16:46
efriedcdent mordred This look right?  https://review.openstack.org/51093916:50
cdentefried: superficially glancing, yes16:52
cdentit’ll be a great shiny day when we can get rid of these rest of those16:52
efriedcdent I got here from test failures on https://review.openstack.org/#/c/508345/ which I'm pretty sure are happening because there's no 'block-storage' entry in the catalog.16:53
efriedthough I thought ksa was supposed to try the aliases, maybe?16:54
cdentisn’t it supposed to fall back to aliases?16:54
efriedI'm confusing myself.16:54
cdentjinx16:54
cdentme too16:54
efriedand cinder is way messed up16:54
*** gouthamr has joined #openstack-sdks16:56
*** gouthamr has quit IRC17:00
*** gouthamr has joined #openstack-sdks17:01
*** lifeless has quit IRC17:03
*** ralonsoh_ has quit IRC17:04
*** jkilpatr_ has joined #openstack-sdks17:13
mordredcdent, efried: alias fallback is the last missing thing we haven't yet added to ksa17:13
efriedah17:13
mordredcdent, efried: the patch is here: https://review.openstack.org/#/c/484341/ and it's on my list to finish as soon as zuul v3 rollout  is done17:13
cdentk3w!17:14
*** jkilpatr has quit IRC17:14
*** lifeless has joined #openstack-sdks17:20
*** dtantsur is now known as dtantsur|afk17:38
briancurtinumbSublime: if you just want the token you can call https://developer.openstack.org/sdks/python/openstacksdk/users/connection.html#openstack.connection.Connection.authorize18:47
briancurtinthat’s used for more explicitly authorizing (if necessary, it’s not the usual way you auth), and that will return the auth token18:48
*** jkilpatr_ has quit IRC19:12
*** jkilpatr has joined #openstack-sdks19:27
*** e0ne has joined #openstack-sdks20:00
*** e0ne has quit IRC20:20
*** e0ne has joined #openstack-sdks20:23
*** e0ne has quit IRC20:25
*** openstackgerrit has quit IRC20:33
*** gouthamr has quit IRC21:06
*** edmondsw has quit IRC21:33
*** edmondsw_ has joined #openstack-sdks21:35
*** edmondsw_ has quit IRC21:39
*** efried has quit IRC21:46
*** edmondsw has joined #openstack-sdks22:08
*** openstackgerrit has joined #openstack-sdks22:10
openstackgerritJackie Truong proposed openstack/python-openstackclient master: Add trusted_image_certificates to server  https://review.openstack.org/50192622:10
*** bobh has quit IRC22:11
*** edmondsw has quit IRC22:13
*** chlong has quit IRC22:30
*** sdague has quit IRC22:39
*** cdent has quit IRC23:02
openstackgerritMerged openstack/cliff master: Alias exit to cmd2's quit command to exit interactive shell  https://review.openstack.org/49121723:20
*** gouthamr has joined #openstack-sdks23:39
*** gildub has joined #openstack-sdks23:49

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!