Skip to main content

Ironic bare metal

OSIE supports creating bare metal instances via the Ironic service.
In order to make it working for your customers, there are a few requirements.

1. Enable the Ironic endpoint​

Make sure you have Ironic enabled on your OpenStack provider by checking the "Services" tab.

ironic enable

2. Create bare-metal images​

Not all the VM images work on a bare-metal servers. Typically bare metal servers need DHCP enabled on all the interfaces, as cloud-init can't fetch information via the metadata service.
For this reason, OSIE requires you to add a separate "Image category" for the bare metal service. Steps:

  • navigate to Settings -> Images
  • create a new category
  • enable the "BareMetal Image Category" box for that category

It is up to the Administrator what images will be added in the bare-metal categories. Make sure the servers boot successfully from those images before enabling them.
One can use the disk-image-builder to create bare metal images. OpenStack provides documentation for that.

3. Create bare-metal flavor categories​

OSIE requires flavor categories having the "BareMetal Flavor Category" enabled.
See the documentation on how to add a bare-metal flavor category.

The system will use these categories to distinguish between baremetal/non-baremetal instances, including whether to bill the instance as a bare_metal or as an instance resource type.