<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: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 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-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-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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">Hi All,<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"> I am trying to get trusted compute pools working in my installation of open stack Folsom but so far am unable to get it to work.  Currently when I spawn a new instance I don't see any interaction with the attestation server and the instance
 spawns just fine on a untrusted host.  I have followed all the documentation I could find on TCP (<a href="http://wiki.openstack.org/TrustedComputingPools" target="_blank">http://wiki.openstack.org/TrustedComputingPools</a> ,
<a href="https://github.com/openstack/nova/blob/stable/folsom/nova/scheduler/filters/trusted_filter.py" target="_blank">
https://github.com/openstack/nova/blob/stable/folsom/nova/scheduler/filters/trusted_filter.py</a> ) but am still having no luck so I am hoping I missed something while setting it up.  Hopefully someone can point out what I am doing wrong.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Steps to Setup TCP:<o:p></o:p></p>
<p class="MsoNormal">1.  Set the following value in nova.conf<o:p></o:p></p>
<p class="MsoNormal">      scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler<o:p></o:p></p>
<p class="MsoNormal"> 2. Add "trusted_computing" section to nova.conf<o:p></o:p></p>
<p class="MsoNormal">      [trusted_computing]<br>
      server=10.x.x.x<br>
      port=8181<br>
      server_ca_file=/etc/nova/ssl.10.1.71.206.crt<br>
      api_url=/AttestationService/resources/PollHosts<br>
      auth_blob=i-am-openstack     <o:p></o:p></p>
<p class="MsoNormal">3.  Add the "trusted" requirement to an existing flavor by running<o:p></o:p></p>
<p class="MsoNormal">     nova-manage instance_type set_key m1.tiny trust:trusted_host trusted<o:p></o:p></p>
<p class="MsoNormal">4.  Restart nova-compute and nova-scheduler service<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">At this point I test it by going to openstack page -> projects -> instances and launching a new instance of m1.tiny.   At this point I should see a connection attempt on the attestion server (which I don't) and then the instance fail to
 launch (which it doesn't) since the host is untrusted.  My version of open stack is Folsom and nova is 2012.2.  <o:p></o:p></p>
<p class="MsoNormal"> Hopefully someone can point out my mistake or what I am missing.<o:p></o:p></p>
<p class="MsoNormal"><span style="color:#888888"> </span><span style="color:#888888"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#888888">-Stewart</span><span style="color:#888888"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>