alexgustafson / disco_vagrant

automatic setup of disco mini cluster for testing purposes.
3 stars 1 forks source link

Not able to start disco #3

Open Jeeva-G opened 10 years ago

Jeeva-G commented 10 years ago

Hi,

I am getting the below when i pass fab start command, Could you please help.

discouser@discoclient:~/disco_vagrant$ fab start [192.168.50.4] Executing task 'start' [192.168.50.4] run: bin/disco nodaemon [192.168.50.4] Login password for 'vagrant': [192.168.50.4] out: Erlang R16B01 (erts-5.10.2) [source] [async-threads:10] [kernel-poll:true] [192.168.50.4] out: [192.168.50.4] out: Eshell V5.10.2 (abort with ^G) [192.168.50.4] out: (disco_8989_master@discomaster)1> 01:20:55.073 [info] Application lager started on node disco_8989_master@discomaster [192.168.50.4] out: [192.168.50.4] out: 01:20:55.434 [info] Application inets started on node disco_8989_master@discomaster [192.168.50.4] out: [192.168.50.4] out: 01:20:55.441 [info] DISCO BOOTS [192.168.50.4] out: [192.168.50.4] out: 01:20:55.453 [info] Disco proxy disabled [192.168.50.4] out: [192.168.50.4] out: 01:20:55.464 [info] DDFS master starts [192.168.50.4] out: [192.168.50.4] out: 01:20:55.483 [info] Event server starts [192.168.50.4] out: [192.168.50.4] out: 01:20:55.494 [info] Disco config starts [192.168.50.4] out: [192.168.50.4] out: 01:20:55.508 [info] DISCO SERVER STARTS [192.168.50.4] out: [192.168.50.4] out: 01:20:55.518 [info] Fair scheduler starts [192.168.50.4] out: [192.168.50.4] out: 01:20:55.520 [info] Scheduler uses fair policy [192.168.50.4] out: [192.168.50.4] out: 01:20:55.532 [info] Fair scheduler: Fair policy [192.168.50.4] out: [192.168.50.4] out: 01:20:55.560 [info] Config table updated [192.168.50.4] out: [192.168.50.4] out: 01:20:55.743 [info] Starting node "disco_8989_slave" on "localhost" ("localhost") [192.168.50.4] out: [192.168.50.4] out: 01:20:55.858 [info] web server (mochiweb) starts [192.168.50.4] out: [192.168.50.4] out: 01:20:55.862 [info] Application disco started on node disco_8989_master@discomaster [192.168.50.4] out: [192.168.50.4] out: 01:20:58.788 [info] ddfs_node initialized on disco_8989_master@discomaster with volumes: ["vol0"] [192.168.50.4] out: [192.168.50.4] out: 01:20:58.831 [info] ddfs_node initialized on disco_8989_slave@localhost with volumes: ["vol0"] [192.168.50.4] out: [192.168.50.4] out: 01:20:58.831 [info] ddfs_node starts on disco_8989_master@discomaster [192.168.50.4] out: [192.168.50.4] out: 01:20:58.831 [info] Node started at disco_8989_slave@localhost (reporting as disco_8989_master@discomaster) on "localhost" [192.168.50.4] out: [192.168.50.4] out: 01:20:58.846 [info] lock_server starts on disco_8989_slave@localhost [192.168.50.4] out: [192.168.50.4] out: 01:20:58.886 [info] Tempgc: error listing "/usr/local/var/disco/data/localhost": {error,enoent} [192.168.50.4] out: [192.168.50.4] out: 01:20:58.890 [info] Tempgc: one pass completed on disco_8989_slave@localhost [192.168.50.4] out: [192.168.50.4] out: 01:20:59.014 [info] Started ddfs_put at disco_8989_slave@localhost on port 8990 [192.168.50.4] out: [192.168.50.4] out: 01:20:59.025 [info] ddfs_node starts on disco_8989_slave@localhost [192.168.50.4] out: [192.168.50.4] out: 01:20:59.424 [info] Node started at disco_8989_slave@localhost (reporting as disco_8989_slave@localhost) on "localhost" [192.168.50.4] out: [192.168.50.4] out: 01:25:55.498 [info] GC: initializing [192.168.50.4] out: [192.168.50.4] out: 01:25:55.540 [info] GC: entering gc phase [192.168.50.4] out: [192.168.50.4] out: 01:25:55.553 [info] GC: found 0 blob, 0 tag candidates on disco_8989_slave@localhost [192.168.50.4] out: [192.168.50.4] out: 01:25:55.571 [info] Node GC Stats for disco_8989_slave@localhost: {tag,"kept",{0,0},"deleted",{0,0}} {blob,"kept",{0,0},"deleted",{0,0}} [192.168.50.4] out: [192.168.50.4] out: 01:25:55.571 [info] GC: Pruning +deleted [192.168.50.4] out: [192.168.50.4] out: 01:25:55.575 [info] Total GC Stats: {tag,"kept",{0,0},"deleted",{0,0}} {blob,"kept",{0,0},"deleted",{0,0}} [192.168.50.4] out: [192.168.50.4] out: 01:25:55.576 [info] GC: entering rr_blobs phase [192.168.50.4] out: [192.168.50.4] out: 01:25:55.576 [info] GC: sent 0 blob replication requests, entering rr_blobs_wait [192.168.50.4] out: [192.168.50.4] out: 01:25:55.576 [info] GC: replication ending with Ref 0, TO 0 [192.168.50.4] out: [192.168.50.4] out: 01:25:55.578 [info] GC: done with blob replication, replicating tags (0 pending) [192.168.50.4] out: [192.168.50.4] out: 01:25:55.578 [info] GC: 0 tags updated/replication done, done with GC! [192.168.50.4] out: [192.168.50.4] out: 01:25:55.599 [error] GC: exited with shutdown

