ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Solved Error while bootstrapping Linux node with Chef

    IT Discussion
    chef linux
    3
    4
    967
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      ranganath-t
      last edited by scottalanmiller

      Hi,

      I am trying to bootstrap one of the Linux node with this command

      knife bootstrap 192.xx.xx.xx -x root -p xxxx -N mynode

      I am getting an error ERROR: Errno :: EHOSTUNREACH : No route to host - connect(2) for 192.xx.xx.xx

      I am a getting started guy in chef, if any solutions for this error greatly appreciated.

      Thanks

      1 Reply Last reply Reply Quote 1
      • R
        ranganath-t
        last edited by

        Found the solution right after posting in the forum.

        -p is for port number, Changed to -P and everything working fine

        1 Reply Last reply Reply Quote 2
        • scottalanmillerS
          scottalanmiller
          last edited by

          Sorry that we weren't faster, but at least it got solved quickly! 🙂

          1 Reply Last reply Reply Quote 1
          • travisdh1T
            travisdh1
            last edited by

            Also, thank you for the followup. You never know when someone else will run into the same thing.

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            • First post
              Last post