Wednesday, 2015-06-03

*** sjmc7 has quit IRC00:11
*** jxstanford has joined #openstack-api00:13
*** Apoorva has quit IRC00:36
*** salv-orlando has joined #openstack-api00:48
*** salv-orlando has quit IRC00:55
*** Apoorva has joined #openstack-api01:30
*** Apoorva has quit IRC01:44
*** Apoorva has joined #openstack-api01:49
*** sjmc7 has joined #openstack-api02:00
*** sjmc7 has quit IRC02:04
*** salv-orlando has joined #openstack-api02:08
*** salv-orlando has quit IRC02:14
*** Apoorva has quit IRC02:19
*** annegentle has joined #openstack-api02:28
*** annegentle has quit IRC02:44
*** annegentle has joined #openstack-api02:51
*** annegentle has quit IRC02:51
*** jxstanfo_ has joined #openstack-api03:14
*** jxstanf__ has joined #openstack-api03:15
*** jxstanford has quit IRC03:18
*** jxstanfo_ has quit IRC03:19
*** jxstanf__ has quit IRC03:19
*** notmars has joined #openstack-api03:59
*** salv-orlando has joined #openstack-api04:10
*** notmars has quit IRC05:07
*** notmars has joined #openstack-api05:32
*** notmars has quit IRC05:32
*** sjmc7 has joined #openstack-api05:37
*** sjmc7 has quit IRC05:42
*** terrylhowe has quit IRC05:53
*** woodster_ has quit IRC06:00
openstackgerritAlex Xu proposed openstack/api-wg: Add guideline for api microversion  https://review.openstack.org/18711206:15
*** fzdarsky has joined #openstack-api07:12
*** alex_klimov has joined #openstack-api07:19
openstackgerritMatthew Gilliard proposed openstack/api-wg: Adds a small update to tagging guidance  https://review.openstack.org/18789107:26
*** sjmc7 has joined #openstack-api07:26
*** sjmc7 has quit IRC07:31
openstackgerritAlex Xu proposed openstack/api-wg: Add guideline for api microversion version  https://review.openstack.org/18711207:48
openstackgerritAlex Xu proposed openstack/api-wg: Add guideline of Microverion bump  https://review.openstack.org/18789607:48
openstackgerritAlex Xu proposed openstack/api-wg: Add guideline of api microverion bump  https://review.openstack.org/18789607:56
openstackgerritAlex Xu proposed openstack/api-wg: Add guideline for api microversion specification  https://review.openstack.org/18711207:56
*** lucasagomes has joined #openstack-api08:14
openstackgerritAlex Xu proposed openstack/api-wg: Add describe about extra query parameter  https://review.openstack.org/18790308:19
*** e0ne has joined #openstack-api08:46
*** e0ne is now known as e0ne_09:01
*** e0ne_ is now known as e0ne09:01
*** cdent has joined #openstack-api09:10
*** sjmc7 has joined #openstack-api09:15
*** sjmc7 has quit IRC09:20
*** e0ne is now known as e0ne_09:55
*** e0ne_ is now known as e0ne09:57
*** sjmc7 has joined #openstack-api11:04
*** sjmc7 has quit IRC11:09
*** lucasagomes has quit IRC11:18
*** e0ne is now known as e0ne_11:32
*** e0ne_ has quit IRC11:42
*** woodster_ has joined #openstack-api11:44
*** e0ne has joined #openstack-api11:58
*** lucasagomes has joined #openstack-api11:59
*** lucasagomes is now known as lucas-hungry12:05
*** flaper87 has joined #openstack-api12:13
*** sjmc7 has joined #openstack-api12:53
gilliardcdent: I did a little facepalm when I saw your comment on https://review.openstack.org/#/c/180094/412:54
cdent:)12:54
*** notmars has joined #openstack-api12:54
gilliardWhile patches are sat in the approved-but-waiting-for-a-week phase, it seems a shame to make a change, though.12:54
cdentyeah, that's why I said only if there's another12:55
gilliardbest to make a followup patch?12:55
sdaguegilliard: yeh, why not just put a tidy up patch on top12:55
cdentyeah, as there's plenty of other "call" throughout the files12:55
gilliardIt's a hard habit to break :(12:55
cdenttru12:55
*** sjmc7 has quit IRC12:58
openstackgerritMatthew Gilliard proposed openstack/api-wg: s/call/request/ :: This isn't RPC  https://review.openstack.org/18799112:58
*** lucas-hungry is now known as lucasagomes13:08
*** terrylhowe has joined #openstack-api13:15
*** e0ne is now known as e0ne_13:41
*** e0ne_ is now known as e0ne13:41
*** sigmavirus24_awa is now known as sigmavirus2413:54
*** sjmc7 has joined #openstack-api14:09
openstackgerritRyan Brown proposed openstack/api-wg: Add section clarifying PUT vs PATCH semantics  https://review.openstack.org/18394514:35
*** ameade has joined #openstack-api14:46
*** nikhil_k is now known as nikhil_k-brb14:52
openstackgerritRyan Brown proposed openstack/api-wg: Add section clarifying PUT vs PATCH semantics  https://review.openstack.org/18394514:56
cdentryansb: your response to my comment about custom headers implies that the api working group will be here forever like an immortal parent forever watching over the children creating their beautful creative works forever and ever amen14:57
cdentthat would be a shame, the wg should have a natural finish14:57
ryansbcdent: ...rereading it that is true, I did imply that14:57
ryansbI guess I mean that a guideline of "don't add a header unless you really mean it" would be unlikely to solve the problem14:58
cdentyeah, that's definitely true14:58
ryansbI think it'd be better to figure out why people add headers we would say "aren't necessary"14:58
ryansband add a guideline that says "if you have problem X or goal Y, do Z instead of mashing in MOAR X-OpenStack-HEADERS"14:59
* cdent nods14:59
elmikocdent: agreed about natural finish, i can envision a maintenance mode at some point.14:59
ryansbso my question to you is; what are cases where people have added headers mistakenly15:00
cdentI'm insufficiently conversant with all the openstack apis thus far to really say, but my general opinion is: don't add headers15:01
ryansbI see. Well the biggest header user I know of is Swif15:01
ryansb*Swift15:01
ryansbtrailed by Nova, I believe15:01
cdentyes, swift does all kinds of things in what I would consider completely broken ways15:02
cdentbut it represents the reality that we live in15:02
ryansbswift has a reason though, since they basically ripped the S3 way of doing things15:02
ryansb(if that's a reason)15:02
cdents3 pretty broken too :)15:03
* cdent doesn't live in the real world when noodling about platonic ideals15:03
ryansbcdent: whoa, you're about to turn us into the "AWS API Peanut Gallery"15:03
cdentI can come back to reality when required though15:03
*** alex_klimov has quit IRC15:23
openstackgerritChris Dent proposed openstack/api-wg: Add advice on when to use POST or PUT in create  https://review.openstack.org/18191215:26
*** e0ne is now known as e0ne_15:32
*** notmars has quit IRC15:32
*** e0ne_ is now known as e0ne15:35
*** notmars has joined #openstack-api15:38
*** notmars has quit IRC15:43
*** nikhil_k-brb is now known as nikhil_k15:50
*** notmars has joined #openstack-api15:55
*** fzdarsky has quit IRC16:22
*** Apoorva has joined #openstack-api16:36
*** lucasagomes is now known as lucas-dinner17:04
*** e0ne has quit IRC17:17
*** notmars has quit IRC17:20
*** fzdarsky has joined #openstack-api17:21
*** fzdarsky has quit IRC17:38
*** sjmc7 has quit IRC17:47
*** notmars has joined #openstack-api17:50
*** sjmc7 has joined #openstack-api17:51
*** annegentle has joined #openstack-api18:23
*** notmars has quit IRC18:29
*** dolphm has joined #openstack-api18:35
*** notmars has joined #openstack-api18:36
*** notmars has quit IRC18:39
*** notmars has joined #openstack-api18:40
*** notmars has quit IRC18:40
*** flaper87 has quit IRC18:44
*** cdent has quit IRC18:50
*** flaper87 has joined #openstack-api19:08
*** flaper87 has quit IRC19:09
*** flaper87 has joined #openstack-api19:09
*** cdent has joined #openstack-api19:09
*** e0ne has joined #openstack-api19:13
openstackgerritChris Dent proposed openstack/api-wg: Add advice on when to use POST or PUT in create  https://review.openstack.org/18191219:17
elmikocdent: are you ammenable to pr's on github for gabbi?19:19
cdentyes, for now that's the way to go19:19
elmikok, i have a small doc-based suggestion19:20
cdentonce I finish some additional test things and have decided that it is really 1.0 i'm going to move it under the qa program and make it all gerrit-ified etc19:20
cdentawesome!19:20
elmikocool, i'll send it soon™19:20
elmikocdent: ok, sent your way19:30
* cdent looks19:30
cdentman, why's everybody always hatin on make19:33
cdent:)19:33
elmikohehe, long history of abuse ;)19:34
cdentyou want my comments/questions here or there?19:35
elmikobesides, it's not like i deleted the Makefile in that patch19:35
elmikohere is fine19:35
cdentthey're basically "howcumzit ya did it like X"19:35
cdenta) what's the whitelist thing doing19:35
ryansbcdent: dontcha know, gotta switch to Gulp. It's like make, but in node.js so it's a zillion times better19:35
elmikowhitelist should reduce warnings for using commands outside of the tox virtualenv19:35
ryansb;)19:35
cdentb) is the doc/build removal requirered or just tidy19:35
elmikoryansb: LOL19:35
elmikocdent: just wanted to be tidy19:36
* cdent still can't manage to grunt19:36
elmikocdent: so, the tox env will create the doctrees/html/man for gabbi, i think the only worry i have about removing the whole build dir is if someone used the makefile to create a pdf. that might get stomped.19:38
elmikoi could make the rm command a little more specific if it helps?19:39
cdentnaw, it's fine as is19:39
cdentmy expectation is that the Makefile will eventually go away19:39
cdentit is there to facillitate me and my style and once the code is more public there's not much point19:39
elmikomakes sense, and i figured as much. i'm just digging deep into the code so i was curious about little openstack-esque type changes19:40
cdentmy own personal style of making shit is not much in concert with the tox+pbr+god knows what else style in openstack-land19:40
cdentbut it is the way of things, and it seems to work19:40
elmikoi didn't use tox before i started working on openstack, but i can see why people might like it. the virtualenv feature is nice for not messing with the system packages.19:42
elmikolike, when i ran the makefile i realized i don't have sphinx installed. lol19:43
cdentyeah, that's part of why I (historically) don't use tox because I intentionally want to make sure that I create chaos in my installed system packages19:44
cdentI also never cap versions19:44
elmikohehe19:44
cdentand I'm not a fan of using requirements.txt to mean install_requires (it's not the same thing)19:44
ryansbanarchy, sir19:45
elmikolol!19:45
cdentfecundity more like it: find more bugs sooner19:45
ryansbthough reqs-as-install_requires is more a pbr-ism than a tox-ism19:45
ryansb(AIUI)19:45
elmikoi've gotten in the habit of trying to keep my root system very clean and relying more and more on virtualenvs, vms, and containers19:45
ryansbsame. It never works though19:46
cdentyes, that's true, I expanded above with "tox+pbr+god knows what else"19:46
ryansblol19:46
elmikoyea, makes perfect sense19:46
ryansbtox for multiple interpreter versions is a godsend though. I use it in my personal projects now19:46
cdentpart of the issue is that recreating venvs, vms and containers is so freaking slow19:46
cdentyeah, the multiple interpreter aspect is what has converted me19:47
ryansbI have a local pip cache, and with pip7 I can reuse wheels19:47
ryansbso it's not too slow these days19:47
ryansb(vms are still slow)19:47
cdentin my experience if I have a problem with a python package, if I reinstall with --no-use-wheel it fixes it19:47
ryansb(containers are sorta slow)19:47
cdentso I have not been convinced about wheels19:47
elmikohavent' tried wheels19:47
ryansbworks on my machine, YMMV19:47
cdent:)19:48
cdentexperience suggests that my tolerance for slow is not in the normal part of the bell curve19:50
elmikoentirely fair19:50
ryansbyup. I just happen to like making coffee ;)19:50
elmikonice, i could go for a beverage. brb19:51
cdentwhen I first showed up  in openstack land and ran some tests locally I thought19:51
cdenthuh, and this is considered okay?19:51
elmikoLOL19:51
ryansbyeeeaaah.19:51
cdentso yeah, while I run some tests, I'm going to go for a walk :)19:52
cdentbbl19:52
ryansbheh, enjoy19:52
HenryGelmiko: sorry I missed you in the neutron channel, but I read the backscroll. I'll also review the process guidelines update.19:56
elmikoHenryG: awesome, thanks for checking them out19:57
*** flaper87 has quit IRC19:57
*** flaper87 has joined #openstack-api19:59
*** flaper87 has quit IRC20:03
*** salv-orlando has quit IRC20:09
*** salv-orlando has joined #openstack-api20:09
*** e0ne is now known as e0ne_20:09
*** e0ne_ is now known as e0ne20:14
*** e0ne has quit IRC20:14
*** lucas-dinner has quit IRC20:15
*** flaper87 has joined #openstack-api20:16
elmikocdent: just wanted to give some kudos on the clear code in gabbi, i'm finding it relatively easy to get around and understand what's going on.20:32
cdentelmiko: thanks, I'm glad you're finding it readable20:37
elmikodefinitely20:37
cdentI don't really think of it as up to snuff because I had to a lot of dirty nasty stuff to get it to behave in a way that makes the keepers of subunit and testr happy20:38
elmikoah, ok. maybe i haven't tripped over those yet ;)20:38
elmikoi'm kinda doing some investigation about tools the security group might be able to use for fuzz testing apis20:39
elmikonot sure that gabbi is the best fit, but i'm still curious about using it20:39
elmiko(for other stuff)20:39
cdenti thikn for fuzz testing you'd either need to pre-process some yaml (from templates or whatever) or generate the tests through some other process (the reading yaml and translating into tests is just a small piece of the piece and not a required piece)20:41
elmikothat's what i'm thinking too20:41
cdenti'd be very happy to talk more about that or whatever else either in irc or email or whatever20:41
cdentbut now I'm going to change puters, back in a while20:41
elmikok, talk more later20:41
*** Apoorva has quit IRC21:04
*** cdent_ has joined #openstack-api21:05
*** annegentle has quit IRC21:06
*** cdent has quit IRC21:06
*** cdent_ is now known as cdent21:06
cdentyou still around elmiko?21:12
elmikoyup21:13
cdentI was just curious what fuzz testing would actually look like, or rather what the mechanism is (in the conceptual sense).21:15
elmikoso, i have a couple thoughts about it. fuzzing the urls and fuzzing the input json21:16
elmikoin the gabbi sense, i think it might be interesting to have maybe a pluggable interface for creating test suites.21:16
elmikoso, by default yaml would work21:17
elmikobut21:17
elmikomaybe there could be a mode where a user could supply a small piece of python or something to describe an iterative test21:17
elmikoalternatively,21:17
elmikomaybe i could supply several urls that all line up with 1 expected output21:17
elmikoso i wouldn't need to make huge yaml files21:18
elmikothat's just url fuzzing, for input fuzzing it might be more complicated21:18
cdenthave you looked at gabbi-runner: it can take yaml on stdin, so a program could produce it dynamically21:18
elmikobut having the ability to create a small piece of python that could be injested to create the test might be interesting21:18
cdentyes, that’s true21:18
elmikointeresting... i haven't looked at gabbi-runner yet21:19
elmikoi've been reading the test suite generator stuff from yaml to test case, so far21:19
cdentpluggable test case generation is on the maybe-roadmap21:19
elmikocool21:19
cdentso if you come up with something workable that would be awesome21:20
elmikowould probably require some re-architecting, but could certainly work21:20
cdentor if I get around to it...21:20
elmikoi'll keep poking around, i also need to talk with the security group again to get more input on how/what we want to fuzz test21:20
elmikoso, one simple thought that occurred to me was to change gabbi.driver so that it could also discover .py files and then bring the code from that py file in to create a test21:21
elmikobut this is a very half baked idea21:21
*** alex_klimov has joined #openstack-api21:22
elmikoi'm more just hacking about at this point =)21:22
*** sjmc7 has left #openstack-api21:22
cdentwhat about passing a generator class to build_tests that defaults to the yaml reader?21:22
elmikoyea, exactly21:22
elmikothat would make nice room for a possible plugin at some point21:22
elmikoi imagine i'll have more ideas tomorrow after the sec meeting21:26
elmikobut, the generator i could see as being *very* useful21:26
* cdent sets his back brain to think about that21:27
elmikonice =)21:29
elmikoi'm out for a few hours21:33
*** Apoorva has joined #openstack-api21:45
*** Apoorva has quit IRC21:46
*** sigmavirus24 is now known as sigmavirus24_awa22:30
*** cdent has quit IRC22:40
*** Apoorva has joined #openstack-api22:47
*** Apoorva has quit IRC22:51
*** Apoorva has joined #openstack-api22:56

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