Fixing defect 3285568: if shardtftp is not set and the compute node is not resolved by xcatmaster, we will give one msg instead of quietly ignore it. this will help a lot to find the problem's root cause. The msg is not an error, since there are cases matching the above two conditions. So this msg should not make too much noise if those two conditions are valid.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11126 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
48d5b1759d
commit
4de53d06d7
@ -388,6 +388,10 @@ sub process_request {
|
||||
foreach (@rnodes) {
|
||||
if (xCAT::Utils->nodeonmynet($_)) {
|
||||
push @nodes,$_;
|
||||
} else {
|
||||
my $rsp;
|
||||
$rsp->{data}->[0]="$_: stop configuration because of none sharedtftp and not on same network with its xcatmaster";
|
||||
$callback->($rsp);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
@ -284,6 +284,10 @@ sub process_request {
|
||||
foreach (@rnodes) {
|
||||
if (xCAT::Utils->nodeonmynet($_)) {
|
||||
push @nodes,$_;
|
||||
} else {
|
||||
my $rsp;
|
||||
$rsp->{data}->[0]="$_: stop configuration because of none sharedtftp and not on same network with its xcatmaster";
|
||||
$callback->($rsp);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
@ -409,6 +409,10 @@ sub process_request {
|
||||
foreach (@rnodes) {
|
||||
if (xCAT::Utils->nodeonmynet($_)) {
|
||||
push @nodes,$_;
|
||||
} else {
|
||||
my $rsp;
|
||||
$rsp->{data}->[0]="$_: stop configuration because of none sharedtftp and not on same network with its xcatmaster";
|
||||
$callback->($rsp);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
@ -392,6 +392,10 @@ sub process_request {
|
||||
foreach (@rnodes) {
|
||||
if (xCAT::Utils->nodeonmynet($_)) {
|
||||
push @nodes,$_;
|
||||
} else {
|
||||
my $rsp;
|
||||
$rsp->{data}->[0]="$_: stop configuration because of none sharedtftp and not on same network with its xcatmaster";
|
||||
$callback->($rsp);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user