Thursday, 2015-06-18

*** Apoorva has quit IRC00:17
*** woodster_ has quit IRC02:01
*** woodster_ has joined #openstack-api03:18
*** subscope has joined #openstack-api06:50
*** woodster_ has quit IRC06:51
*** alex_klimov has joined #openstack-api07:00
*** e0ne has joined #openstack-api07:04
*** subscope has quit IRC07:05
*** e0ne has quit IRC07:23
*** subscope has joined #openstack-api07:30
*** fzdarsky has joined #openstack-api07:39
*** salv-orl_ has quit IRC07:40
*** cdent has joined #openstack-api08:11
*** lucas-dinner has joined #openstack-api08:28
*** subscope has quit IRC08:32
*** lucas-dinner is now known as lucasagomes08:33
*** e0ne has joined #openstack-api08:48
*** subscope has joined #openstack-api08:49
*** e0ne is now known as e0ne_08:58
*** e0ne_ is now known as e0ne09:00
*** e0ne is now known as e0ne_09:57
*** e0ne_ is now known as e0ne09:59
*** salv-orlando has joined #openstack-api10:26
*** salv-orl_ has joined #openstack-api10:29
*** salv-orlando has quit IRC10:31
*** e0ne is now known as e0ne_10:50
*** e0ne_ has quit IRC11:00
*** fzdarsky has quit IRC11:05
*** fzdarsky has joined #openstack-api11:08
*** e0ne has joined #openstack-api11:36
*** salv-orl_ has quit IRC12:11
*** e0ne is now known as e0ne_12:32
*** e0ne_ is now known as e0ne12:39
*** woodster_ has joined #openstack-api12:45
*** fzdarsky has quit IRC12:46
*** fzdarsky has joined #openstack-api12:49
*** salv-orlando has joined #openstack-api13:07
*** salv-orl_ has joined #openstack-api13:12
*** salv-orlando has quit IRC13:15
*** fifieldt_ is now known as fifieldt13:36
*** elmiko has joined #openstack-api13:37
*** sigmavirus24_awa is now known as sigmavirus2413:57
*** e0ne is now known as e0ne_14:37
*** e0ne_ is now known as e0ne14:37
ryansbelmiko: I'm going to miss today's meeting, but can you bring https://review.openstack.org/177468 up as a freeze candidate for me?14:56
elmikoryansb: yes, adding it to agenda14:57
ryansbawesome, thanks. I'm putting up a final set of tweaks (all small) and I think it'll be good to go14:58
elmikocool14:59
openstackgerritRyan Brown proposed openstack/api-wg: Add section on filtering  https://review.openstack.org/17746815:04
*** e0ne has quit IRC15:04
*** subscope has quit IRC15:11
*** subscope has joined #openstack-api15:26
cdentryansb: yeah, wasn't trying to suggest that changes-since be part of filtering, just trying to get some sense on where (or if) if should exist at all15:46
sdaguewhat's the process to get this stack into some final voting state - https://review.openstack.org/#/c/181931/15:51
sdagueso it's not hanging out in my outgoing queue for ever15:51
ekarlsoany ideas guys on when the error guidelines will land ?15:51
etoewselmiko: will you be kicking off the meeting in 5 minutes? i'll be there but i'm still in catchup mode.15:55
elmikoetoews: sure, i can do it15:55
elmikosdague: i'll add it to the agenda to talk about moving to freeze15:55
elmikoekarlso: i thought there was still discussion about the error guideline? (i don't have the link ready)15:56
etoewselmiko: oops i just did that15:56
elmikoetoews: no worries =)15:57
etoewsekarlso: that one is mine. it's been dependent on some work in the logging work group and elsewhere so the going has been slow.15:57
etoewsekarlso: i'd be very interested to hear your use case.15:57
etoewsit's probably time to unjam it and just forge ahead.15:58
ekarlsoetoews: new project and just wanting to land errors corerctly from start vs 1-2 cycles :P15:58
etoewsexcellent that sounds like a good use case :)15:59
elmiko+115:59
etoewsekarlso: do you have any feedback on the current proposed structure of the errors? does it work for your new project?16:00
ekarlsoetoews: I haven't added it yet ;)16:00
ekarlsohence why I wonder if it's landed :D16:00
*** jamie_h has joined #openstack-api16:05
*** alex_klimov has quit IRC16:07
*** openstackgerrit has quit IRC16:22
*** openstackgerrit has joined #openstack-api16:23
openstackgerritSteve Lewis proposed openstack/api-wg: Add section on filtering  https://review.openstack.org/17746816:46
openstackgerritJay Pipes proposed openstack/api-wg: Add guidance on 500 Internal Server Error  https://review.openstack.org/17936516:47
*** lucasagomes has quit IRC16:55
*** Apoorva has joined #openstack-api16:58
etoewssdague: are you using any of the python libs to hit the gerrit api?17:01
sdaguehonestly, I often just use the ssh api either ad-hoc or in shell17:02
sdaguethere is gerritlib in openstack-infra, it's thin enough wrapper it's often just as easy to do it yourself17:02
sdagueI haven't bother to convert to the rest api yet17:03
etoewsi wasn't aware of the "ssh api"17:03
sdagueyeh, that's how you submit code today17:03
sdaguegit-review just hides a bunch of that from you17:04
etoewsah. are we talking about this https://review.openstack.org/Documentation/cmd-index.html ?17:04
sdagueetoews: yep17:04
openstackgerritMerged openstack/api-wg: Update the merge process for Liberty  https://review.openstack.org/18683617:07
sdaguehttps://review.openstack.org/Documentation/cmd-query.html is what you are more or less looking for I expect17:07
sdagueat least if you are driving automation off things17:08
sdaguethere is also the gerrit-dash-creator if it's just about finding things easily via browser17:08
sdaguehttps://github.com/stackforge/gerrit-dash-creator17:08
elmikois there some guidance around partial creation of a collection? (i'm not seeing it immediately)17:11
etoewsgot it. i was able to do an ls-projects so auth is okay. i'll dig into query and dash creator and see if they can do what we need.17:12
etoewssdague: thx!17:12
*** cdent has quit IRC17:17
elmikoso, we've got a question about creating a series of resources in sahara that might fail part way through due to quota. is there something in nova like this that we might use as guidance?17:18
stevelleelmiko: this sounds vaguely familiar https://bugs.launchpad.net/nova/+bug/145812217:21
openstackLaunchpad bug 1458122 in OpenStack Compute (nova) "nova shouldn't error if we can't schedule all of max_count instances at boot time" [Wishlist,Confirmed] - Assigned to Chris Friesen (cbf123)17:21
*** cdent has joined #openstack-api17:21
sdaguestevelle: sort of17:21
sdaguebut not really17:21
sdagueelmiko: is this a blocking call/17:22
sdague?17:22
elmikono17:22
elmikoit's during a cluster creation operation17:22
elmikowe are proposing a method for batch creating clusters, and i think it will be ok if some get created17:22
sdagueso, the idea that nova never got to yet here was a tasks api17:22
elmikobut the user might request something that goes beyond their quota17:22
sdaguedo the create, get back a tasks id, and you can get status on the task as a set of ops that need to happen17:23
sdagueand if it fails some time later the task goes to error, explains why, and things are rolled back17:23
elmikoi really like that solution, unfortunately i am proposing tasks for our v2 api, which won't get in until M at the soonest17:24
*** cdent has quit IRC17:24
*** openstackgerrit has quit IRC17:50
*** openstackgerrit has joined #openstack-api17:51
*** first123 has joined #openstack-api17:56
*** first123 has quit IRC18:03
*** first123 has joined #openstack-api18:03
*** fzdarsky has quit IRC18:03
*** first123 has quit IRC18:04
*** cdent has joined #openstack-api18:14
*** jamie_h has quit IRC18:19
*** elmiko has quit IRC18:27
*** elmiko has joined #openstack-api18:29
*** cdent has quit IRC18:55
*** first123 has joined #openstack-api18:58
*** first123 has quit IRC18:58
*** alex_klimov has joined #openstack-api19:37
*** alex_klimov has quit IRC20:33
*** alex_klimov has joined #openstack-api20:35
*** elmiko is now known as _elmiko20:46
*** etoews has quit IRC20:53
*** e0ne has joined #openstack-api20:59
*** etoews has joined #openstack-api21:13
*** _elmiko is now known as elmiko21:23
etoewssigmavirus24: i'm looking at the guidance on https://review.openstack.org/#/c/183694/21:33
etoewsand i'm reading up a bit on 1xx in http/2 https://http2.github.io/http2-spec/#HTTPLayer21:33
etoewseverything i'm reading says that 1xx will still be http/221:34
etoewsthey even have examples at the end of https://http2.github.io/http2-spec/#rfc.section.8.1.321:34
sigmavirus24Looks as if they added it back then21:34
sigmavirus24It had been ripped outo21:35
elmikonotmyname, has a good point. maybe we should make the guidance less stern, but still conservative?21:36
sigmavirus24etoews: https://github.com/http2/http2-spec/issues/53521:38
notmynamehello21:38
etoewsi'm a bit surprised glance doesn't use 100 for uploading images21:38
sigmavirus24etoews: I'll be surprised if webob even supports 100 continue21:38
sigmavirus24(we also don't support Range requests)21:38
sigmavirus24(because we're awful people who haven't finished refactoring glance_store)21:39
elmikonotmyname: hey, just saw the convo and was trying to assess how to adjust the 1xx advice21:40
notmyname100 continue is nice. despite client support, it's part of the rfc and should be available when it's appropriate21:42
notmynamesimilar to multi-range requests (requests with more than one range in them)21:42
elmikoi don't have an issue with that, it seemed like we should advise conservatively though. like you said, only use when appropriate.21:42
notmynameinteresting http://bugs.python.org/issue134687421:43
sigmavirus24notmyname: yeah I'm surprised you didn't already know that21:43
sigmavirus24That's why, until requests reimplements httplib, we can't meaningfully support it21:44
sigmavirus24And yes21:44
sigmavirus24We're working on 86'ing httplib21:44
notmynamewell, i'm aware that requests doesn't support it (swiftclient lost that feature when we ported to requests for other reasons)21:44
lifelesshuh21:47
lifeless100 is cone21:47
lifeless*gone*21:47
lifelesssupport for 1xx remains21:47
notmynamein swift, we support 100 continue with some code in an HTTPConnection wrapper we have21:47
lifelessbut 100 and 101 are not in HTTP/2 last I heard21:47
lifelesshmm, 101 is definitely gone21:48
lifelesshttp://http2.github.io/http2-spec/index.html#informational-responses21:48
lifelesstracking down what the outcome of 100 was21:48
notmynameok, but despite what's in http/2, we don't actually support http/2. we support http/1 or 1.121:50
lifelesssure21:50
lifeless1.0 doesn't have 10021:50
lifelessbut you know that :)21:51
etoewslifeless: from https://http2.github.io/http2-spec/#HTTPLayer and https://http2.github.io/http2-spec/#rfc.section.8.1.3 (at the end) it seems to me 100 is still there.21:54
lifelessetoews: yes, I concur21:55
lifelessetoews: there's just no value to it except for h1to2 gateways21:55
lifelessanyhow, I have a much more pressing problem with the API advice - Its not RFC conformant21:55
lifelessthere, chapter and verse quoted.21:58
elmikosigmavirus24, etoews, so... was there ever any consensus? should i respin with some language about use 100 if you must but be aware of these issues (with references)?22:13
elmikonotmyname, lifeless ^^22:13
sigmavirus24elmiko: sounds good to me22:14
etoews++22:14
lifelesselmiko: references would be a good start22:14
lifelesselmiko: I presume the driver was some client somewhere that got confused by a 100?22:14
lifelessor someone did the common misdeploy I've seen22:15
elmikonotmyname made a comment on the review, and it is a good point22:15
elmikoetoews and sigmavirus24 pulled out a bunch of good details too22:15
lifelesswhere you have client -> 1.0 -> accelerator -> 1.1 -> origin, which sends a 100, and the accelerator is buggy and doesn't strip it out ?22:15
sigmavirus24so22:15
notmynamelifeless raises a good point. what is the motivation for writing this guidance down?22:15
sigmavirus24I don't see where webob supports sending a 100 partial response22:16
lifelesssigmavirus24: WSGI is rather terrible in this space22:16
sigmavirus24lifeless: are we ever going to revive the work to redo wsgi for http/2 support?22:16
elmikonotmyname, lifeless, i'd have to dig up the conversations. but essentially we wanted to provide guidance on all the reponse status codes.22:16
lifelesssigmavirus24: but thats a separate discussion: - the gateway in this case - e.g. apache2 - has to send it22:16
sigmavirus24Or did PJ and Graham sufficiently kill this?22:17
elmikoi took a stab at the 1xx series based on the rfc language, and the conversation22:17
elmiko(if i understand your question)22:17
* notmyname looks forward to guidance on 41822:17
lifelesselmiko: so, I think thats a great goal, but lets make sure the guidance is RFC conformant22:17
lifelesssigmavirus24: yes, we are totally.22:17
lifelesssigmavirus24: it got interrupted when I had a death in the family22:17
* sigmavirus24 wonders if you realize that you added me as an admin on that list22:17
elmikolifeless: ack, i'll take another pass and pay more mind to the documentation.22:17
sigmavirus24lifeless: right, I forgot about that. I'm sorry. =(22:18
lifelesssigmavirus24: and coming back to it I realised we had to fix the openstack velocity issues vis-a-vis gate reliability before I could wander off into upstream land again22:18
lifelesssigmavirus24: I do :). lukasa too IIRC22:18
lifelessI'm very open with admin there22:18
lifelesssigmavirus24: graham was pretty positive actually22:19
sigmavirus24Yeah he was mostly22:20
lifelesssigmavirus24: I'm hoping to have a chat f2f @ pyconau22:20
sigmavirus24:D22:20
lifelesswe had a few skypes22:20
sigmavirus24Have you met lukasa yet?22:20
lifelessyes22:20
lifelessin paris22:20
sigmavirus24Ah cool22:20
lifelessI was in a hangout with him this morning even :)22:20
*** e0ne has quit IRC22:31
*** elmiko is now known as _elmiko22:35
*** sigmavirus24 is now known as sigmavirus24_awa22:44
*** openstackgerrit has quit IRC22:55
*** alex_klimov has quit IRC22:58
*** openstackgerrit has joined #openstack-api23:06
openstackgerritEverett Toews proposed openstack/api-wg: Minor fixes to the process  https://review.openstack.org/19336623:38

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!