fix for defect 3023413 xcatd putting out error message when hierarchical commands like xdsh run on service node when there are service node pools defined
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6665 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
44ede45b1c
commit
fe3bb7e344
@ -1194,9 +1194,11 @@ sub dispatch_request {
|
||||
last;
|
||||
}
|
||||
}
|
||||
if ($numdests > 1 and not $request_satisfied) {
|
||||
if (!(xCAT::Utils->isServiceNode())) { # not on a service node
|
||||
if ($numdests > 1 and not $request_satisfied) {
|
||||
xCAT::MsgUtils->message("S","Error dispatching a request to all possible service nodes for request");
|
||||
dispatch_callback({error=>["Failed to dispatch command to any of the following service nodes: ".join(",",@xcatdests)],errorcode=>[1]});
|
||||
}
|
||||
}
|
||||
|
||||
xexit;
|
||||
|
Loading…
Reference in New Issue
Block a user