Set os_shutdown_timeout=5 on the ipxe-boot image
Undercloud ironic has a retry_timeout of 15 seconds Host cloud nova default will wait for 60 seconds for a graceful shutdown before forcing a shutdown. The combination of these two means that ironic nodes end up in an ERROR state after deleting an overcloud requiring manual "ironic set-provision-state deleted" to cleanup. This change sets a short os_shutdown_timeout so that shutdowns are quick enough for ironic's timeout.
This commit is contained in:
parent
afeb2f3587
commit
942c7f92ae
|
@ -94,7 +94,10 @@ Preparing the Host Cloud Environment
|
|||
|
||||
#. Upload an ipxe-boot image for the baremetal instances::
|
||||
|
||||
glance image-create --name ipxe-boot --disk-format qcow2 --container-format bare < ipxe/ipxe-boot.qcow2
|
||||
glance image-create --name ipxe-boot --disk-format qcow2 --property os_shutdown_timeout=5 --container-format bare < ipxe/ipxe-boot.qcow2
|
||||
|
||||
.. note:: os_shutdown_timeout=5 is to avoid server shutdown delays since
|
||||
since these servers won't respond to graceful shutdown requests.
|
||||
|
||||
#. Upload a CentOS 7 image for use as the base BMC instance::
|
||||
|
||||
|
|
Loading…
Reference in New Issue