tell them to run xcatconfig ( no force ) after error in critical file check

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3338 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2009-05-11 13:02:34 +00:00
parent 1ba8689d21
commit 932c01724b

View File

@ -3733,7 +3733,7 @@ sub checkCredFiles
else
{ # ca.pem missing
my $rsp = {};
$rsp->{data}->[0] = "Error: $file is missing.";
$rsp->{data}->[0] = "Error: $file is missing. Run xcatconfig (no force)";
xCAT::MsgUtils->message("I", $rsp, $cb);
}
}
@ -3752,7 +3752,7 @@ sub checkCredFiles
{
my $rsp = {};
$rsp->{data}->[0] = "Error: $file is missing.";
$rsp->{data}->[0] = "Error: $file is missing. run xcatconfig (no force)";
xCAT::MsgUtils->message("I", $rsp, $cb);
}
}
@ -3783,7 +3783,7 @@ sub checkCredFiles
else
{ # ca_cert.pem missing
my $rsp = {};
$rsp->{data}->[0] = "Error: $file is missing.";
$rsp->{data}->[0] = "Error: $file is missing. Run xcatconfig (no force)";
xCAT::MsgUtils->message("I", $rsp, $cb);
}
}
@ -3817,7 +3817,7 @@ sub checkCredFiles
else
{ # ca.pem missing
my $rsp = {};
$rsp->{data}->[0] = "Error: $file is missing.";
$rsp->{data}->[0] = "Error: $file is missing. Run xcatconfig (no force)";
xCAT::MsgUtils->message("I", $rsp, $cb);
}
}
@ -3849,7 +3849,7 @@ sub checkCredFiles
else
{ # hostkey missing
my $rsp = {};
$rsp->{data}->[0] = "Error: $file is missing.";
$rsp->{data}->[0] = "Error: $file is missing. Run xcatconfig (no force)";
xCAT::MsgUtils->message("I", $rsp, $cb);
}
}
@ -3880,7 +3880,7 @@ sub checkCredFiles
else
{ # hostkey missing
my $rsp = {};
$rsp->{data}->[0] = "Error: $file is missing.";
$rsp->{data}->[0] = "Error: $file is missing. Run xcatconfig (no force)";
xCAT::MsgUtils->message("I", $rsp, $cb);
}
}
@ -3930,7 +3930,7 @@ sub checkCredFiles
else
{ # authorized keys missing
my $rsp = {};
$rsp->{data}->[0] = "Error: $file is missing.";
$rsp->{data}->[0] = "Error: $file is missing. Run xcatconfig (no force)";
xCAT::MsgUtils->message("I", $rsp, $cb);
}
}