13:03:44 #startmeeting openstackclient 13:03:44 Meeting started Thu Jun 2 13:03:44 2016 UTC and is due to finish in 60 minutes. The chair is dtroyer. Information about MeetBot at http://wiki.debian.org/MeetBot. 13:03:45 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 13:03:48 The meeting name has been set to 'openstackclient' 13:04:02 It is night for me. :) hahaha 13:04:30 good night too :) 13:04:51 :) 13:05:49 Shall we get started? 13:05:56 #topic releases 13:06:01 let's go 13:06:18 We did the 2.5.0 release last week, the last planned release before 3.0 13:06:46 I wanted to hold off making any breaking merges until we had a bit of time to make sure 2.5.1 was not immediately necessary 13:07:08 we seem to be clear of that 13:07:21 anyone know of anything otherwise? 13:07:43 dtroyer: I may have one... 13:08:16 I just found an issue late yesterday that I think is related to --enable-beta-commands 13:08:47 Somehow, --enable options are getting ignored on commands now 13:09:15 I need to investigate further as to why this is. Any ideas? 13:09:22 oh good grief…yes 13:09:42 global option names bite again 13:10:12 I forget the exact setting, but argparse will swallow up substring matches sometimes 13:10:39 that's another reason we use —os on most global options 13:10:39 oh boy 13:11:09 so is it best to just change to --os prefix for this? 13:11:37 possibly, or something similar 13:11:55 even just —os-beta-commands? 13:12:07 sure 13:12:14 I like that 13:12:24 I'll open a bug and work on a fix today. 13:12:31 ok, thanks 13:12:52 I didn't expect argparse to have such a "feature" 13:12:59 I have a feeling though that we'll need to jump to 2.6.0 based on what has already merged…I will review 13:13:11 ok 13:13:51 IIRC argparse does this when combined with… tab complete maybe? 13:14:03 no, not tab complete… dang, I forget exactly what it is 13:15:30 that's ok 13:15:32 anything else release-wise? This means we need to still hold off on the bigger breaking things for a while, probably next week 13:15:43 I don't have anything else 13:15:52 none for me 13:16:17 #topic reviews 13:16:34 So I was wanting to go through the stuff we have been holding back here 13:16:49 we can still look at the list, but wait on them 13:17:28 Are we going to do the ip refactor now ? after 2.5.0 13:17:48 yes, that set is one in this category 13:17:52 I mean this series. https://review.openstack.org/#/c/300388/ 13:17:54 OK 13:18:21 also Navid's KSA and it's follow on reviews from Alvaro 13:18:39 and Henry's role assignment 13:19:19 ok 13:19:44 * dtroyer is looking at the list from last week 13:20:24 so the only things I am unsure about is what may be new since last Thursday 13:21:24 other than release-type issues, any reviews we need to talk about? 13:21:55 Looking for opinions on command object for https://review.openstack.org/#/c/319522/ 13:22:13 This is for neutron rbac policies 13:22:47 wow, yeah, yuck 13:23:13 Similar for https://review.openstack.org/#/c/320604/ which is start of OSC neutron plugin 13:23:32 that is, plugin for network advanced services 13:24:09 no rush on these, just wanted to bring them up for attention 13:24:20 sure, thanks, I had not seen them 13:24:44 * dtroyer was sleeping much of yesterday, too much holiday weekend maybe :( 13:25:05 :) 13:25:27 interestingly enough, the recent ML thread about changing the *aaS release model brings up the near-deadness of at least two of those projects 13:26:33 back to the RBAC bit though, I don't think we can assume that 'rbac' is network-only in the long term 13:26:53 but yes, it's a bad name all on its own 13:27:36 yeah, it seemed similar to qos in my mind 13:27:50 how does 'network policy' fit? it feels like it might still be too ambiguous 13:28:18 network has qos policies 13:28:21 qos has a better case though, as it is the common term in the networking world. like IP 13:28:24 and rbac policies 13:28:31 ah, ok 13:28:51 we have "volume qos" today 13:28:58 what role does the R in RBAC refer to? 13:29:53 users or servers? 13:30:19 trying to sort that out now 13:30:20 I think it is users. 13:30:25 I have always thought of it as user-related but don't see how that work in a neutron context 13:31:11 it is users actions allowed for network objects enforced on a project 13:31:46 I haven't played with it much 13:32:22 Identity uses plain role here 13:32:23 me nither... 13:32:33 so a) it owns that object, but b) doesn't use rbac 13:32:41 name 13:33:10 ok, let's keep the conversation going in the reviews 13:33:24 I'll leave some comments after the meeting 13:33:30 thanks dtroyer 13:33:42 thanks. 13:34:09 tangchen: in https://review.openstack.org/#/c/321977/ I noticed you added an exception for when no option (—enable|—disable) is present 13:34:16 I thought we started removing those complaints 13:34:52 thinking that if the user does not specify a change, that is not an error 13:35:30 Well, that makes sense. So, a warning msg ? 13:36:02 I think we should let the user know nothing has changed. 13:36:03 maybe… I still lean toward nothing though 13:36:39 maybe an info message, that will be silent unless -v is set 13:37:35 I think nothing will be a little strange. The command is not complete. but it looks like it has been executed correctly. 13:37:53 but it has been executed correctly 13:38:02 it did nothing correctly 13:38:03 :) 13:38:35 Well, I'd vote for a warning, but info is also ok for me. 13:38:45 set commands usually have more options, if this one grows more we would need to remove the specific warning about --enable 13:38:56 because then it would not be an issue 13:40:03 sorry, what specific warning about --enable ? 13:41:14 if we did the same thing to 'user set', for example, you would have a warning if —enable or —disable was not present 13:41:40 Oh, I see 13:41:41 which is totally acceptable 13:41:47 just like service set 13:42:10 OK 13:42:20 I'm OK with nothing output. 13:42:36 Then we need to fix some other commands. 13:42:43 yes we do 13:42:50 OK, I'm on it 13:42:56 thanks 13:43:15 any other reviews? 13:43:30 none from me 13:43:48 none for me, but I have two things need some advice. 13:43:55 please give me 5 min in the end 13:44:02 ok, will do 13:44:06 #topic bugs 13:44:37 I saw https://bugs.launchpad.net/python-openstackclient/+bug/1587927 and never considered that before, we have another thing to sort out 13:44:37 Launchpad bug 1587927 in python-openstackclient "Quotas command is not plugable" [Undecided,New] 13:45:14 that is a good example of when we want a plugin to be able to modify another command 13:45:21 other times we don't want that 13:45:24 fun times ;) 13:45:42 that is interesting 13:46:16 I played with something similar by adding —ram —cpu and —disk to server create a while back via a plugin 13:46:42 but that technique isn't viable for actual use because it depends on install order 13:47:11 also, https://bugs.launchpad.net/python-openstackclient/+bug/1580870 is asking for what looks to be nova-net commands? 13:47:11 Launchpad bug 1580870 in python-openstackclient "Fixed IP reserve/unreserve/show in computeV2" [Undecided,New] - Assigned to aohuanxuan (huanxuan-ao) 13:47:29 if they are part of Compute 13:48:01 nova-net is back to deprecated, isn't it? 13:48:34 let's see… it is an even year, and even month, an even day, so I think yes? 13:48:49 :) 13:49:14 If they are just for nova, yes. 13:49:43 If we do those for Network and adding them for Compute is near-trivial, then maybe. Otherwise I think at this point we should have a Really Good Reason to add more nova-net-only commands 13:50:03 I'll ask that in the bug… 13:50:19 agreed 13:50:24 OK 13:50:49 other bugs to raise? 13:50:55 non for me 13:51:00 nothing else 13:51:15 #topic open discussion 13:51:25 what is on your ming, tangchen? 13:51:35 https://blueprints.launchpad.net/python-openstackclient/+spec/log-usage 13:51:44 Need some advice for this 13:52:01 I'm often confused the way to use a logger. 13:52:12 I can see 3 loggers in OSC 13:52:24 Shall we give some rules on how to use them ? 13:53:00 good idea, yes 13:53:28 https://github.com/openstack/python-openstackclient/blob/master/openstackclient/common/command.py#L37 13:53:34 I can see places where all of those make sense though, the rule will probably be based on what type of message is being reported 13:53:41 I thought this was an attempt at that 13:54:10 rtheis: I would agree with that. 13:54:27 sorry, I don't quite understand 13:54:31 the default for commands seems like it should be using self.log() 13:54:40 what do you mean richard ? 13:55:07 self.app.log() should be for things that are not command-specific 13:55:17 so volume's use there probably needs to be changed 13:55:25 yes 13:55:50 OK, I can start the work from volume. 13:56:07 then we can discuss more in the reviews, and give a rule in doc finally. 13:56:10 the module-level LOG is likely the least necessary one for reporting 13:56:19 sounds good 13:56:51 one more thing 13:56:57 http://docs.openstack.org/contributor-guide/writing-style/word-choice.html 13:57:02 tangchen: just wondering if we can expand what is already done so commands have less to worry about, but I realize more is needed as you point out 13:57:04 someone showed me this... 13:57:24 OK, Richard. :) 13:57:42 ooooh! nice! 13:58:22 What I want to ask is, are we going to accept patches like this ? 13:58:31 maybe...openstack->OpenStack 13:58:36 too trivial, I think 13:58:40 for fixing docs? 13:58:44 yes 13:58:48 depends 13:58:52 we'll accept them, but I really don't want to see one for each 13:58:53 there was one today. 13:58:59 yes 13:59:25 She abandoned finally. And maybe will give a big one at last. 13:59:29 I used to do sweeps through fixing a bunch of help and docs all at once, broken by APi or something to keep it from getting too big 13:59:49 OK, I see. 13:59:59 no question for me today. :) 14:00:16 but style and form do matter, so we do want to fix these things 14:00:52 agreed 14:01:01 OK 14:01:01 nothing else from me 14:01:10 ok, we're out of time 14:01:13 thanks guys! 14:01:22 #endmeeting