16:02:52 #startmeeting 16:02:53 Meeting started Wed Jun 13 16:02:52 2012 UTC. The chair is jgriffith. Information about MeetBot at http://wiki.debian.org/MeetBot. 16:02:54 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 16:03:07 sleepsonthefloor: Hey 16:03:36 Ran into git troubles trying to get my stuff pushed to your Drafts :( 16:03:41 rebase problems 16:04:02 Think I've got most of it in now and will finish after the meeting 16:04:35 rnirmal: You here? 16:05:02 yeah sort of :) 16:05:11 probably just listening in 16:05:23 rnirmal: whatever else you're doing can't possibly be as interesting or important :) 16:05:52 yeah you bet 16:06:07 alrighty... likely have some stragglers as usual but it's 5 after so I'm going to run through status updates 16:06:17 #topic cinder-status 16:06:32 Good progress over the last week 16:06:42 hi 16:06:54 sleepsonthefloor finished up a lot of work to get Keystone auth working 16:07:08 also misc extensions for attach/detach etc 16:07:16 awesome 16:07:18 devstack is also coming along 16:07:36 I finished up some euca work yesterday 16:07:53 I'll be adding it to the review drafts that sleepsonthefloor has already created 16:08:00 after today you should be able to: 16:08:20 1. patch a devstack install (with the review drafts) 16:08:35 2. run nova using cinder as the volume service 16:08:49 3. run euca tools having them use cinder volume service 16:09:15 If folks have time this week it would be great to get some eyes/testing on this 16:09:33 There are some outstanding items I'll cover 16:09:54 I'm planning to send an update email to the OS ML later today 16:10:07 This will include some instructions on how to get a devstack env setup and running 16:10:14 List all the patches needed etc 16:10:31 Any folks interested in playing with it this week? 16:10:54 yes, I'd like too 16:11:08 ... but I haven't made the time yet :( 16:11:23 #action clayg spin up devstack/cinder and give feedback 16:11:29 Same 16:11:32 burn! :) 16:11:41 the notes would be really helpful.. I can't promise but will try 16:11:49 #action DuncanT spin up devstack/cinder and give feedback 16:12:04 Ok, so DuncanT and clayg you're on the hook to at least try it out this week at some point 16:12:07 I'll help DuncanT as well 16:12:20 I'll get the email with some instructions out later today/tonight 16:12:26 (Liam is a collegue of mine on the HP block store team) 16:12:40 thx for the intro duncan 16:12:49 liamk: How ya been? Not sure but I think we worked together briefly on a Linux driver? 16:13:15 jgriffith: will do 16:13:25 clayg: excellent! 16:13:27 Ah yes - wouldn't have made the link but yeah right I think 16:13:38 liamk: :) Small world! 16:13:44 indeed! 16:14:00 alrighty... any questions about status? Anybody want some more detail? 16:14:33 jgriffith: sorry I missed the start of the meeting - you got euca working with cinder? 16:14:49 clayg: Yes for the most part 16:14:59 jgriffith: awesome 16:15:00 create/describe volumes/snapshots 16:15:15 There's a problem I ran into this morning with delete that I have to look at 16:15:28 Also need to look at attach/detach but I think we're in pretty good shape 16:15:43 Also fixed an issue I introduced in the uuid conversion: 16:16:05 If you created a volume with cinderclient/novaclient, you wouldn't be able to find it with euca-descrive 16:16:10 describe!! 16:16:28 Anyway, that's set and should be good 16:17:03 If there's nothing specific on what we CAN do today, I'll go ahead and open it up to what's planned the rest of this week? 16:17:30 #topic Plans for this week 16:17:48 Unit tests! 16:18:33 We've got a number of patches in gerrit that are pretty close to ready with exception of unit tests 16:19:05 sleepsonthefloor is working on some of those, anybody with spare cycles/time it would be great if we could get some more folks writing tests 16:19:38 I'm planning to write some devstack exercises to use euca (surprisingly nothing there currently) 16:19:45 WRT volumes tha tis 16:20:00 We've actually got some of those 16:20:13 jgriffith - I added tests to most of the patches. nova is the one most lacking. 16:20:16 Can publish a tree and let you have a look 16:20:26 DuncanT: great, thanks! 16:20:34 sleepsonthefloor: awesome 16:20:47 The nova ones are the ones I started last week and will be interesting 16:21:07 I talked with clayg about this, but maybe others have input/suggestions 16:21:24 I created a "fake" volume api to use for tests 16:21:46 I had "hoped" to just set a flag to tell nova to use my fake for all of the unit tests 16:22:16 The idea was that there would be something global for everybody to use writing tests going forward 16:22:34 Also the hope was to be able to leverage as much of the existing tests as possible with minor tweaking 16:23:02 Any thoughts on this approach? 16:23:33 I can tell you some of the problems I've had with it.... maybe somebody has ideas 16:23:41 jgriffith, do the original tests pass? 16:24:04 Original tests pass if we don't change the volume service 16:24:27 So all of the original tests for the most part are using their own fakes and direct DB calls 16:24:29 I assume your 'fake' driver will have to maintain enough state to spot errors like detaching something not attached etc? 16:24:41 DuncanT: So there's the first problem 16:24:52 Yes, that was how I set it up... but! 16:25:03 But for example: 16:25:22 We have ec2/api tests that would call the api set stuff up etc etc 16:25:54 Those tests then call ec2/cloud.py (for example) which instantiates a new instance of the API 16:26:11 So there's no shared state between them which breaks the test model I had in mind 16:26:27 Unless I do some temp DB specifically for the tests to share? 16:27:12 Which makes me understand why folks did a lot of Stubs and Fakes in the current test suite :) 16:27:54 Anyway... that's the challenge I ran in to 16:28:10 I've not fully thought it out, but can't you just keep the state in a driver module variable (singleton pattern style) and add a call to reset it where necessary? 16:28:39 singleton is what we would want.... 16:28:42 It isn't destroying the whole python vm each test, is it? 16:28:57 DuncanT: Oh.. no, that's not what I meant 16:29:33 DuncanT: Singleton pattern would work, but would have to figure out how to tweak volume/__init__ etc 16:30:04 big thing is I don't even know if this is the best approach? 16:30:12 It seemed good to me... but 16:30:27 was interested in other views? 16:30:29 I think that the current approach to stubbing misses many validation opportunities 16:31:09 So I'd like to see a smarter fake driver instead. I can definitely see real value to it. 16:31:19 DuncanT: The thing is we're still kinda stubbing, we just have a framework to use that makes it a bit cleaner and more robust IMO 16:31:41 We're just stubbing via abstraction :) 16:32:05 Yeah, but the stub is less stubby and can do a bit more validation if it is common and getting reused 16:32:12 hehe exactly 16:32:28 makes tests MUCH more straight forward 16:32:47 FYI I'll want to do the same thing in Cinder itself at some point as well 16:33:07 Sounds like an excellent idea 16:33:25 Ok, I'll stick with the plan unless somebody thinks of something better 16:34:05 If anybody sees a good way to make a singleton pattern of a fake API served up from volume/__init__.py let me know 16:34:51 Ok, anything on plans for the week? 16:35:04 More importantly anybody have something they want to tackle this week? 16:35:54 booooo 16:35:58 :) 16:36:29 #topic F2 items 16:36:58 So remember we plan to have functional equivalent of nova-volume ready by F2 16:37:06 I think we're on track for that still 16:38:15 https://blueprints.launchpad.net/cinder/+spec/python-cinder-client 16:38:47 https://blueprints.launchpad.net/nova/+spec/extract-nova-volumes 16:39:15 These two pretty much encompass the majority of it 16:39:32 Both are being worked on and moving along well 16:40:24 Any thoughts/questions about F2? 16:41:35 #topic open-discussion 16:41:43 Alright, anybody have anything? 16:42:21 jmckenty: Just saw your email... sounds good. 16:42:41 thanks 16:42:50 I'm just a little confused about folks that have "begun" the blueprint process and working on things? 16:42:53 there were some major storage stakeholders who I knew were interested, 16:42:57 but are VERY late to the table 16:43:01 Haven't heard/seen any of this since the summit 16:43:04 I know 16:43:13 they don't really know how to get involved in a public discussion yet 16:43:15 I yelled at them 16:43:18 :) 16:43:23 and basically said if they didn't join in Cinder this week, 16:43:24 cool 16:43:28 they were never going to be a part of openstack 16:43:39 And considering they're paying a lot of money to be in the foundation, 16:43:43 they ought to get involved 16:44:00 jmckenty: Great, thanks for the help! 16:44:14 Ok, if nobody has anything I'm going to wrap it up 16:44:17 we aim to please 16:44:32 I'm always around so if you think of something, have questions grab me on IRC 16:44:49 Keep an eye out for reviews to start hitting 16:45:00 and I'll get the status email out shortly 16:45:02 thanks jgriffith 16:45:05 jgriffith, hi, I'd like to help with cinder development. 16:45:16 jgriffith, didn't know where to start 16:45:26 winston-d: Great! Perhaps we can chat after the meeting? 16:45:33 jgriffith, sure. 16:45:38 Excellent 16:46:05 Alrighty... winston-d I'll ping you in a few minutes 16:46:19 everyone else, thanks for showing up this week 16:46:28 Keep an eye out for reviews to start hitting 16:46:36 Thanks, and see you next week! 16:46:41 #endmeeting