From 99a04964c7c003dff0ed7848fcf4e3959f4efaa2 Mon Sep 17 00:00:00 2001 From: mellor Date: Wed, 2 Apr 2014 13:04:05 -0400 Subject: [PATCH] defect 4026 add service node to error msg --- xCAT-server/lib/xcat/plugins/destiny.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/destiny.pm b/xCAT-server/lib/xcat/plugins/destiny.pm index 64958a9c6..983598deb 100755 --- a/xCAT-server/lib/xcat/plugins/destiny.pm +++ b/xCAT-server/lib/xcat/plugins/destiny.pm @@ -326,7 +326,9 @@ sub setdestiny { noupdateinitrd=>$noupdateinitrd, ignorekernelchk=>$ignorekernelchk,}, \&relay_response); if ($errored) { - $callback->({error=>"Some nodes failed to set up $state resources, aborting"}); + my @myself = xCAT::NetworkUtils->determinehostname(); + my $myname = $myself[(scalar @myself)-1]; + $callback->({error=>"Some nodes failed to set up $state resources on server $myname, aborting"}); return; }