<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 15 (filtered medium)">
<style><!--
/* Font Definitions */
@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:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        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";
        mso-fareast-language:EN-US;}
@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-NZ" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal">I am trying to figure out how to define a VM’s CPU Socket:Core:Threads topology.  For licensing reasons we can’t create VM’s that map each core as a separate socket.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">KVM and libvirt both support the ability to define the socket:core ratio/topology, but I can’t see how to get openstack to request those capabilities.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I've tried the libvirt_cpu_mode and libvirt_cpu_model options, but they only seem to control the cpu's name, and what flags are passed through.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">It seems that if I could only get nova to create the xml file with a topology section eg: <toplogy sockets=’1’ cores=’4’ threads=’1’/> then it would work.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This feature request seems related: <a href="https://bugs.launchpad.net/nova/+bug/1199019">
https://bugs.launchpad.net/nova/+bug/1199019</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">But I’m not sure if it’s possible to define it within nova as yet anyway.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Cheers, Evan.<o:p></o:p></p>
<table class="MsoNormalTable" border="0" cellspacing="5" cellpadding="0" align="left" width="786" style="width:589.8pt">
<tbody>
<tr style="height:17.1pt">
<td width="777" colspan="2" style="width:582.4pt;padding:0cm 0cm 0cm .75pt;height:17.1pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:9.0pt;mso-element:frame;mso-element-frame-hspace:2.25pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:column;mso-height-rule:exactly">
<b><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:black;mso-fareast-language:EN-NZ">Evan Fraser</span></b><b><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:gray;mso-fareast-language:EN-NZ"><o:p></o:p></span></b></p>
</td>
</tr>
<tr style="height:17.1pt">
<td width="777" colspan="2" style="width:582.4pt;padding:0cm 0cm 0cm .75pt;height:17.1pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:9.0pt;mso-element:frame;mso-element-frame-hspace:2.25pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:column;mso-height-rule:exactly">
<b><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:gray;mso-fareast-language:EN-NZ">Trade Me | Storage Engineer</span></b><b><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:black;mso-fareast-language:EN-NZ"><o:p></o:p></span></b></p>
</td>
</tr>
<tr style="height:6.65pt">
<td width="47" style="width:35.6pt;background:#FF9900;padding:0cm 0cm 0cm .75pt;height:6.65pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:9.0pt;mso-element:frame;mso-element-frame-hspace:2.25pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:column;mso-height-rule:exactly">
<b><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:white;mso-fareast-language:EN-NZ">P<o:p></o:p></span></b></p>
</td>
<td width="724" style="width:543.1pt;padding:0cm 0cm 0cm 6.0pt;height:6.65pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:9.0pt;mso-element:frame;mso-element-frame-hspace:2.25pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:column;mso-height-rule:exactly">
<b><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:gray;mso-fareast-language:EN-NZ">+64 4 803 2756</span></b><span style="font-size:12.0pt;mso-fareast-language:EN-NZ"><o:p></o:p></span></p>
</td>
</tr>
<tr style="height:6.65pt">
<td width="47" style="width:35.6pt;background:#FF9900;padding:0cm 0cm 0cm .75pt;height:6.65pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:9.0pt;mso-element:frame;mso-element-frame-hspace:2.25pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:column;mso-height-rule:exactly">
<b><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:white;mso-fareast-language:EN-NZ">M<o:p></o:p></span></b></p>
</td>
<td width="724" style="width:543.1pt;padding:0cm 0cm 0cm 6.0pt;height:6.65pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:9.0pt;mso-element:frame;mso-element-frame-hspace:2.25pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:column;mso-height-rule:exactly">
<b><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:gray;mso-fareast-language:EN-NZ">+64 22 087 4032</span></b><span style="font-size:12.0pt;mso-fareast-language:EN-NZ"><o:p></o:p></span></p>
</td>
</tr>
<tr style="height:6.65pt">
<td width="47" style="width:35.6pt;background:#FF9900;padding:0cm 0cm 0cm .75pt;height:6.65pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:9.0pt;mso-element:frame;mso-element-frame-hspace:2.25pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:column;mso-height-rule:exactly">
<b><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:white;mso-fareast-language:EN-NZ">E  
<o:p></o:p></span></b></p>
</td>
<td width="724" style="width:543.1pt;padding:0cm 0cm 0cm 6.0pt;height:6.65pt">
<p class="MsoNormal" style="line-height:9.0pt;mso-element:frame;mso-element-frame-hspace:2.25pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:column;mso-height-rule:exactly">
<u><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:blue;mso-fareast-language:EN-NZ"><a href="mailto:evan.fraser@trademe.co.nz"><span style="color:blue">evan.fraser@trademe.co.nz</span></a><o:p></o:p></span></u></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="mso-fareast-language:EN-NZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>