pxe_ilo and iscsi_ilo driver sets capabilities:boot_mode in node property if there is none

Bug #1418327 reported by Shivanand Tendulker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
High
Shivanand Tendulker

Bug Description

In Juno release, pxe_ilo and iscsi_ilo drivers sets capabilities:boot_mode to the boot mode chosen by driver for deploy if this capability is not set in the Node property.

Problem: capabilities:boot_mode is a Node property for user to poluate to facilitate node selection based on flavor extra_spec properties. Drivers use this capability during deploy.
When this property is not populated by the user, drivers make the choice of boot mode and is populating that value into the node property.
Due to this behavior, if a user wants to redeploy a node with different boot mode, he/she has to do ironic node-update to either remove the node capabilities added by the ilo driver or replace the node capabilities with the new boot mode.

Steps to reproduce:-
1. Proliant node having ability to boot into BIOS and UEFI is configured for pxe_ilo driver. No capabilities:boot_mode is populated into node properties.
2. In the absence of capabilities:boot_mode property, node would get deployed in any boot mode. Say it gets deployed in 'bios'
3. While deployoing driver updates the node properties to 'capabilities:boot_mode:bios'
4. Tear down the deployed node
5. The node property 'capabilities:boot_mode:bios'is retained in the node properties.
6. Henceforth, this node would not get selected if the flavor has extra_specs requesting 'capabilities:boot_mode:uefi'

Workaround:-
If user have to wants to deploy the node using boot mode that is not being set into node capabilities:boot_mode. change the node properties for capabilities:boot_mode with appropriate boot mode value.

tags: added: ilo-drivers
summary: - pxe_ilo driver sets capabilities:boot_mode if there is none
+ pxe_ilo driver sets capabilities:boot_mode in node property if there is
+ none
summary: - pxe_ilo driver sets capabilities:boot_mode in node property if there is
- none
+ pxe_ilo and iscsi_ilo driver sets capabilities:boot_mode in node
+ property if there is none
description: updated
description: updated
Dmitry Tantsur (divius)
tags: added: ilo juno-backport-potential
removed: ilo-drivers
Changed in ironic:
status: New → Triaged
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

Fix proposed to branch: master
Review: https://review.openstack.org/155731

Changed in ironic:
assignee: nobody → Shivanand Tendulker (shivanand-tendulker)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/155731
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=d5bf6233f9afb9291f9c596cb97436f3ac46cb84
Submitter: Jenkins
Branch: master

commit d5bf6233f9afb9291f9c596cb97436f3ac46cb84
Author: Shivanand Tendulker <email address hidden>
Date: Wed Feb 11 19:38:02 2015 -0800

    Ilo drivers sets capabilities:boot_mode in node

    Ilo drivers sets capabilities:boot_mode in node properties
    if there is none.
    For a node capable of booting in both bios and uefi, setting
    of this property by driver prevents it from getting selected for
    future deploys requests for other boot mode.
    It would be selected only for deploy requests where flavor
    extra_specs specifies capabilities:boot_mode with a value
    matching with one set by driver in the node properties.

    Closes-Bug: 1418327

    Change-Id: I90571487840c6a74699a8fbfbac8035c3efb5672

Changed in ironic:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ironic:
milestone: none → kilo-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ironic:
milestone: kilo-rc1 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.