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

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