19:02:53 #startmeeting OpenStackClient 19:02:54 o/ 19:02:54 Meeting started Thu Jul 23 19:02:53 2015 UTC and is due to finish in 60 minutes. The chair is dtroyer_zz. Information about MeetBot at http://wiki.debian.org/MeetBot. 19:02:55 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 19:02:57 The meeting name has been set to 'openstackclient' 19:03:02 o/ 19:03:10 o/ 19:04:20 Ok, let's start with the usual bits 19:04:24 #topic bugs 19:04:43 o/ 19:04:49 anything needing eyes? 19:06:11 wow, is this a fast meeting today? 19:06:29 Hi. Is anyone working on the go client library? 19:06:54 ajayaa: I was the last one to touch it afaik, we can talk further about it after the OSC meeting is done 19:07:09 dtroyer_zz, okay. 19:07:57 * stevemar sneaks in late 19:08:05 so https://bugs.launchpad.net/python-openstackclient/+bug/1477629 is new this morning, I was looking at it and have a question on the output of a security group rule 19:08:06 Launchpad bug 1477629 in python-openstackclient "ICMP secgroup rule must have --dst-port -1 to actually allow ICMP" [Medium,Triaged] 19:08:06 Launchpad bug 1477629 in python-openstackclient "ICMP secgroup rule must have --dst-port -1 to actually allow ICMP" [Medium,Triaged] 19:08:08 Launchpad bug 1477629 in python-openstackclient "ICMP secgroup rule must have --dst-port -1 to actually allow ICMP" [Medium,Triaged] https://launchpad.net/bugs/1477629 19:08:30 there have been a bunch of patches about volume that need love 19:08:39 right now for ICMP rules, 'port_range' is always present in the output but blank. should we drop it for ICMP only? 19:08:40 i'm tempted to just take over them 19:08:40 I was messing with that one, I believe it, but did not confirm 19:09:04 stevemar: so turn up the volume so they get more love? 19:09:06 I confirmed it in IRC this morning with jordanp 19:10:01 sigmavirus24: i've already helped out the author(s) on a few patches now, on getting the hang of gerrit and such 19:10:14 ok, sop lets talk reviews then 19:10:14 i'll help the noobies out again, just need a bit of time away 19:10:18 #topic reviews 19:10:25 stevemar: I was making a pun 19:10:42 sigmavirus24: yeah, i noticed taht :) but i figured there was a real question in there too 19:10:47 no not really 19:10:48 =P 19:10:53 hue hue 19:11:10 I figured once he got one sorted out to go back and fix the rest to match 19:11:39 question about that volume list one... 19:11:54 we really need another release soon, but at this point it's easier to just wait til all the volume commands are done 19:12:18 heha and jiaxi are doing the last few 19:12:27 https://review.openstack.org/#/c/204325/ 19:13:06 terrylhowe: what about it/ 19:13:07 ? 19:13:20 heha had a —name option and another option for query, it seems like it would be good to have a general —query option for lists 19:13:33 so OSC doesn’t have to know what is supported 19:13:37 i think he's just going for v1 parity at this point 19:13:41 people could use it for limit, marker or fields 19:13:51 I disagree. then it is on the user to know what to do 19:14:16 although the common functions must be the same as much as possible, even if we need to do some work client-side 19:14:26 well we could offer —limit and —maker on everything, but they don’t all suport it 19:14:38 which is why some of that may need to be done client-side 19:14:39 and even then, it might not be enabled for a service or something 19:14:48 with some smart-ish data caching it isn't too painful 19:15:08 just bound to be wrong and incomplete is all 19:15:15 that is fine though 19:15:19 any service that makes limit/marker optional and doesn't tell us how to know if it is on or off is broken 19:15:48 we've been wrong and incomplete since day 1. always will be. but it's better than everything else 19:16:26 keep that cheery attitude out of this dtroyer_zz 19:16:50 so you think all list commands should have —limit and —marker? 19:17:04 eventually, in some fashion, yes, they should all support paging 19:17:07 limit yes, marker ... harder to get there 19:17:24 I'm not convinced that our APIs have that sorted out yet 19:17:28 listing all users, and paging will never work 19:17:31 I doubt it 19:17:46 stevemar: right, which is why I'm hedging with 'some' and not 'all' functionality 19:18:01 ja 19:18:21 that is why I like a generic —query option and let the user do what they can, but I’m not attached 19:18:25 would it make sense to put the options in a base class for list commands, with a class attribute to disable them for APIs that don't support them? 19:18:39 (the marker and limit options, that is) 19:18:48 dhellmann: thats what i was advising abhide to do 19:18:59 stevemar: great minds, yadda yadda 19:19:13 dhellmann: probably, in some fashion. but the fun of neutronclients over-normalization doing that made me think twice before going too far dopwn that path 19:19:50 dtroyer_zz: maybe multiple lister base classes, then, for different patterns? 19:20:00 every API is a special snowflake so we really can't do a lot at the lowest levels common 19:20:03 and file bugs for whichever APIs we find that use the pattern we don't like 19:20:51 ya, I'm with you… its doing it in practice… we started talking about paging in, where, San Diego? Still nothing common 19:21:14 yeah 19:21:36 maybe the new api working group can help with that, if we feed them some specific data 19:21:46 topic? what will 1.6.0 include and not include? 19:22:00 its getting to be a massive release.... 19:22:14 this has been talked about, it's writing the guidelines. someone may have already started, I haven't looked in a month or so 19:22:30 stevemar: slow down turbo... 19:22:35 any other reviews first? 19:22:43 dtroyer_zz: :) 19:23:01 the image create one? 19:23:03 for v2 19:23:13 I’ve been a bit manic myself lately too 19:23:53 I've just looked closely at the user-facing parts, not sure why it is so different 19:24:04 https://review.openstack.org/#/c/203280/ 19:24:16 a few of the API changes can be covered for, others just get removed 19:24:56 but why is the option order different? makes the help text gratuitously different 19:25:18 the ordering can be changed 19:25:24 tags is weird 19:25:25 I think stevemar convinced me on enumerating the container and disk types 19:25:37 \o/ 19:25:37 yeah, where did that come from? 19:25:46 it is entirely possible it came from me long ago 19:25:50 and I just don't recall 19:26:01 possible 19:26:10 either way it seems odd 19:26:23 naw 19:26:41 should be —property? 19:26:48 first, is 'tag' or 'tags' the right word? are users expected to know what that is? 19:27:04 this is like —property but keys only, no values 19:27:05 i think its supposed to be property? 19:27:13 no, they have both ;( 19:27:25 again with the special snowflakes 19:28:03 I do recall terrylhowe doing a list of strings somewhere that would be a good precedent to follow, but I can't remember which command that was 19:28:05 should be be action=append 19:28:24 the thing I did dtroyer_zz was an append for dicts I think 19:28:39 kind of like —nic on server create 19:28:55 hmmm… ok. I do like allowing multiple —tag options (prefer singular too) 19:28:59 yeah, that's the one 19:29:03 it was for subnet create 19:29:32 I think —tag with action=append would be better 19:29:48 agreed 19:30:01 was it subnet create where it also accepted a comma-separated list? 19:30:17 it may have 19:30:37 that is what I was thinking of…that didn't merge yet did it… 19:31:46 it is still out there, going to be a while before that is ready. all I see in there is that array of dicts ActionAppender 19:32:08 ok, they were dicts rather than strings? 19:32:15 https://review.openstack.org/#/c/84782/10 19:32:40 yeh, neutron just needs them, the appender was nice to validate the values 19:33:02 I’d like to bring that in someday, it would work for —nic as well in server create 19:33:53 as much as I don't like the idea of strings of AVPs, I think you're right we need to do it. 19:34:03 * dtroyer_zz still a wee bit grumpy 19:34:27 anyway, back to —tag 19:34:53 I like terrylhowe's suggestion of —tag and action-append 19:35:36 next review? 19:35:43 sure! 19:35:45 https://review.openstack.org/#/c/203185/ 19:36:01 i say no to dropping py26 19:36:08 not sure why terrylhowe proposed to remove it 19:36:12 my gut agrees 19:36:28 as a client lib we should be very flexible 19:36:33 at least not until one of our dep libs makes it impossible to run there 19:36:57 then we get the TC to bust out the big stick and what the dependency 19:37:02 whack* 19:37:02 fair enough, I just like to simplify 19:37:23 sorry mr howe 19:37:28 who said "as simple as possible, but not too simple?" 19:37:34 ouch! 19:37:39 I'm actually with terrylhowe on this one, but I'm not in a big rush 19:37:58 dhellmann: is there a schedule for oslo libs to drop it? 19:38:18 dtroyer_zz: I think when juno falls out of support? 19:38:23 actually, belay that 19:38:27 I kind of like the idea of taking compatibility patches, but just not regularly testing it 19:38:32 we've talked about doing it for master, now that we have stable branches 19:39:16 there was an email thread about it not too long ago, but I think no one is motivated to drop them so it hasn't been done yet 19:39:34 if we don't do it now, it will probably happen early in mitaka 19:39:45 cool cool 19:39:48 I still like the idea that clients need to be as compatible as possible 19:40:06 if it isn't costing us much in coding or tech debt, I'd like to leave it in for now 19:40:06 yeah, I think the conclusion was that most of the platforms we've been supporting have actually moved on from 2.6 19:40:10 dtroyer_zz: yep 19:40:31 yeah, I imagine the infra team will be pushing us to drop it when they want to stop supporting 2.6 images in the gate 19:40:48 I'm certain there is still RHEL6 in the wild, even RHEL5, but I do not know if it is places we should care 19:41:02 that's a fine time to do it then 19:41:20 right, we're not actively supporting even running openstack on those platforms much longer, and I think that was the trigger for oslo to drop these jobs 19:41:38 again, though, clients run in places servers never would... 19:42:19 can you tell I'm hearing a lot about 'entrprise' these days? and they're the worst for this kind of thing… 19:42:21 I don't care enough to argue against you now, but I would be on infra's side when they want to stop having to maintain 2.6 images for CI 19:42:57 I'm content to let those folks pay someone to maintain compatibility, but don't see the need for the entire project to take on the burden 19:43:01 sure, that works for me. unless it;s costing someone a lot in time or resource, though, I'd prefer to keep it 19:43:12 yeah, I think we're agreeing, for now :-) 19:43:17 yup 19:43:20 someone who isn't us will probably make a call that will keep or remove the job :P 19:43:45 other reviews? 19:43:49 the other interesting review is this one: https://review.openstack.org/#/c/186720/4 19:44:04 terry already +2'ed it, and i am +2 once my comments are addressed 19:44:18 if you call, it was one of the few user requests we had in YVR 19:44:32 right, that's why I rebased it to see where it was at 19:44:54 and the dudes from fujitsu actually did a great job with the feedback we gave them (base it on occ) 19:45:00 I think it is actually close 19:45:05 I like it mostly because some code gets pulled out shell.py 19:45:11 theyre a bit slow with turn around, but i like it 19:45:30 I don't think we'd hold up a release for it though 19:45:43 guess not 19:45:59 did we cover volumes already? 19:47:07 there are 3 patches left for volume 19:47:09 the list one 19:47:23 this one: https://review.openstack.org/#/c/204364/ (volume type set and unset) 19:47:38 and this one: https://review.openstack.org/#/c/187480/ 19:48:15 all are reviewed with feedback, but it'll be cool to announce full v1 and v2 support for volume in the next release 19:48:52 set/unset needs docs 19:49:07 that would be nice; at this point it looks like you'll be making the release call without me 19:49:17 missing ‘volume type show’ I think 19:50:12 10 min warning… 19:50:14 terrylhowe: i proposed VT show 19:50:29 dtroyer_zz: when are you gone? 19:50:52 ahh, thanks stevemar been so many changes around there lately 19:50:54 Monday. this is my last meeting of any kind for maybe a month or so 19:51:42 #topic open discussion 19:51:56 yowza 19:52:03 So that was my reminder of me being gone for a while 19:52:13 good luck! 19:52:33 y'all will be grump-free unless someone asks for my magic stick 19:53:04 dhellmann: you cool if i bug you when we need to release? 19:53:17 stevemar: yep, did you see the stuff about the new releases repo? 19:53:35 dhellmann: i did not, my knowledge on the release process is very limited :( 19:53:50 stevemar: ok, ping me when you're ready and I'll walk you through it 19:53:53 it's actually pretty cool 19:54:08 cool, just gotta find time, i'm slammed next week until friday, so probably then 19:54:15 also, don't forget cliff and/or o-c-c need rleeases before osc 19:54:19 teaching noobies how to openstack! 19:54:23 yup 19:54:29 dtroyer_zz: good point 19:54:34 i really want that fuzzy patch in for cliff! 19:54:39 ++ 19:54:39 that one is very cool! 19:54:43 I haven't tried it, looks good? 19:54:48 agreed! 19:54:52 yep, very nice addition 19:54:55 terrylhowe tried it and he reported back goodness 19:54:57 stevemar: did you try it in interactive mode? 19:55:09 i tried the old patch, it was fine 19:55:16 does it let us do cisco-style shortcuts? 19:55:19 i'll give it another whirl 19:55:21 ie, serv sho 19:55:22 I did not try interactive 19:55:37 dtroyer_zz: no, this one finds matches in case you messed up the command 19:55:47 i.e.: # os user foo 19:55:53 ok, still good, but that's always been a dream of mine... 19:56:04 will report back: did you mean: os user create, os user show ... 19:56:22 dtroyer_zz: https://review.openstack.org/#/c/202053/ 19:56:35 ser sho <- a lot of matches for that 19:56:41 interactive works 19:56:53 you type as much as required to make it unique 19:56:56 http://paste.openstack.org/show/404590/ 19:57:02 terrylhowe: nice 19:57:04 the rest is optional 19:57:20 again, long-term dream feature 19:57:34 this one + the --help option will go a long way 19:58:02 anyway, i'm done for now 19:58:05 good luck dtroyer_zz! 19:58:14 yeh, take it easy dtroyer_zz 19:58:19 ajayaa had a go question, appears to be gone… 19:58:20 not too easy though 19:58:36 thanks. I'll probably check in as my laptop is always close 19:59:22 ok, if that's it, we'll call it a day 19:59:27 "A DAY" 19:59:34 #endmeeting