Ironic supports booting a user provided ramdisk or an ISO image (starting with
the Victoria release) instead of deploying a node.
Most commonly this is performed when an instance is booted via PXE, iPXE or
Virtual Media, with the only local storage contents being those in memory.
It is suported by pxe
, ipxe
, redfish-virtual-media
and
ilo-virtual-media
boot interfaces.
Ramdisk/ISO boot requires using the ramdisk
deploy interface. As with most
non-default interfaces, it must be enabled and set for a node to be utilized:
[DEFAULT]
...
enabled_deploy_interfaces = iscsi,direct,ramdisk
...
Once enabled and the conductor(s) have been restarted, the interface can be set upon creation of a new node:
openstack baremetal node create --driver ipmi \
--deploy-interface ramdisk \
--boot-interface ipxe
or update an existing node:
openstack baremetal node set <NODE> --deploy-interface ramdisk
Using virtual media:
openstack baremetal node create --driver redfish \
--deploy-interface ramdisk \
--boot-interface redfish-virtual-media
The ramdisk
deploy interface can also be used to boot an ISO image.
For example,
openstack baremetal node set <NODE> \
--instance-info boot_iso=http://path/to/boot.iso
openstack baremetal node deploy <NODE>
The intended use case is for advanced scientific and ephemeral workloads where the step of writing an image to the local storage is not required or desired. As such, this interface does come with several caveats:
instance_info/ramdisk_kernel_arguments
parameter to add options to
the kernel boot command line.Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.