xcat2 / xcat-docker

Repository to build Docker image for xCAT
5 stars 5 forks source link

Missing `which` command in xcat container based on centos #2

Closed robin2008 closed 5 years ago

robin2008 commented 5 years ago

run xcatprobe xcatmn to check the health of xcat MN after it is initially up, and found some error message

xcatprobe xcatmn
[mn]: Checking all xCAT daemons are running...                                                                    [ OK ]
[mn]: Checking xcatd can receive command request...                                                               [ OK ]
[mn]: Checking 'site' table is configured...                                                                      [ OK ]
[mn]: No interface provided by '-i' option, detected site table IP attribute 10.6.7.1, checking xCAT configurat...[WARN]
[mn]: If this is incorrect, rerun with -i <ifname> option                                                         [WARN]
[mn]: Checking provision network is configured...                                                                 [ OK ]
[mn]: Checking 'passwd' table is configured...                                                                    [FAIL]
[mn]: There isn't username or password for 'system' in 'passwd' table
[mn]: Checking important directories(installdir,tftpdir) are configured...                                        [ OK ]
[mn]: Checking SELinux is disabled...                                                                             [ OK ]
[mn]: Checking HTTP service is configured...                                                                      [FAIL]
[mn]: HTTP check need 'wget' tool, please install 'wget' tool and try again
[mn]: Checking TFTP service is configured...                                                                      [FAIL]
[mn]: TFTP check need 'tftp' tool, please install 'tftp' tool and try again
[mn]: Checking DNS service is configured...                                                                       [FAIL]
[mn]: DNS check need 'nslookup' tool, please install 'nslookup' tool and try again
...

But actually, those tools are . already installed.

robin2008 commented 5 years ago

After investigation, it is caused by missing which command.

robin2008 commented 5 years ago

No found the same issue on ubuntu based container.