<div dir="ltr"><div>Hello,</div><div><br></div><div>I am using Ironic for deploying baremetal to my openstack environment. Using Liberty version on Ubuntu 14.04. I followed Ironic documentation  to deploy x86 servers using pxe_ipmitool. Now I have a working Ironic setup for PXE boot. I also want to add my test board running ARM 64 bit CPU to ironic deployment. I would like to try using fake_pxe drivers because my board don't support IPMI or anything else for out of band communication. So idea was to do deployment without power management, eventually fake_pxe is the obvious choice. But I have problem in updating the Ironic node which I will explain below.</div><div><br></div><div>I created ironic node using fake_pxe driver. Added all necessary parameters using node-update command. Node-show command output is given below for reference</div><div><br></div><div><br></div>ironic node-show orange-box<br>+------------------------+-------------------------------------------------------------------------+<br>| Property               | Value                                                                   |<br>+------------------------+-------------------------------------------------------------------------+<br>| chassis_uuid           |                                                                         |<br>| clean_step             | {}                                                                      |<br>| console_enabled        | False                                                                   |<br>| created_at             | 2016-03-29T12:42:53.500572+00:00                                        |<br>| driver                 | fake_pxe                                                                |<br>| driver_info            | {u'deploy_ramdisk': u'd72d31de-8f9c-497c-8c51-87a0610f905b',            |<br>|                        | u'deploy_kernel': u'01f16454-ef4c-44d9-ae0e-03d4286aed0a'}              |<br>| driver_internal_info   | {}                                                                      |<br>| extra                  | {}                                                                      |<br>| inspection_finished_at | None                                                                    |<br>| inspection_started_at  | None                                                                    |<br>| instance_info          | {u'root_gb': 40, u'deploy_ramdisk': u'cdd02e76-13aa-4f4e-               |<br>|                        | ba32-362119c98fa6', u'deploy_kernel': u'e1986cab-                       |<br>|                        | 9e55-4b9a-a094-2eda32361521', u'image_source': u'cdd02e76-13aa-4f4e-    |<br>|                        | ba32-362119c98fa6'}                                                     |<br>| instance_uuid          | None                                                                    |<br>| last_error             | None                                                                    |<br>| maintenance            | False                                                                   |<br>| maintenance_reason     | None                                                                    |<br>| name                   | orange-box                                                              |<br>| power_state            | None                                                                    |<br>| properties             | {u'memory_mb': 2048, u'cpu_arch': u'aarch64', u'local_gb': 40, u'cpus': |<br>|                        | 2}                                                                      |<br>| provision_state        | available                                                               |<br>| provision_updated_at   | None                                                                    |<br>| reservation            | None                                                                    |<br>| target_power_state     | None                                                                    |<br>| target_provision_state | None                                                                    |<br>| updated_at             | 2016-03-29T13:45:07.439046+00:00                                        |<br>| uuid                   | 8146c660-b00f-4cec-9357-a4eab714e5fd                                    |<br>+------------------------+-------------------------------------------------------------------------+<div><br></div><div>From nova-compute log (with debugging enabled)</div><div><br></div><div><br></div><div><div>2016-03-29 15:44:02.134 19124 DEBUG nova.virt.ironic.driver [req-fbc8fc44-a3a4-43b0-bd82-cf077007320e - - - - -] Returning 1 available node(s) get_available_nodes /usr/lib/python2.7/dist-packages/nova/virt/ironic/driver.py:596</div><div>2016-03-29 15:44:02.135 19124 INFO nova.compute.resource_tracker [req-fbc8fc44-a3a4-43b0-bd82-cf077007320e - - - - -] Auditing locally available compute resources for node 8146c660-b00f-4cec-9357-a4eab714e5fd</div><div>2016-03-29 15:44:02.135 19124 DEBUG nova.virt.ironic.driver [req-fbc8fc44-a3a4-43b0-bd82-cf077007320e - - - - -] Using cache for node 8146c660-b00f-4cec-9357-a4eab714e5fd, age: 0.00126004219055 get_available_resource /usr/lib/python2.7/dist-packages/nova/virt/ironic/driver.py:621</div><div>2016-03-29 15:44:02.136 19124 DEBUG nova.compute.resource_tracker [req-fbc8fc44-a3a4-43b0-bd82-cf077007320e - - - - -]<font color="#ff0000"> <b>Hypervisor: VCPU information unavailable</b> </font>_report_hypervisor_resource_view /usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py:591</div><div>2016-03-29 15:44:02.137 19124 DEBUG nova.compute.resource_tracker [req-fbc8fc44-a3a4-43b0-bd82-cf077007320e - - - - -] Hypervisor/Node resource view: name=8146c660-b00f-4cec-9357-a4eab714e5fd <b><font color="#ff0000">free_ram=0MB free_disk=0GB free_vcpus=unknown</font></b> pci_devices=None _report_hypervisor_resource_view /usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py:610</div></div><div><br></div><div>Nova resource tracker is not able to find the available resource like CPU, MEMORY and DISK and all are pointing to ZERO even though I ran "ironic node-update orange-box add properties/memory_mb=2048 properties/local_gb=40 properties/cpu_arch=aarch64 properties/cpus=2". </div><div><br></div><div><div>ironic node-validate orange-box</div><div>+------------+--------+---------------+</div><div>| Interface  | Result | Reason        |</div><div>+------------+--------+---------------+</div><div>| boot       | True   |               |</div><div>| console    | None   | not supported |</div><div>| deploy     | True   |               |</div><div>| inspect    | None   | not supported |</div><div>| management | None   | not supported |</div><div>| power      | True   |               |</div><div>| raid       | None   | not supported |</div><div>+------------+--------+---------------+</div></div><div><br></div><div><br></div><div>Because of this during nova boot, scheduler failed to boot the BM instance.</div><div><br></div><div><div>Can anyone help me with what's wrong in my configuration?.... </div></div><div><br></div><br clear="all"><div><br></div><div class="gmail_signature">Thanks in advance,</div><div class="gmail_signature">Senthil<br></div>
</div>