From 932c01724bce6b25ee89c7ce3c828ba283aaf4b1 Mon Sep 17 00:00:00 2001 From: lissav Date: Mon, 11 May 2009 13:02:34 +0000 Subject: [PATCH] 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 --- perl-xCAT/xCAT/Utils.pm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/perl-xCAT/xCAT/Utils.pm b/perl-xCAT/xCAT/Utils.pm index bc2428e0b..83aa46d69 100644 --- a/perl-xCAT/xCAT/Utils.pm +++ b/perl-xCAT/xCAT/Utils.pm @@ -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); } }