<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=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 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:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@DengXian";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
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;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.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;}
/* List Definitions */
@list l0
{mso-list-id:1626039629;
mso-list-template-ids:-232371586;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:72.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:"Courier New";
mso-bidi-font-family:"Times New Roman";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:108.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:144.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:180.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:216.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:252.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:288.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:324.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1
{mso-list-id:1823505438;
mso-list-type:hybrid;
mso-list-template-ids:-1709701372 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l1:level1
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l1:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l1:level3
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l1:level4
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l1:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l1:level6
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l1:level7
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l1:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l1:level9
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></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="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Thanks Greg for sharing the setup procedures!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Well, I noticed “system host-if-modify” was changed, and we need a bit help here.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">In the past, it seemed to directly support a “-nt” (network type) input, with which “control” type can be specified.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">But currently “-nt” doesn’t exist anymore, and instead, another option “--networks <network name or id>” is provided.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">It implies before running “system host-if-modify”, we need to use “system network-add” to create a network with a particular type:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><network type> Type of network [REQUIRED]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">After looking through the code, I saw the network types are defined in “sysinv/sysinv/sysinv/sysinv/common/constants.py”:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><i><span style="font-size:11.0pt"># Interface definitions<o:p></o:p></span></i></p>
<p class="MsoNormal" style="margin-left:36.0pt"><i><span style="font-size:11.0pt">NETWORK_TYPE_NONE = 'none'<o:p></o:p></span></i></p>
<p class="MsoNormal" style="margin-left:36.0pt"><i><span style="font-size:11.0pt">NETWORK_TYPE_INFRA = 'infra'<o:p></o:p></span></i></p>
<p class="MsoNormal" style="margin-left:36.0pt"><i><span style="font-size:11.0pt">NETWORK_TYPE_MGMT = 'mgmt'<o:p></o:p></span></i></p>
<p class="MsoNormal" style="margin-left:36.0pt"><i><span style="font-size:11.0pt">NETWORK_TYPE_OAM = 'oam'<o:p></o:p></span></i></p>
<p class="MsoNormal" style="margin-left:36.0pt"><i><span style="font-size:11.0pt">NETWORK_TYPE_BM = 'bm'<o:p></o:p></span></i></p>
<p class="MsoNormal" style="margin-left:36.0pt"><i><span style="font-size:11.0pt">NETWORK_TYPE_MULTICAST = 'multicast'<o:p></o:p></span></i></p>
<p class="MsoNormal" style="margin-left:36.0pt"><i><span style="font-size:11.0pt">NETWORK_TYPE_DATA = 'data'<o:p></o:p></span></i></p>
<p class="MsoNormal" style="margin-left:36.0pt"><i><span style="font-size:11.0pt">NETWORK_TYPE_SYSTEM_CONTROLLER = 'system-controller'<o:p></o:p></span></i></p>
<p class="MsoNormal" style="margin-left:36.0pt"><i><span style="font-size:11.0pt"><o:p> </o:p></span></i></p>
<p class="MsoNormal" style="margin-left:36.0pt"><i><span style="font-size:11.0pt">NETWORK_TYPE_PCI_PASSTHROUGH = 'pci-passthrough'<o:p></o:p></span></i></p>
<p class="MsoNormal" style="margin-left:36.0pt"><i><span style="font-size:11.0pt">NETWORK_TYPE_PCI_SRIOV = 'pci-sriov'<o:p></o:p></span></i></p>
<p class="MsoNormal" style="margin-left:36.0pt"><i><span style="font-size:11.0pt">NETWORK_TYPE_PXEBOOT = 'pxeboot'<o:p></o:p></span></i></p>
<p class="MsoNormal" style="margin-left:36.0pt"><i><span style="font-size:11.0pt"><o:p> </o:p></span></i></p>
<p class="MsoNormal" style="margin-left:36.0pt"><i><span style="font-size:11.0pt">PLATFORM_NETWORK_TYPES = [NETWORK_TYPE_PXEBOOT,<o:p></o:p></span></i></p>
<p class="MsoNormal" style="margin-left:36.0pt"><i><span style="font-size:11.0pt"> NETWORK_TYPE_MGMT,<o:p></o:p></span></i></p>
<p class="MsoNormal" style="margin-left:36.0pt"><i><span style="font-size:11.0pt"> NETWORK_TYPE_INFRA,<o:p></o:p></span></i></p>
<p class="MsoNormal" style="margin-left:36.0pt"><i><span style="font-size:11.0pt"> NETWORK_TYPE_OAM]<o:p></o:p></span></i></p>
<p class="MsoNormal" style="margin-left:36.0pt"><i><span style="font-size:11.0pt"><o:p> </o:p></span></i></p>
<p class="MsoNormal" style="margin-left:36.0pt"><i><span style="font-size:11.0pt">PCI_NETWORK_TYPES = [NETWORK_TYPE_PCI_PASSTHROUGH,<o:p></o:p></span></i></p>
<p class="MsoNormal" style="margin-left:36.0pt"><i><span style="font-size:11.0pt"> NETWORK_TYPE_PCI_SRIOV]<o:p></o:p></span></i></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">The at this point, my question is: for ironic network, *<b>which network type should we set as the replacement of the previous “control” type??</b>*<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">=======================================================================<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Hi <b>@Teresa</b>, according to git log, I noticed you handled following changes mostly.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">So, highly appreciate if you could provide some supports here. Thanks in advance!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Yong<o:p></o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="color:black">From: </span></b><span style="color:black">"Waines, Greg" <Greg.Waines@windriver.com><br>
<b>Date: </b>Tuesday, 20 November 2018 at 1:58 AM<br>
<b>To: </b>"Hu, Yong" <yong.hu@intel.com>, "starlingx-discuss@lists.starlingx.io" <starlingx-discuss@lists.starlingx.io><br>
<b>Subject: </b>Re: [Starlingx-discuss] [Ironic] deploy bare metal by Ironic<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><a name="_MailOriginalBody"><span style="font-size:11.0pt">Yes StarlingX does support Ironic.</span><o:p></o:p></a></p>
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt"> </span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt">Some quick notes on its usage:</span><o:p></o:p></span></p>
<ul style="margin-top:0cm" type="disc">
<li class="MsoNormal" style="mso-list:l1 level1 lfo3"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt">It is currently only supported on StarlingX Standard Configurations</span></span><span style="mso-bookmark:_MailOriginalBody">
<o:p></o:p></span>
<ul style="margin-top:0cm" type="circle">
<li class="MsoNormal" style="mso-list:l1 level2 lfo3"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt">i.e. NOT on All-In-One Simplex or Duplex</span></span><span style="mso-bookmark:_MailOriginalBody"><o:p></o:p></span></li></ul>
</li><li class="MsoNormal" style="mso-list:l1 level1 lfo3"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt">An additional interface, of network-type ‘control’, must be added to the two Controllers
</span></span><span style="mso-bookmark:_MailOriginalBody"><o:p></o:p></span>
<ul style="margin-top:0cm" type="circle">
<li class="MsoNormal" style="mso-list:l1 level2 lfo3"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt">These interfaces are connected to the ‘ironic provisioning tenant network’,
</span></span><span style="mso-bookmark:_MailOriginalBody"><o:p></o:p></span>
<ul style="margin-top:0cm" type="square">
<li class="MsoNormal" style="mso-list:l1 level3 lfo3"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt">... used for network-booting the ironic nodes</span></span><span style="mso-bookmark:_MailOriginalBody"><o:p></o:p></span></li></ul>
</li><li class="MsoNormal" style="mso-list:l1 level2 lfo3"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt">These interfaces are configured with an IP Address from the subnet of the ‘ironic provisioning network’,</span></span><span style="mso-bookmark:_MailOriginalBody"><o:p></o:p></span></li><li class="MsoNormal" style="mso-list:l1 level2 lfo3"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt">Typically the ironic provisioning network is on a flat provider network ... but does not have to be</span></span><span style="mso-bookmark:_MailOriginalBody"><o:p></o:p></span></li></ul>
</li><li class="MsoNormal" style="mso-list:l1 level1 lfo3"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt">At least one compute node must also be attached to the ‘ironic provisioning network’</span></span><span style="mso-bookmark:_MailOriginalBody"><o:p></o:p></span></li><li class="MsoNormal" style="mso-list:l1 level1 lfo3"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt">The ironic service is optional in StarlingX Deployments</span></span><span style="mso-bookmark:_MailOriginalBody"><o:p></o:p></span></li><li class="MsoNormal" style="mso-list:l1 level1 lfo3"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt">Before enabling it you must first set a number of ironic ‘service parameters’<br>
i.e.</span></span><span style="mso-bookmark:_MailOriginalBody"> <o:p></o:p></span>
<ul style="margin-top:0cm" type="circle">
<li class="MsoNormal" style="mso-list:l1 level2 lfo3"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt">system service-parameter-add ironic neutron provisioning_network=<IRONIC_PROVISIONING_NET_UUID></span></span><span style="mso-bookmark:_MailOriginalBody"><o:p></o:p></span></li><li class="MsoNormal" style="mso-list:l1 level2 lfo3"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt">system service-parameter-add ironic pxe tftp_server=<TFTP_SERVER_IP></span></span><span style="mso-bookmark:_MailOriginalBody">
<o:p></o:p></span>
<ul style="margin-top:0cm" type="square">
<li class="MsoNormal" style="mso-list:l1 level3 lfo3"><span style="mso-bookmark:_MailOriginalBody"><i><span style="font-size:11.0pt">NOTE: this is the floating IP of the Ironic Conductor / TFTP Server on the ironic provisioning network</span></i></span><span style="mso-bookmark:_MailOriginalBody"><o:p></o:p></span></li></ul>
</li><li class="MsoNormal" style="mso-list:l1 level2 lfo3"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt">system service-parameter-add ironic pxe netmask=24</span></span><span style="mso-bookmark:_MailOriginalBody"><o:p></o:p></span></li><li class="MsoNormal" style="mso-list:l1 level2 lfo3"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt">system service-parameter-add ironic pxe controller_0_if=<CONTROLLER_0_INTERFACE></span></span><span style="mso-bookmark:_MailOriginalBody"><o:p></o:p></span></li><li class="MsoNormal" style="mso-list:l1 level2 lfo3"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt">system service-parameter-add ironic pxe controller_1_if=<CONTROLLER_1_INTERFACE></span></span><span style="mso-bookmark:_MailOriginalBody"><o:p></o:p></span></li><li class="MsoNormal" style="mso-list:l1 level2 lfo3"><span style="mso-bookmark:_MailOriginalBody"><i><span style="font-size:11.0pt">and then</span></i></span><span style="mso-bookmark:_MailOriginalBody"><o:p></o:p></span></li><li class="MsoNormal" style="mso-list:l1 level2 lfo3"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt">system service-enable ironic</span></span><span style="mso-bookmark:_MailOriginalBody"><o:p></o:p></span></li></ul>
</li></ul>
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt"> </span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt">... after that, create ironic nodes and boot Baremetal Instances on those nodes as described in the Ironic Documentation.</span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt"> </span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt">Greg.</span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt"> </span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt"> </span><o:p></o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><b><span style="color:black">From:
</span></b><span style="color:black">"Hu, Yong" <yong.hu@intel.com><br>
<b>Date: </b>Tuesday, November 13, 2018 at 8:48 PM<br>
<b>To: </b>"starlingx-discuss@lists.starlingx.io" <starlingx-discuss@lists.starlingx.io><br>
<b>Subject: </b>[Starlingx-discuss] [Ironic] deploy bare metal by Ironic</span><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt"> </span><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt">One customer asked how StarlingX supports bare metal support by Ironic.
</span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt">And they mentioned Titanium Cloud used to support it well.</span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt"> </span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt">Anyone has the experience to deploy bare metal system by Ironic on StarlingX?</span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt">Suggests and feedbacks are much appreciated!</span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt"> </span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt"> </span><o:p></o:p></span></p>
</div>
</body>
</html>