Commit 697e7a5
committed
OpTestKernelDump: Properly deactivate console after monitoring
Problem:
- Console monitoring thread kept console active after completion
- Active console blocked SSH login to LPAR
- System showed login prompt but SSH couldn't connect
Solution:
- Added proper cleanup in monitor_console_thread finally block
- Close console pty connection
- Call console.deactivate_lpar_console() to run rmvterm
- This releases the console and allows SSH to work
The console is now properly deactivated after monitoring completes,
allowing SSH-based operations to proceed normally.
Signed-off-by: Praveen K Pandey <praveen@linux.vnet.ibm.com>1 parent bb76d49 commit 697e7a5
1 file changed
Lines changed: 15 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
| |||
125 | 126 | | |
126 | 127 | | |
127 | 128 | | |
128 | | - | |
| 129 | + | |
129 | 130 | | |
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
| 134 | + | |
133 | 135 | | |
134 | 136 | | |
| 137 | + | |
135 | 138 | | |
136 | | - | |
137 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
138 | 150 | | |
139 | 151 | | |
140 | 152 | | |
| |||
0 commit comments