19:01:56 #startmeeting openstackclient 19:01:56 Meeting started Thu Sep 29 19:01:56 2016 UTC and is due to finish in 60 minutes. The chair is dtroyer_zz. Information about MeetBot at http://wiki.debian.org/MeetBot. 19:01:57 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 19:01:59 o/ 19:02:00 The meeting name has been set to 'openstackclient' 19:02:01 oh hai 19:02:07 hi 19:02:20 aohuanxuan: good evening/morning! :) 19:02:40 good morning :) 19:03:09 hi 19:03:55 ok, let's get going... 19:04:05 #topic release status 19:04:24 still holding 3.3.0, I guess it's going to go all the way until next week 19:04:53 we should consider if there is anything merged in the last week that might not want to be put into a release immediately 19:05:10 I don't think there is anything…. anyone? 19:05:35 hey hey 19:05:52 the release ban should be lifted next week :) 19:06:09 ok 19:06:18 I think my hesitation is due to know knowing off the top of my head about all of the command formats that have been merged 19:06:37 dtroyer_zz: nothing super critical to be honest 19:06:59 (that comment is about anything else that needs to be included) 19:07:13 ok, cool. I'll re-visit updating the release commit early next week 19:07:41 well, Monday actually. I am travelling Tues-Thurs so time is sporatic 19:08:28 #topic reviews 19:08:38 Anyone have any specific review to discuss? 19:08:56 there are a bunch of volume related ones 19:09:33 yes... 19:10:14 https://review.openstack.org/#/c/363574/ seems like the cinder team don't like it 19:10:33 aohuanxuan: yeah, theres that one :( 19:11:21 they tend to not like any changes to the db model they created, even if it is an artificial distinction 19:11:53 i like the current proposal, aohuanxuan had a good idea for re-using the key-value arg we created 19:12:13 instead of doing --remote-identifier and --remote-type or whatever nonsense was there first 19:12:43 its just 2 extra options when there are always a bunch, i don't think it'll confuse admins vs non-admins 19:13:18 that is a decent compromise. frankly, the admin/not-admin distinction is low on my concern list mostly because it hasn't been a problem for us so far 19:13:25 also, with keystone, there is no admin vs non-admin, it's just a role ... if they *really* want admins to only use it, then make it part of cinder-manage 19:13:37 exactly 19:13:44 yes, I think it is ok add it as a admin-only option 19:14:07 We can add (Admin required) to the help if that eases their concern 19:14:20 we still want to keep using specific options when needed, I'd rather not get into passing through arbitrary blobs too much 19:14:28 we should have that in the help 19:14:33 ok 19:15:31 others? 19:15:44 so what about the idea of using the "key=value" format there? 19:16:03 aohuanxuan: i like it 19:16:13 that is the part that I think is a good compromise 19:16:31 dtroyer_zz: theres the rename backup 19:16:31 it should not be our first choice for things like this though 19:16:47 dtroyer_zz: https://review.openstack.org/#/c/353931/ 19:17:03 ok 19:17:33 yeah, backup restore 19:17:38 dtroyer_zz: we spoke about it on sept 15, you made call, but i posted some comments :) 19:18:39 stevemar: right. (reads last comment) I'd like to understand why v1 and v2 have to behave differently 19:18:57 yes it is different 19:19:06 it is my question 19:19:58 looks like they are inverse 19:20:14 can we make them act the same? how much work to make v1 work like v2? 19:20:32 we can also add --force option for v1 19:20:39 not much 19:20:44 but if we do that 19:21:21 then the --force should specified everytime when we specify --volume 19:22:06 because we have a way to create a new volume for the restoring with v1 API 19:22:32 we could do a set of options for 'reuse-existing' and 'only-create-new' or something like that 19:23:33 yeah, I think reuse-existing in similar to force, right? 19:23:56 * stevemar comes back 19:24:05 yes it is 19:25:31 I mean in the v1 API, we can only use existing volume for restoring if we specify --volume 19:26:11 in your comment, though, that is the same for v1 and v2 19:26:30 it is the two cases with —volume specified that are different, that I would like to be not different 19:27:53 but the v1 API dosen't support create a new volume for restoring 19:28:22 then we create it manually then use it for the restore call 19:28:37 we are not limited to only the APIs that directly support the command :) 19:28:54 oh! good idea!! 19:29:14 I get it 19:29:36 \o/ OSc is in the business of hiding bits like that from the user 19:29:53 Yes 19:30:03 it looks cool 19:30:25 then we can make v1 and v2 the same 19:30:58 next up for reviews is https://review.openstack.org/#/c/365910/ 19:31:07 which is another problematic command :) 19:31:56 I never wanted to implement anything containing the word 'member', especially since that concept is going away 19:32:08 had this all worked out with markwash a long time ago, and never got it done 19:33:12 should that be image add project? 19:33:37 thats what it is today 19:33:46 so why change? 19:34:14 I saw no motivation for that 19:35:11 ugh: Image members are not necessarily projects. Glance has an option, owner_is_tenant, that controls whether images in a particular installation are owned by the project or the user. (It's not a per-image setting, it's for the entire site.) In such a cloud, you can't share an image with a project, you can only share with another user. 19:36:03 that stinks 19:36:03 does the user know the difference? cna we discover which to use in those cases? 19:36:57 no idea 19:37:25 because I would much rather have 'image add project' and 'image add user' as two commands than 'image add ' 19:37:37 call it what it is 19:40:27 ok, any other reviews? 19:41:21 no, I haven't 19:43:58 #topic bugs 19:44:27 any specific bugs to talk about? 19:45:11 there have been a few RFE lately 19:45:36 on the topic bugs, i also cleaned up some BPs that were implemented or duplicates 19:45:46 I saw that, thanks! 19:45:50 this was a weird RFE: https://bugs.launchpad.net/python-openstackclient/+bug/1628412 19:45:51 Launchpad bug 1628412 in python-openstackclient "Logging within the interactive shell of the openstack command" [Undecided,New] 19:46:45 heh, sounds like a controlled environment 19:46:51 * dtroyer_zz has worked in those 19:47:20 not sure if we can do anything specific in osc for that, might be a cliff enhancement 19:48:11 it would be in cmd2 most likely 19:48:19 it used to do that by default, actually 19:48:24 cliff, that is 19:48:31 way way back at the beginning 19:48:50 oye... cmd2, that's another thing on the list 19:48:52 it just used the logging module to do it, and it logged everything regardless of whether you were using interactive mode or not 19:49:11 at least I think that was cliff, maybe I'm thinking of another project 19:49:28 I don't recall that, but I've forgotten a lot over the years 19:49:56 yeah, maybe that was something else, but we could use the same approach -- if the needed env var is set, configure logging to write to a file 19:50:06 it does sound reasonable and should be doable 19:50:06 as well as stderr 19:50:29 dhellmann: should i retarget the bug to cliff? 19:50:57 add cliff for now maybe? 19:51:01 stevemar : I'm not sure. maybe? we'd probably want to use an openstack-specific variable name like OPENSTACKCLIENT_LOG_FILE or something 19:51:05 yeah 19:51:09 k 19:51:09 OSc still might be involved in the plumbing 19:51:13 yeah 19:52:31 dtroyer_zz: i want to close this as WONTFIX: https://bugs.launchpad.net/python-openstackclient/+bug/1623860 19:52:32 Launchpad bug 1623860 in python-openstackclient "'Openstack complete' command output is not clear" [Undecided,New] 19:52:56 i think the originator didn't know what the complete command was intended for 19:53:17 yeah 19:53:43 i doubt we want to remove it from the help 19:53:43 I think it is totally usable for end-users, if you know what it does 19:53:58 maybe just a clearer explanation 19:54:15 that couldn't hurt 19:54:48 okay, maybe some additional text here: https://github.com/openstack/cliff/blob/21f133f17ba2ec7a4b370a74bd08b536abddf1de/cliff/complete.py#L154 19:55:48 don't really know what to add ... maybe just add more logging before and after? 19:56:08 this is also a very frustrating bug: https://bugs.launchpad.net/python-openstackclient/+bug/1621126 19:56:09 Launchpad bug 1621126 in python-openstackclient "cinder hardcodes the service type to "volumev2"" [Undecided,Confirmed] 19:56:15 where do we document how you use complete to set up bash completion? 19:56:29 that plus an actual explanation in our doc, err, adding a doc for that 19:56:48 dhellmann: http://docs.openstack.org/developer/cliff/complete.html 19:57:21 stevemar : I mean where is the user documentation for how to insert that stuff into their shell? 19:57:30 dhellmann: DNE :P 19:57:49 i guess we could add that to OSC docs 19:57:50 so that could either go in the command help, or a reference to it could go there 19:57:52 yeah 19:58:49 just gotta add "openstack complete | sudo tee /etc/bash_completion.d/osc.bash_completion > /dev/null" to the osc docs somewhere 19:58:52 i'll tackle that one 19:59:12 maybe an actual doc for the 'complete' command? 19:59:55 dtroyer_zz: oh true 20:00:12 currently there isn't one 20:00:20 endmeeting time :( 20:00:36 nope. we should have one for help too, especially once that gets more complicated and so on 20:00:40 #endmeeting