futuresystems / big-data-stack

Hadoop-based Big Data stack (hdfs, yarn, spark, etc)
Apache License 2.0
6 stars 17 forks source link

The master0 node is skipping the ssh key pair injection #58

Open kjaugustin opened 8 years ago

kjaugustin commented 8 years ago

Not sure why the master0 node is skipping the ssh key pair injection, while master1 and master2 are completing the ssh key pair injection. Please look at the following console log obtained from master0

Ubuntu 14.04.3 LTS ubuntu ttyS0

ubuntu login:

badmutex commented 8 years ago

It looks like you rebooted this instance with nova reboot --hard, is that correct?

I also see that your master-{0,1,2} are all on the 10.1.X.Y network. You may want to set 'create_floating_ip': True in .cluster.py (in the defaults for openstack). This way vcl boot will set the ansible_ssh_host to the floating ip in the inventory.

kjaugustin commented 8 years ago

Thanks for the quick reply. You are right, I had rebooted the VMs while trouble shooting ssh connectivity. I will try the suggested solution.

Thanks, Augustine

Sent from my iPhone

On Apr 11, 2016, at 10:04 AM, badi notifications@github.com wrote:

It looks like you rebooted this instance with nova reboot --hard, is that correct?

I also see that your master-{0,1,2} are all on the 10.1.X.Y network. You may want to set 'create_floating_ip': True in .cluster.py (in the defaults for openstack). This way vcl boot will set the ansible_ssh_host to the floating ip in the inventory.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub

kjaugustin commented 8 years ago

I have attempted to run vcl command after turning on the creation of floating point ips. I still see the same results. Somehow it is skipping the ssh key injection in to the master 0 node. What am I missing? The console log is below. A screen shot is send you in a separate email.

Ubuntu 14.04.3 LTS ubuntu ttyS0

ubuntu login: Cloud-init v. 0.7.5 running 'modules:final' at Mon, 11 Apr 2016 23:00:59 +0000. Up 171.64 seconds. 2016-04-11 23:00:59,336 - util.py[WARNING]: Running ssh-authkey-fingerprints (<module 'cloudinit.config.cc_ssh_authkey_fingerprints' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_ssh_authkey_fingerprints.pyc'>) failed ec2: ec2: ############################################################# ec2: -----BEGIN SSH HOST KEY FINGERPRINTS----- ec2: -----END SSH HOST KEY FINGERPRINTS----- ec2: ############################################################# -----BEGIN SSH HOST KEY KEYS----- -----END SSH HOST KEY KEYS----- Cloud-init v. 0.7.5 finished at Mon, 11 Apr 2016 23:00:59 +0000. Datasource DataSourceNone. Up 171.76 seconds 2016-04-11 23:00:59,372 - cc_final_message.py[WARNING]: Used fallback datasource

kjaugustin commented 8 years ago

Looked at the log file from badi-bds-master0 created at Fri, 08 Apr 2016 19:47:09 +0000 . It also doesn't have a log entry for ssh key injection.