alexgustafson commented 10 years ago

Hi jgan,

It's been a while sind I've worked with this. Looks like fab start is working though. Let me try it out and I'll get back to you in a moment.

Jeeva-G commented 10 years ago

Hi,

Thank you. Do i need to run fab start in all the nodes or its fine with master alone?

Regards, Jeeva.

alexgustafson commented 10 years ago

It should only run on the master alone. This command just starts the master node. On line 101 of the fabfile you will find the stateement: run('bin/disco nodaemon')

This will run disco in the console, disco will echo to the console, if you close the console you disco will exit. If you change the statement to run('bin/disco'). It will start disco as a background daemon process.

Jeeva-G commented 10 years ago

Ok. So, in that case, if i am not wrong, i need to ssh in to slave node and start that as well. Am i right? And, how does both communicate, do i need to configure it in the browser?

alexgustafson commented 10 years ago

If the disco nodes ( Master and Slave ) are properly configured, then the Master will ssh to the slaves it knows about and start them all. In the browser you can configure the slave nodes, the corresponding entries must also be in the etc/hosts files. ( see https://github.com/alexgustafson/disco_vagrant/tree/master/templates )

If you run all the fab steps in order, fabric should take care of the configuration for you. ( I'm not 100% sure if everything is working at the moment though, or if some manual tweaking is still necessary somewhere )

Jeeva-G commented 10 years ago

Ok. Yeah i checked that hosts file and it is present. And yes, my slaves were running in slave machine disconode1 which is also running. And i updated fab file to bin/disco.

Jeeva-G commented 10 years ago

Hi, I am trying to start the nodes with this fab start, but again i am stuck this.. :( My badness..

discouser@discoclient:~/disco_vagrant$ fab start [192.168.50.4] Executing task 'start' [192.168.50.4] run: bin/disco nodaemon [192.168.50.4] Login password for 'vagrant': [192.168.50.4] out: Erlang R16B01 (erts-5.10.2) [source] [async-threads:10] [kernel-poll:true] [192.168.50.4] out: [192.168.50.4] out: Eshell V5.10.2 (abort with ^G) [192.168.50.4] out: (disco_8989_master@discomaster)1> 03:02:25.951 [info] Application lager started on node disco_8989_master@discomaster [192.168.50.4] out: [192.168.50.4] out: 03:02:26.322 [info] Application inets started on node disco_8989_master@discomaster [192.168.50.4] out: [192.168.50.4] out: 03:02:26.331 [info] DISCO BOOTS [192.168.50.4] out: [192.168.50.4] out: 03:02:26.345 [info] Disco proxy disabled [192.168.50.4] out: [192.168.50.4] out: 03:02:26.356 [info] DDFS master starts [192.168.50.4] out: [192.168.50.4] out: 03:02:26.373 [info] Event server starts [192.168.50.4] out: [192.168.50.4] out: 03:02:26.384 [info] Disco config starts [192.168.50.4] out: [192.168.50.4] out: 03:02:26.398 [info] DISCO SERVER STARTS [192.168.50.4] out: [192.168.50.4] out: 03:02:26.407 [info] Fair scheduler starts [192.168.50.4] out: [192.168.50.4] out: 03:02:26.408 [info] Scheduler uses fair policy [192.168.50.4] out: [192.168.50.4] out: 03:02:26.420 [info] Fair scheduler: Fair policy [192.168.50.4] out: [192.168.50.4] out: 03:02:26.442 [info] Config table updated [192.168.50.4] out: [192.168.50.4] out: 03:02:26.640 [info] Starting node "disco_8989_slave" on "disconode1" ("disconode1") [192.168.50.4] out: [192.168.50.4] out: 03:02:26.703 [info] Starting node "disco_8989_slave" on "localhost" ("localhost") [192.168.50.4] out: [192.168.50.4] out: 03:02:26.756 [info] Starting node "disco_8989_slave" on "discomaster" ("discomaster") [192.168.50.4] out: [192.168.50.4] out: 03:02:26.888 [info] web server (mochiweb) starts [192.168.50.4] out: [192.168.50.4] out: 03:02:26.901 [info] Application disco started on node disco_8989_master@discomaster [192.168.50.4] out: [192.168.50.4] out: 03:02:29.714 [error] \ Connection attempt from disallowed node disco_8989_slave@disconode1 [192.168.50.4] out: [192.168.50.4] out: [192.168.50.4] out: 03:02:29.825 [info] ddfs_node initialized on disco_8989_master@discomaster with volumes: ["vol0"] [192.168.50.4] out: [192.168.50.4] out: 03:02:29.873 [info] ddfs_node initialized on disco_8989_slave@discomaster with volumes: ["vol0"] [192.168.50.4] out: [192.168.50.4] out: 03:02:29.894 [info] ddfs_node starts on disco_8989_master@discomaster [192.168.50.4] out: [192.168.50.4] out: 03:02:29.899 [info] Node started at disco_8989_slave@discomaster (reporting as disco_8989_master@discomaster) on "discomaster" [192.168.50.4] out: [192.168.50.4] out: 03:02:29.947 [info] lock_server starts on disco_8989_slave@discomaster [192.168.50.4] out: [192.168.50.4] out: 03:02:29.991 [info] Tempgc: error listing "/usr/local/var/disco/data/discomaster": {error,enoent} [192.168.50.4] out: [192.168.50.4] out: 03:02:29.994 [info] Tempgc: one pass completed on disco_8989_slave@discomaster [192.168.50.4] out: [192.168.50.4] out: 03:02:30.219 [info] Started ddfs_put at disco_8989_slave@discomaster on port 8990 [192.168.50.4] out: [192.168.50.4] out: 03:02:30.232 [info] ddfs_node starts on disco_8989_slave@discomaster [192.168.50.4] out: [192.168.50.4] out: 03:02:31.482 [info] Node started at disco_8989_slave@discomaster (reporting as disco_8989_slave@discomaster) on "discomaster" [192.168.50.4] out: [192.168.50.4] out: 03:02:58.755 [info] Connection timed out to "disconode1" [192.168.50.4] out: [192.168.50.4] out: 03:03:05.836 [info] Connection timed out to "localhost" [192.168.50.4] out: [192.168.50.4] out: 03:03:13.762 [warning] Restarting monitor for "disconode1" [192.168.50.4] out: [192.168.50.4] out: 03:03:13.778 [info] Starting node "disco_8989_slave" on "disconode1" ("disconode1") [192.168.50.4] out: [192.168.50.4] out: 03:03:16.351 [error] \ Connection attempt from disallowed node disco_8989_slave@disconode1 [192.168.50.4] out: [192.168.50.4] out: [192.168.50.4] out:

bobgus commented 10 years ago

check whether everyting is installed correctly. See attached transcript for installation.

Bob G

Jeeva wrote:

Hi, I am trying to start the nodes with this fab start, but again i am stuck this.. :( My badness..

discouser@discoclient:~/disco_vagrant$ fab start [192.168.50.4] Executing task 'start' [192.168.50.4] run: bin/disco nodaemon [192.168.50.4] Login password for 'vagrant': [192.168.50.4] out: Erlang R16B01 (erts-5.10.2) [source] [async-threads:10] [kernel-poll:true] [192.168.50.4] out: [192.168.50.4] out: Eshell V5.10.2 (abort with ^G) [192.168.50.4] out: (disco_8989_master@discomaster)1> 03:02:25.951 [info] Application lager started on node disco_8989_master@discomaster [192.168.50.4] out: [192.168.50.4] out: 03:02:26.322 [info] Application inets started on node disco_8989_master@discomaster [192.168.50.4] out: [192.168.50.4] out: 03:02:26.331 [info] DISCO BOOTS [192.168.50.4] out: [192.168.50.4] out: 03:02:26.345 [info] Disco proxy disabled [192.168.50.4] out: [192.168.50.4] out: 03:02:26.356 [info] DDFS master starts [192.168.50.4] out: [192.168.50.4] out: 03:02:26.373 [info] Event server starts [192.168.50.4] out: [192.168.50.4] out: 03:02:26.384 [info] Disco config starts [192.168.50.4] out: [192.168.50.4] out: 03:02:26.398 [info] DISCO SERVER STARTS [192.168.50.4] out: [192.168.50.4] out: 03:02:26.407 [info] Fair scheduler starts [192.168.50.4] out: [192.168.50.4] out: 03:02:26.408 [info] Scheduler uses fair policy [192.168.50.4] out: [192.168.50.4] out: 03:02:26.420 [info] Fair scheduler: Fair policy [192.168.50.4] out: [192.168.50.4] out: 03:02:26.442 [info] Config table updated [192.168.50.4] out: [192.168.50.4] out: 03:02:26.640 [info] Starting node "disco_8989_slave" on "disconode1" ("disconode1") [192.168.50.4] out: [192.168.50.4] out: 03:02:26.703 [info] Starting node "disco_8989_slave" on "localhost" ("localhost") [192.168.50.4] out: [192.168.50.4] out: 03:02:26.756 [info] Starting node "disco_8989_slave" on "discomaster" ("discomaster") [192.168.50.4] out: [192.168.50.4] out: 03:02:26.888 [info] web server (mochiweb) starts [192.168.50.4] out: [192.168.50.4] out: 03:02:26.901 [info] Application disco started on node disco_8989_master@discomaster [192.168.50.4] out: [192.168.50.4] out: 03:02:29.714 [error] \ Connection attempt from disallowed node disco_8989_slave@disconode1 [192.168.50.4] out: [192.168.50.4] out: [192.168.50.4] out: 03:02:29.825 [info] ddfs_node initialized on disco_8989_master@discomaster with volumes: ["vol0"] [192.168.50.4] out: [192.168.50.4] out: 03:02:29.873 [info] ddfs_node initialized on disco_8989_slave@discomaster with volumes: ["vol0"] [192.168.50.4] out: [192.168.50.4] out: 03:02:29.894 [info] ddfs_node starts on disco_8989_master@discomaster [192.168.50.4] out: [192.168.50.4] out: 03:02:29.899 [info] Node started at disco_8989_slave@discomaster (reporting as disco_8989_master@discomaster) on "discomaster" [192.168.50.4] out: [192.168.50.4] out: 03:02:29.947 [info] lock_server starts on disco_8989_slave@discomaster [192.168.50.4] out: [192.168.50.4] out: 03:02:29.991 [info] Tempgc: error listing "/usr/local/var/disco/data/discomaster": {error,enoent} [192.168.50.4] out: [192.168.50.4] out: 03:02:29.994 [info] Tempgc: one pass completed on disco_8989_slave@discomaster [192.168.50.4] out: [192.168.50.4] out: 03:02:30.219 [info] Started ddfs_put at disco_8989_slave@discomaster on port 8990 [192.168.50.4] out: [192.168.50.4] out: 03:02:30.232 [info] ddfs_node starts on disco_8989_slave@discomaster [192.168.50.4] out: [192.168.50.4] out: 03:02:31.482 [info] Node started at disco_8989_slave@discomaster (reporting as disco_8989_slave@discomaster) on "discomaster" [192.168.50.4] out: [192.168.50.4] out: 03:02:58.755 [info] Connection timed out to "disconode1" [192.168.50.4] out: [192.168.50.4] out: 03:03:05.836 [info] Connection timed out to "localhost" [192.168.50.4] out: [192.168.50.4] out: 03:03:13.762 [warning] Restarting monitor for "disconode1" [192.168.50.4] out: [192.168.50.4] out: 03:03:13.778 [info] Starting node "disco_8989_slave" on "disconode1" ("disconode1") [192.168.50.4] out: [192.168.50.4] out: 03:03:16.351 [error] \ Connection attempt from disallowed node disco_8989_slave@disconode1 [192.168.50.4] out: [192.168.50.4] out: [192.168.50.4] out:

— Reply to this email directly or view it on GitHub https://github.com/alexgustafson/disco_vagrant/issues/3#issuecomment-55244704.

[user1@hoho8-chidig-com disco_vagrant]$ fab install_step_01 [192.168.50.4] Executing task 'install_step_01' [192.168.50.4] run: sudo sed -e 's/KnownHosts yes/KnownHosts no/' < /etc/ssh/ssh_config > /tmp/xx [192.168.50.4] Login password for 'vagrant': [192.168.50.4] run: sudo cp /tmp/xx /etc/ssh/ssh_config [192.168.50.4] run: sudo rm -rf /root/.ssh [192.168.50.4] run: sudo rm -rf /home/disco/.ssh Create password for user root [192.168.50.4] run: sudo passwd [192.168.50.4] out: Enter new UNIX password: [192.168.50.4] out: Retype new UNIX password: [192.168.50.4] out: passwd: password updated successfully [192.168.50.4] out:

[192.168.50.4] run: sudo mkdir /root/.ssh [192.168.50.4] run: sudo chmod 700 /root/.ssh [192.168.50.4] run: sudo ssh-keygen -t ecdsa -N '' -f /root/.ssh/id_ecdsa [192.168.50.4] out: Generating public/private ecdsa key pair. [192.168.50.4] out: Your identification has been saved in /root/.ssh/id_ecdsa. [192.168.50.4] out: Your public key has been saved in /root/.ssh/id_ecdsa.pub. [192.168.50.4] out: The key fingerprint is: [192.168.50.4] out: 16:4a:9c:78:fe:ce:29:f1:e9:45:52:51:5c:7d:3f:ae root@discomaster [192.168.50.4] out: The key's randomart image is: [192.168.50.4] out: +--[ECDSA 256]---+ [192.168.50.4] out: | .o.... | [192.168.50.4] out: | o . .. o| [192.168.50.4] out: | . = . . o| [192.168.50.4] out: | + . o ..| [192.168.50.4] out: | o S . . .| [192.168.50.4] out: | .o o . | [192.168.50.4] out: | o... . | [192.168.50.4] out: | .ooo E | [192.168.50.4] out: | o= | [192.168.50.4] out: +-----------------+ [192.168.50.4] out:

            Create password for user disco

[192.168.50.4] run: sudo passwd disco [192.168.50.4] out: Enter new UNIX password: [192.168.50.4] out: Retype new UNIX password: [192.168.50.4] out: passwd: password updated successfully [192.168.50.4] out:

[192.168.50.4] run: sudo adduser --system disco --shell /bin/sh [192.168.50.4] out: The system user `disco' already exists. Exiting. [192.168.50.4] out:

[192.168.50.4] run: sudo -u disco mkdir -p /home/disco/.ssh/ [192.168.50.4] run: sudo -u disco chmod 700 /home/disco/.ssh/ [192.168.50.4] run: sudo -u disco ssh-keygen -t ecdsa -N '' -f /home/disco/.ssh/id_ecdsa [192.168.50.4] out: Generating public/private ecdsa key pair. [192.168.50.4] out: Your identification has been saved in /home/disco/.ssh/id_ecdsa. [192.168.50.4] out: Your public key has been saved in /home/disco/.ssh/id_ecdsa.pub. [192.168.50.4] out: The key fingerprint is: [192.168.50.4] out: 78:47:ed:b5:f8:b9:00:3b:48:2b:cb:89:17:6e:ec:5c disco@discomaster [192.168.50.4] out: The key's randomart image is: [192.168.50.4] out: +--[ECDSA 256]---+ [192.168.50.4] out: | | [192.168.50.4] out: | . | [192.168.50.4] out: | . . . | [192.168.50.4] out: | . . . o . | [192.168.50.4] out: | . S o o . | [192.168.50.4] out: | .o + o . . | [192.168.50.4] out: | o..E o . o | [192.168.50.4] out: | +== . . . | [192.168.50.4] out: | .+* . | [192.168.50.4] out: +-----------------+ [192.168.50.4] out:

[192.168.50.4] run: sudo cat /root/.ssh/id_ecdsa.pub | sudo ssh -24 disco@discomaster 'cat >> /home/disco/.ssh/authorized_keys' [192.168.50.4] out: The authenticity of host 'discomaster (127.0.1.1)' can't be established. [192.168.50.4] out: ECDSA key fingerprint is 33:aa:34:f8:8b:64:46:6b:f5:08:a0:19:ae:65:d7:53. [192.168.50.4] out: Are you sure you want to continue connecting (yes/no)? yes [192.168.50.4] out: Warning: Permanently added 'discomaster' (ECDSA) to the list of known hosts. [192.168.50.4] out: [192.168.50.4] out: disco@discomaster's password: [192.168.50.4] out:

[192.168.50.4] run: sudo cat /home/disco/.ssh/id_ecdsa.pub | sudo ssh -24 root@discomaster 'cat >> /root/.ssh/authorized_keys' [192.168.50.4] out: root@discomaster's password: [192.168.50.4] out:

copying hosts file to /etc/hosts [192.168.50.4] put: templates/discomaster/hosts -> /etc/hosts [192.168.50.4] run: sudo cat /home/disco/.ssh/id_ecdsa.pub | sudo ssh disco@disconode1 'cat >> /home/disco/.ssh/authorized_keys' [192.168.50.4] out: The authenticity of host 'disconode1 (192.168.50.10)' can't be established. [192.168.50.4] out: ECDSA key fingerprint is 33:aa:34:f8:8b:64:46:6b:f5:08:a0:19:ae:65:d7:53. [192.168.50.4] out: Are you sure you want to continue connecting (yes/no)? yes [192.168.50.4] out: Warning: Permanently added 'disconode1,192.168.50.10' (ECDSA) to the list of known hosts. [192.168.50.4] out: [192.168.50.4] out: disco@disconode1's password: [192.168.50.4] out:

[192.168.50.4] run: sudo cat /home/disco/.ssh/id_ecdsa.pub | sudo ssh root@disconode1 'cat >> /root/.ssh/authorized_keys' [192.168.50.4] out: root@disconode1's password: [192.168.50.4] out: Permission denied, please try again. [192.168.50.4] out: [192.168.50.4] out: root@disconode1's password: [192.168.50.4] out:

[192.168.50.4] run: sudo cat /root/.ssh/id_ecdsa.pub | sudo ssh disco@disconode1 'cat >> /home/disco/.ssh/authorized_keys' [192.168.50.4] out: disco@disconode1's password: [192.168.50.4] out:

[192.168.50.4] run: sudo cat /root/.ssh/id_ecdsa.pub | sudo ssh root@disconode1 'cat >> /root/.ssh/authorized_keys' [192.168.50.4] out: root@disconode1's password: [192.168.50.4] out:

[192.168.50.10] Executing task 'install_step_01' [192.168.50.10] run: sudo sed -e 's/KnownHosts yes/KnownHosts no/' < /etc/ssh/ssh_config > /tmp/xx [192.168.50.10] run: sudo cp /tmp/xx /etc/ssh/ssh_config [192.168.50.10] run: sudo rm -rf /root/.ssh [192.168.50.10] run: sudo rm -rf /home/disco/.ssh Create password for user root [192.168.50.10] run: sudo passwd [192.168.50.10] out: Enter new UNIX password: [192.168.50.10] out: Retype new UNIX password: [192.168.50.10] out: passwd: password updated successfully [192.168.50.10] out:

[192.168.50.10] run: sudo mkdir /root/.ssh [192.168.50.10] run: sudo chmod 700 /root/.ssh [192.168.50.10] run: sudo ssh-keygen -t ecdsa -N '' -f /root/.ssh/id_ecdsa [192.168.50.10] out: Generating public/private ecdsa key pair. [192.168.50.10] out: Your identification has been saved in /root/.ssh/id_ecdsa. [192.168.50.10] out: Your public key has been saved in /root/.ssh/id_ecdsa.pub. [192.168.50.10] out: The key fingerprint is: [192.168.50.10] out: fb:97:13:4e:fd:32:01:54:e5:76:fd:35:f5:25:68:9e root@disconode1 [192.168.50.10] out: The key's randomart image is: [192.168.50.10] out: +--[ECDSA 256]---+ [192.168.50.10] out: | oo.+| [192.168.50.10] out: | + o=| [192.168.50.10] out: | + . .B| [192.168.50.10] out: | E .=| [192.168.50.10] out: | S o .| [192.168.50.10] out: | . o o | [192.168.50.10] out: | . o o o | [192.168.50.10] out: | . = o .| [192.168.50.10] out: | .. . o | [192.168.50.10] out: +-----------------+ [192.168.50.10] out:

            Create password for user disco

[192.168.50.10] run: sudo passwd disco [192.168.50.10] out: Enter new UNIX password: [192.168.50.10] out: Retype new UNIX password: [192.168.50.10] out: passwd: password updated successfully [192.168.50.10] out:

[192.168.50.10] run: sudo adduser --system disco --shell /bin/sh [192.168.50.10] out: The system user `disco' already exists. Exiting. [192.168.50.10] out:

[192.168.50.10] run: sudo -u disco mkdir -p /home/disco/.ssh/ [192.168.50.10] run: sudo -u disco chmod 700 /home/disco/.ssh/ [192.168.50.10] run: sudo -u disco ssh-keygen -t ecdsa -N '' -f /home/disco/.ssh/id_ecdsa [192.168.50.10] out: Generating public/private ecdsa key pair. [192.168.50.10] out: Your identification has been saved in /home/disco/.ssh/id_ecdsa. [192.168.50.10] out: Your public key has been saved in /home/disco/.ssh/id_ecdsa.pub. [192.168.50.10] out: The key fingerprint is: [192.168.50.10] out: 41:10:cd:14:27:5c:35:af:33:a3:b1:6b:de:59:7c:29 disco@disconode1 [192.168.50.10] out: The key's randomart image is: [192.168.50.10] out: +--[ECDSA 256]---+ [192.168.50.10] out: | oB=oo.o | [192.168.50.10] out: | .+o o | [192.168.50.10] out: | . . | [192.168.50.10] out: | . . | [192.168.50.10] out: | S . = | [192.168.50.10] out: | + = .| [192.168.50.10] out: | o Eo..| [192.168.50.10] out: | .o o.. | [192.168.50.10] out: | oo o | [192.168.50.10] out: +-----------------+ [192.168.50.10] out:

[192.168.50.10] run: sudo cat /root/.ssh/id_ecdsa.pub | sudo ssh -24 disco@disconode1 'cat >> /home/disco/.ssh/authorized_keys' [192.168.50.10] out: The authenticity of host 'disconode1 (127.0.1.1)' can't be established. [192.168.50.10] out: ECDSA key fingerprint is 33:aa:34:f8:8b:64:46:6b:f5:08:a0:19:ae:65:d7:53. [192.168.50.10] out: Are you sure you want to continue connecting (yes/no)? yes [192.168.50.10] out: Warning: Permanently added 'disconode1' (ECDSA) to the list of known hosts. [192.168.50.10] out: [192.168.50.10] out: disco@disconode1's password: [192.168.50.10] out:

[192.168.50.10] run: sudo cat /home/disco/.ssh/id_ecdsa.pub | sudo ssh -24 root@disconode1 'cat >> /root/.ssh/authorized_keys' [192.168.50.10] out: root@disconode1's password: [192.168.50.10] out:

copying hosts file to /etc/hosts [192.168.50.10] put: templates/disconode1/hosts -> /etc/hosts Nodes here !! [192.168.50.10] run: sudo cat /home/disco/.ssh/id_ecdsa.pub | sudo ssh disco@discomaster 'cat >> /home/disco/.ssh/authorized_keys' [192.168.50.10] out: The authenticity of host 'discomaster (192.168.50.4)' can't be established. [192.168.50.10] out: ECDSA key fingerprint is 33:aa:34:f8:8b:64:46:6b:f5:08:a0:19:ae:65:d7:53. [192.168.50.10] out: Are you sure you want to continue connecting (yes/no)? yes [192.168.50.10] out: Warning: Permanently added 'discomaster,192.168.50.4' (ECDSA) to the list of known hosts. [192.168.50.10] out: [192.168.50.10] out: disco@discomaster's password: [192.168.50.10] out:

[192.168.50.10] run: sudo cat /home/disco/.ssh/id_ecdsa.pub | sudo ssh root@discomaster 'cat >> /root/.ssh/authorized_keys' [192.168.50.10] out: root@discomaster's password: [192.168.50.10] out:

[192.168.50.10] run: sudo cat /root/.ssh/id_ecdsa.pub | sudo ssh disco@discomaster 'cat >> /home/disco/.ssh/authorized_keys' [192.168.50.10] out: disco@discomaster's password: [192.168.50.10] out:

[192.168.50.10] run: sudo cat /root/.ssh/id_ecdsa.pub | sudo ssh root@discomaster 'cat >> /root/.ssh/authorized_keys' [192.168.50.10] out: root@discomaster's password: [192.168.50.10] out:

Done. Disconnecting from 192.168.50.4... done. Disconnecting from 192.168.50.10... done. [user1@hoho8-chidig-com disco_vagrant]$