Merge "Relaxing console pid looking"
This commit is contained in:
@@ -90,7 +90,7 @@ def _get_console_pid(node_uuid):
|
|||||||
with open(pid_path, 'r') as f:
|
with open(pid_path, 'r') as f:
|
||||||
pid_str = f.readline()
|
pid_str = f.readline()
|
||||||
return int(pid_str)
|
return int(pid_str)
|
||||||
except (IOError, ValueError):
|
except (IOError, ValueError, FileNotFoundError):
|
||||||
raise exception.NoConsolePid(pid_path=pid_path)
|
raise exception.NoConsolePid(pid_path=pid_path)
|
||||||
|
|
||||||
|
|
||||||
|
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
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.
|
Reference in New Issue
Block a user