Upgrade status checks for deprecated and removed interfaces

Bug #2051954 reported by Dmitry Tantsur
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
In Progress
Low
Unassigned

Bug Description

The list of hardware interfaces keeps evolving over the years. We have deprecations of WSMAN interfaces in place, Inspector deprecation will probably follow this or next cycle. The upgrade status check command can provide the operators more precise information than release notes.

Let us issue errors for these cases that prevent a conductor from starting:

1) enabled_*_interfaces contain something that is not in the ironic.hardware.interfaces.* entrypoint
2) enabled_hardware_types contain something that is not in the ironic.hardware.types entrypoint
3) default_*_interface contains something that is not in enabled_*_interfaces

Let us issue warnings for these cases:

4) there are nodes that use an *_interface not in enabled_*_interfaces <1>
5) there are nodes that use a driver not in enabled_hardware_types <1>
6) enabled_*_interfaces contain unsupported (deprecated) interfaces
7) enabled_hardware_types contain unsupported (deprecated) types

<1> Why not an error? Because misconfigured nodes do not prevent Ironic from starting and can be fixed through the API.

Dmitry Tantsur (divius)
tags: added: low-hanging-fruit
tags: added: rfe-approved
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/ironic/+/923164

Changed in ironic:
status: Triaged → In Progress
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.