summaryrefslogtreecommitdiff
path: root/etc/ironic
diff options
context:
space:
mode:
authorShivanand Tendulker <stendulker@gmail.com>2017-10-03 10:45:10 -0400
committerShivanand Tendulker <stendulker@gmail.com>2017-12-21 03:01:48 -0500
commit433b1fd197480d95f79539e61f1a9222d349e102 (patch)
tree3f7ceaabb7a843916de36a06321e75a95bc4760b /etc/ironic
parent2924c3efb6f6003dd49951dd78bdb44bae2ee367 (diff)
downloadironic-433b1fd197480d95f79539e61f1a9222d349e102.tar.gz
Adds rescue_interface to base driver class
This commit adds `rescue` interface to `BaseDriver` and implements it for `fake-hardware` hardware type. It adds configuration parameters '[DEFAULT]/enabled_rescue_interfaces' and '[DEFAULT]/default_rescue_interface'. The default value of configuration parameter '[DEFAULT]/enabled_rescue_interfaces' is `no-rescue`. It adds new rescue states and a new 'rescue' field to the Node object. It adds objects.node.Node._convert_to_version(). The method handles converting the new rescue_interface field between different versions of the Node. Partial-bug: #1526449 Co-Authored-By: Jay Faulkner <jay@jvf.cc> Co-Authored-By: Josh Gachnang <josh@pcsforeducation.com> Co-Authored-By: Jesse J. Cook <jesse.j.cook@member.fsf.org> Co-Authored-By: Mario Villaplana <mario.villaplana@gmail.com> Co-Authored-By: Aparna <aparnavtce@gmail.com> Co-Authored-By: Shivanand Tendulker <stendulker@gmail.com> Change-Id: I1534247bf207a20a7a58534988192aef392eaff2
Diffstat (limited to 'etc/ironic')
-rw-r--r--etc/ironic/ironic.conf.sample26
1 files changed, 26 insertions, 0 deletions
diff --git a/etc/ironic/ironic.conf.sample b/etc/ironic/ironic.conf.sample
index 0d54a145c..afcc3416b 100644
--- a/etc/ironic/ironic.conf.sample
+++ b/etc/ironic/ironic.conf.sample
@@ -227,6 +227,32 @@
# "ironic.hardware.interfaces.raid" entrypoint. (string value)
#default_raid_interface = <None>
+# Specify the list of rescue interfaces to load during service
+# initialization. Missing rescue interfaces, or rescue
+# interfaces which fail to initialize, will prevent the
+# ironic-conductor service from starting. At least one rescue
+# interface that is supported by each enabled hardware type
+# must be enabled here, or the ironic-conductor service will
+# not start. Must not be an empty list. The default value is a
+# recommended set of production-oriented rescue interfaces. A
+# complete list of rescue interfaces present on your system
+# may be found by enumerating the
+# "ironic.hardware.interfaces.rescue" entrypoint. When setting
+# this value, please make sure that every enabled hardware
+# type will have the same set of enabled rescue interfaces on
+# every ironic-conductor service. This option is part of
+# rescue feature work, which is not currently exposed to
+# users. (list value)
+#enabled_rescue_interfaces = no-rescue
+
+# Default rescue interface to be used for nodes that do not
+# have rescue_interface field set. A complete list of rescue
+# interfaces present on your system may be found by
+# enumerating the "ironic.hardware.interfaces.rescue"
+# entrypoint. This option is part of rescue feature work,
+# which is not currently exposed to users. (string value)
+#default_rescue_interface = <None>
+
# Specify the list of storage interfaces to load during
# service initialization. Missing storage interfaces, or
# storage interfaces which fail to initialize, will prevent