22:02:18 #startmeeting reddwarf 22:02:19 Meeting started Tue Jan 8 22:02:18 2013 UTC. The chair is vipul. Information about MeetBot at http://wiki.debian.org/MeetBot. 22:02:20 maybe it's just me 22:02:21 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 22:02:23 The meeting name has been set to 'reddwarf' 22:02:36 cool 22:02:43 #topic Action Items 22:03:03 i updated the evesdrop from last time we talked 22:03:09 Ok we'll go through the Action items from the previous meeting -- seems like ages 22:03:17 #Link http://wiki.openstack.org/Meetings/RedDwarfMeeting 22:03:23 #link http://wiki.openstack.org/Meetings/RedDwarfMeeting 22:03:46 1. vipul to file blueprint on quota support in Reddwarf 22:03:54 http://eavesdrop.openstack.org/meetings/reddwarf/2012/reddwarf.2012-12-18-22.00.html 22:03:57 Have not filed blueprint yet. 22:04:09 we may have to delay on blueprint filing :( 22:04:16 We may still have some legal issues around blueprints, and may need to revert to you guys filing 22:04:27 yep 22:04:27 who guys 22:04:27 unless we can get one of the rackspace folks to start it :) 22:04:31 alright what ever we can do :) 22:04:39 who guys == rax 22:04:47 thx 22:05:07 #Action Vipul to file blueprint on quota support in Reddwarf 22:05:17 i wonder if capitalization matter.. meh 22:05:28 2. hub_cap SlickNik vipul to discuss w/ mordred the implications of multiple images housed in reddwarf and how we woudl do it 22:05:39 I guess I need one for getting testr into reddwarf as well 22:05:56 esp1: yeah that wouldnt hurt 22:06:00 esp1: there is an open review started by steveleon 22:06:05 that will bring in testr 22:06:12 what is testr? 22:06:20 #Action Dan file a blue print for planning testr -> reddwarf 22:06:35 testr is the preferred testing framework of openstack? 22:06:36 are we the only openstack project using it? 22:06:45 at least that's the word on the street. 22:06:48 No, other projects recently switched. 22:06:53 ah, thought openstack's test framework was tempest 22:06:58 jcooley: no, it's becoming the replacement for nose 22:07:07 ah.. one level removed. 22:07:23 coming back to action items... 22:07:28 ok for #2, anyone talk to mordred? 22:07:33 Still been waiting on getting the initial diskimage-builder drop workign, so haven't had a chance to talk to mordred yet. 22:07:59 mordred's in UK this week. still on irc, just harder to reach 22:08:15 #action SlickNik, hub_cap, juice, vipul talk to mordred about housing multiple images (elements) in reddwarf 22:08:21 Will have to get the conversation started as yet. So this is still needed. 22:08:39 I saw mordred walk pass my bus stop the other day if that counts 22:08:40 we can do this when mordred is back in the states 22:08:45 can you guys talk with robert c/lifeless? 22:08:53 or devananda? 22:08:57 how far are we off on getting the first drop of image builder in? 22:08:58 sure 22:09:16 mordred's in bristol at the moment 22:09:16 I'll have it wrapped up today (fingers crossed) 22:09:28 just one issue with mysql password which I need to get from the old process 22:09:32 …on how it was set 22:09:40 prior to diskimage_builder 22:09:59 #info diskimage builder first-drop shoudl be landing this week 22:10:15 ok, next item was for hub_cap, #3 hub_cap to look into slowness issues w/ qemu 22:10:28 i talked with him last week about this 22:10:43 I can take up the issue of the multiple images with Robert and or Monty 22:10:56 and found out that it was just a option that we needed to enable. 22:11:12 cp16net: ok, this was the fusion fix? 22:11:15 this sped up the build process for me from about ~10-15 min to ~2-3 min 22:11:33 vipul: yea it was specific for me to vmware fusion 22:11:59 i plan on writing up a doc on the reddwarf-integration README.md so that it will be doced some where 22:12:13 cp16net: is there something that Virtualbox users can do? If so, I'll talk to you offline :) 22:12:13 dkehn: great, let's figure out what their thoughts are for this 22:12:31 SlickNik: maybe i'll let you know offline. 22:12:34 vipul, will do, been talking to Robert pretty regular of late 22:12:45 cp16net: cool, thanks! 22:12:48 np 22:12:57 ok, next item was for me.. vipul to investigate volume_support on/off in fake mode 22:13:01 SlickNik: maybe you can add to the doc that i will update 22:13:11 I did not really get muh of a chance to look into fake mode tests 22:13:16 will plan on doing that this week 22:13:24 cool 22:13:38 cp16net, is this still something to look into? or do your fixes resolve this 22:13:43 vipul: Let me know if you need anything. 22:13:59 i dont think this is the same as what i have been working on 22:14:10 i've been working on the real mode tests 22:14:12 ok, so there are still questions on where volume_support is.. 22:14:25 if so, i'll plan to look at it 22:14:40 vipul: you probably just need to run the reddwarf tests with tox I think 22:14:49 yeah if i get some time i will peak into the volume support 22:15:02 #action vipul, cp16net to look into volume support in fake/real mode 22:15:38 that's all the action items we had on the list, anything else we may have forgotten to capture? 22:16:13 There's a couple of items related to the devstack integration piece I can update on. 22:16:19 ok let me change topic 22:16:25 #topic Devstack Integration updates 22:16:29 heads up SlickNik making changes to the local.sh file to detect DATABASEPASSWORD not set 22:16:43 and will be changing the messaging 22:16:56 dkehn, you need to set that in localrc 22:17:01 to conform to the stack\.sh and devstack-vm-gate studff 22:17:03 we can take this offline. 22:17:16 SlickNik, true, but its its not it hangs 22:17:21 true 22:17:21 for those that may have missed the discussion in #openstack-dev, the Devstack folks pushed back on getting Reddwarf Integrated.. 22:17:33 SlickNik, can you talk about the new approach 22:17:37 did they give a reason? 22:17:52 devstack is getting too big and unmaintainable. 22:18:02 lol, no kidding 22:18:05 with lots of components. 22:18:07 they don't want non-core projects 22:18:09 and harder to test 22:18:20 So they don't want non-core components included. 22:18:37 But they have a hook where they run the local.sh script if it exists. 22:19:04 So they suggested refactoring all the changes into local.sh and using that option. 22:19:35 They local.sh to use is checked in under scripts under the reddwarf-integration project. 22:19:40 well, it's one step closer... 22:19:53 yeah i think that makes sense and gives us more control over how things work in side of our project 22:19:58 can we get it included into devstack/samples? 22:20:03 #info Devstack team pushed back on full-on integration of Reddwarf, in favor of local.sh approach 22:20:18 although there is another side that make it if they change things in devstack it can break us without noticing 22:20:23 jcooley: I've pinged the devstack devs about that, but still waiting on an answer 22:20:33 so will update you guys on that. 22:20:40 yea, would be nice to be visible in devstack somewhere 22:20:48 SlickNik, what does it mean for redstack? 22:20:49 #agreed 22:21:08 still remains a wrapper, but much smaller? 22:21:18 cp16net: can you refresh me on the diff between reddwarf & reddwarf-integ? 22:21:42 there's still some cleaning/refactoring that is needed for redstack to clean it up. 22:21:55 Yes, it would make it smaller/cleaner. 22:22:06 jcooley: reddwarf is the code base and rd-int is the setup/conf/testing part 22:22:22 jcooley: reddwarf is our core source tree, only unit tests -- redddwarf-int is where redstack and integration tests live 22:22:43 jcooley: also redstack is a script in reddwarf-int 22:23:24 ah. kind of get it. wondering if some of this can go to reddwarf? but maybe I'm not seeing this clearly. 22:23:34 reddwarf-int is like devstack + tests for reddwarf. 22:23:45 Right now I'm working with clarkb on configuring the gate to run devstack-vm-gate with a build of reddwarf. 22:24:01 will look at refactoring redstack (reddwarf-int) soon after. 22:24:22 nice 22:24:23 cool. just looking at the model we present to non-rd'ers. 22:24:27 #action Slicknik working on configuring gate to run devstack with reddwarf's local.sh 22:24:38 SlickNik, will the gate be on Reddwarf or Rd-int or both 22:25:07 SlickNik, we need to discuss devstack-vm-gate 22:25:10 Working on putting it on Reddwarf. 22:25:31 We can have it on rd-int if we think it's necessary as well. 22:25:53 Wanted to discuss that with grapex, esp since I'm not sure which tests we want to run for which gate. 22:26:09 I've been wondering myself 22:26:13 SlickNik, we need some gates to RD-Int 22:26:16 But it seems legit to have it for both. 22:26:18 since there really aren't any 22:26:20 Yeah. 22:26:23 i would think we should run the real mode tests if we can 22:26:25 right now it's a no-op. 22:26:42 #agree with cp16net, run full on real mode tests 22:26:59 they are *working* right now for me :) 22:27:01 yeah if we are saying time is not an issue for running the tests I guess real mode would catch more stuff 22:27:23 #agreed 22:27:24 #action SlickNik to look at updating both reddwarf and reddwarf-int gates. 22:27:24 #info devstack-vm-gate will be on both Reddwarf and Reddwarf-Int 22:27:31 yes but make sure we run through the fake-mode first because it should catch all the silly mistakes first 22:27:54 makes sense 22:27:58 okay. 22:27:58 like pep 8 :3 22:28:15 do you think we should pull on the simple-test groups in favor now? 22:28:27 dkehn: will sync with you on the devstack-vm-gate offline after meeting 22:28:35 SlickNik, k 22:28:57 esp1: you mean get rid of that group? 22:29:14 seems like blackbox is now working, so switch to that? 22:29:16 vipul: yeah sorry, bad sentence 22:29:29 slicknik: re- tests. probably want one gate (ie one set of tests that's run from multiple triggers) unless there's a clear subset that would need to be run in some cases. 22:30:17 vipul: I'll fly the idea around and see what the consensus is. 22:30:21 jcooley: That makes sense. I'm not aware of any subsets at the moment. 22:30:42 SlickNik, i think just run 'blackbox' group to start with 22:30:57 #agreed 22:31:01 right 22:31:02 so blackbox in fake and then blackbox in real? 22:31:27 yep, if that's possible 22:31:40 We may be able to run blackbox in fake for multiple configurations as well, such as with volume support turned off. 22:32:15 good point, grapex. I'll sync with you and esp to see what configs make sense for the gate tests. 22:32:17 yeah that shouldnt be to difficult... just changing up the test.conf 22:32:21 grapex: yea, we should toggle config, maybe only do that in fake 22:32:36 may take too long in real mode to go through every permutation 22:32:54 ok, anything else for Devstack? 22:33:07 That's pretty much all I had on the devstack integration piece. 22:33:07 if not.. 22:33:14 #topic Testing Updates 22:33:38 great news 22:33:49 i've fixed lots of issues :) 22:34:04 yay! 22:34:12 gotta get that basket of fruit approved! :) 22:34:16 thx! 22:34:19 yeah, nice work! 22:34:34 i made blackbox run all the way through and ran it multiple times now 22:34:46 w/o rebuildling? 22:34:56 yeah no rebuild 22:35:04 just make sure that there are no instances alive 22:35:06 cp16net: I'm just about to grab the latest 22:35:19 yeah and esp1 has been running it through as well 22:35:25 sweet 22:36:06 are thre more patches you need to push up? or should we start merging the existing one 22:36:07 one weird issue i found was when calling the confirm resize method to nova right after the instance changes to verify_resize state it fails 22:36:23 i think there is some kind of race condition there so i put a sleep for 5 seconds 22:36:31 this seems to solve it for now 22:36:46 vipul: there are 2 patches 22:36:49 1 to reddwarf 22:36:55 and 1 to reddwarf-integration 22:37:07 ok, i've only seen the one you had for rd-i 22:37:17 #info reddwarf https://review.openstack.org/#/c/18962/ 22:37:33 there we go 22:37:34 #info reddwarf-integration https://review.openstack.org/#/c/19241/ 22:38:18 ok cool... let's try to get these merged today if we can 22:38:22 cp16net: yeah, I saw that. Almost commented that your log message says to "wait a sec", but you sleep for 5. :P 22:38:41 i'd like everyone to look it over them and get them in 22:38:44 working my way through the review. 22:39:01 awesome let me know if anyone has q's 22:39:25 other testing updates... annashen is basically adding a bunch for guestagnet 22:39:46 right, i did 22:40:17 awesome 22:40:25 we're also going to start adding 'unit tests' for reddwarf, sort of method-levle tests for the models, controllers, etc 22:40:36 can we run converage on it? 22:40:44 so we can see whats covered? 22:41:08 grapex/datsun180b: didnt you do this at some point? 22:41:26 we did this before as well, i'd have to find where it is 22:41:30 Yes, the current tests will generate a coverage report with "tox -ecoverage" 22:41:34 Coverage? tox -ecover 22:41:36 I think we were just eyeballing code and were looking to write tests that directly test the model layer etc 22:42:01 But ultimately it'd be cool to have two sets of coverage, one just for the unit tests. 22:42:05 datsub180b: yeah that still works. we ran that at one point 22:42:08 grapex, datsun180b, cp16net: what are your thoughts on sqllite based tests? 22:42:25 grapex: yeah that's what I think we are shooting for 22:42:25 basically to test the models, we don't do this now 22:43:02 vipul: I say we use sqlite from unit tests tactically. If that makes it easier than using mock, and the code is easy to read, I think we should avail ourselves of it. 22:43:24 Gosh, I was going to say the exactly the same thing but he typed quicker 22:43:26 I think in some cases using sqlite can get in the way - like datsun180b's recent pull request to change the resize code paths, there using mocks was easier. 22:44:11 guys have to step out for a bit, will read the trasscript later. 22:44:36 grapex: sounds good, i think it may make sense for things taht actually read from the DB to be tested against a db 22:44:45 grapex: yeah that could work. I think I have a task to look into that further. for sure some of the tests are already using sqlite in fake mode 22:44:47 I'd appreciate having consistent/reusable entries in a handy sqlite database (like instances) instead of having to mock out everything, but there are cases where it's just easier to mock something and take off running with it 22:44:48 but yes, so we use both approaches where appropriate 22:46:06 ok, anything else around testing? 22:46:09 yeah i agree if it gives us better coverage i am for it 22:46:22 #info Use either sqllite or mock for tests, tactically choosing whichever is appropriate 22:46:44 cool, I was gonna fold all this into the blue print for using testr if that works 22:46:56 esp1: Yep, go for it 22:47:08 sounds good. 22:47:17 #action esp1 to add unit testing details to testr blueprint sqlite vs fakes 22:47:17 use of mocks, sqlite3 etc to test models and friends 22:47:22 thx 22:47:28 #topic Image Builder Updates 22:47:46 I think we touched on this a bit earlier 22:47:50 juice? 22:48:34 yeah, he mentioned that he was really close to having this done and checked in. 22:49:21 K, looks like we should have Percona image soon after 22:49:24 was having one last issue with the initial myssql password that he was close to figuring out. 22:49:29 once we figure out where to put it 22:50:16 SlickNik, is image building part of local.sh? 22:50:22 or is that still going to be done via Redstack 22:50:44 It's not yet part of local.sh. 22:51:36 But if we want to run any real tests involving the instances/guest agent, it will have to be. 22:52:04 So once juice is done with building it into redstack, I will have to integrate it into local.sh. 22:52:13 #info Image Building will be integrated into local.sh 22:52:18 cool 22:52:30 any other items around Image building? 22:52:41 I think we have real mode tests that depend on the image being built and uploaded to glance, correct? 22:52:54 sorry back now 22:53:09 updates were reported earlier 22:53:17 done with support task and getting back to that now 22:53:51 SlickNik: yes, thre are tests that spin up instances via the mysql image 22:54:33 #topic Open Discussion 22:54:39 Ran 112 tests in 1166.799s 22:54:57 cool :) I'm running them now. 22:55:13 is that all of em? 22:55:15 waiting for guest 22:55:21 all blackbox tests 22:55:33 neato. 22:55:51 the longest ones are the ones that wait for the guest to come up? 22:56:01 yup 22:56:03 always 22:56:07 pretty much 22:56:16 makes sense. 22:56:32 because its waiting on nova to "do stuff" 22:56:40 it's good for day dreaming or going to meetings though 22:56:53 lol, or coffee 22:56:53 hah yea 22:57:07 sleeping 22:57:09 heh, I don't know if that's enough time for a meeting, esp1 :P 22:57:24 One thing collectively we could do better is reviews :) 22:57:30 play a game of foosball 22:57:40 we should +1 or +2 thing more frequently 22:58:10 yeah its not that bad when there are only like 5 reviews 22:58:41 yeah foosball would be great. I won the tournament one year when I work at the UW. 22:58:43 anyone have abandon priv? 22:58:55 abandon priv? 22:58:57 https://review.openstack.org/#/c/17133/ 22:59:02 abandon that review 22:59:08 I think if it's your own, you can abandon 22:59:13 kaganos: ^^ 22:59:23 can you click 'abandon'? 22:59:31 i'll try ... 22:59:33 oh, I see. 22:59:43 thanks! 22:59:43 :) 23:00:08 ok, anything else? 23:00:13 right on time.. 23:00:26 nope, all good here. 23:00:37 good to go home... 23:00:39 :) 23:00:50 is hub_cap on vacay? 23:01:20 i dunno where he disappeared to 23:01:28 i thought he was going to be back today 23:01:32 * cp16net shrugs 23:01:47 fair 'nuf 23:01:52 we're done 23:01:54 #endmeeting