Webinar 2 - Not able to bootstrap a node

486 views
Skip to first unread message

Shiva Kumar

unread,
Jun 29, 2015, 10:51:53 PM6/29/15
to learnchef-funda...@googlegroups.com
i am going through webinar 2 for setting up nodes. so i am using the hosted chef and spun-up the VM on cloudshare.Now i am receving below error while bootstrap, any suggestion?


PS C:\chef-repo>  knife bootstrap uvo164sg64wjmyach0c.vm.cld.sr -x root -p Xy9r3X67tL -N module2
ERROR: Errno::EADDRNOTAVAIL: The requested address is not valid in its context. - connect(2)
PS C:\chef-repo>



Nathen Harvey

unread,
Jun 30, 2015, 12:40:03 AM6/30/15
to learnchef-funda...@googlegroups.com
Please make sure you are using a capital "P" for the password flag.  It looks like you're currently using a lowercase "p" which tells knife bootstrap which port to connect to.

I sometimes find it's a bit more clear if you use the longer version of the various flags.  It's more to type but a bit clearer what's happening.  You can find the necessary flags by running "knife bootstrap --help"

You'll see that, for example, '-x' and '--ssh-user' are equivalent.

Try running your bootstrap command as follows:  

knife bootstrap uvo164sg64wjmyach0c.vm.cld.sr --ssh-user root --ssh-password Xy9r3X67tL --node-name module2

Hope that helps!
Nathen

Russ Viola

unread,
Jun 27, 2017, 1:34:01 PM6/27/17
to learnchef-fundamentals-webinar
This SAVED my day!!! I've been beating my head on a wall with a weird -p error that amounted to me not using -P!! Ill be typing --ssh-user and --ssh-password from now on!!

Reply all
Reply to author
Forward
0 new messages