$ python scripts/new_install.py -i ../install.ini -p version=7.0.0-4844,debug_logs=true 2021-04-02 14:36:09,652 - root - INFO - SSH Connecting to 172.23.96.187 with username:root, attempt#1 of 5 2021-04-02 14:36:09,999 - root - INFO - SSH Connected to 172.23.96.187 as root 2021-04-02 14:36:10,548 - root - INFO - os_distro: Ubuntu, os_version: debian 9, is_linux_distro: True 2021-04-02 14:36:11,286 - root - INFO - extract_remote_info-->distribution_type: Ubuntu, distribution_version: debian 9 2021-04-02 14:36:11,288 - root - INFO - SSH Connecting to 172.23.96.187 with username:root, attempt#1 of 5 2021-04-02 14:36:11,602 - root - INFO - SSH Connected to 172.23.96.187 as root 2021-04-02 14:36:12,094 - root - INFO - os_distro: Ubuntu, os_version: debian 9, is_linux_distro: True 2021-04-02 14:36:12,844 - root - INFO - extract_remote_info-->distribution_type: Ubuntu, distribution_version: debian 9 2021-04-02 14:36:12,845 - root - INFO - Trying to check is this url alive: http://172.23.126.166/builds/latestbuilds/couchbase-server/cheshire-cat/4844/couchbase-server-enterprise_7.0.0-4844-debian9_amd64.deb 2021-04-02 14:36:12,909 - root - INFO - This url http://172.23.126.166/builds/latestbuilds/couchbase-server/cheshire-cat/4844/couchbase-server-enterprise_7.0.0-4844-debian9_amd64.deb is live 2021-04-02 14:36:12,910 - root - INFO - Downloading build binary to 172.23.96.187:/tmp/couchbase-server-enterprise_7.0.0-4844-debian9_amd64.deb.. 2021-04-02 14:36:12,910 - root - INFO - running command.raw on 172.23.96.187: cd /tmp/; wget -Nq http://172.23.126.166/builds/latestbuilds/couchbase-server/cheshire-cat/4844/couchbase-server-enterprise_7.0.0-4844-debian9_amd64.deb 2021-04-02 14:36:12,978 - root - INFO - command executed successfully with root 2021-04-02 14:36:12,978 - root - INFO - running command.raw on 172.23.96.187: curl -I http://172.23.126.166/builds/latestbuilds/couchbase-server/cheshire-cat/4844/couchbase-server-enterprise_7.0.0-4844-debian9_amd64.deb 2>&1 | grep Content-Length 2021-04-02 14:36:13,099 - root - INFO - command executed successfully with root 2021-04-02 14:36:13,100 - root - INFO - running command.raw on 172.23.96.187: cd /tmp/ && wc -c couchbase-server-enterprise_7.0.0-4844-debian9_amd64.deb 2021-04-02 14:36:13,196 - root - INFO - command executed successfully with root 2021-04-02 14:36:13,197 - root - INFO - running command.raw on 172.23.96.187: ls -lh /tmp/couchbase-server-enterprise_7.0.0-4844-debian9_amd64.deb 2021-04-02 14:36:13,315 - root - INFO - command executed successfully with root 2021-04-02 14:36:13,316 - root - INFO - running command.raw on 172.23.96.187: cp -r /opt/couchbase/var/lib/couchbase/config/chronicle /chronicle/before_uninstall/; dpkg --purge couchbase-server; kill -9 `ps -ef |egrep couchbase|cut -f3 -d' '`; rm /var/lib/dpkg/info/couchbase-server.*; rm -rf /opt/couchbase > /dev/null && echo 1 || echo 0; cp -r /opt/couchbase/var/lib/couchbase/config/chronicle /chronicle/after_uninstall/; 2021-04-02 14:36:16,831 - root - INFO - command executed with root but got an error ["dpkg: warning: while removing couchbase-server, directory '/opt/couchbase/var/lib/couchbase/logs' not empty so not removed", "dpkg: warning: while removing couchbase-server, directory '/opt/couchbase/var/lib/couchbase/config' not empty so not removed", "dpkg: warning: while removing couchbase-server, directory '/opt/couchbase/etc/couchdb' not empty so not removed", 'kill: usage: kill [-s sigspec ... 2021-04-02 14:36:16,831 - root - INFO - Waiting 10s for uninstall to complete on 172.23.96.187.. 2021-04-02 14:36:26,835 - root - INFO - running command.raw on 172.23.96.187: cp -r /opt/couchbase/var/lib/couchbase/config/chronicle /chronicle/before_uninstall/; dpkg --purge couchbase-server; kill -9 `ps -ef |egrep couchbase|cut -f3 -d' '`; rm /var/lib/dpkg/info/couchbase-server.*; rm -rf /opt/couchbase > /dev/null && echo 1 || echo 0; cp -r /opt/couchbase/var/lib/couchbase/config/chronicle /chronicle/after_uninstall/; 2021-04-02 14:36:26,947 - root - INFO - command executed with root but got an error ["cp: cannot stat '/opt/couchbase/var/lib/couchbase/config/chronicle': No such file or directory", "dpkg: warning: ignoring request to remove couchbase-server which isn't installed", 'kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]', "rm: cannot remove '/var/lib/dpkg/info/couchbase-server.*': No such file or directory", "cp: cannot stat '/opt/couchbase/ ... 2021-04-02 14:36:29,016 - root - INFO - Done with uninstall on 172.23.96.187. 2021-04-02 14:36:29,016 - root - INFO - running command.raw on 172.23.96.187: cp -r /opt/couchbase/var/lib/couchbase/config/chronicle /chronicle/before_install/;apt-get update;dpkg -i /tmp/couchbase-server-enterprise_7.0.0-4844-debian9_amd64.deb;apt-get -f install > /dev/null && echo 1 || echo 0;cp -r /opt/couchbase/var/lib/couchbase/config/chronicle /chronicle/after_install/; 2021-04-02 14:37:23,693 - root - INFO - command executed with root but got an error ["cp: cannot stat '/opt/couchbase/var/lib/couchbase/config/chronicle': No such file or directory", 'Created symlink /etc/systemd/system/multi-user.target.wants/couchbase-server.service → /lib/systemd/system/couchbase-server.service.', "cp: cannot stat '/opt/couchbase/var/lib/couchbase/config/chronicle': No such file or directory"] ... 2021-04-02 14:37:23,694 - root - INFO - Waiting 20s for install to complete on 172.23.96.187.. 2021-04-02 14:37:43,694 - root - INFO - running command.raw on 172.23.96.187: cp -r /opt/couchbase/var/lib/couchbase/config/chronicle /chronicle/before_install/;apt-get update;dpkg -i /tmp/couchbase-server-enterprise_7.0.0-4844-debian9_amd64.deb;apt-get -f install > /dev/null && echo 1 || echo 0;cp -r /opt/couchbase/var/lib/couchbase/config/chronicle /chronicle/after_install/; 2021-04-02 14:38:40,692 - root - INFO - command executed with root but got an error ["cp: cannot stat '/opt/couchbase/var/lib/couchbase/config/chronicle': No such file or directory"] ... 2021-04-02 14:38:40,692 - root - INFO - Waiting 20s for install to complete on 172.23.96.187.. 2021-04-02 14:39:00,694 - root - INFO - running command.raw on 172.23.96.187: systemctl -q is-active couchbase-server.service && echo 1 || echo 0 2021-04-02 14:39:00,747 - root - INFO - command executed successfully with root 2021-04-02 14:39:00,747 - root - INFO - Done with install on 172.23.96.187. 2021-04-02 14:39:00,747 - root - INFO - running command.raw on 172.23.96.187: cp -r /opt/couchbase/var/lib/couchbase/config/chronicle /chronicle/before_init/; 2021-04-02 14:39:00,851 - root - INFO - command executed successfully with root 2021-04-02 14:39:00,852 - root - INFO - Waiting 60s for 172.23.96.187 to be initialized.. 2021-04-02 14:40:00,852 - root - INFO - running command.raw on 172.23.96.187: /opt/couchbase/bin/couchbase-cli node-init -c 172.23.96.187 -u Administrator -p password > /dev/null && echo 1 || echo 0; 2021-04-02 14:40:01,380 - root - INFO - command executed successfully with root 2021-04-02 14:40:31,384 - root - INFO - running command.raw on 172.23.96.187: /opt/couchbase/bin/couchbase-cli node-init -c 172.23.96.187 -u Administrator -p password > /dev/null && echo 1 || echo 0; 2021-04-02 14:40:31,767 - root - INFO - command executed successfully with root 2021-04-02 14:41:01,770 - root - INFO - running command.raw on 172.23.96.187: /opt/couchbase/bin/couchbase-cli node-init -c 172.23.96.187 -u Administrator -p password > /dev/null && echo 1 || echo 0; 2021-04-02 14:41:02,098 - root - INFO - command executed successfully with root 2021-04-02 14:41:32,098 - root - WARNING - Unable to init node 172.23.96.187 2021-04-02 14:41:32,126 - root - ERROR - socket error while connecting to http://172.23.96.187:8091/nodes/self error [Errno 61] Connection refused 2021-04-02 14:41:35,158 - root - ERROR - socket error while connecting to http://172.23.96.187:8091/nodes/self error [Errno 61] Connection refused 2021-04-02 14:41:41,182 - root - ERROR - socket error while connecting to http://172.23.96.187:8091/nodes/self error [Errno 61] Connection refused 2021-04-02 14:44:41,295 - root - ERROR - Tried ta connect 7 times 2021-04-02 14:44:41,302 - root - WARNING - Exception unable to reach the host @ 172.23.96.187 occurred on 172.23.96.187, retrying.. 2021-04-02 14:44:41,302 - root - INFO - Waiting 30s for 172.23.96.187 to be initialized.. 2021-04-02 14:45:11,302 - root - INFO - running command.raw on 172.23.96.187: cp -r /opt/couchbase/var/lib/couchbase/config/chronicle /chronicle/after_init/; 2021-04-02 14:45:11,349 - root - INFO - command executed successfully with root 2021-04-02 14:45:11,349 - root - INFO - Done with init on 172.23.96.187. 2021-04-02 14:45:11,350 - root - INFO - running command.raw on 172.23.96.187: ls -td /tmp/couchbase*.deb | awk 'NR>2' | xargs rm -f 2021-04-02 14:45:11,524 - root - INFO - command executed successfully with root 2021-04-02 14:45:11,524 - root - INFO - Done with cleanup on 172.23.96.187. 2021-04-02 14:45:13,393 - root - INFO - ---------------------------------------------------------------------------------------------------- 2021-04-02 14:45:13,394 - root - INFO - ---------------------------------------------------------------------------------------------------- 2021-04-02 14:45:13,394 - root - INFO - ---------------------------------------------------------------------------------------------------- 2021-04-02 14:45:13,394 - root - ERROR - INSTALL FAILED ON: 172.23.96.187 2021-04-02 14:45:13,394 - root - INFO - ---------------------------------------------------------------------------------------------------- 2021-04-02 14:45:13,394 - root - INFO - ----------------------------------------------------------------------------------------------------