Fix node exclusive lock not released on console start/restart.
This patch forces kill of console process with SIGKILL if it did not
terminate on SIGTERM within the CONF.console.kill_timeout and reads the
shellinabox subprocess stdout/stderr after CONF.console.subprocess_timeout
or if subprocess exited with non zero code.
Reviewed: https:/ /review. openstack. org/603812 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=0256e1e69f4 dd38cf0a8053233 7fa30c89502cb4
Committed: https:/
Submitter: Zuul
Branch: master
commit 0256e1e69f4dd38 cf0a80532337fa3 0c89502cb4
Author: Dmitry Galkin <email address hidden>
Date: Wed Sep 19 14:02:48 2018 +0000
Fix node exclusive lock not released on console start/restart.
This patch forces kill of console process with SIGKILL if it did not kill_timeout and reads the subprocess_ timeout
terminate on SIGTERM within the CONF.console.
shellinabox subprocess stdout/stderr after CONF.console.
or if subprocess exited with non zero code.
Change-Id: I55a112d877d94f 31d27487846ff59 fe27f602f8b
Closes-Bug: 1587313
Story: 1587313
Task: 9654