mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	Fix issue 2362: if packimage is not run, osimage in the chain table will fail on netboot images
This commit is contained in:
		| @@ -393,7 +393,8 @@ sub setdestiny { | ||||
|             if ($errored) { | ||||
|                 my @myself = xCAT::NetworkUtils->determinehostname(); | ||||
|                 my $myname = $myself[ (scalar @myself) - 1 ]; | ||||
|                 $callback->({ errorcode => [1], error => "Some nodes failed to set up $state resources on server $myname, aborting" }); | ||||
|                 # The callback function point to xcatd::build_response, it use dclone to clone data, but it can only accept a reference. The error msg here is a simple string, and will cause dclone failed. Seems to be string array can be used by dclone. | ||||
|                 $callback->({ errorcode => [1], error => ["Some nodes failed to set up $state resources on server $myname, aborting"] }); | ||||
|                 return; | ||||
|             } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user