Skip to content

Commit 86b604e

Browse files
committed
remove storage path (temp fix)
temp fix #1459
1 parent ea6f397 commit 86b604e

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/agent/agent_cli.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,11 +390,13 @@ AgentCLI.prototype.create_node_helper = function(current_node_path_info, interna
390390
dbg.log0('has token', self.create_node_token);
391391
}
392392
return P.nfcall(mkdirp, node_path);
393+
}).then(function() {
394+
dbg.log0('Add uninstall command', node_path);
395+
return promise_utils.promised_exec('echo \'rm -rf '+current_node_path+'\' >> ./noobaa_service_uninstall.sh ');
393396
}).then(function() {
394397
dbg.log0('writing token', token_path);
395398
return P.nfcall(fs.writeFile, token_path, self.create_node_token);
396-
})
397-
.then(function() {
399+
}).then(function() {
398400
if (!self.params.internal_agent) {
399401
// remove access_key and secret_key from agent_conf after a token was acquired
400402
return P.nfcall(fs.readFile, 'agent_conf.json')

src/deploy/NVA_build/upgrade.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function restart_webserver {
4343
deploy_log ${mongodown}
4444
else
4545
echo sleep
46-
sleep 1
46+
sleep 5
4747
fi
4848
done
4949

0 commit comments

Comments
 (0)