ironic/releasenotes/notes/console-pid-file-6108d2775ef947fe.yaml
Kaifeng Wang 88c4271a70 Relaxing console pid looking
Recently we hit an issue that the pid file is missing, current logic
simply removes pid file if the corresponding process is not found,
but if the pid file is lost then the console could never be stopped
and futher more, be restarted, regardless if the process is there or
not.
This patch captures FileNotFound to the exception handling to allow
console recovery.

Change-Id: I1a0b8347e960c6cff8aca10a22c67b710f7d617e
2023-02-15 17:32:23 +00:00

7 lines
204 B
YAML

---
fixes:
- |
Fixes an issue that when a node has console enabled but pid
file missing, the console could not be disabled as well as be
restarted, which makes the console feature unusable.