PNDA-Unable to create cluster using server cluster mode with script pnda-cli.py

13 views
Skip to first unread message

samuel sandeep

unread,
Apr 4, 2019, 8:34:02 AM4/4/19
to PNDA Users
Hello Users /Team ,


Please help us to create a cluster using script pnda-cli.py . It is asking for key phrase and password for user even though ssh key is supplied . Please find the attached error logs and screenshot

pnda-cli.py create -e wlcrakuten -s /home/mohamed/pnda-cli-develop/mykey  -f pico -m 'existing-machines/pico.json' -n 1 -k 1 -b release/4.0.

Error log :

2019-04-04 17:43:52 - INFO -     ____  _   ______  ___
2019-04-04 17:43:52 - INFO -    / __ \/ | / / __ \/   |
2019-04-04 17:43:52 - INFO -   / /_/ /  |/ / / / / /| |
2019-04-04 17:43:52 - INFO -  / ____/ /|  / /_/ / ___ |
2019-04-04 17:43:52 - INFO - /_/   /_/ |_/_____/_/  |_|
2019-04-04 17:43:52 - INFO -
2019-04-04 17:43:52 - INFO - Saving debug log to logs/pnda-cli.1554380032.36.log
2019-04-04 17:43:52 - INFO - Installing to existing infra, defined in existing-machines/pico.json
2019-04-04 17:43:52 - INFO - Private Key...... OK
2019-04-04 17:43:52 - INFO - PNDA mirror...... OK
2019-04-04 17:43:52 - INFO - Checking connectivity to 192.168.122.1
2019-04-04 17:43:52 - INFO - Checking connectivity to 192.168.122.1
2019-04-04 17:43:52 - INFO - Checking connectivity to 192.168.122.1
2019-04-04 17:43:52 - INFO - Checking connectivity to 192.168.122.1
2019-04-04 17:43:52 - INFO - 192.168.122.1 Warning: Permanently added '192.168.122.1' (ECDSA) to the list of known hosts.
2019-04-04 17:43:52 - INFO - 192.168.122.1 Warning: Permanently added '192.168.122.1' (ECDSA) to the list of known hosts.
2019-04-04 17:43:52 - INFO - 192.168.122.1 Warning: Permanently added '192.168.122.1' (ECDSA) to the list of known hosts.
2019-04-04 17:43:52 - INFO - 192.168.122.1 Warning: Permanently added '192.168.122.1' (ECDSA) to the list of known hosts.
2019-04-04 17:44:24 - INFO - 192.168.122.1 apache-maven-3.0.5
2019-04-04 17:44:24 - INFO - 192.168.122.1 apache-maven-3.0.5-bin.tar.gz
2019-04-04 17:44:24 - INFO - 192.168.122.1 bomfile
2019-04-04 17:44:24 - INFO - 192.168.122.1 Desktop
2019-04-04 17:44:24 - INFO - 192.168.122.1 Documents
2019-04-04 17:44:24 - INFO - 192.168.122.1 Downloads
2019-04-04 17:44:24 - INFO - 192.168.122.1
2019-04-04 17:54:24 - ERROR - Error waiting for host connectivity, timeout after 10 minutes. See debug log (logs/pnda-cli.1554380032.36.log) for details.
2019-04-04 17:54:24 - INFO - [94mTotal execution time: 0:10:31.604587 [0m

with Regards ,

Samuel .

Donald Hunter (donaldh)

unread,
Apr 4, 2019, 9:38:58 AM4/4/19
to samuel sandeep, PNDA Users
Hi Samuel,

When you use “-e wlcrakuten” the pnda-cli.py script will expect to find the private key file called “wlcrakuten.pem” with 0600 permissions, i.e. only rw by user.

You should be able to verify connectivity before running pnda-cli.py by using ssh -v:

ssh -v -i wlcrakuten.pem 192.168.122.1

It should tell you why it is failing, if there are permission problems, or other key related problems.

Hope this helps,
Donald.

--
You received this message because you are subscribed to the Google Groups "PNDA Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pnda-users+...@googlegroups.com.
To post to this group, send email to pnda-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pnda-users/1f5f1b95-26f9-477b-a14a-f7789ace39e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages