You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@metron.apache.org by Kevin Waterson <ke...@gmail.com> on 2016/08/29 10:58:44 UTC

Authentication failure

When running the .run.sh from the install, I am getting Autentication
failure message.
What am I doing wrong here?

Thanks
Kev

$ ./run.sh
 Running with ansible-tags: ["hdp-deploy", "metron"]
 Running with ansible-skip-tags: ["solr"]
Bringing machine 'node1' up with 'virtualbox' provider...
==> node1: Box 'metron/hdp-base' could not be found. Attempting to find and
install...
    node1: Box Provider: virtualbox
    node1: Box Version: >= 0
==> node1: Loading metadata for box 'metron/hdp-base'
    node1: URL: https://atlas.hashicorp.com/metron/hdp-base
==> node1: Adding box 'metron/hdp-base' (v0.0.2) for provider: virtualbox
    node1: Downloading:
https://atlas.hashicorp.com/metron/boxes/hdp-base/versions/0.0.2/providers/virtualbox.box
==> node1: Successfully added box 'metron/hdp-base' (v0.0.2) for
'virtualbox'!
==> node1: Importing base box 'metron/hdp-base'...
==> node1: Matching MAC address for NAT networking...
==> node1: Checking if box 'metron/hdp-base' is up to date...
==> node1: Setting the name of the VM:
quick-dev-platform_node1_1472467292203_11397
==> node1: Clearing any previously set network interfaces...
==> node1: Preparing network interfaces based on configuration...
    node1: Adapter 1: nat
    node1: Adapter 2: hostonly
==> node1: Forwarding ports...
    node1: 22 (guest) => 2222 (host) (adapter 1)
==> node1: Running 'pre-boot' VM customizations...
==> node1: Booting VM...
==> node1: Waiting for machine to boot. This may take a few minutes...
    node1: SSH address: 127.0.0.1:2222
    node1: SSH username: vagrant
    node1: SSH auth method: private key
    node1: Warning: Remote connection disconnect. Retrying...
    node1:
    node1: Vagrant insecure key detected. Vagrant will automatically replace
    node1: this with a newly generated keypair for better security.
    node1:
    node1: Inserting generated public key within guest...
    node1: Removing insecure key from the guest if it's present...
    node1: Key inserted! Disconnecting and reconnecting using new SSH key...
    node1: Warning: Authentication failure. Retrying...
    node1: Warning: Authentication failure. Retrying...


-- 
-- 
"Democracy is two wolves and a lamb voting on what to have for lunch.
Liberty is a well-armed lamb contesting the vote."

RE: Authentication failure

Posted by Keiko Murakami <k....@nanaroq.com>.
Hello Kevin

>    node1: SSH address: 127.0.0.1:2222
>    node1: SSH username: vagrant
>    node1: SSH auth method: private key

Please check your ssh settings.
Apache metron deployment and execution need ssh login without password,
so you must add 127.0.0.1 into your ~/.ssh/known_hosts.
In my case, I executed following command as root.
  1) sh-keygen  --> with nopassword
  2) copy public key id_rsa.pub to authorized_keys
  3) change protection id_rsa -> 400, authorized_keys -> 600
  4) ssh (ipaddress) 
If you change hostname or access host to vagrant,
you must re-define thease key data.

Best regards,
Keiko

-------
From: Kevin Waterson [mailto:kevin.waterson@gmail.com] 
Sent: Monday, August 29, 2016 7:59 PM
To: user@metron.incubator.apache.org
Subject: Authentication failure

When running the .run.sh from the install, I am getting Autentication failure message.
What am I doing wrong here?
Thanks
Kev

$ ./run.sh 
 Running with ansible-tags: ["hdp-deploy", "metron"]
 Running with ansible-skip-tags: ["solr"]
Bringing machine 'node1' up with 'virtualbox' provider...
==> node1: Box 'metron/hdp-base' could not be found. Attempting to find and install...
    node1: Box Provider: virtualbox
    node1: Box Version: >= 0
==> node1: Loading metadata for box 'metron/hdp-base'
    node1: URL: https://atlas.hashicorp.com/metron/hdp-base
==> node1: Adding box 'metron/hdp-base' (v0.0.2) for provider: virtualbox
    node1: Downloading: https://atlas.hashicorp.com/metron/boxes/hdp-base/versions/0.0.2/providers/virtualbox.box
==> node1: Successfully added box 'metron/hdp-base' (v0.0.2) for 'virtualbox'!
==> node1: Importing base box 'metron/hdp-base'...
==> node1: Matching MAC address for NAT networking...
==> node1: Checking if box 'metron/hdp-base' is up to date...
==> node1: Setting the name of the VM: quick-dev-platform_node1_1472467292203_11397
==> node1: Clearing any previously set network interfaces...
==> node1: Preparing network interfaces based on configuration...
    node1: Adapter 1: nat
    node1: Adapter 2: hostonly
==> node1: Forwarding ports...
    node1: 22 (guest) => 2222 (host) (adapter 1)
==> node1: Running 'pre-boot' VM customizations...
==> node1: Booting VM...
==> node1: Waiting for machine to boot. This may take a few minutes...
    node1: SSH address: 127.0.0.1:2222
    node1: SSH username: vagrant
    node1: SSH auth method: private key
    node1: Warning: Remote connection disconnect. Retrying...
    node1: 
    node1: Vagrant insecure key detected. Vagrant will automatically replace
    node1: this with a newly generated keypair for better security.
    node1: 
    node1: Inserting generated public key within guest...
    node1: Removing insecure key from the guest if it's present...
    node1: Key inserted! Disconnecting and reconnecting using new SSH key...
    node1: Warning: Authentication failure. Retrying...
    node1: Warning: Authentication failure. Retrying...


-- 
-- 
"Democracy is two wolves and a lamb voting on what to have for lunch. 
Liberty is a well-armed lamb contesting the vote."