13:01:03 #startmeeting openstackclient 13:01:03 Meeting started Thu Jul 28 13:01:03 2016 UTC and is due to finish in 60 minutes. The chair is dtroyer. Information about MeetBot at http://wiki.debian.org/MeetBot. 13:01:04 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 13:01:07 The meeting name has been set to 'openstackclient' 13:01:18 hi tangchen 13:01:21 o/ 13:01:34 oh wow, we're all here 13:01:44 Hi gang! 13:01:49 Hi, stevemar, rtheis, dtroyer 13:01:53 :) 13:02:26 I am fighting laptop/browser issues so flying a bit blind right now 13:02:37 timing is everything, right? 13:02:46 haha 13:03:02 #topic release status 13:03:09 So let's talk 3.0 release 13:03:30 It seems the pressure is all on the osc-lib work to complete now, correct? maybe one more thing from Henry? 13:03:54 (which may be what was proposed yesterday) 13:04:01 yeah, and he just posted something 13:04:08 ok, cool 13:04:17 i'll take a look at it today 13:04:56 I was hoping to be done this week, and have gotten stuck on reproducing the failures in the shell review 13:05:38 and for osc-lib, do we want release notes? There are a couple conflicting reviews. 13:05:55 rtheis: it doesn't hurt to have it, we never had a reason until now 13:06:03 looks like someone proposed the directory structure 13:06:03 good question… most libs do not have reno-based release notes (based on a sampling of oslo and a few others) 13:06:13 https://review.openstack.org/#/c/348210/ 13:06:18 since those are end-user focused 13:06:38 is there a strong feeling that we should have that? or just the dev docs? 13:06:56 I am leaning toward just dev docs but am not stuck on that 13:06:57 i think just the dev docs are fine, osc-lib isn't meant to be end user facing 13:07:03 I say we match other libs 13:07:07 so dev docs are fine 13:07:24 ok 13:07:25 i'll update the patch 13:07:36 thanks stevemar 13:07:37 #agreed osc-lib will not use reno release notes 13:07:59 and +A Andrea's cleanup then, I've been holding off on that until we had this conversation 13:08:19 #topic osc-lib 13:08:55 while we're on that, I have also been holding off on another osc-lib release in case I needed something for the shell work, but I think it's time to do 0.4.1 at least there 13:09:27 +A'ed ajaegers cleanup 13:09:42 thanks 13:09:44 me too 13:10:44 we only have 5 commits unreleased https://github.com/openstack/osc-lib/compare/0.4.0...master 13:11:08 2 of which are minor 13:11:12 right, osc needs some of them for the shell work 13:11:14 actually 3 commits 13:11:26 and its taking 3+ days to do release, g-r and u-c updates these days 13:11:31 OK 13:11:48 who wants to create the release? :) 13:12:08 I'd like to try onec 13:12:10 once 13:12:13 rtheis, tangchen: want some practice? 13:12:16 ok, cool, thanks 13:12:17 * dhellmann arrives late 13:12:26 thanks tangchen 13:12:37 thanks, Richard. :) 13:12:44 * dtroyer backs up a bit to confirm something with dhellmann 13:12:47 Any guide please ? 13:12:50 tangchen: you just gotta copy https://github.com/openstack/releases/commit/e305d347a68b2619cbadb0ae05453e652fde9ae1 13:13:27 dtroyer : reno? 13:13:28 dhellmann: we're not planning for reno-style release notes for osc-lib, that seems consitent with most others, correct? 13:13:42 tangchen: as dtroyer said, mark it 0.4.1 and get the most recent hash (7a8b05152ac49f3895bef56be4424171c3917dd8) 13:14:18 we're adding reno to libs that have config options that deployers would see. I don't think that applies to osc-lib. I don't know if there are any other user-facing things that make sense to include in release notes there? 13:14:18 *most other libs 13:14:22 stevemar: OK, I'll try it tomorrow 13:14:37 dhellmann: no, there shouldn't be anything like that 13:14:40 tangchen: we need it a bit sooner :( 13:14:53 so osc-lib doesn't define any command line options? 13:14:54 tangchen: the release team doesn't allow releases on fridays 13:14:55 Oh, now ? 13:15:06 (in case a gate is broken) 13:15:38 tangchen: should only take a minute, i can do it if you want, i know it's late your time 13:16:00 Oh, I can do it. 13:16:02 dhellmann: hmmm… actually it has most of the global options, yes. so is there a way for osc to ppick those up naturally? 13:16:04 working on it 13:16:06 one min 13:16:15 tangchen: thanks :) 13:16:35 dtroyer : we don't currently have a way to pull notes from one repo into another, no. :-/ 13:17:26 but having the reno notes in osc-lib would at least make references cleaner 13:17:31 even though osc-lib has a release note like reno style, it is not easy that users track changes in dependent libraries. 13:17:56 amotoki : that's a good point, putting release notes in the library might be a little confusing 13:17:59 i think what we can do is just to mention osc-lib or other libs had such changes. 13:18:09 we could address that by having osc's release notes point to the lib notes for "more details" 13:18:14 right 13:19:02 it's not best but it sounds better approach 13:19:19 the user-unfriendly bit there is knowing _which_ osc-lib is installed. this is ok for service deployers, unfortunate for end-users 13:19:32 dtroyer: true 13:19:36 and not something I though of when we decided to do the split. 13:19:47 but also minor in the Big Scheme of Things 13:20:17 maybe we can do something with the --version output of osc to expose that better 13:20:21 dtroyer: osc-lib *ideally* shouldn't be changing too often after the big split 13:20:57 dhellmann: I'll make sure it is included in module show output too 13:21:09 that'll ease that pain a bunch 13:21:11 ++ 13:22:02 stevemar: Shall we hash it to ef4a4f143b1f96ac8c2a685a8e1a4e96c802cb0d ? 13:22:14 Seems it was merged just now. 13:22:37 the releasenote cleanup 13:22:43 are we back to osc-lib release notes? 13:22:50 tangchen: you could, not necessary though 13:22:54 rtheis: yes 13:23:02 ok 13:23:52 lets move on... 13:24:00 #topic review highlights 13:24:12 Any reviews that need to be brought up here? 13:24:54 https://review.openstack.org/#/c/340624/ 13:25:04 a couple items on this review... 13:25:29 1) https://review.openstack.org/#/c/340624/14/neutronclient/osc/v2/trunk/trunk.py 13:25:34 rom openstackclient.identity import common as identity_common 13:25:40 from openstackclient.identity import common as identity_common 13:26:03 Is this available to plugins and is there a plan to move any of this to osc-lib 13:26:15 this = identity common utilities 13:26:52 tangchen: sure, sounds like a good level 13:26:54 we really have not talked about moving API-specific bits to osc-lib, although it may not be out of the question 13:27:15 so far neutron osc plugin wants to use find_project() and option definitions from identity.common. 13:27:15 Identity has a bit of a special place though in that everyone needs bits of it 13:27:55 the reason to move it is so plugins do not depend on osc itself, so stand-along CLIs are possible 13:28:08 it might make sense to expose some of the identity api through osc-lib, either fully by giving the identity client, or partially by giving a wrapper 13:28:41 I could see commands wanting to do things like translate UUIDs returned by APIs to names, for example 13:28:57 I think most of the stuff (from memory) in identity.common doesn't require a client to exist if it isn't called… 13:29:28 dtroyer: some functions expect a client to be passed in the args 13:29:37 right, which is find for a lib 13:29:42 ja 13:29:45 if you don't use it there isn't a cost 13:30:12 yep, that looks right 13:30:19 so if we can do it without forcing ksc or the sdk to be included we should be ok 13:30:26 it would be nice to be consistent, so other projects don't reimplement it 13:30:41 exactly, and osc-lib is meant to be the plugin interface 13:30:43 stevemar: +1 13:31:00 so we need to support that. maybe post 1.0 though 13:31:21 : Hi, I know the problem. And yes, +1 13:31:41 ok, so in the short term should we suggest that plugins duplicate the code until osc-lib has it 13:31:59 dtroyer: in this case, the common one they are using is just adding an argument to parsed_args, so its really easy to add support for this 13:32:21 rtheis: yeah, its a small function anyway 13:32:22 yay! more args/option in osc-lib! :) 13:32:41 for short term in neutornclient, i would like to gather such things in https://review.openstack.org/#/c/348097/ 13:32:42 can someone put together an initial proposal for osc-lib for this? 13:32:58 sounds good 13:33:22 the easy stuff can go in quickly, but I don't want to hold up osc-lib's 1.0 (which would hold up osc's 3.0) if we can help it 13:34:18 amotoki: is this something you'd be willing to do since you are working the neutron end too? 13:34:26 and may be the first user 13:34:51 rtheis: it is just an initial version, but i am thinking this kind of thing is required. 13:35:12 ok 13:35:24 rtheis: we only see two implementations for OSC plugin, but we already see many code duplications. 13:35:24 +1 for gathering them all together. 13:35:27 amotoki: agreed… I'm just running slower than I'd like atm 13:36:02 it is a bit late in a dev cycle, so i think it is fair that we do this kind of things in each repo and collect them in the beginning of the cycle. 13:37:00 amotoki: that may be the case for the plugins, but go ahead and start putting it into osc-lib too 13:37:30 dtroyer: yeah, i am thinking so. 13:37:48 but I think we need to gather inputs a bit more. 13:37:55 ok 13:38:02 * dtroyer finally got a peek at that review… 13:38:19 is 'network trunk' the final resource name? 13:38:41 dtroyer: that is the current plan 13:38:58 nothing merged yet 13:39:53 (assuming these are .1q trunk ports) is 'trunk port' out of the question? 13:39:59 in general I think it is better that networking commands have 'network' prefix unless it is clear that command names belong to 'networking'. 13:40:14 I haven't read all of the comments yet so don't know what the history is 13:41:14 dtroyer: I suggested "network trunk" or "trunk port" in patch 3 13:41:15 I believe we should use the best descriptive name that a user will understand, if that means prepending 'network', ok, but it should not be done automatically 13:42:26 dtroyer : ++ 13:42:34 i think we don't need 'network' prefix for 'load balancer' or 'vpn', but if it is not clear that a command name belongs to 'networking' 'network' prefix sounds okay. 13:42:35 I'll leave a comment… I agree trunk port is clearer to me, although is it greatly different from a port otherwise? The options might be different enough to warrant a specific resource 13:43:06 dtroyer: thanks, there is some concern in https://review.openstack.org/#/c/340624/17/setup.cfg too 13:43:13 I would have started with port —trunk, but again, I haven't read this in any detail yet 13:43:50 a trunk port is a new resource in neutron db which contains ports 13:43:51 rtheis: a verb 'enumerate'? 13:44:02 amotoki: yes 13:44:15 and a subport command object 13:44:28 ok, so a trunk is a port container? that is different, and maybe is enough to not include port in the name. 13:44:31 rtheis: honestly 'list' is sufficient. 13:44:38 just because it is differnt in the db, though, doen't mean anything to a user 13:44:48 amotoki: ++ 13:45:20 dtroyer: that is my understanding of a trunk 13:45:25 amotoki: is that correct? 13:45:55 rtheis: I think so too, but i haven't fully followed the development of trunk port... 13:45:57 I'll read up on it. trunk means 802.1q trunk to most network folk, so if it isn't that it will be fun 13:46:46 dtroyer: thanks for your input 13:47:07 nothing else from me on that review 13:47:15 ok, thanks 13:47:18 any other reviews? 13:47:34 rtheis: thanks for raising these! 13:47:39 yw 13:47:58 No from me. 13:48:19 ok, how about… 13:48:22 #topic bugs 13:49:59 I don't have any to discuss 13:50:01 no bugs? 13:50:11 well, with 10 minutes remaining: 13:50:14 #topic open discussion 13:50:20 what is on our minds today? 13:51:21 dtroyer: unfortunately, I'm thinking about neutron extensions 13:51:42 I had a discussion with armax about some of the neutron osc plugins 13:51:51 many require neutron extensions to be enabled 13:52:08 that's a fun thing 13:52:20 and discovery of that, right? 13:52:24 should we have a general check up front in command object to fail 13:52:26 right 13:52:39 and does it also belong in osc-lib 13:53:12 is that info available in the / route yet? (at version negotiation time?) 13:54:00 dtroyer: I don't know 13:54:11 in neutron, if a corresponding neutron extension is not available, 404 is returned. IIRC, what armax said is that we would liek to distinguish 404 and not supported. 13:54:47 ok, as long as that info is readily available we can handle it 13:55:00 amotoki: that's right, thanks 13:55:02 if we can get help out of the version negotiation that's better 13:55:31 it doesn't sound like special-case error handling is too hard though, and if it's basically boilerplate for osc-lib we can do that 13:55:52 like with Identity though, if it requires additional dependencies for osc-lib we'll need to think hard about it 13:56:07 dtroyer: sounds good 13:56:09 thanks 13:56:12 also, in this case how much should go to the SDK? 13:56:19 perhaps we can define requirement conditions (like micro-version or extensions) somewhere. 13:56:32 if these are common problems for apps that may make long-term sense 13:56:55 https://review.openstack.org/#/c/343992/ 13:56:58 amotoki: as we make those things consistent across APIs, yes, I'd love to do that 13:57:04 SDK api microversion support in review now 13:57:11 \o/ 13:58:04 we can prototype this sort of extension handling between osc and plugins, and migrate it into the appropriate dependencies/libs as it gets worked out 13:58:36 good idea 13:58:53 it will be a good input to SDKs :) 14:00:06 we out of time 14:00:08 tangchen: thanks again for doing the osc-lib release, it looks good 14:00:10 yup 14:00:16 thanks. :) 14:00:18 thanks everyone! awesome meeting! 14:00:18 thanks 14:00:23 #endmeeting