Barmetal provising using standalone ironic(Bifrost)

asked 2019-06-10 12:54:42 -0500


I am trying to boot up a computer using ironic standalone(Bifrost), I am using CentOS 7 system inside Oracle VirtualBox. I followed this link

  • (

    to install bifrost. As mentioned in the pre-installation settings to edit the target file, I am running ironic on localhost URL and i tried to use two network interfaces interchangeably(host only and bridged for virtualbox). The ironic service is running as the commnad "openstack baremetal node list" executes successfully.

I am following the steps on this link to enroll and deploy the node. (

After exporting BIFROST_INVENTORY_SOURCE and executing the command for enrolling the node, I am getting this error

  • fatal: []: FAILED! => { "msg": "The task includes an option with an undefined variable. The error was: 'driver_info' is undefined\n\nThe error appears to have been in '/root/bifrost/playbooks/roles/ironic-enroll-dynamic/tasks/main.yml': line 40, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: \"Dynamic enrollment\"\n ^ here\n" }

The content of the baremetal.json file that I am using as BIFROST_INVENTORY_SOURCE is

{ "server1":{ "uuid":"00000000-0000-0000-0000-000000000001", "driver_info": { "power": { "wol_host": "", "wol_port": "9" } }, "nics":[ { "mac":"xx:xx:xx:xx:xx:xx" }], "driver": "pxe_wol", "ipv4_address": "", "properties":{ "cpu_arch": "x86_64", "ram": "8192", "disk_size":"256", "cpus": "2"}, "name":"server1" } }

edit retag flag offensive close merge delete