iRMC Boot Driver
Bases: ironic.drivers.base.BootInterface
iRMC Virtual Media boot-related actions.
Cleans up the boot of instance.
This method cleans up the environment that was setup for booting the instance.
Parameters: | task – a task from TaskManager. |
---|---|
Returns: | None |
Raises: | IRMCOperationError if iRMC operation failed. |
Cleans up the boot of ironic ramdisk.
This method cleans up the environment that was setup for booting the deploy ramdisk.
Parameters: | task – a task from TaskManager. |
---|---|
Returns: | None |
Raises: | IRMCOperationError if iRMC operation failed. |
Prepares the boot of instance.
This method prepares the boot of the instance after reading relevant information from the node’s database.
Parameters: | task – a task from TaskManager. |
---|---|
Returns: | None |
Prepares the deploy ramdisk using virtual media.
Prepares the options for the deployment ramdisk, sets the node to boot from virtual media cdrom.
Parameters: |
|
---|---|
Raises: | ImageRefValidationFailed if no image service can handle specified href. |
Raises: | ImageCreationFailed, if it failed while creating the floppy image. |
Raises: | InvalidParameterValue if the validation of the PowerInterface or ManagementInterface fails. |
Raises: | IRMCOperationError, if some operation on iRMC fails. |
Validate the deployment information for the task’s node.
Parameters: | task – a TaskManager instance containing the node to act on. |
---|---|
Raises: | InvalidParameterValue, if config option has invalid value. |
Raises: | IRMCSharedFileSystemNotMounted, if shared file system is not mounted. |
Raises: | InvalidParameterValue, if some information is invalid. |
Raises: | MissingParameterValue if ‘kernel_id’ and ‘ramdisk_id’ are missing in the Glance image, or if ‘kernel’ and ‘ramdisk’ are missing in the Non Glance image. |