Home Forums HDP on Linux – Installation Centos 5.X new installation fails

This topic contains 4 replies, has 2 voices, and was last updated by  Ben Cuthbert 2 years ago.

  • Creator
    Topic
  • #8199

    Ben Cuthbert
    Member

    All

    I follows the FAQ and all the guides on setting up a new cluster. All I see it.

    :end] (notice): Dependency Package[nagios-plugins-1.4.9] has failures: true
    Tue Aug 14 12:05:55 +0100 2012 /Stage[25]/Hdp-ganglia::Monitor::Config-gen/Hdp-ganglia::Config::Generate_monitor[HDPJobTracker]/Hdp::Exec[/usr/libexec/hdp/ganglia/setupGanglia.sh -c HDPJobTracker]/Anchor[hdp::exec::/usr/libexec/hdp/ganglia/setupGanglia.sh -c HDPJobTracker::end] (warning): Skipping because of failed dependencies
    Tue Aug 14 12:05:55 +0100 2012 /Stage[25]/Hdp-ganglia::Monitor::Config-gen/Anchor[hdp-ganglia::monitor::config-gen::end] (notice): Dependency Package[nagios-plugins-1.4.9] has failures: true
    Tue Aug 14 12:05:55 +0100 2012 /Stage[25]/Hdp-ganglia::Monitor::Config-gen/Anchor[hdp-ganglia::monitor::config-gen::end] (warning): Skipping because of failed dependencies
    Tue Aug 14 12:05:55 +0100 2012 Puppet (debug): Finishing transaction 23456254194480
    Tue Aug 14 12:05:55 +0100 2012 Puppet (debug): Storing state
    Tue Aug 14 12:05:55 +0100 2012 Puppet (info): Creating state file /var/lib/puppet/state/state.yaml
    Tue Aug 14 12:05:55 +0100 2012 Puppet (debug): Stored state in 0.07 seconds
    Tue Aug 14 12:05:55 +0100 2012 Puppet (notice): Finished catalog run in 44.55 seconds
    Tue Aug 14 12:05:55 +0100 2012 Puppet (debug): Finishing transaction 23456249487320
    Tue Aug 14 12:05:55 +0100 2012 Puppet (debug): Received report to process from devhortonworks.localdomain
    Tue Aug 14 12:05:55 +0100 2012 Puppet (debug): Processing report from devhortonworks.localdomain with processor Puppet::Reports::Store

    [root@devhortonworks ~]# tail -f /var/log/hmc/hmc.log
    [2012:08:14 11:05:17][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:05:22][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:05:27][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:05:32][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:05:37][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:05:42][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:05:47][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:05:52][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:05:57][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:06:02][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:06:07][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:06:12][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:06:17][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:06:22][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:06:27][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:06:32][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:06:37][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:06:42][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:06:47][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:06:52][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:06:57][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:07:02][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:07:02][WARN][PuppetInvoker][PuppetInvoker.php:344][waitForResults]: Kick timed out, waited 120 seconds
    [2012:08:14 11:07:03][INFO][PuppetInvoker][PuppetInvoker.php:292][genKickWait]: Kick attempt (2/3)
    [2012:08:14 11:07:03][INFO][PuppetInvoker][PuppetInvoker.php:332][waitForResults]: Waiting for results from devhortonworks
    [2012:08:14 11:07:03][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:07:08][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:07:13][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:07:18][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:07:23][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:07:28][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:07:33][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:07:38][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:07:43][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:07:49][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:07:54][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:07:59][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:08:05][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:08:10][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:08:15][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:14 11:08:20][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #8297

    Ben Cuthbert
    Member

    Thanks. So a note for all other users to disable the /etc/resolv.conf on centos 5 you need to do the following
    vi /etc/dhclient-enter-hooks
    put in
    make_resolv_conf(){
    :
    }

    This will allow the hostname -f and hostname commands to be the same, and allow for the correct resolving. I then had the hostname and hostname -f set correctly. The only issue with the uninstall is the puppet certs don’t get cleaned up. So you still end up with the old cert files.

    So with all of that and running the installer again. I still end up with the error

    [2012:08:15 07:17:58][INFO][PuppetInvoker][PuppetInvoker.php:292][genKickWait]: Kick attempt (3/3)
    [2012:08:15 07:17:58][INFO][PuppetInvoker][PuppetInvoker.php:332][waitForResults]: Waiting for results from devhortonworks.eu.celer-tech.com
    [2012:08:15 07:17:58][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:15 07:18:03][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:15 07:18:08][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:15 07:18:13][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:15 07:18:18][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:15 07:18:23][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:15 07:18:28][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0
    [2012:08:15 07:18:33][INFO][PuppetInvoker][PuppetInvoker.php:336][waitForResults]: 0 out of 1 nodes have reported for txn 3-2-0

    I did notice in the puppet_agent.log

    Wed Aug 15 08:15:52 +0100 2012 Puppet (notice): triggered run
    Wed Aug 15 08:15:52 +0100 2012 Puppet (notice): Using cached catalog
    Wed Aug 15 08:15:52 +0100 2012 Puppet (debug): catalog supports formats: b64_zlib_yaml dot marshal pson raw yaml; using pson
    Wed Aug 15 08:15:52 +0100 2012 Puppet (err): Could not retrieve catalog from remote server: certificate verify failed. This is often because the time is out of sync on the server or client
    Wed Aug 15 08:15:52 +0100 2012 Puppet (notice): Using cached catalog
    Wed Aug 15 08:15:52 +0100 2012 Puppet (err): Could not retrieve catalog; skipping run
    Wed Aug 15 08:15:52 +0100 2012 Puppet (debug): Value of ‘preferred_serialization_format’ (pson) is invalid for report, using default (marshal)
    Wed Aug 15 08:15:52 +0100 2012 Puppet (debug): report supports formats: b64_zlib_yaml marshal raw yaml; using marshal
    Wed Aug 15 08:15:52 +0100 2012 Puppet (err): Could not send report: certificate verify failed. This is often because the time is out of sync on the server or client

    [root@devhortonworks .ssh]# hostname
    devhortonworks.eu.celer-tech.com
    [root@devhortonworks .ssh]# hostname -f
    devhortonworks.eu.celer-tech.com

    Collapse
    #8217

    Sasha J
    Moderator

    OK, there are few things needs to be fixed….
    1. You need to give your node some IP address other than 127.0.0.1. Your hosts file should have something like this:
    127.0.0.1 localhost.localdomain localhost
    10.10.10.10 devhortonworks

    2. Commands “hostname” and “hostname -f” should both return the same:

    devhortonworks

    3. Make sure your /etc/resolv.conf file contains the following line:

    hosts: files dns

    4. Make sure passwordless ssh works on you node.

    Please, fix/check the above and then do:

    yum -y erase hmc puppet
    yum -y install hmc
    service hmc start

    and then retry installation.

    Thank you!
    Sasha

    Collapse
    #8216

    Ben Cuthbert
    Member

    Thanks uploaded devcelertech.devhortonworks.127.0.0.1.out

    Collapse
    #8207

    Sasha J
    Moderator

    Ben,
    The log you sent does not have any helpful information.
    Please, use check script in sticky and upload results.

    http://hortonworks.com/community/forums/topic/hmc-installation-support-help-us-help-you/

    Thank you!
    Sasha

    Collapse
Viewing 4 replies - 1 through 4 (of 4 total)