diskimage-builder/elements/deploy-ironic
Lucas Alvares Gomes b95cbb14b1 Ironic: Deploy ramdisk to find the right root device
As part of the blueprint root-device-hints Ironic will pass some to the
deploy ramdisk some hints about which disk device it should pick to be
root device (the one where the image will be deployed on).

Before the deploy ramdisk would pick the first device it finds, but as the
machine could have more than one SATA, SCSI or IDE disk controllers the
order in which their corresponding device nodes are added is arbitrary
causing devices like /dev/sda and /dev/sdb switching around on each
boot time.

Plus, as people are adding support to build RAID arrays in Ironic we need
a way to tell it to use the just created device to be the root device.

The list of hints that could be passed to the deploy ramdisk so it finds
the right disk is:

* wwn (STRING): unique storage identifier
* serial (STRING): disk serial number
* model (STRING): device identifier
* vendor (STRING): device vendor
* size (INT): The size of the disk in GB

If not hints are passed, the deploy ramdisk will continue to do what it
did before to find the disk.

Change-Id: I8425f593e1a610af5a3697988702603ff218f2de
2015-03-13 14:09:40 +00:00
..
binary-deps.d Ironic: uefi localboot support 2015-03-12 10:11:18 +00:00
init.d Ironic: Deploy ramdisk to find the right root device 2015-03-13 14:09:40 +00:00
element-deps Use package-installs in more elements 2014-09-08 15:16:14 -04:00
element-provides Use provides to note an element provides deploy 2014-04-18 20:10:46 +01:00
package-installs.yaml Ironic: uefi localboot support 2015-03-12 10:11:18 +00:00
README.rst Create docs site containing element READMEs 2015-02-10 11:45:35 -08:00

=============
deploy-ironic
=============
A ramdisk that will expose the machine primary disk over iSCSI and reboot
once Ironic signals it is finished.