[RFE] Onetime boot feature in OneView drivers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
In Progress
|
Low
|
Fellype Cavalcante |
Bug Description
Non-persistent change in boot device order is supported by OneView drivers using iLO's one-time boot technology, allowing users to decide the boot device to be used for the next server power on.
In OneView, persistent boot device changes are performed updating the Server Profile and reapplying it strictly to a powered off server. Once the machine is powered on, the change is performed at BIOS settings and then the machine reboots to the desired device. Because of that, persistent changes in boot device for OneView managed machines are costly operations.
During cleaning and deployment phase, a couple of persistent changes are performed in a node, which implies in a considerable cost for the user that launches a bare metal instance using OneView drivers. We noticed that, during these phases there is a transient change from disk to PXE (in order to load IPA) and then the machine reverts the boot device order before delivering the instance to the user. We've seen that performing a non-persistent change in the boot device for these cases brings a performance improvement for OneView drivers.
We set a flag at prepare stage of these phases so that when the next boot device change is issued (the change to PXE device), OneViewManagement interface overrides Ironic default behavior and performs a non-persistent boot device change for this single moment. In doing so, OneView saves a Server Profile update and application to the node, finishing the cleaning/deployment a bit sooner.
Even though, attempting to perform an one-time boot device change in a non-supported hardware implies in the OneView drivers falling back to the persistent operation, we also propose a way to turn this behavior off for the scenarios where the administrator does not want to use this feature or they are sure that none of the available hardware support it.
description: | updated |
summary: |
- The PXEBoot sets boot_device sets persistent True by default, not - allowing the use of onetime boot by OneView Driver + Onetime boot feature in OneView drivers |
Changed in ironic: | |
assignee: | Fellype Cavalcante (fellypefca) → Xavier (marcusrafael) |
summary: |
- Onetime boot feature in OneView drivers + Onetime boot features in OneView drivers |
tags: | added: oneview |
summary: |
- Onetime boot features in OneView drivers + Onetime boot feature in OneView drivers |
Changed in ironic: | |
assignee: | Xavier (marcusrafael) → Fellype Cavalcante (fellypefca) |
summary: |
- Onetime boot feature in OneView drivers + [RFE] Onetime boot feature in OneView drivers |
tags: | added: rfe |
description: | updated |
Fix proposed to branch: master /review. openstack. org/436469
Review: https:/