The Hortonworks Community Connection is now live. A completely rebuilt Q&A forum, Knowledge Base, Code Hub and more, backed by the experts in the industry.

You will be redirected here in 10 seconds. If your are not redirected, click here to visit the new site.

The legacy Hortonworks Forum is now closed. You can view a read-only version of the former site by clicking here. The site will be taken offline on January 31,2016

HDP on Linux – Installation Forum

Fails with Puppet error about Kick failed

  • #34477
    Matt Lieber
    Participant

    hi,

    after trying to deploy, i get this error in the log:
    [2013:09:05 22:40:43][INFO][PuppetInvoker][PuppetInvoker.php:100][sendKick]: bdvm2.us.myhost.com: Kick failed with warning: peer certificate won’t be verified in this SSL session
    Host bdvm2.us.impetus.com failed: Error 403 on SERVER: Forbidden request: localhost(127.0.0.1) access to /run/bdvm2.us.myhost.com [save] at line 1
    Triggering bdvm2.us.myhost.com
    bdvm2.us.myhost.com finished with exit code 2
    Failed: bdvm2.us.myhost.com

    Any idea ?
    in my puppetmaster.conf i have:
    SSLCertificateFile /var/lib/puppet/ssl/certs/bdvm2.us.myhost.com.pem

    in my /etc/hosts i have:
    192.168.1.106 bdvm1 bdvm1.us.myhost.com
    192.168.1.211 bdvm2 bdvm2.us.myhost.com
    ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
    [root@bdvm2 ~]#

    hostname -f gives:
    bdvm2 .

    I m really not sure what the next step is; please help ?
    thanks,
    Matt

  • Author
    Replies
  • #34619
    Dave
    Moderator

    Hi Matt,

    Can you add this line into your etc/hosts

    192.168.1.211 localhost local

    Also can you ssh passwordless to itself? Sometimes I find installing the ambari-agent locally is easier to overcome these issues with ssh in a small test cluster.

    Let me know how you get on,

    Dave

    #34629
    Matt Lieber
    Participant

    Dave,

    that’s good thinking –
    but unfortunately , same error / problem.
    Yes, i am able to ssh to localhost and to bdvm2 in a passwordless way .

    thanks,
    Matt

    #34632
    Dave
    Moderator

    Hi Matt,

    Is the pem file there in /var/lib/puppet/ssl/certs ?

    Thanks

    Dave

    #34637
    Matt Lieber
    Participant

    Yes, i checked this also ..

    # ls /var/lib/puppet/ssl/certs
    bdvm2.us.myhost.com.pem ca.pem
    [root@bdvm2 ~]#

    thanks

    #34638
    Dave
    Moderator

    Hi Matt,

    Does your hostname really have a . at the end of it?

    Check /etc/sysconfig/network and ensure the hostname is bdvm2.us.myhost.com (this must resolve when you use hostname -f )

    I think that is why you are getting the issue

    Thanks

    Dave

    #35119
    Matt Lieber
    Participant

    ok, did this –
    However, seems like i may have a problem with hostname; see below, hostname -f seems to give the wrong info.
    Not sure how to overcome this (Linux hell..) ? This is on Centos 6 – this may be the problem..
    thanks

    [root@bdvm2 ~]# hostname -f
    localhost
    [root@bdvm2 ~]# hostname
    bdvm2.us.myhost.com
    [root@bdvm2 ~]#

The forum ‘HDP on Linux – Installation’ is closed to new topics and replies.

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.