You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2026-01-06 08:21:10 +03:00
change how to look for remote login in addmodule
This commit is contained in:
@@ -4583,7 +4583,7 @@ int ProcessManager::addModule(oam::DeviceNetworkList devicenetworklist, std::str
|
||||
|
||||
string cmd = installDir + "/bin/remote_command.sh " + IPAddr + " " + amazonDefaultPassword + " 'ls' 1 > /tmp/login_test.log";
|
||||
system(cmd.c_str());
|
||||
if (!oam.checkLogStatus("/tmp/login_test.log", "README")) {
|
||||
if (WEXITSTATUS(rtnCode) != 0) {
|
||||
//check for RSA KEY ISSUE and fix
|
||||
if (oam.checkLogStatus("/tmp/login_test.log", "Offending RSA key")) {
|
||||
log.writeLog(__LINE__, "addModule - login failed, RSA key issue, try fixing: " + moduleName, LOG_TYPE_DEBUG);
|
||||
|
||||
Reference in New Issue
Block a user