ironicclients boot device list differs from ironics list

Bug #1724974 reported by Matt Keenan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-ironicclient
Fix Released
Undecided
Matt Keenan

Bug Description

List of supported boot devices in ironicclient differs from the supported list provided in ironic, specifically "wanboot" is missing.

In ironic source file ironic/common/boot_devices.py
    PXE = 'pxe'
    DISK = 'disk'
    CDROM = 'cdrom'
    BIOS = 'bios'
    SAFE = 'safe'
    WANBOOT = 'wanboot'

In ironic client source file ironicclient/v1/utils.py
    BOOT_DEVICES = ['pxe', 'disk', 'cdrom', 'bios', 'safe']

This results in an attempt to set a boot device to "wanboot" failing as it's not contained in ironicclient's list of supported boot devices.

Matt Keenan (mattkeenan)
summary: - clients boot device list differs from ironics list
+ ironicclients boot device list differs from ironics list
Matt Keenan (mattkeenan)
Changed in python-ironicclient:
assignee: nobody → Matt Keenan (mattkeenan)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-ironicclient (master)

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

Changed in python-ironicclient:
assignee: Matt Keenan (mattkeenan) → Julia Kreger (juliaashleykreger)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-ironicclient (master)

Reviewed: https://review.openstack.org/513528
Committed: https://git.openstack.org/cgit/openstack/python-ironicclient/commit/?id=27de3f6dae3e43cb623aaa38f3cd8a47c452ed8a
Submitter: Zuul
Branch: master

commit 27de3f6dae3e43cb623aaa38f3cd8a47c452ed8a
Author: Matt Keenan <email address hidden>
Date: Thu Oct 19 22:11:25 2017 +0100

    Synchronize ironic and ironicclients list of boot devices

    Ensure list of boot devices specified in ironic matches whats
    specified in ironicclient. Specifically in this case adding
    'wanboot'.

    Change-Id: Icd427fc02296cca94ebe722d4cacecb3a902d4c2
    Closes-Bug: #1724974
    Signed-off-by: Matt Keenan <email address hidden>

Changed in python-ironicclient:
status: In Progress → Fix Released
Ruby Loo (rloo)
Changed in python-ironicclient:
assignee: Julia Kreger (juliaashleykreger) → Matt Keenan (mattkeenan)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-ironicclient 2.0.0

This issue was fixed in the openstack/python-ironicclient 2.0.0 release.

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.