summaryrefslogtreecommitdiff
path: root/etc/ironic
diff options
context:
space:
mode:
authorJay Faulkner <jay@jvf.cc>2016-08-09 16:09:02 -0700
committerShivanand Tendulker <stendulker@gmail.com>2018-01-22 11:38:36 -0500
commita9bc2e6ddf81d7bb22ddeb32f57d2c7bf368d6bd (patch)
tree4a5112bb11de959a76206b3a45e767b246cd9ef8 /etc/ironic
parentfbee0981ad0afe304e58006609eabf35cfe89489 (diff)
downloadironic-a9bc2e6ddf81d7bb22ddeb32f57d2c7bf368d6bd.tar.gz
Add rescuewait timeout periodic task
Ensure nodes don't get stuck in rescuewait forever when a rescue ramdisk fails to boot and start heartbeating. Change-Id: I15a92c0f619505e25768dc2fbc1b2a796f0b38fa Related-bug: #1526449 Co-Authored-By: Jay Faulkner <jay@jvf.cc> Co-Authored-By: Mario Villaplana <mario.villaplana@gmail.com> Co-Authored-By: Jesse J. Cook <jesse.j.cook@member.fsf.org> Co-Authored-By: Aparna <aparnavtce@gmail.com> Co-Authored-By: Shivanand Tendulker <stendulker@gmail.com>
Diffstat (limited to 'etc/ironic')
-rw-r--r--etc/ironic/ironic.conf.sample14
1 files changed, 14 insertions, 0 deletions
diff --git a/etc/ironic/ironic.conf.sample b/etc/ironic/ironic.conf.sample
index fdad52d21..dc23de31e 100644
--- a/etc/ironic/ironic.conf.sample
+++ b/etc/ironic/ironic.conf.sample
@@ -1267,6 +1267,12 @@
# (integer value)
#check_provision_state_interval = 60
+# Interval (seconds) between checks of rescue timeouts. This
+# option is part of rescue feature work, which is not
+# currently exposed to users. (integer value)
+# Minimum value: 1
+#check_rescue_state_interval = 60
+
# Timeout (seconds) to wait for a callback from a deploy
# ramdisk. Set to 0 to disable timeout. (integer value)
#deploy_callback_timeout = 1800
@@ -1355,6 +1361,14 @@
# disable timeout. (integer value)
#clean_callback_timeout = 1800
+# Timeout (seconds) to wait for a callback from the rescue
+# ramdisk. If the timeout is reached the node will be put in
+# the "rescue failed" provision state. Set to 0 to disable
+# timeout. This option is part of rescue feature work, which
+# is not currently exposed to users. (integer value)
+# Minimum value: 0
+#rescue_callback_timeout = 1800
+
# Timeout (in seconds) of soft reboot and soft power off
# operation. This value always has to be positive. (integer
# value)