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

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