19:01:02 #startmeeting OpenStackClient 19:01:03 Meeting started Thu Jun 4 19:01:02 2015 UTC and is due to finish in 60 minutes. The chair is dtroyer. Information about MeetBot at http://wiki.debian.org/MeetBot. 19:01:04 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 19:01:05 o/ 19:01:06 The meeting name has been set to 'openstackclient' 19:01:07 Anyone here? 19:01:16 I don't have anything to talk about, but I'm here 19:01:32 o/ 19:01:54 ping: stevemar, briancurtin, terrylhowe, lhcheng 19:02:09 hi 19:02:27 the agenda is at https://wiki.openstack.org/wiki/Meetings/OpenStackClient#04_Jun_2015 19:02:33 o/ 19:02:51 #topic open items 19:03:00 There were actually some from last week 19:03:23 the first is the volume v2, which Amey is making great progress on 19:03:53 not much else to say there 19:04:41 the second is about https://bugs.launchpad.net/python-openstackclient/+bug/1459519, which IIRC is addressed in cliff by https://review.openstack.org/#/c/186394/ 19:04:41 Launchpad bug 1459519 in cliff "ERROR: openstack 'ArgumentParser' object has no attribute 'debug'" [Undecided,In progress] - Assigned to Terry Howe (thowe-g) 19:05:04 that's approved and probably needing a re-kick in gerrit after the restart 19:05:10 kicked 19:05:20 thx 19:06:01 that leaves the osc-plugin to cookiecutter conversion, which I have not started yet 19:06:09 that solves the issue and then we get the pbr incompatibilty errror 19:07:34 terrylhowe: do you know if the lib/dep releases this week will have changed that? 19:08:44 maybe I just need to upgrade stevedore and the oslo package 19:09:53 possibly 19:10:25 let's see where that falls out, it should probably hit before we actually get the release out so hopefully if it's broken we can still fix it... 19:10:32 which brings us to 19:10:37 #topic releases 19:11:12 We had started the week intending for a quick 1.3.1 release to fix some bugs jamielennox had to support devstack using only identity v3 19:11:35 that turned into implementing ec2 credentials v3 commands and a couple of other things, so 1.4.0 is next 19:11:46 as soon as one last fix gets through the gate 19:12:20 there was also a dependency on updating keystoneclients in global-requirements, which is now merged 19:12:22 * stevemar sneaks in late 19:13:01 so unless there is something else, I'll do 1.4.0 this afternoon 19:13:22 dtroyer, we need to update osc reqs too 19:13:42 this guy: https://review.openstack.org/#/c/188501/ 19:13:53 oh, right. both ksc and occ? 19:13:54 rechecking him now 19:14:03 oh right occ too 19:14:20 that pesky bot doesn't update often enough :) 19:15:00 the bot didn't propose an update to occ, curiously enough 19:15:02 if there isn't a depends-on in the commit message, don't recheck yet until 188417 is merged 19:15:18 oh, partly because the occ is just merging now..... 19:15:30 the cliff re-kick dhellmann just did failed on the osc job, likely because of that 19:16:02 sigh, this must be what living inside a JSON serializer is like 19:16:10 :) 19:16:19 can we chat about the osc-plugin cookie cutter? 19:16:28 if you're done with this topic 19:16:34 if we're done with the release, sure. I'm done 19:17:04 stevemar: go for it 19:17:30 just wondering if we want another repo for this stuff, and what exactly will go in it 19:17:35 osc-plugin or osc-base 19:17:52 something the other plugin based CLIs can import, with not much bloat 19:18:14 that's what the cookiecutter is for, do you mean a working plugin repo? 19:18:20 so they can get the utils (key-value parser, finding domain stuff, test things...) 19:18:28 oh, right 19:18:46 so maybe split those things out of osc and make a new lib that can be used by osc and the plugins? 19:19:00 a lot of them have just been copying and pasting the entire file over, or req'ing on OSC (way too big) 19:19:08 yes dhellmann, that's what i meant :) 19:19:18 ew, no, we don't want either of those approaches -- yeah, let's figure out what should go into a lib 19:19:21 I'm still not convinced that another repo/package is the right thing to do there, is doing some sort of conditional import an option? 19:19:34 conditional imports are dirty 19:19:45 if not osc-lib (or similar) is a good second for me 19:19:49 a small shared lib wouldn't hurt 19:20:02 imo anyway 19:20:05 if we don't want a new repo, we need to consider part of osc a lib and lock down its api with good tests so we can tell plugin authors its safe to import it 19:20:27 bah, no we did that in ksc and it's uggo 19:20:33 I can see pros/cons to both approaches 19:20:38 dhellmann: I hope to do that with some parts anyway, but we don't want OSc in a requirements.txt anywhere to do that 19:20:58 but, yeah, being explicit about the lib contents by putting them into a lib is my preference 19:21:17 dtroyer: how will plugins indicate which versions of osc they work with? 19:21:29 or vice versa 19:21:59 the plugin interface is unversioned atm, so that should probably happen 19:22:05 ++ 19:22:15 silly q, why would versioning be an issue, arent they just entry points? 19:22:47 yes, but there still are requirements on what needs to be implemented behind those entrypoints 19:23:28 dtroyer, i'll have some time next week to fiddle around with osc-lib (or whatever we call it) 19:23:40 so it sounds like we're all close enough to go in the osc-lib direction 19:23:45 expect an etherpad, and i might move things in osc proper around 19:24:06 i think it'll really help the folks who are doing osc plugin based CLIs 19:24:21 stevemar: sounds good. I'm actually taking time off starting next Thursday and all of the following week 19:24:24 i dont want to put too many requirements in there at all 19:24:31 pfft, slacker 19:24:41 i'll be at cloud identity summit next week 19:24:56 so far i'll know no one there, yippie, lots of hacking time 19:25:10 that's what bar-time is for 19:25:42 thats all i really wanted to talk about 19:25:50 and amey is kicking ass with cinder commands 19:26:05 yeh, I can hardly keep up 19:26:25 #agreed stevemar will start investigating and prototyping osc-lib for use by external plugins 19:26:26 terrylhowe, you get an honorable mention for functional tests too :) 19:27:10 i'm also pumped to see if jamie can pull off a v3 only devstack 19:27:41 that'll be interesting… 19:28:19 looks like https://review.openstack.org/#/c/188417/ just merged, so other osc jobs should pass again 19:28:32 we should probably do a bug sweep, and an old review sweep 19:28:40 i'll do those soonish 19:28:48 i might ask for 2nd opinions 19:29:00 that's a good idea 19:29:05 blueprints too 19:29:10 speaking of which, 19:29:13 #blueprints 19:29:44 the only one I just remembered that we should mention is https://blueprints.launchpad.net/python-openstackclient/+spec/every-time-record-log-in-file 19:30:01 right 19:30:04 they have code too 19:30:23 and adjusted their bp to meet our vague handwavey reqs 19:30:25 i like that 19:30:50 I havent looked closely yet, so that's good to hear 19:31:07 yeah the bp was updated based on summit feedback 19:31:12 and the code looks decent too 19:31:17 its still marked in WIP i think? 19:31:37 yes, it is: https://review.openstack.org/#/c/186720/ 19:32:36 looks like a good start 19:34:26 anyone want to take a look at that? even if it's WIP? 19:35:02 that's good to hear. I was a bit worried about what they wanted until we talked to them in YVR 19:35:29 I don't think I'll have time to look before I go 19:35:41 it needs a lot of work still 19:36:03 work is okay :P 19:36:20 getting them the right feedback early would be helpful 19:36:49 any other blueprints? 19:37:13 not blueprints, but one more issue 19:37:24 we had this come up on the mailing list: http://lists.openstack.org/pipermail/openstack-dev/2015-June/065470.html 19:37:54 and it looks like they took my suggestion to heart, now we have https://review.openstack.org/#/c/188285/ 19:38:13 sigmavirus24, maybe you know more about this stuff? 19:38:21 I don't know how I feel about —or-update 19:38:27 oh? 19:38:40 sigmavirus24, http://lists.openstack.org/pipermail/openstack-dev/2015-June/065470.html 19:38:55 does glanceclient allow for many images with the same name? 19:39:00 Yes it does 19:39:01 the fill-in-a-reservation-slot was intentional, the it also-replaces-existing-images I don't think was, on my part at least 19:39:15 Names are not unique 19:39:30 so to clarify, is he talking about replacing an image not creating a new one, ie the same UUID? 19:39:58 Pretty sure they were talking only about name 19:40:02 because I'm not sure we should want that 19:40:13 "if image with *name* specified for create already existed" 19:40:25 create should create. not update 19:40:32 == terrylhowe 19:40:36 yes 19:40:40 unless the service has non-unique names 19:40:47 er 19:40:52 unless the service has unique names 19:40:53 sorry 19:40:59 brain gas 19:41:30 in osc (for image create only), we (for some reason) check to see if the image name already exists, and if does, then we do an update 19:41:37 i don't like that ^ 19:41:54 so I think I need to actually play wiht this to make sure I understand what is going on. either way, I don't hear support for an —or-update option 19:42:15 i think we'll have to break the existing behaviour 19:42:17 that's to support the reservation thingy, but checking on name is probably wrong 19:42:22 and let create do just that 19:44:18 so I hear this: create should only create new images (UUIDs), modulo the reserved image behaviour, which is not what I think this is about 19:46:11 i think so 19:46:52 #info the desired behaviour of 'image create' in re https://review.openstack.org/#/c/188285/ is to create new images and allow duplicate names 19:47:49 ok, moving on 19:47:54 #topic bugs 19:47:56 gah, i can't believe it's done that way :( 19:48:28 I don't know how many times I've said that about glance stuffs 19:48:42 any other bugs to discuss here? 19:48:51 ¯\_(ツ)_/¯ 19:48:56 "you're welcome"? 19:48:58 none else from me 19:49:13 nothing here 19:50:04 ok... 19:50:07 #open discussion 19:50:10 I wanted to ask about a OSC “config show” command 19:50:18 what else is on our colective minds? 19:50:23 was there a review on that or did I dream that? 19:50:43 Was there something in OCC to support printing the configuration maybe? 19:51:03 you may be dreaming about my osc-debug plugin that does all sorts of stuff, including dumping out auth and other info 19:51:14 this would be convenient for testing OCC, env and cli opts 19:51:23 functionally 19:51:26 some of which should either get intot he main repo or an official debug-like plugin 19:51:41 yup, that's why I wrote it ;) 19:51:57 maybe that is what I was looking at 19:52:28 some of it though is also the kind of stuff that might be too much rope for some users, one reason I was hesitant to put it in the main repo 19:52:41 exposing passwords and whatnot 19:52:46 that’s all. I’ll just look at that some more. 19:53:45 be aware that if you load osc-debug, it'll really slow down your startup times. I don't leave it install all the time 19:54:05 I haven't looked at why it is so bad yet 19:54:21 anything else? 19:55:03 we have a whole five minutes to recover if not 19:55:31 nothing 19:55:49 ok, thanks everyone! 19:55:56 #endmeeting