<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:"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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        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;}
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="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">All-<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><br>
We are new to using OpenStack and are testing out Kolla-ansible with hopes of using Ironic as a deployment tool.  Our issue is we can’t use the openstack baremetal command, it’s not found after deployment.  Our current test environment is built using Train
 on CentOS 7.  And all other basic OpenStack functionality seems to be working with our Kolla install (nova, glance, horizon, etc).<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">We followed these docs, </span>
<a href="https://docs.openstack.org/kolla-ansible/train/reference/bare-metal/ironic-guide.html">https://docs.openstack.org/kolla-ansible/train/reference/bare-metal/ironic-guide.html</a>
<span style="font-size:11.0pt">, but when we get to running any “openstack baremetal” commands we don’t seem to have the baremetal commands available in openstack.<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">Globals.yml lines that should be relavent:</span><o:p></o:p></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">enable_horizon_<b>ironic</b>: "{{ enable_<b>ironic</b> | bool }}"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">enable_<b>ironic</b>: "yes"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">enable_<b>ironic</b>_ipxe: "yes"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">enable_<b>ironic</b>_neutron_agent: "{{ enable_neutron | bool and enable_<b>ironic</b> | bool }}"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">enable_<b>ironic</b>_pxe_uefi: "no"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">#enable_iscsid: "{{ (enable_cinder | bool and enable_cinder_backend_iscsi | bool) or enable_<b>ironic</b> | bool }}"<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt">ironic</span></b><span style="font-size:11.0pt">_dnsmasq_interface: "em1"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># The following value must be set when enabling
<b>ironic</b>,<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt">ironic</span></b><span style="font-size:11.0pt">_dnsmasq_dhcp_range: "192.168.2.230,192.168.2.239"<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt">ironic</span></b><span style="font-size:11.0pt">_dnsmasq_boot_file: "pxelinux.0"<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt">ironic</span></b><span style="font-size:11.0pt">_cleaning_network: "demo-net"<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">Ironic is listed as an installed service, but you can see the baremetal commands are not found:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">root@orc-os5:~## openstack service list<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">| ID                               | Name             | Type                    |<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">| 0e5119acbf384714ab11520fadce36bb | nova_legacy      | compute_legacy          |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">| 2ed83015047249f38b782901e03bcfc1 | ironic-inspector | baremetal-introspection |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">| 5d7aabf15bdc415387fac54fa1ca21df | ironic           | baremetal               |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">| 6d05cdce019347e9940389abed959ffb | neutron          | network                 |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">| 7d9485969e504b2e90273af75e9b1713 | cinderv3         | volumev3                |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">| a11dc04e83ed4d9ba65474b9de947d1b | keystone         | identity                |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">| ad0c2db47b414b34b86a5f6a5aca597c | glance           | image                   |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">| dcbbc90813714c989b82bece1c0d9d9f | nova             | compute                 |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">| de0ee6b55486495296516e07d2e9e97c | heat             | orchestration           |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">| df605d671d88496d91530fbc01573589 | cinderv2         | volumev2                |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">| e211294ca78a418ea34d9c29d86b05f1 | placement        | placement               |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">| f62ba90bc0b94cb9b3d573605f800a1f | heat-cfn         | cloudformation          |<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">root@orc-os5:~## openstack baremetal<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">openstack: 'baremetal' is not an openstack command. See 'openstack --help'.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Did you mean one of these?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">  credential create<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">  credential delete<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">  credential list<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">  credential set<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">  credential show<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">Is there anything else that needs configured to activate ironic?<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">Thanks in advance.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Tom<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
</body>
</html>