Skip to content

Commit 16ef08e

Browse files
committedFeb 4, 2025
fence_lpar: Add "Error" in the list of on states
When the LPAR crashes it can stay in Error state. It's not possible to transition to 'Running' state from 'Error' but it's possible to power off the LPAR. Then for all parctical purposes 'Error' is an on state. Fixes: ClusterLabs#610
1 parent 5d9d6a9 commit 16ef08e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎agents/lpar/fence_lpar.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
##
2121
## Transformation to standard ON/OFF status if possible
2222
def _normalize_status(status):
23-
if status in ["Running", "Open Firmware", "Shutting Down", "Starting"]:
23+
if status in ["Running", "Open Firmware", "Shutting Down", "Starting", "Error"]:
2424
status = "on"
2525
else:
2626
status = "off"

0 commit comments

Comments
 (0)
Please sign in to comment.