Remove the ipmitool classic drivers

This change removes pxe_ipmitool and agent_ipmitool. Some tests
and documentation bits are removed, since we no longer have any
classic drivers to provide examples.

The Inspector.create_if_enabled method is no longer used and was
removed. The [inspector]enabled option will be deprecated in
a follow-up.

IRONIC_ENABLED_DRIVERS is removed from devstack to prevent
devstack-gate from injecting the removed drivers into it.
A temporary migration from queens is updated to disable all
classic drivers. It will be removed when the enabled_drivers
option is completely removed.

Change-Id: Iab247e3b3336f90446ef0687edb340cf8282a925
This commit is contained in:
Dmitry Tantsur
2018-06-26 14:51:35 +02:00
parent 3d8f3ec1a9
commit 1a07137118
18 changed files with 38 additions and 368 deletions

View File

@@ -1,5 +1,5 @@
function configure_ironic_upgrade {
# Remove the fake driver from the configuration (forced by devstack-gate)
drivers=$(iniget $IRONIC_CONF_FILE DEFAULT enabled_drivers | sed -r 's/fake,?//')
iniset $IRONIC_CONF_FILE DEFAULT enabled_drivers $drivers
# Remove the classic drivers from the configuration (forced by devstack-gate)
# TODO(dtantsur): remove when classic drivers are removed
sed -i '/^enabled_drivers/d' $IRONIC_CONF_FILE
}