Blame SOURCES/bz1977588-1-fencing-add-EC_FETCH_VM_UUID.patch

0ed125
diff --color -uNr a/lib/fencing.py.py b/lib/fencing.py.py
0ed125
--- a/lib/fencing.py.py	2021-11-01 10:14:04.045398051 +0100
0ed125
+++ b/lib/fencing.py.py	2021-11-01 10:24:47.111235305 +0100
0ed125
@@ -29,6 +29,7 @@
0ed125
 EC_STATUS_HMC = 9
0ed125
 EC_PASSWORD_MISSING = 10
0ed125
 EC_INVALID_PRIVILEGES = 11
0ed125
+EC_FETCH_VM_UUID = 12
0ed125
 
0ed125
 LOG_FORMAT = "%(asctime)-15s %(levelname)s: %(message)s"
0ed125
 
0ed125
@@ -574,7 +575,9 @@
0ed125
 		EC_STATUS_HMC : "Failed: Either unable to obtain correct plug status, "
0ed125
 				"partition is not available or incorrect HMC version used",
0ed125
 		EC_PASSWORD_MISSING : "Failed: You have to set login password",
0ed125
-		EC_INVALID_PRIVILEGES : "Failed: The user does not have the correct privileges to do the requested action."
0ed125
+		EC_INVALID_PRIVILEGES : "Failed: The user does not have the correct privileges to do the requested action.",
0ed125
+		EC_FETCH_VM_UUID : "Failed: Can not find VM UUID by its VM name given in the <plug> parameter."
0ed125
+
0ed125
 	}[error_code] + "\n"
0ed125
 	logging.error("%s\n", message)
0ed125
 	if stop: