<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><title>Re: [Openstack] EC2 compat.</title><style><!--
/* Font Definitions */
@font-face
{font-family:PMingLiU;
panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"\@PMingLiU";
panose-1:2 2 5 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I got asked by E2C support by RealStatus who have a cool 3D modeling tool that works against EC2 and would love better APIs to make that work well with OpenStack:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><a href="http://www.youtube.com/watch?feature=player_embedded&v=SOkWRxDwTNI">http://www.youtube.com/watch?feature=player_embedded&v=SOkWRxDwTNI</a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hopefully I should be able to lend a hand with some of this EC2 work. See you all at the summit session on EC2!<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Cheers,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>John<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> openstack-bounces+john.garbutt=eu.citrix.com@lists.launchpad.net [mailto:openstack-bounces+john.garbutt=eu.citrix.com@lists.launchpad.net] <b>On Behalf Of </b>Joshua Harlow<br><b>Sent:</b> 11 April 2012 10:42<br><b>To:</b> Duncan McGreggor<br><b>Cc:</b> openstack<br><b>Subject:</b> Re: [Openstack] EC2 compat.<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Sweet,<br><br>Ideas and thoughts are welcome.<br><br>There is a lot of cleanup/testing/validation that needs to happen, but someones got to do it :-P<br><br>On 4/11/12 8:06 AM, "Duncan McGreggor" <<a href="duncan@dreamhost.com">duncan@dreamhost.com</a>> wrote:</span><o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Lurking on the thread, but love what I'm seeing :-)<br><br>Nice work, guys!<br><br>d<br><br>On Tue, Apr 10, 2012 at 10:43 PM, Joshua Harlow <<a href="harlowja@yahoo-inc.com">harlowja@yahoo-inc.com</a>> wrote:<br>> Very cool, glad to see that is being worked on, it looks pretty similar to<br>> what I was thinking of.<br>> I’m all for open dialogues.<br>> In fact.<br>> I was thinking of what is needed to make this work better.<br>><br>> Open questions/thoughts/brainstorm (at least that I was thinking of):<br>><br>> How strict do we want to be with the XSD? (there aren’t a lot of tolerant<br>> xsd validators out there, which sux)<br>><br>> Should we use something like jaxb for python, that should be more tolerant<br>> (unsure as what the best solution here is)<br>><br>> How do we continuously measure the compatibility level?<br>><br>> # of test cases passing, # of xml differences, # of xsd issues<br>><br>> Should we use boto as a intermediate layer? (it is very tolerant)<br>><br>> From what I understand there XML code is basically selecting certain<br>> attributes out of the XML using SAX, then adding any unknown attributes<br>> dynamically on to a object<br>><br>> How do we make it repeatable?<br>><br>> For a given test X, if there is a problem with test X and its response Y,<br>> how do we easily recreate that test X and response Y (so that dev’s can fix<br>> it)?<br>> Do we have a “golden set” of responses that when test X is called it should<br>> match golden response Z (otherwise there is an issue)<br>><br>> This is where the mock server maybe useful, in that we can point test X at<br>> the mock server; get the expected responses Z,<br>> Then point the test X at the real openstack server and get responses Y that<br>> should match Z (exactly, minus the request id?)<br>> EC2 seems to also already have some type of mocking, but I haven’t used<br>> it... (<a href="http://bit.ly/HJkdh7">http://bit.ly/HJkdh7</a>)<br>><br>><br>> I like how there is a tests folder that u guys have, that seems like it<br>> could be a good location for the “content checking tests” which actually<br>> require code/logic to dig into the XML response. It might make sense to use<br>> another tool to verify the XSD’s (how tolerant we want to be is an open<br>> question) and another tool that will show u the xml differences (some of<br>> which might be ok, some not). I have used in java xmlunit to do those kind<br>> of xml difference comparisons, it provides some nifty ways of ignoring<br>> certain differences and such. If say we had 3 levels of tests I think that<br>> would make sense (starting say from XSD validation, to difference<br>> comparisons to content comparisons), and would make a hell of a EC2 cool<br>> validation toolkit.<br>><br>> The other usage of the site I was making was to list all the known error<br>> conditions, and any other incompatibilities that I am noticing with EC2<br>> (error conditions, features, parameters...). That seems really needed to<br>> allow for anyone to actually use the EC2 apis and handle all the cases which<br>> could be thrown at them.<br>><br>> -Josh<br>><br>><br>><br>><br>> On 4/10/12 7:02 PM, "Eric Windisch" <<a href="eric@cloudscaling.com">eric@cloudscaling.com</a>> wrote:<br>><br>><br>> Josh, as a follow-up, it would be good to keep an open dialogue on this.<br>> When/if you get a chance to review the aws-compat branch, I'd like to get<br>> your feedback as well.<br>><br>> PS I meant to write "assess", not "access". I only noticed when I read back<br>> my email. I'm too pedantic to not correct myself.<br>><br>><br>><br>> _______________________________________________<br>> Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>> Post to : <a href="openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>> Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>> More help : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br>></span><o:p></o:p></p></div></body></html>