Tuesday, 2013-01-22

*** amyt has quit IRC00:54
*** robertmyers has joined #openstack-meeting-alt02:27
*** amyt has joined #openstack-meeting-alt03:44
*** grapex has joined #openstack-meeting-alt04:21
*** robertmyers has quit IRC04:21
*** robertmyers has joined #openstack-meeting-alt04:22
*** grapex has quit IRC05:07
*** amyt has quit IRC07:12
*** robertmyers has quit IRC13:22
*** robertmyers has joined #openstack-meeting-alt14:22
*** jcru has joined #openstack-meeting-alt15:04
*** cp16net is now known as cp16net|away15:10
*** cp16net|away is now known as cp16net15:11
*** amyt has joined #openstack-meeting-alt15:18
*** rnirmal has joined #openstack-meeting-alt15:28
*** jcru has quit IRC15:31
*** jcru has joined #openstack-meeting-alt15:42
*** robertmyers has quit IRC15:42
*** robertmyers has joined #openstack-meeting-alt15:45
*** cp16net is now known as cp16net|away15:54
*** jog0 has joined #openstack-meeting-alt15:54
*** robertmyers has quit IRC16:01
*** robertmyers has joined #openstack-meeting-alt16:02
*** grapex has joined #openstack-meeting-alt16:10
*** bdpayne has joined #openstack-meeting-alt16:55
*** bdpayne has quit IRC17:02
*** bdpayne has joined #openstack-meeting-alt17:03
*** juice_ has joined #openstack-meeting-alt17:23
*** joe5081 has joined #openstack-meeting-alt17:23
*** jcru has quit IRC17:27
*** esp1 has joined #openstack-meeting-alt17:38
*** esp1 has left #openstack-meeting-alt17:38
*** kaganos has joined #openstack-meeting-alt17:46
*** joe5081 has quit IRC18:00
*** jcru has joined #openstack-meeting-alt18:00
*** cp16net|away is now known as cp16net18:20
*** esp1 has joined #openstack-meeting-alt18:59
*** esp1 has left #openstack-meeting-alt18:59
*** vipul is now known as vipul|away19:25
*** vipul|away is now known as vipul19:29
*** jog0 has quit IRC19:37
*** jog0 has joined #openstack-meeting-alt20:38
*** jog0 has quit IRC21:49
*** yidclare has joined #openstack-meeting-alt21:52
*** SlickNik has joined #openstack-meeting-alt21:59
vipulroll call.. Reddwarfers?22:00
jcooleyhello!22:00
steveleonHello22:00
grapexGreets!22:01
SlickNikSlickNik here22:01
*** datsun180b has joined #openstack-meeting-alt22:01
*** esp1 has joined #openstack-meeting-alt22:01
juice_yo22:01
datsun180bhi hi22:01
vipul#startmeeting Reddwarf22:01
openstackMeeting started Tue Jan 22 22:01:23 2013 UTC.  The chair is vipul. Information about MeetBot at http://wiki.debian.org/MeetBot.22:01
openstackUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.22:01
*** openstack changes topic to " (Meeting topic: Reddwarf)"22:01
*** hub_cap has joined #openstack-meeting-alt22:01
openstackThe meeting name has been set to 'reddwarf'22:01
hub_capohai22:01
vipul#link http://wiki.openstack.org/Meetings/RedDwarfMeeting22:01
*** saurabhs has joined #openstack-meeting-alt22:01
vipulshall we get started?22:01
SlickNikyeah, let's do it22:02
hub_capworks for me22:02
vipul#topic Action Item Updates22:02
*** openstack changes topic to "Action Item Updates (Meeting topic: Reddwarf)"22:02
vipulk, first one was mine - Blueprint on Quotas22:02
vipulargh trying to find22:02
vipul#link https://blueprints.launchpad.net/reddwarf/+spec/quotas22:03
vipulcompleted, for now, probably need to add some more details22:03
hub_capsweet22:03
*** djohnstone has joined #openstack-meeting-alt22:03
vipulnext item.. TestR blueprint22:03
vipulanyone get a chance to take a peek?22:03
hub_capnope. ive been knee deep in cinder code...22:04
SlickNiknope, still a todo for me22:04
hub_capwell cinder conversations and code :D22:04
vipulesp: does this still need another pair of eyes? or is it good to go22:04
*** dkehn has joined #openstack-meeting-alt22:04
esp1which part?22:04
hub_capcan u link it?22:04
*** jcru is now known as jcru|away22:04
steveleonlink?22:04
SlickNik#link https://blueprints.launchpad.net/reddwarf/+spec/testr-unit-tests22:04
esp1thx22:04
SlickNiknp22:04
esp1yeah it wouldn't hurt to have someone look at it.22:05
grapexI've got a question: last meeting we decided to use sqlite and mocks strategically, but I ntocied in the blue print it says to never use sqlite.22:05
esp1hmm.. that would be a mistake.22:05
esp1let me look22:05
vipulgood thing we're taking a look at it :)22:05
hub_capseems valid22:05
esp1I think we were moving along the lines for not mixing mocks and sqlite tests22:05
juice_+122:06
hub_capive set to approved22:06
vipulk, good enough22:06
grapexHas Nova stopped using sqlite in their unit tests?22:06
juice_I would like to see tests segmented by unit and integration (incl sqllite22:06
vipulI personally prefer using sqllite, instead of just mocks all over the place22:06
*** kmansel has joined #openstack-meeting-alt22:06
grapexMe too22:06
hub_capim not sure if they have, but i do see that python-mysql is now necessary for test-requires22:06
esp1grapex:  I can see the confusion in there.  we do want to use sqlite eventually just having got that far yet.22:06
grapexOk, I know how we can add it easily22:07
hub_capwhich is annoying to me personally :)22:07
grapexI just wrote a test in testr that makes use of it22:07
grapexAssuming sqlite can be used with multiple procs, we should be OK22:07
esp1yep shouldn't be a big deal.  just don't want to mix paradigms with mock vs sqlite22:07
SlickNikFor some integration tests, sql-lite does make sense.22:07
vipulA lot of the stuff in models, i'd rather have it make real sql calls22:08
grapex"unit" tests doesn't mean to only use mocks, its one tool in the box22:08
juice_SlickNik I agree that sqllite would be ok in integration but not unittests22:08
hub_capnova seems to mock it22:08
vipuli think they tend to lean towards Fixtures22:08
esp1yeah, yer all correct.  we need to do a better job of naming things.22:08
vipulnot complete mock22:08
juice_grapex: doesn't have to use mock but shouldn't be using a database22:08
steveleoni have some unitests for the guestagent... specifically for query-creation classes...should those be tested using sqlite?22:08
hub_caphttps://github.com/openstack/nova/blob/master/tools/test-requires22:08
hub_caphttps://github.com/openstack/nova/tree/master/nova/tests/db22:08
esp1maybe just break them out: mock tests, sqlite tests.22:08
vipulsteveleon: I'd think those types of tests would be better against a sqllite22:09
juice_how about "int-lite"22:09
esp1juice: nice one.22:09
vipulok looks like we need a longer discussion on this22:09
esp1steveleon: I was thinking of doing both22:09
hub_capya table it vipul22:09
grapexjuice_: We could put tests like that in the existing tests that run before testr22:09
vipul#action Discuss use of mock/sqllite/fixtures22:09
vipulOk, next item.. Mutlipel images22:10
esp1sounds good22:10
vipuli think we settled that22:10
juice_working on it now22:10
SlickNikYeah, we had a discussion on that.22:10
vipulk, the agreement was that we'd push percona 'element' to RD-int22:10
juice_#agreed22:11
vipulnext item.. dkehn, SlickNik: setting up CI22:11
SlickNik#agreed22:11
dkehnSlickNik, has the changes in the vm-gate functions and I'm testing as we speack22:11
dkehnonce completed will move to CI upstream22:11
SlickNikSo far I've got the post-devstack changes in for redstack.22:12
SlickNikAnd the simple tests are working.22:12
vipulcool22:12
SlickNikThere are a few black-box tests that are failing on me that I'm still debugging.22:12
vipul#action dkehn, SlickNik to complete CI with devstack-vm-gate with blackbox tests22:12
SlickNikand dkehn is working on integrating upstream with the vmgate.22:12
hub_caphave yall gotten it working on cloud servers?22:13
hub_caprax cloud servers :)22:13
vipulk, that's next22:13
SlickNikWe're doing this on HPCloud server.22:13
dkehnhpcloud only22:13
vipulanyone have a rax account :)22:13
SlickNikI don't have access to RAX cloud servers :)22:13
hub_capill gladly spawn u one22:13
dkehndkehn, me either22:13
hub_captomorrow just remind me22:13
SlickNikokay, hub_cap, I'll ping you.22:13
hub_capnp22:13
hub_capgood luck w/ networking22:13
SlickNikWill be good to see how/if they're different.22:13
hub_capit seems completely broken22:13
hub_capthats where i stopped :D22:14
vipulsomehow the CI guys are able to run there though22:14
vipulthey may be doing some hacks22:14
hub_capya but they dont do tests from _in_ teh guest22:14
hub_capthey just spawn a instance22:14
vipuloh i see22:14
hub_capwe can do that22:14
hub_capya...22:14
hub_capmaybe someone on your end tho has some fu22:14
vipul#action SlickNik to test on Rax Cloud Servers22:15
vipulnext item.. update on HP CLoud Server and int-tests22:15
hub_capi torqued it a few times too ;)22:15
vipulI still haven't been able to get a good run on hpcloud instance22:15
hub_capwtf...22:15
hub_capthats sucky22:15
vipulwiht "cheat codes" i was successful22:15
juice_vipul: how many tests fail?22:15
hub_capoh thats at least good... but a full run is failing?22:15
vipulbut the tests have some funky dependency and hard to pinpoint exactly which one22:16
vipulmainly the Stop Test22:16
vipulbut that causes a couple of skips22:16
vipulall others pass on a full run22:16
hub_capvipul: maybe we can shed some light... if u can give someone like tim a login to a machine maybe he can play around w/ it22:16
hub_capor me when i get some time22:16
vipulK, that will help.22:16
vipul#action Vipul hub_cap and grapex to debug int-tests on hpcloud22:17
hub_capword22:17
vipulnext item: cheat codes22:17
vipulcp16net gave us a brief intro to them last meeting22:17
vipuli think we're good unless there are other tricks we should know22:17
hub_capi think there were just 1 or 2 right?22:18
hub_capthe instance is already created one22:18
juice_is it "up - down - up - down - left - right - left - right - a - b - enter" ?22:18
vipullol22:18
hub_capjuice_: select start22:18
vipulyes, that's the one i saw, what's the other?22:18
juice_no wonder it never worked22:18
hub_capmy gamepad has no enter key22:18
hub_capgrapex: is there another cheat code?22:18
juice_what are "cheat codes"22:18
juice_in this context?22:19
vipulrunning integration tests, without creating an instance during the run22:19
hub_capjuice_: special ways to alter the executiojn of the tests22:19
grapexThe only other one is TESTS_DO_NOT_DELETE_INSTANCE22:19
SlickNikenv variables that you can set to speed up tests22:19
juice_ah22:19
grapexSet that to True and it skips the delete.22:19
hub_capand of course there is22:19
grapexThere's really only two.22:19
juice_gots it22:19
hub_cap--group=blackbox --stop22:19
SlickNikgrapex: I've found that one especially useful.22:19
hub_capthat one will stop tests on first failure22:19
grapex--stop is a nose argument22:19
hub_capya22:19
vipulcool, good stuff22:20
vipulnext: hub_cap to talk to heckj and bcwaldon about how they are doing their next gen specs22:20
hub_cap./redstack int-tests --group=blackbox --stop <--useful if u wantt to diagnose22:20
hub_caphave not done so yet, its on my list22:20
vipul#action hub_cap to talk to heckj and bcwaldon about how they are doing their next gen specs22:20
hub_capive talked /w my mgr and we are going to start drafting v222:20
vipulnext: hub_cap to get the featureset for V2 started, BP & wiki22:20
hub_capnext week i will have something22:20
hub_capthats same. put it on the action items22:20
hub_capthey are really one in the same22:20
hub_capthe v2 api is my top prio after i finish cinder22:21
hub_capso next week sometime22:21
vipulK, at some point we need to sync up regarding feature set for v222:21
vipulhub_cap to talk to mikeA about timelines for v1 wadl22:21
vipulI think you mentioned that's coming?22:21
hub_capya22:21
vipulany timeline?22:22
hub_capso let me first talk about v2 "sync"22:22
hub_capi totally agree we need to sync up22:22
hub_capill give u guys teh wiki links so u can add/edit as u see fit adn we can discuss22:22
hub_capi dont want this to be a autocratic spec22:22
hub_capnow that im off that soapbox, v122:22
hub_capmike A is working on it now. he should have it ready soon... he didnt give an exact timeline22:23
jcooleyhub_cap: also regarding use of wiki.22:23
hub_cap#link https://github.com/stackforge/database-api22:23
vipulOk, works for me.  Just need to make sure we're aligned as far as features, and we can iterate on the wiki if that's the way it's done22:23
jcooleyis there a place we can start putting some of the knowledge we're uncovering around setting up, running, etc?22:23
hub_capvipul: ill find it out some way or antoher and keep u in the email chain/etc/...22:24
hub_capjcooley: id say create some wiki.openstack pages22:24
hub_capmaybe we need a "landing" page for reddwarf22:24
hub_capand to put links on that... i _hate_ the wiki they have22:24
jcooleyok, didn't know if you had an area you were currently using for similar22:24
jcooleyi'm just seeing us create knowledge internally that we should be sharing with the community22:25
vipul#action, link Reddwarf wiki area (create one if necessary) to http://wiki.openstack.org/Projects22:25
hub_capfor instance, there is a page for incubated project22:25
hub_caphttp://wiki.openstack.org/Heat22:25
vipul#link http://wiki.openstack.org/Reddwarf22:25
vipulis still not created, probably the place to start22:25
hub_caphttp://wiki.openstack.org/Reddwarf22:25
hub_capi jsut did22:25
SlickNikProbably a good idea.22:25
hub_capgod it so slow22:25
vipulok, last item juice: percona elements22:26
jcooleyhub_cap: sweet22:26
vipuljuice ^^?22:27
hub_capjuice_: ^ ^22:27
hub_cap:D22:27
vipulsneaky22:27
hub_cappete22:27
vipullol22:27
SlickNikheh22:27
esp1let me throw something at juice22:27
hub_capoh this isint word association :)22:27
juice_what is the question?22:28
vipul#action juice_ to push percona bits to Redddwarf-Int22:28
SlickNikoh, oh…Do I see projectiles...22:28
juice_nerd frisbee please22:28
juice_nerf22:28
hub_capeither way22:28
vipulok done with action items..22:28
vipul#topic CI Updates22:28
esp1juice: all I have over here are keyboards and rocks22:28
*** openstack changes topic to "CI Updates (Meeting topic: Reddwarf)"22:28
vipulI htink SlickNik and dkehn covered most of this22:29
dkehnI think so22:29
SlickNikyeah covered it earlier.22:29
vipulwanna recap?22:29
hub_capyup, and all thats left is me to spin up a cloud isntacne for yall22:29
vipulok, we're good then22:29
juice_what about the other topic quotas22:29
vipulwe're targetting this by end of week? to push upstream?22:29
vipuljuice_: it's coming... http://wiki.openstack.org/Meetings/RedDwarfMeeting22:30
SlickNikdkehn was looking into pushing upstream, he probably has a better idea of the timeline for that…dkehn?22:30
dkehnI'm targeting as ASAP, but we must get it working and then separate it out into their schema (wrapper, etc..22:31
dkehnbut yes, as soon as possible, I'm not the only one involved with CI22:31
vipuljust an FYI for hub_cap, grapex: We're going to push upstream while invoking simple-tests for now22:32
vipuluntil we verify that blackbox runs everywhere22:32
hub_capas in, you are testing locally before u push right?22:32
dkehnonce in upstream then we can add things to it22:32
hub_capoh nm, simple-tests22:32
SlickNikI've got the simple tests running successfully on an HP Cloud instance after a post devstack build. Will talk to grapex about some issues I'm running into with the full suite of black-box tests.22:32
dkehnyes22:32
hub_capwell int-tests should work on the cloud isntance22:32
hub_capbut simple-tests wont even work for u as is22:32
hub_cap:)22:32
vipulright, _should_22:32
hub_capsure, we run em all the time :D22:33
hub_capbut we run on old networked cloud servers b4 the new nova switch22:33
hub_capand using openvz22:33
hub_cap:D22:33
grapexvipul SlickNik: As long as running all of blackbox remains a goal I'm good.22:33
esp1should we rip out simple-tests ?22:33
vipulright :)22:33
vipulgrapex: Yep, blackbox is the end goal22:33
esp1or should we wait...22:33
hub_caponce we get int-tests solid we should remove simple-tests22:33
esp1cool22:33
SlickNikgrapex, I'm with you 100% we want to run all of blackbox.22:33
hub_capid like to figure out why your int-tests are failing, and im volunteering grapex time :) (jk)22:34
vipuldo you guys run int-tests in KVM?22:34
hub_capya22:34
SlickNikthis is the first step so we can iron out issues with pushing CI upstream and work on the testing issues in parallel.22:34
hub_capim 100% public these days22:34
hub_capand your int-tests work in local env right?22:34
vipulright, just not in a cloud instance22:34
hub_capcoo22:34
esp1yeah, they run fine in vmware fusion22:34
hub_caplets figure out what the deal is w/ that this wk22:34
hub_capill spare some time vipul tomorrow if u want to chat it up22:35
hub_capand give me a login so i can watch em go22:35
hub_cap(or not go...)22:35
vipulok, so in the meantime we dont' want that holding up, which is why we push with simple-tests, and change it up later22:35
vipulhub_cap: sounds good22:35
hub_capsure22:35
vipulk, next topic22:35
hub_capbut simple-tests will fail on a cloud server too ;)22:35
hub_caplets roll22:35
vipul#topic Unit Test updates22:35
*** openstack changes topic to "Unit Test updates (Meeting topic: Reddwarf)"22:35
steveleonannashen and I have been adding unittests to the guest agents22:36
vipulso we've got lots of tests the python-reddwarfclient + guestagent22:36
vipulgrapex: wanna discuss what we need to do push the last two reviews through?22:36
grapexSure22:36
SlickNikyeah hub_cap I'll try and see if I can make the tests (networking) work on cloud server. Get me a login.. :)22:37
grapexI've been writing an email about it for awhile22:37
hub_capSlickNik: ill one up u, ill give u a dedicated server!22:37
*** jcru|away is now known as jcru22:37
grapexSo first off, I want to say I know the code can be confusing and I'm sorry. I also apologize that there are unused functions and cruft and junk in the code. :(22:37
vipulgrapex: just got the email22:37
SlickNikhub_cap: sweet! thx, will ping you after the meeting.22:38
grapexThat said, while writing unit tests, especially for the reference guest which has no coverage other than the public tests that just started running, feel free to delete methods if you believe they aren't used.22:38
steveleongrapex: It's all good... It's been a very good experience for us :-)22:38
grapexThe integration tests should catch big issues like that22:38
vipulYep, the issue is we don't have a way to check coverage with Integration Tests, unless you go through every test22:39
grapexplus we'll catch it in the gerrit reviews, if not we're not doing a good job of reviewing the pull requests.22:39
grapexvipul: Yes, that is a problem.22:39
grapexMaybe we need to talk to Monty or someone about this, but is it necessary to cover even methods we really can't test in the unit test environment?22:40
grapexI think the code would be clearer if we just added no cover directives22:40
grapexThen made sure to hit those with either integration tests or functional tests22:40
vipulYep, I agree there is a probably a good balance...22:41
vipulat the same time.. eventually I think we'd like to get to a point where we can gate on a Coverage %22:41
grapexAnother thing about the reference guest - Sneaky Pete has functional tests which do things like make sure the utility code to hit a MySQL db or call other processes is actually working.22:41
grapexvipul: We could add no coverage directives and then make the case during the gerrit review as to why22:41
vipulThat could work..22:42
hub_capvipul: lets be careful about gating on coverage %s too... does any other project do it?22:42
grapexif we also added integration or functional tests as we do that, it would be kosher22:42
vipulnot yet, but they'd like to.. so not saying we're ready to yet.. but eventually22:42
hub_capok cool id like to watch a openstack project do it for a while first22:42
hub_capsee how it works (or doesnt) for them :D22:42
grapexSecond thing I would like to propose is that we spend some time deleting code that isn't currently isn't covered by the coverage report of the int-tests as run in Tox22:43
jcooleyyah, was thinking we could be conservative.  just to make sure the coverage doesn't slide as new code is added.22:43
grapexWhen I got the integration tests working in tox the coverage was something like 78%22:43
grapexWhen I looked at what wasn't covered, some of it seemed like it could be cruft22:43
vipul++22:44
hub_capand we should set the entire openstack/common dir to nocover too :D22:44
grapexI'm worried that by leaving this junk in there we could be wasting people's time if they cover it. :(22:44
grapexhub_cap: Agreed22:44
jcooley++22:44
hub_capgod why isisnt that a pip library :D22:44
grapexSo maybe the thing to do is aggressively remove junk first- kind of like when you're trying to put on muscle, first you lose all the weight you can and make sure the pounds you're adding aren't fat. :)22:45
vipul#agreed grapex, we'll need your assistance in Identifying some of the cruft.. since we're in a 'scared to delete cuz we don't know enough about it yet' mode22:45
SlickNik#agreed lol, while I don't quite agree with your analogy grapex, I completely echo your sentiments :)22:45
hub_caplol grapex22:46
grapexvipul: I really appreciate that you are being careful with deleting stuff, I think that's coming from the right place. However the goal of the integration tests is to find anything wrong in the "happy path" so if necessary code is missing we should find out quick.22:46
hub_capgrapex is quite aggressive22:46
grapexPlus if anyone deletes something we need we'll be quick to point it out.22:46
grapexI'm aggressive, like an inverted junk yard dog that destroys junk rather than protecting it!22:46
SlickNikHaving dead code to maintain is no fun.22:47
hub_caphaving terrible analogies to maintain is no fun either :P22:47
vipulOk grapex: so let's do this... can you guys look over the two reviews.. let's figure out what shouldn't be unit tests.. and get some of that merged22:47
grapexvipul: Will do.22:47
hub_capagreed. grapex is your man for those22:47
esp1grapex: I'll ping ya in a bit to see if we can figure stuff out22:47
vipul#action grapex to look over guestagent unit test reviews, work with steveleon to get them merged22:48
vipulalright.. let's move on to the next thing22:48
steveleonill take some of the comments and suggestion from grapex and apply them to my patches22:48
vipul#topic Quota / Rate limiting22:48
*** openstack changes topic to "Quota / Rate limiting (Meeting topic: Reddwarf)"22:48
vipulOk we're starting to look at adding supprot for quotas, rate limits in REddwarf this sprint22:48
vipulJust quickly looked over repose22:49
vipuli guess the discussion is: what should this look like?  since Repose is another standalone service22:49
vipuldo we want to do something lightweight instead?22:49
vipulanyone looked at 'turnstile'?22:49
hub_capwell id say that we should not reinvent the wheel here :)22:49
hub_capso wrt turnstyle i know nova said they would move to it eventually22:50
jcooleydon't do another tier. either repose (ok, maybe turnstile).22:50
juice_turnstile here appeared to have limited functionality22:50
hub_capbut they are using repose currently22:50
jcooleybut we should use an openstack project if one exists.22:50
hub_capso i really dont want to have a 3rd type22:50
hub_capjcooley: thats repose :P22:50
hub_capish22:50
jcooleyturnstile != repose :)22:50
hub_capthats what they are trying to do w/ repose22:50
vipulhub_cap: nova has their own quota class i thought22:51
jcooleyhub_cap: in agreement on no 3rd option22:51
hub_capya its legacy22:51
jcooleywe looked at the repose project at the OS conference in SD.22:51
hub_capits been around for a VERY long time22:51
jcooleylooks pretty interesting.22:51
vipulanother potential Issue.. Repose is java22:51
jcooleyugh. yah, so was our global proxy tier :(22:51
vipulsince it's standalone, probably not a big deal.. but surprised that Openstack is choosing that22:52
hub_capwell... repose is trying to get into openstack22:52
hub_capand at rax we are using it as a quota system22:52
jcooleywe may actually have to run it in our prod environment due to the HP deltas from Keystone, but... don't want this in the reference implementation.  want to keep that clean from corporate operational requirements22:52
hub_capbut ure right, its not _the_ defacto22:52
hub_capso maybe its not a bad idea to have something, albeit small22:53
hub_caphttps://github.com/openstack/nova/commits/master/nova/quota.py22:53
vipulany reason why this is not in oslo?22:53
hub_caphttps://github.com/openstack/nova/commit/1cf475d7a135c1078cf7df11c261618af501dc37 :)22:53
juice_an embedded class over a standalone service22:53
jcooleyrepose is solving the right requirements.  want rate limiting, white-listing, black-listing, SSL termination, Keystone middleware22:53
hub_capvipul: thats a good question22:53
juice_sounds like a good place to start22:53
juice_use something like nova-quota unless there is a clear direction22:54
hub_capbut even https://github.com/klmitch/turnstile is old as crap22:54
hub_capjuice_: nova quota has no per user quota support fyi22:54
vipuljcooley, hub_cap: sounds like we wnat both an embedded quota solution + a repose hook22:54
jcooleyoooh.  need to have per-user or per-tenant22:55
hub_capits VERY limited22:55
juice_can we just write our own for the time being in the likes of nova-quota?22:55
jcooleyvipul: ++22:55
hub_capwell why not try to push something to oslo instead?22:55
jcooleyrepose goes in front, so just need to turn off any embeded solution22:55
vipul#link https://github.com/openstack/cinder/blob/master/cinder/quota.py22:56
vipulyea, that's an option, push a generic framework to Oslo22:56
hub_capya i wouldnt necessarily use cinder as the golden child vipul22:56
hub_cap#link https://github.com/openstack/nova/commits/master/nova/quota.py22:56
vipullooks liek they all basically have their own22:57
grapexjcooley: Or use both for double protection and give ops the joy of ensuring the configs are in sync. :)22:57
hub_capright lets do this22:57
jcooleygrapex: yah, that's it!22:57
hub_capwe shouldnt decide this w/o buyin from some core peeps22:57
hub_caplets talk to core nova/cinder/oslo22:57
hub_capand see how they feel about either 1) moving something into oslo, or 2) a external wsgi service22:57
hub_caprather than hack up and have YAQS (yet another quota system)22:58
jcooleyexactly22:58
vipul#action hub_cap and juice_ to talk to core nova/cinder/oslo about generic quota embedded vs external service22:58
jcooley(it's not just about quotas)...22:58
hub_capok works for me22:58
hub_capthx vipul22:58
vipulright, need to take into account rate limits22:58
jcooleyneed SSL term, DOS protection (white/black listing), etc22:59
hub_capya those are another form of quotas from repos's perslective22:59
hub_caprate and absolute limits is what we need to start with22:59
hub_capbut we digress... lets just work it offline w/ the core teams22:59
vipulalright.. let's get the discussion started at least23:00
juice_who will take the reigns on that one23:00
hub_capjuice_: see above23:00
hub_capits me and u23:00
vipuljuice_ can you start by talking to mordred, and then we bring it up to the Oslo members23:00
hub_capill talk w/ nova/cinder/glance ptls23:00
juice_ok23:01
hub_capadn we can reconvene in a day or 223:01
vipuli'm sure this is something everyone's thought about23:01
hub_capand eveyrone has a differing answer :D23:01
hub_capwoo openstack!23:01
jcooleywoot!23:01
vipulk, we got a plan...23:01
hub_capword23:01
vipuli think that's all for items23:01
vipul#topic Open Discussion23:02
SlickNikthat sounds good.23:02
*** openstack changes topic to "Open Discussion (Meeting topic: Reddwarf)"23:02
hub_capand i dont really have any "extra" items to discuss...23:02
vipulanything else people want to get off ther chest23:02
SlickNiknothing from my end.23:02
grapexFunctional tests23:02
vipulk.23:02
grapexIn the blue print, there's talk about creating some kind of new framework23:02
grapexI don't see the point. We can just add new groups in the RDI tests and run them as part of CI.23:02
esp1grapex: this is the testr thing right?23:02
grapexYes.23:03
hub_capbrb23:03
esp1yeah, there were folks who wanted to get closer to what openstack is using.23:03
grapexWe do that at Racks for some internal stuff relating to billing, things we need to access certain resources for. There's not that many great examples of using it in the public.23:03
esp1I think CI guys want to be able to run tests in parallel someday23:04
lifelessesp1: CI does run in parallel23:04
lifelessesp1: for some projects. Want it for ~all23:04
vipulIs this a question of whether to add non-integration tests to probosis?23:04
grapexI see. We'll next hackathon at Rackspace I'll be looking at making Proboscis integrate with testr and run non-dependent test series together.23:04
esp1lifeless:  right not at the moment but I think it's a goal of their's in the future23:04
lifelessesp1: hmm? nova tests *already* run in parallel in CI23:05
lifelessesp1: I may be confused about what you mean.23:05
hub_capya fo sure23:06
grapexvipul: My point is we use proboscis to do that internally and it's proven easy. The benefits is that all of the setup code to communicate to the database and other resources already lives there.23:06
hub_caphi lifeless :)23:06
esp1lifeless: sorry misread.  but I mean that folks want to run reddwarf tests in parallel one day.23:06
SlickNiklifeless: I think esp1 is talking about the current reddwarf tests running through proboscis.23:06
lifelessah right23:06
grapexI see the concern about parallel testing though. I think we'll alleviate it by reducing use of "depends_on" (which is overused now) and getting testr to fire off every non-related series of methods.23:06
vipulgrapex, esp1: Getting probosis to run testr may be the solution here... if we can do that _and not make them all depend on one another_ then i am ok with it23:06
lifelessyes, doing that in parallel +1 ;). Happy to advise on any testr questions.23:06
jcooleyyes, want the tests to run in parallel.  don't want to write tests in probosis; want to use testr.23:07
grapexlifeless: Thanks23:07
lifeless[and other stuff, but I suspect the only new thing here for you folk is testr :P]23:07
grapexjcooley: Keep in mind testr is the runner...we can still make use of test tools and everything.23:07
jcooleyjust don't want to see a) reinventing the wheel, or b) a bunch of red-dwarf-only tools23:08
esp1regarding question of "functional" tests we were thinking of creating a separate package for tests that make will make use of sqlite there.23:08
grapexjcooley: I agree, I don't want to rewrite tests we've been depending on.23:08
hub_captestr is the pirate of tests for sure23:08
esp1perhaps functional is not a good name.23:08
jcooleygrapex: yep.23:09
juice_I think it is misleading to use functional in that context23:09
jcooleykeep what we have, migrate eventually if we can -- if it makes sense.23:09
juice_it seems like the current int-tests are more functional than int-tests23:09
grapexSo are we talking about unittests + live resources?23:09
esp1juice_: yep.  so how about sqlitetests?23:09
SlickNikgrapex: sounds good, I'm okay with proboscis as long as we can parallelize with testr.23:10
vipulgrapex: so how about this... new tests that are not integration tests for now are just testr tests23:10
esp1grapex: yeah23:10
esp1I want to exercise the actual code and not mocks23:10
jcooley++23:10
juice_depends on your background but I think the more common definition would be unit tests, integration tests (sqllite with multiple classes) and functional (almost near production / use case based)23:10
vipuland things that are integration-tests, and ones that need the additional 'live resources' need to go in as probosis23:10
*** cp16net is now known as cp16net|away23:11
hub_capok so are we in agreement?23:11
grapexvipul: Agreed, for now let's just keep it to unit tests we can run in tox and integration tests we run in the VM. This will include things that might for example test reference guest methods like "start_mysql"23:11
vipul#agreed23:12
SlickNik#agreed23:12
hub_cap#agrease23:12
vipulOk, if that's all, i'm going to wrap it up23:12
hub_capput a bow on it vipul23:13
vipul#endmeeting23:13
*** openstack changes topic to "OpenStack meetings (alternate) || Development in #openstack-dev || Help in #openstack"23:13
openstackMeeting ended Tue Jan 22 23:13:03 2013 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)23:13
openstackMinutes:        http://eavesdrop.openstack.org/meetings/reddwarf/2013/reddwarf.2013-01-22-22.01.html23:13
SlickNikthanks all23:13
openstackMinutes (text): http://eavesdrop.openstack.org/meetings/reddwarf/2013/reddwarf.2013-01-22-22.01.txt23:13
openstackLog:            http://eavesdrop.openstack.org/meetings/reddwarf/2013/reddwarf.2013-01-22-22.01.log.html23:13
vipullaters23:13
SlickNikanon23:13
jcooleycheers23:13
hub_capl8r all23:13
dkehnl8r23:13
*** hub_cap has left #openstack-meeting-alt23:13
*** robertmyers has left #openstack-meeting-alt23:13
*** dkehn has left #openstack-meeting-alt23:13
*** esp1 has left #openstack-meeting-alt23:13
*** saurabhs has quit IRC23:13
*** cp16net|away is now known as cp16net23:13
*** djohnstone has left #openstack-meeting-alt23:13
*** djohnstone_ has joined #openstack-meeting-alt23:14
*** datsun180b has left #openstack-meeting-alt23:18
*** djohnstone_ has quit IRC23:19
*** robertmyers has joined #openstack-meeting-alt23:21
*** robertmyers has quit IRC23:25
*** jdbarry has left #openstack-meeting-alt23:31
*** cp16net is now known as cp16net|away23:35
*** grapex has quit IRC23:40
*** grapex has joined #openstack-meeting-alt23:41
*** cp16net|away is now known as cp16net23:45
*** kaganos has quit IRC23:50
*** jcru has quit IRC23:55

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