15:00:45 #startmeeting 15:00:46 Meeting started Tue Dec 13 15:00:45 2011 UTC. The chair is zul. Information about MeetBot at http://wiki.debian.org/MeetBot. 15:00:47 Useful Commands: #action #agreed #help #info #idea #link #topic. 15:00:56 hi welcome to the nova ec2 api team meeting 15:01:02 the agenda is the following: 15:01:09 1. bugs bugs and more bugs 15:01:11 2. blueprints 15:01:16 3. Openfloor 15:01:26 #topic bugs bugs and more bugs 15:01:40 so the current list of bugs that are tagged with ec2 is at the following: 15:01:50 https://bugs.launchpad.net/nova/+bugs?field.tag=ec2 15:02:19 one that i want to highlight is something that smoser has reported which is the following: 15:02:31 https://bugs.launchpad.net/nova/+bug/903405 15:02:33 Launchpad bug 903405 in nova "ec2 metadata service extremely unreliable" [Undecided,New] 15:02:48 i should comment in that bug. i can't reproduce that. :-( 15:02:54 oh really? 15:03:02 yeah. but i clearly did see it. 15:03:17 a re-isntall of devstack cleared away the issue. 15:03:20 you just pulled in a new a new version or something and it cant be reproduced? 15:03:23 ok 15:03:33 well its something to keep an eye on 15:03:40 i don't think any source actually fixed the issue. 15:03:51 ok 15:04:06 as i used the same source, just deleted all database state and started fresh. 15:04:27 so it could have been a database thing not sure 15:04:52 ok then something to test in the future 15:05:14 smoser: in the testing you did yesterday how was the performance of the metadata server? 15:05:51 i believe bad. 15:05:53 did you percieve it as still slow 15:05:55 but i only ran 2 instances. 15:05:57 and it wasn't good 15:06:05 ok 15:06:07 but i dont think that patch has landed in trunk, right? 15:06:13 i doubt it 15:06:16 right. 15:06:24 so there would be no reason to expect it to not be as bad as ever. 15:06:26 * bcwaldon shows up late 15:06:31 hi bcwaldon 15:06:38 carry on :) 15:07:02 i'm not familiar enough with how nova (bcwaldron probably is) in this regard. 15:07:03 right so i think we might have to through gerrit and look for ec2 specific stuff and help the review process along 15:07:26 but i had a thought that it might make sense to jsut cache the last N results of the metadata query to memory 15:07:30 since the review process can be slow sometimes 15:07:43 and then draw from that in the metadata server code to avoid the DB hit. 15:07:51 smoser: i think that would be a good idea 15:08:23 any other comments 15:08:41 i just dont know where really maintaining that cache would occur. ie, what code is there that i could use to keep such a cache alive. 15:09:13 smoser: do you want to have a look at it and maybe come up with a proposal? 15:09:31 then, each request would still make a round trip to the ec2-api server, but it'd just hit cache. 15:09:32 we only recently added our first caching piece to nova (in the network manager, I think), so this is all new territory 15:09:56 smoser: I'm curious if there's something else slowing you down, I wouldn't imagine a db lookup w/ 2 instances in it could be slow 15:10:20 slow ~ .5 secodns or something for a lookup. 15:10:25 smoser: that's an eternity 15:10:29 right. 15:10:40 it goes to multiple seconds when you get lots of instances 15:10:45 let me check really quick if i have it up 15:11:05 yeah... here 15:11:07 you should ping vishy and see what kind of performance he sees with it 15:11:07 $ time ec2metadata --local-ipv4 15:11:08 10.0.0.2 15:11:08 real 0m 0.35s 15:11:08 user 0m 0.00s 15:11:08 sys 0m 0.00s 15:11:23 thats from an instance, (one of 2 ran in this openstack installation ever). 15:11:33 so .35 seconds for one http request. 15:11:48 yeah, that's way too long 15:12:03 I'm willing to bet there's something else at play here... 15:12:08 that is on an all-in-one system... but still. 15:12:19 are you using trunk? 15:12:33 yes. devstack install yesterday. 15:12:37 ok 15:12:48 this is a known issue. 15:12:59 bug 851159 15:13:00 Launchpad bug 851159 in nova "ec2 metadata service is very slow" [High,In progress] https://launchpad.net/bugs/851159 15:13:07 ok 15:14:29 ok so not wanting to beating a dead horse in the bug list there are some patches attached to the bug reports so it would be a good idea to move some of those patches to gerrit so they can get in 15:14:40 so im going to start doing that this week. 15:14:53 good idea bad idea? 15:15:16 im assuming it is a good idea 15:15:25 so moving on 15:15:32 #topic blueprints 15:16:07 so we have a blueprint assigned to us already: https://blueprints.launchpad.net/nova/+spec/aws-api-validation 15:16:56 the work has already been done in gerrit but the review is getting stale, so i think we might have to contact the author of the patch and drive it through to completion 15:17:11 sounds good? 15:17:13 sounds good. 15:18:36 i want to go through the list of blueprints to see if there are any other ec2 specific blueprints and see where they are and hope to offer some help to the authors as well. 15:18:58 with that i want to open the floor for some discussion 15:19:02 #topic openfloor 15:19:14 anyone have anything to bring up? 15:19:23 ttx: i bet you are lurking around 15:20:15 smoser: do you have anything 15:20:20 Daviey: do you have anything? 15:20:21 busy on a security issue, sorry 15:20:26 no worries 15:20:42 Daviey: seems to be afk 15:20:42 i dont have anything. 15:20:51 other than that i'll say i'm very happy witih devstack at the momeent 15:20:57 ok anyone else? 15:21:01 and the ease in being able to get to a point where you can dtest things. 15:21:07 actually.. i guess i do have something 15:21:12 smoser: cool beans you will have to show me it 15:21:29 one piece of work that is bigger than a bread box that is essential to ec2 api is publish-image 15:21:44 bug 903345 15:21:45 Launchpad bug 903345 in nova "no way to publish-image if nova uses keystone (no EC2_CERT)" [Undecided,New] https://launchpad.net/bugs/903345 15:21:48 i opened yesterday. 15:22:25 yeah i saw this yesterday 15:22:49 its something that is definently need to be fixed otherwise the cloud-publish scripts would be quite useless 15:22:50 that is not just a simple bug fix like many of the other ec2 issues. 15:23:35 i'm happy to add "native glance" support to the cloud-publish tools 15:23:57 but the immediate issue with that is that currently they result in an ami being output. 15:23:58 i think alot of people would like that 15:24:25 but if you use glance upload, then there is no way to link what you get back (a glance uuid) to a ec2 api image. 15:24:32 er... an ami-id 15:24:56 so i can't just swap out the "euca-publish-image" and "euca-bundle-vol" with glance-upload. 15:25:07 riht 15:25:32 its definently something we need to look at 15:25:44 i guess one way to cheat might be to allow nova ec2-api input to take a uuid... 15:26:01 DescribeImages uuid would basically then do the conversion for you. 15:26:47 but then you need to convert it to something euca2ools understands dont you?/ 15:27:03 * zul typing is horrendous today 15:27:21 well, if the DescribeImages returned the same results that it would if you gave it the ami-id, then wed' be fine 15:27:24 glance-publish 15:27:31 ec2-describe-images GLANCE_UUID 15:27:34 parse result 15:27:37 show ami-id 15:27:58 k 15:28:24 anyone else have anything? 15:28:44 if not..... 15:28:47 thanks for coming 15:28:49 #endmeeting