mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	Refine openbmc python support error message, and information about switch to perl (#4901)
This commit is contained in:
		| @@ -137,7 +137,7 @@ sub submit_agent_request { | ||||
|         $retry++; | ||||
|     } | ||||
|     if (!defined($sock)) { | ||||
|         xCAT::MsgUtils->message("E", { data => ["OpenBMC management is using a Python framework. An error has occured when trying to create socket $AGENT_SOCK_PATH."] }, $callback); | ||||
|         xCAT::MsgUtils->message("E", { data => ["OpenBMC management is using a Python framework. An error has occurred when trying to create socket $AGENT_SOCK_PATH."] }, $callback); | ||||
|         kill('TERM', $pid); | ||||
|         return; | ||||
|     } | ||||
| @@ -196,6 +196,7 @@ sub wait_agent { | ||||
|     waitpid($pid, 0); | ||||
|     if ($? >> 8 != 0) { | ||||
|         xCAT::MsgUtils->message("E", { data => ["Agent exited unexpectedly.  See $PYTHON_LOG_PATH for details."] }, $callback); | ||||
|         xCAT::MsgUtils->message("I", { data => ["To revert to Perl framework: chdef -t site clustersite openbmcperl=ALL"] }, $callback); | ||||
|     } | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user