AnsweredAssumed Answered

ubuntu 14.04 install fails for node that installer is running on

Question asked by ppinets on Jul 31, 2014
I am trying to install MapR to two Ubuntu server 14.04 nodes: ubserv1 (control and data) and ubserv2 (data). I am running the installer from ubserv2. ubserv1's installation completed successfully, but ubserv2's installation always fails in the following way. I have verified that ssh works from both nodes to each other and themselves. I have also ensured that ssh root login is enabled as another answer for this problem suggested. Here is the output of the installer:


        $ sudo /opt/mapr-installer/bin/install -u user -s -U root --ask-sudo-pass add
    Verifying install pre-requisites
    ... verified
    
    ===============================================================================
    =                                                                             =
    =  __  __                ____    ___              _          _  _             =
    = |  \/  |  __ _  _ __  |  _ \  |_ _| _ __   ___ | |_  __ _ | || |  ___  _ __ =
    = | |\/| | / _` || '_ \ | |_) |  | | | '_ \ / __|| __|/ _` || || | / _ \| '__|=
    = | |  | || (_| || |_) ||  _ <   | | | | | |\__ \| |_| (_| || || ||  __/| |   =
    = |_|  |_| \__,_|| .__/ |_| \_\ |___||_| |_||___/ \__|\__,_||_||_| \___||_|   =
    =                |_|                                                          =
    =                                                                             =
    ===============================================================================
    Version: 2.0.163
    
    
    An Installer config file is typically used by experienced MapR admins to skip thorough the interview process.
    
    Do you have a config file (y/n) [n]: n
    Enter the hostnames of all the control nodes to add to an installation []:
    Enter the hostnames of all the data nodes to add to an installation []: ubserv2
    Enter the full path of disks for hosts separated by spaces or commas you want to add to the installation []: /dev/sda6
    
                Current Information (Please verify if correct)
                ==============================================
    
                Client Nodes: ""
                Control Nodes: ""
                Data Nodes: "ubserv2"
    
                
    (c)ontinue with install, (m)odify options, or save current configuration and (a)bort? (c/m/a) [c]: c
    Enter the password for mapr user on ubserv1:
    SSH password:
    sudo password [defaults to SSH password]:
    Now running on Data Nodes: [ubserv2]
    * 15:16:10 Interrogating Node(s), Validating Prerequisites, and Starting Install
    fatal: [ubserv2] => Authentication or permission failure.  In some cases, you may have been able to authenticate and did not have permissions on the remote directory. Consider changing the remote temp path in ansible.cfg to a path rooted in "/tmp". Failed command was: mkdir -p $HOME/.ansible/tmp/ansible-tmp-1406841370.89-144706029120130 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1406841370.89-144706029120130 && echo $HOME/.ansible/tmp/ansible-tmp-1406841370.89-144706029120130, exited with result 1: mkdir: cannot create directory ‘/home/user/.ansible’: Permission denied
    
    * 15:16:11 Installing Extra Package Repositories If Needed
    FATAL: no hosts matched or all hosts have already failed -- aborting
    * 15:16:11 Detecting Operating System
    FATAL: no hosts matched or all hosts have already failed -- aborting
    * 15:16:11 Detecting Operating System
    FATAL: no hosts matched or all hosts have already failed -- aborting
    * 15:16:11 Creating MapR User
    FATAL: no hosts matched or all hosts have already failed -- aborting
    * 15:16:11 Installing and Configuring NTP Service
    FATAL: no hosts matched or all hosts have already failed -- aborting
    * 15:16:11 Installing OpenJDK Packages If Needed
    FATAL: no hosts matched or all hosts have already failed -- aborting
    * 15:16:11 Detecting Operating System
    FATAL: no hosts matched or all hosts have already failed -- aborting
    * 15:16:11 Installing MapR Packages
    FATAL: no hosts matched or all hosts have already failed -- aborting
    * 15:16:11 Disablng MapR Services Until Configured
    FATAL: no hosts matched or all hosts have already failed -- aborting
    FATAL: no hosts matched or all hosts have already failed -- aborting
    Host: ubserv2 is unreachable
    Cluster has some failures. Please fix the nodes with failures and re-run the installation. Installation will continue on other nodes.

Outcomes